hppa: drop __ASSUME_LWS_CAS define
[glibc.git] / ChangeLog
blob18fe2b0050515b702c24324c2e786859445ffcef
1 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
4         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
5         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6         (__ASSUME_LWS_CAS): Delete.
8 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
10         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
11         * sysdeps/hppa/configure: Regenerated.
12         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
13         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14         * sysdeps/hppa/nptl/tls.h: Likewise.
16 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
18         [BZ #18823]
19         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
20         for scaling up small arguments.
21         * math/s_csqrtf.c (__csqrtf): Likewise.
22         * math/s_csqrtl.c (__csqrtl): Likewise.
23         * math/auto-libm-test-in: Add more tests of csqrt.
24         * math/auto-libm-test-out: Regenerated.
26 2015-08-17  Andreas Schwab  <schwab@suse.de>
28         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
29         version set GLIBC_2.19.
31 2015-08-16  Zack Weinberg  <zackw@panix.com>
33         [BZ #18681]
34         * misc/regexp.h: This interface is no longer supported.
35         Remove all contents, leaving only an #error directive.
36         * misc/regexp.c (loc1, loc2, locs, step, advance):
37         Demote to compatibility symbols.
39 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
41         [BZ #18084]
42         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
43         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
44         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
45         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
46         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
47         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
48         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
49         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
50         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
52 2015-08-15  Zack Weinberg  <zackw@panix.com>
54         [BZ #18795]
55         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
56         buffer length is known to be too large, not if it's known to be
57         small enough.
58         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
59         overflow at runtime, involving a length parameter, twice: once
60         with a compile-time constant length parameter, once without.
62 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
64         [BZ #18824]
65         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
66         scaling x * y up instead of down.
67         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69         * math/auto-libm-test-in: Add more tests of fma.
70         * math/auto-libm-test-out: Regenerated.
72 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
74         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
76 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
78         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
79         unnecessary movq.
80         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
81         Likewise.
83 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
85         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
86         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
87         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
88         and tgamma.
89         * math/auto-libm-test-out: Regenerated.
90         * sysdeps/i386/fpu/libm-test-ulps: Update.
91         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
93         [BZ #16520]
94         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
95         (__tanh): Force underflow exception for arguments with small
96         absolute value.
97         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
98         (__tanhf): Force underflow exception for arguments with small
99         absolute value.
100         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
101         (__tanhl): Force underflow exception for arguments with small
102         absolute value.
103         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
104         (__tanhl): Force underflow exception for arguments with small
105         absolute value.
106         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
107         (__tanhl): Force underflow exception for arguments with small
108         absolute value.
109         * math/auto-libm-test-in: Add more tests of tanh.
110         * math/auto-libm-test-out: Regenerated.
111         * sysdeps/i386/fpu/libm-test-ulps: Update.
113 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
115         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
116         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
118 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
120         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
121         <cpuid.h>.
123 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
125         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
126         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
128 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
130         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
131         Remove $(objpfx)init-arch.o.
132         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
133         init-arch.
134         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
135         (INIT_ARCH_EXT): Defined as empty.
136         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
137         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
138         __init_cpu_features call.  Replace HAS_XXX with
139         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
140         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
141         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
142         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
143         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
144         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
145         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
146         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
147         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
148         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
149         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
150         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
151         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
152         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
153         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
154         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
155         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
156         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
157         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
158         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
159         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
160         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
161         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
162         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
163         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
164         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
165         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
166         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
167         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
168         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
169         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
170         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
171         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
172         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
173         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
174         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
176 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
178         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
179         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
180         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
181         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
182         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
183         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
184         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
185         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
186         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
187         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
188         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
189         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
190         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
191         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
192         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
193         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
194         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
195         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
196         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
197         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
198         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
199         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
200         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
201         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
202         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
203         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
204         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
205         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
206         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
207         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
208         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
209         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
210         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
211         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
212         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
213         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
214         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
215         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
216         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
217         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
218         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
219         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
220         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
222 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
224         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
225         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
226         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
227         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
228         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
229         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
230         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
231         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
232         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
233         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
234         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
235         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
236         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
237         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
238         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
239         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
240         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
241         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
242         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
243         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
244         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
245         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
246         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
247         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
248         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
249         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
250         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
251         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
252         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
253         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
254         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
255         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
256         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
257         * sysdeps/x86_64/multiarch/memset.S: Likewise.
258         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
259         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
260         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
261         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
262         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
263         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
264         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
265         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
266         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
268 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
270         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
271         (dl_platform_init): Call init_cpu_features.
272         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
273         * sysdeps/i386/i686/cacheinfo.c
274         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
275         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
276         * sysdeps/i386/i686/multiarch/Versions: Removed.
277         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
278         Removed.
279         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
280         * sysdeps/unix/sysv/linux/x86/Makefile
281         (libpthread-sysdep_routines): Remove init-arch.
282         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
283         <sysdeps/x86_64/dl-procinfo.c> instead of
284         sysdeps/generic/dl-procinfo.c>.
285         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
286         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
287         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
288         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
289         [$(subdir) == elf] (tests-static): Add
290         tst-get-cpu-features-static.
291         * sysdeps/x86/Versions: New file.
292         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
293         * sysdeps/x86/cpu-features.c: Likewise.
294         * sysdeps/x86/cpu-features.h: Likewise.
295         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
296         * sysdeps/x86/libc-start.c: Likewise.
297         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
298         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
299         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
300         * sysdeps/x86_64/dl-procinfo.c: Likewise.
301         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
302         Assume USE_MULTIARCH is defined and don't check it.
303         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
304         (is_amd): Likewise.
305         (max_cpuid): Likewise.
306         (intel_check_word): Likewise.
307         (__cache_sysconf): Don't call __init_cpu_features.
308         (__x86_preferred_memory_instruction): Removed.
309         (init_cacheinfo): Don't call __init_cpu_features. Replace
310         __cpu_features with GLRO(dl_x86_cpu_features).
311         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
312         (dl_platform_init): Call init_cpu_features.
313         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
314         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
315         * sysdeps/x86_64/multiarch/Versions: Removed.
316         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
317         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
318         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
319         Removed.
320         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
322 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
324         [BZ #18820]
325         * libio/Makefile (test-fmemopen-mem): New test.
326         * libio/test-fmemopen.c (do_bz18820): New test.
327         * libio/fmemopen.c (__fmemopen): Fix memory leak.
328         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
330 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
332         [BZ #16734]
333         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
334         (FREE_BUF): Delete.
335         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
336         * libio/genops.c (_IO_setb): Use malloc and free directly.
337         (_IO_default_doallocate, _IO_default_finish): Likewise.
338         ( _IO_unbuffer_all): Likewise.
339         ( libc_freeres_fn): Likewise.
340         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
341         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
342         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
343         (_IO_wdefault_doallocate): Likewise.
345 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
347         [BZ #18086]
348         * sysdeps/posix/nice.c (nice): Restore old errno.
349         * posix/tst-nice.c (do_test): Add test for BZ #18086.
351 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
353         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
355 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
357         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
358         __bcopy and add a weak_alias to bcopy.
359         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
360         for static build.
362         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
363         cleanup macro usage.
364         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
365         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
366         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
367         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
368         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
369         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
370         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
371         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
372         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
373         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
374         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
375         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
376         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
377         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
378         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
379         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
380         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
381         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
382         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
384         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
385         libc_hidden_def.
386         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
388         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
389         (sysdep_routines): Add strstr-ppc64.
390         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
392 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
394         [BZ #18778]
395         * elf/Makefile (tests): Add Add tst-nodelete2.
396         (modules-names): Add tst-nodelete2mod.
397         (tst-nodelete2mod.so-no-z-defs): New.
398         ($(objpfx)tst-nodelete2): Likewise.
399         ($(objpfx)tst-nodelete2.out): Likewise.
400         (LDFLAGS-tst-nodelete2): Likewise.
401         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
402         out of loop through all loaded libraries.
403         * elf/tst-nodelete2.c: New file.
404         * elf/tst-nodelete2mod.c: Likewise.
406 2015-08-11  Andreas Schwab  <schwab@suse.de>
408         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
409         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
410         (__openat64_nocancel): Likewise.
412 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
414         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
415         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
416         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
417         * math/auto-libm-test-out: Regenerated.
418         * sysdeps/i386/fpu/libm-test-ulps: Update.
419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
421 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
423         [BZ #18790]
424         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
425         threshold for returning +/- 1.
426         * math/auto-libm-test-in: Add more tests of tanh.
427         * math/auto-libm-test-out: Regenerated.
428         * sysdeps/i386/fpu/libm-test-ulps: Update.
430 2015-08-10  Andreas Schwab  <schwab@suse.de>
432         [BZ #18781]
433         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
434         MORE_OFLAGS to oflag.
435         * io/test-lfs.c (do_test): Test openat64.
437 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
439         [BZ #18789]
440         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
441         smaller threshold for returning the argument.
442         * math/auto-libm-test-in: Add more tests of sinh.
443         * math/auto-libm-test-out: Regenerated.
444         * sysdeps/i386/fpu/libm-test-ulps: Update.
446 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
448         [BZ #18674]
449         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
450         break.
452 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
454         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
455         (generated): Don't add $(addprefix z.,$(tzfiles)).
457 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
459         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
460         * scripts/sysd-rules.awk: Likewise.
462 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
464         * iconvdata/tst-tables.sh: Change echo -n to printf.
465         * nss/db-Makefile: Likewise.
466         * posix/tst-getconf.sh: Likewise.
467         * stdio-common/tst-unbputc.sh: Likewise.
469 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
471         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
472         MADV_*_PAGES defines behind this feature check.
474 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
476         [BZ #18480]
477         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
478         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
479         Define.
480         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
481         LOAD_REGS_5, LOAD_REGS_6): Update.
482         (INTERNAL_SYSCALL): Update using new LOAD defines.
483         (INTERNAL_SYSCALL_NCS): Likewise.
484         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
486 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
488         [BZ #16734]
489         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
491 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
493         [BZ #17905]
494         * catgets/Makefile (tst-catgets-mem): New test.
495         * catgets/catgets.c (catopen): Don't use unbounded alloca.
496         * catgets/open_catalog.c (__open_catalog): Likewise.
497         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
499 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
501         [BZ #18787]
502         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
503         clobber registers.
504         (atomic_compare_and_exchange_val_acq): Use register asms to assign
505         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
506         Cast return to __typeof (oldval).
508 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
510         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
511         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
512         and delete sys/syscall.h include.
514 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
516         [BZ #16517]
517         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
518         (tan): Force underflow exception for arguments with small absolute
519         value.
520         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
521         (__kernel_tanf): Force underflow exception for arguments with
522         small absolute value.
523         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
524         (__kernel_tanl): Force underflow exception for arguments with
525         small absolute value.
526         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
527         (__kernel_tanl): Force underflow exception for arguments with
528         small absolute value.
529         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
530         (__kernel_tanl): Force underflow exception for arguments with
531         small absolute value.
532         * math/auto-libm-test-in: Add more tests of tan.
533         * math/auto-libm-test-out: Regenerated.
535 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
537         Fix sysdeps/i386/fpu/s_scalbn.S build
539         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
541 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
543         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
545 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
547         Fix gcrt0.o compilation
549         When static-start-installed-name is different from
550         start-installed-name, we must not use the shared objects.
552         * csu/Makefile
553         (extra-objs): Add gmon-start.o when building shared library and
554         $(static-start-installed-name) is different from
555         $(start-installed-name).
556         $(objpfx)g$(static-start-installed-name): When building shared
557         library and $(static-start-installed-name) is different from
558         $(static-start-installed-name), revert to non-shared rule,
559         i.e. using $(objpfx)% and gmon-start.o.
561 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
563         [BZ #16519]
564         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
565         (__ieee754_sinh): Force underflow exception for arguments with
566         small absolute value.
567         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
568         (__ieee754_sinhf): Force underflow exception for arguments with
569         small absolute value.
570         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
571         (__ieee754_sinhl): Force underflow exception for arguments with
572         small absolute value.
573         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
574         (__ieee754_sinhl): Force underflow exception for arguments with
575         small absolute value.
576         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
577         (__ieee754_sinhl): Force underflow exception for arguments with
578         small absolute value.
579         * math/auto-libm-test-in: Add more tests of sinh.
580         * math/auto-libm-test-out: Regenerated.
581         * sysdeps/i386/fpu/libm-test-ulps: Update.
583 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
585         * libio/oldfileops.c: Include unistd.h.
587 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
589         * stdlib/isomac.c: Include ctype.h.
591 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
593         * dirent/tst-seekdir.c (main): Converted to ...
594         (do_test): ... this.
595         (TEST_FUNCTION): New macro.
596         Include test-skeleton.c.
597         * elf/tst-dlmodcount.c (main): Converted to ...
598         (do_test): ... this.
599         (TEST_FUNCTION): New macro.
600         Include test-skeleton.c.
601         * elf/tst-order-main.c (main): Converted to ...
602         (do_test): ... this.
603         (TEST_FUNCTION): New macro.
604         Include test-skeleton.c.
605         * elf/tst-pie2.c (main): Converted to ...
606         (do_test): ... this.
607         (TEST_FUNCTION): New macro.
608         Include test-skeleton.c.
609         * inet/tst-ether_aton.c (main): Converted to ...
610         (do_test): ... this.
611         (TEST_FUNCTION): New macro.
612         Include test-skeleton.c.
613         * misc/tst-mntent.c (main): Converted to ...
614         (do_test): ... this.
615         (TEST_FUNCTION): New macro.
616         Include test-skeleton.c.
617         * misc/tst-tsearch.c (main): Converted to ...
618         (do_test): ... this.
619         (TEST_FUNCTION): New macro.
620         Include test-skeleton.c.
621         * posix/tst-regexloc.c (main): Converted to ...
622         (do_test): ... this.
623         (TEST_FUNCTION): New macro.
624         Include test-skeleton.c.
625         * resolv/tst-aton.c (main): Converted to ...
626         (do_test): ... this.
627         (TEST_FUNCTION): New macro.
628         Include test-skeleton.c.
629         * stdio-common/test-fwrite.c (main): Converted to ...
630         (do_test): ... this.
631         (TEST_FUNCTION): New macro.
632         Include test-skeleton.c.
633         * stdio-common/tst-ferror.c (main): Converted to ...
634         (do_test): ... this.
635         (TEST_FUNCTION): New macro.
636         Include test-skeleton.c.
637         * stdio-common/tst-printf.c (main): Converted to ...
638         (do_test): ... this.
639         (TEST_FUNCTION): New macro.
640         Include test-skeleton.c.
641         * stdio-common/tst-printfsz.c (main): Converted to ...
642         (do_test): ... this.
643         (TEST_FUNCTION): New macro.
644         Include test-skeleton.c.
645         * stdlib/tst-strtod.c (main): Converted to ...
646         (do_test): ... this.
647         (TEST_FUNCTION): New macro.
648         Include test-skeleton.c.
649         * string/tst-strlen.c (main): Converted to ...
650         (do_test): ... this.
651         (TEST_FUNCTION): New macro.
652         Include test-skeleton.c.
653         * string/tst-svc.c (main): Converted to ...
654         (do_test): ... this.
655         (TEST_FUNCTION): New macro.
656         Include test-skeleton.c.
657         * time/tst-strptime.c (main): Converted to ...
658         (do_test): ... this.
659         (TEST_FUNCTION): New macro.
660         Include test-skeleton.c.
661         * timezone/tst-timezone.c (main): Converted to ...
662         (do_test): ... this.
663         (TEST_FUNCTION): New macro.
664         Include test-skeleton.c.
666 2015-08-05  Zack Weinberg  <zackw@panix.com>
668         * misc/regexp.h: Update comments.
670 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
672         [BZ #18635]
673         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
674         before return label.
676 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
678         [BZ #18661]
679         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
680         when calling __errno_location.
681         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
682         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
684 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
686         [BZ #18661]
687         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
688         (__lll_timedwait_tid): Align stack to 16 bytes when calling
689         __gettimeofday.
691 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
693         [BZ #18661]
694         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
695         (__start_context): Don't use pop to restore %rdi so that stack
696         is aligned to 16 bytes when calling __setcontext.
698 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
700         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
701         only for libc.
702         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
704 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
706         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
707         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
708         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
710 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
712         * string/memccpy.c (memccpy):
713         Improve performance by using memchr/memcpy/__mempcpy.
715 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
717         * string/strncpy.c (strncpy):
718         Improve performance by using __strnlen/memcpy.
720 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
722         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
723         Optimize to avoid an unnecessary FPCR read.
725 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
727         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
728         Optimize to reduce FPCR/FPSR accesses.
730 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
732         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
733         dead->data[category] != NULL.
735 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
737         [BZ #18647]
738         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
739         and |x| close to 1, use absolute value of x when computing log.
740         * math/auto-libm-test-in: Add more tests of pow.
741         * math/auto-libm-test-out: Regenerated.
743 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
745         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
746         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
747         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
749 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
751         [BZ #18525]
752         * locales/km_KH: Remove timezone definition.
753         * locales/lo_LA: Likewise.
754         * locales/my_MM: Likewise.
755         * locales/nan_TW@latin: Likewise.
756         * locales/th_TH: Likewise.
757         * locales/uk_UA: Likewise.
759 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
761         [BZ #18265]
762         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
763         (wcsncat): Likewise.
764         (wcscmp): Likewise.
765         (wcsncmp): Likewise.
767 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
769         * test-skeleton.c (usage): New function.
770         (main): Call usage when opt is '?'.
772 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
774         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
775         before first use.
777 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
779         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
780         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
781         in there too.
783 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
785         * version.h (RELEASE): Set to "development".
786         (VERSION): Set to "2.22.90"
788         * version.h (RELEASE): Set to "stable".
789         (VERSION): Set to "2.22"
790         * include/features.h (__GLIBC_MINOR__): Set to 22.
792 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
794         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
795         Restructure macro to avoid "value computed is not used" warning.
796         (atomic_compare_and_exchange_val_acq): Likewise.
798 2015-08-04  Andreas Schwab  <schwab@suse.de>
800         [BZ #18635]
801         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
802         ret.
803         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
805 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
807         * po/pl.po: Updated translation.
808         * po/uk.po: Likewise.
809         * po/fi.po: Likewise.
810         * po/ko.po: Likewise.
811         * po/ru.po: Likewise.
812         * po/vi.po: Likewise.
814 2015-07-31  Zack Weinberg  <zackw@panix.com>
816         [BZ #18681]
817         * regexp.h: Add unconditional #warning stating that this header
818         will be removed soon.  Revise banner comment to match.
819         (compile): Consistently use ERROR instead of RETURN to report
820         errors (partial fix for bz#18681).
821         * regexp.c: Don't include regexp.h. Remove some unnecessary
822         declarations.
824 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
826         * po/libc.pot: Regenerated.
828 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
830         [BZ #18740]
831         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
832         float-vlen4-arch-ext-cflags): Removed.
833         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
834         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
836 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
838         [BZ #14113]
839         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
840         aligned to __aligned__.
841         (pthread_cond_t, pthread_rwlock_t): Likewise.
843 2015-07-30  Torvald Riegel  <triegel@redhat.com>
845         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
847 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
849         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
850         (struct sigaction): Change sa_flags from a long to an int, and add
851         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
853 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
855         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
856         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
857         sysdeps/generic/sysdep.h include.
858         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
859         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
860         sysdeps/hppa/sysdep.h.
861         (ENTRY, PSEUDO): Undefine before defining.
863 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
865         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
866         from scratch to use INTERNAL_SYSCALL.
868 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
870         [BZ #18078]
871         * scripts/check-localplt.awk: Support alternate relocations.
872         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
873         sections.
874         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
875         malloc entries with + REL R_386_GLOB_DAT.
876         * sysdeps/x86_64/localplt.data: New file.
878 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
880         [BZ #18731]
881         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
882         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
883         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
885 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
887         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
889 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
891         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
892         directly in terms of __sync_fetch_and_add and delete (int) cast.
894 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
896         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
897         the -D_ASM_IA64_CURRENT_H flag.
899 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
901         [BZ #18641]
902         * pwd/pwd.h (putpwent): Delete __nonnull markings.
904 2015-07-27  Andreas Schwab  <schwab@suse.de>
906         * conform/conformtest.pl (checknamespace): Filter out string
907         literals while tokenizing.
909 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
911         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
912         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
913         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
915 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
917         * nptl/tst-join7mod.c: Add #include <string.h>.
919 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
921         * sysdeps/nios2/libm-test-ulps: Update.
923 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
925         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
926         Fix order of arguments to the rt_sigprocmask syscall.
927         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
928         Likewise.
930 2015-07-24  Roland McGrath  <roland@hack.frob.com>
932         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
934 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
936         [BZ #18457]
937         * nptl/Makefile (tests): New test case tst-join7.
938         (modules-names): New test case module tst-join7mod.
939         * nptl/tst-join7.c: New file.
940         * nptl/tst-join7mod.c: New file.
941         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
942         all translation units in libc.so, libpthread.so and rtld.
944 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
948 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
950         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
951         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
952         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
953         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
954         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
955         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
956         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
957         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
958         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
959         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
960         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
961         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
962         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
963         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
964         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
965         implementation.
967 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
969         [BZ #17711]
970         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
971         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
972         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
973         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
974         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
975         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
977 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
979         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
980         instead of just saying load lock in the comments.
982 2015-07-23  Roland McGrath  <roland@hack.frob.com>
984         * sysdeps/unix/Subdirs: Moved ...
985         * sysdeps/posix/Subdirs: ... here.
986         * login/pty.h (struct termios, struct winsize): Add forward decls.
987         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
988         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
989         * sysdeps/arm/nacl/libc.abilist: Updated.
990         * sysdeps/nacl/libutil.abilist: New file.
992         * bits/signum.h: Update comments to mention 1003.1-2013 too.
993         (SIGWINCH): New macro.
995         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
996         * sysdeps/arm/nacl/libc.abilist: Add it.
998 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1000         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1002 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1004         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1005         Swap __glibc_reserved0 and sa_flags order.
1007 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1009         [BZ #18657]
1010         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1011         are pending TLS destructor calls.
1012         * include/link.h (struct link_map): Add concurrency note for
1013         L_TLS_DTOR_COUNT.
1014         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1015         Don't touch the link map flag.  Atomically increment
1016         l_tls_dtor_count.
1017         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1018         Avoid taking the load lock and don't touch the link map flag.
1019         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1020         * stdlib/Makefile (tests): Use it.
1021         * stdlib/tst-tls-atexit.c (do_test): dlopen
1022         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1023         to allow tst-tls-atexit-nodelete test case to use it.
1025 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1027         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1028         to bits/types.h.
1029         (msgqnum_t): New typedef.
1030         (msglen_t): Likewise.
1031         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1032         and msg_qbytes type to msglen_t.
1034 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1036         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1037         pad0 to __glibc_reserved0.
1038         (struct stat64): Likewise.
1040 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1042         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1043         Change sa_flags from a long to an int and add __glibc_reserved0 before
1044         it for padding.
1046 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1048         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1049         anonymous by deleting "siginfo" name.
1051 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1053         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1054         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1055         rather than __nacl_irt_filename.
1056         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1058         * NEWS: New item for arm-nacl port.
1059         * sysdeps/arm/nacl/libc.abilist: New file.
1060         * sysdeps/nacl/ld.abilist: New file.
1061         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1062         * sysdeps/nacl/libanl.abilist: New file.
1063         * sysdeps/nacl/libcrypt.abilist: New file.
1064         * sysdeps/nacl/libdl.abilist: New file.
1065         * sysdeps/nacl/libm.abilist: New file.
1066         * sysdeps/nacl/libpthread.abilist: New file.
1067         * sysdeps/nacl/libresolv.abilist: New file.
1068         * sysdeps/nacl/librt.abilist: New file.
1070 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1072         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1073         __startcontext to initialize the new context.
1074         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1075         up CFI directive to forbid further backtracing.
1077 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1079         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1080         reference.
1081         * charmaps/ANSI_X3.4-1968: Likewise.
1082         * charmaps/BS_4730: Likewise.
1083         * charmaps/BS_VIEWDATA: Likewise.
1084         * charmaps/CP1250: Likewise.
1085         * charmaps/CP1251: Likewise.
1086         * charmaps/CP1252: Likewise.
1087         * charmaps/CP1253: Likewise.
1088         * charmaps/CP1254: Likewise.
1089         * charmaps/CP1255: Likewise.
1090         * charmaps/CP1256: Likewise.
1091         * charmaps/CSN_369103: Likewise.
1092         * charmaps/EBCDIC-DK-NO: Likewise.
1093         * charmaps/GB_1988-80: Likewise.
1094         * charmaps/GREEK-CCITT: Likewise.
1095         * charmaps/GREEK7: Likewise.
1096         * charmaps/INIS-8: Likewise.
1097         * charmaps/ISIRI-3342: Likewise.
1098         * charmaps/ISO_2033-1983: Likewise.
1099         * charmaps/ISO_5427-EXT: Likewise.
1100         * locales/POSIX: Likewise.
1101         * locales/ar_SA: Likewise.
1102         * locales/be_BY: Likewise.
1103         * locales/be_BY@latin: Likewise.
1104         * locales/ca_ES: Likewise.
1105         * locales/cs_CZ: Likewise.
1106         * locales/da_DK: Likewise.
1107         * locales/de_BE: Likewise.
1108         * locales/de_CH: Likewise.
1109         * locales/de_LU: Likewise.
1110         * locales/en_AU: Likewise.
1111         * locales/en_BW: Likewise.
1112         * locales/en_CA: Likewise.
1113         * locales/en_DK: Likewise.
1114         * locales/en_GB: Likewise.
1115         * locales/en_IE: Likewise.
1116         * locales/en_NZ: Likewise.
1117         * locales/en_ZA: Likewise.
1118         * locales/en_ZW: Likewise.
1119         * locales/es_AR: Likewise.
1120         * locales/es_BO: Likewise.
1121         * locales/es_CL: Likewise.
1122         * locales/es_CO: Likewise.
1123         * locales/es_DO: Likewise.
1124         * locales/es_EC: Likewise.
1125         * locales/es_ES: Likewise.
1126         * locales/es_HN: Likewise.
1127         * locales/es_MX: Likewise.
1128         * locales/es_PA: Likewise.
1129         * locales/es_PE: Likewise.
1130         * locales/es_PY: Likewise.
1131         * locales/es_SV: Likewise.
1132         * locales/es_US: Likewise.
1133         * locales/es_UY: Likewise.
1134         * locales/es_VE: Likewise.
1135         * locales/et_EE: Likewise.
1136         * locales/fa_IR: Likewise.
1137         * locales/fo_FO: Likewise.
1138         * locales/fr_CA: Likewise.
1139         * locales/fr_CH: Likewise.
1140         * locales/gv_GB: Likewise.
1141         * locales/he_IL: Likewise.
1142         * locales/hr_HR: Likewise.
1143         * locales/id_ID: Likewise.
1144         * locales/is_IS: Likewise.
1145         * locales/it_CH: Likewise.
1146         * locales/iw_IL: Likewise.
1147         * locales/kl_GL: Likewise.
1148         * locales/ko_KR: Likewise.
1149         * locales/kw_GB: Likewise.
1150         * locales/lg_UG: Likewise.
1151         * locales/lt_LT: Likewise.
1152         * locales/lv_LV: Likewise.
1153         * locales/mi_NZ: Likewise.
1154         * locales/nhn_MX: Likewise.
1155         * locales/nl_BE: Likewise.
1156         * locales/pl_PL: Likewise.
1157         * locales/sk_SK: Likewise.
1158         * locales/sl_SI: Likewise.
1159         * locales/sv_FI: Likewise.
1160         * locales/tl_PH: Likewise.
1161         * locales/tr_TR: Likewise.
1162         * locales/vi_VN: Likewise.
1164 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1166         [BZ #17475]
1167         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1168         of tu_IN and bh_IN.
1170 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1172         [BZ #18694]
1173         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1174         bits/wordsize.h.
1175         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1177 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1179         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1180         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1181         (spawn_thread): New function.
1182         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1183         (do_test): ... here.  Use IS_LOADED to test for its
1184         availability.
1186 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1188         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1190 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1192         [BZ #18696]
1193         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1194         si_addr_bnd.
1195         (si_lower): New.
1196         (si_upper): Likewise.
1198 2015-07-16  David S. Miller  <davem@davemloft.net>
1200         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1202 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1204         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1205         buffer.
1206         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1207         fail output information.
1209 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1212         and strstr-ppc64..
1213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1214         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1215         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1216         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1217         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1219 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1221         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1222         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1223         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1224         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1226 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1228         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1229         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1230         rtld_hidden_proto.
1231         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1233 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1235         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1236         the test can fail.
1238         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1240         [BZ #18676]
1241         * elf/tst-nodelete-opened.c: New test case.
1242         * elf/tst-nodelete-opened-lib.c: New test case module.
1243         * elf/Makefile (tests, modules-names): Use them.
1244         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1245         early.
1247 2015-07-15  David S. Miller  <davem@davemloft.net>
1249         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1250         futex-intenal.h
1251         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1252         * sysdeps/sparc/sparc64/Makefile: Likewise.
1253         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1254         Remove space from macro define.
1255         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1257 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1259         [BZ #17475]
1260         * locale/iso-639.def: Update Bhili and Tulu language codes as
1261         per iso639-3.
1263 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1265         * elf/tst-leaks1.c (main): Converted to ...
1266         (do_test): ... this.
1267         (TEST_FUNCTION): New macro.
1268         Include test-skeleton.c.
1269         * localedata/tst-langinfo.c (main): Converted to ...
1270         (do_test): ... this.
1271         (TEST_FUNCTION): New macro.
1272         Include test-skeleton.c.
1273         * math/test-fpucw.c (main): Converted to ...
1274         (do_test): ... this.
1275         (TEST_FUNCTION): New macro.
1276         Include test-skeleton.c.
1277         * math/test-tgmath.c (main): Converted to ...
1278         (do_test): ... this.
1279         (TEST_FUNCTION): New macro.
1280         Include test-skeleton.c.
1281         * math/test-tgmath2.c (main): Converted to ...
1282         (do_test): ... this.
1283         (TEST_FUNCTION): New macro.
1284         Include test-skeleton.c.
1285         * setjmp/tst-setjmp.c (main): Converted to ...
1286         (do_test): ... this.
1287         (TEST_FUNCTION): New macro.
1288         Include test-skeleton.c.
1289         * stdio-common/tst-sscanf.c (main): Converted to ...
1290         (do_test): ... this.
1291         (TEST_FUNCTION): New macro.
1292         Include test-skeleton.c.
1293         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1294         (do_test): ... this.
1295         (TEST_FUNCTION): New macro.
1296         Include test-skeleton.c.
1298         * elf/tst-audit9.c (main): Converted to ...
1299         (do_test): ... this.
1300         (TEST_FUNCTION): New macro.
1301         Include test-skeleton.c.
1303 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1305         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1307 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1309         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1310         New variable.
1312 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1314         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1316 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1318         * sysdeps/generic/dl-fileid.h: New file.
1319         * sysdeps/posix/dl-fileid.h: New file.
1320         * sysdeps/nacl/dl-fileid.h: New file.
1321         * include/link.h: Include <dl-fileid.h>.
1322         (struct link_map): Replace l_dev and l_ino with l_file_id.
1323         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1324         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1325         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1327 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1329         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1331 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1333         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1334         Add iff $CXX is set.
1335         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1336         Likewise.
1337         (tst-nodelete-zmodiff): Likewise.
1338         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1340 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1342         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1344 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1346         * sysdeps/aarch64/fpu/math_private.h
1347         (define math_opt_barrier): Add AArch64 version.
1348         (math_force_eval): Likewise.
1350 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1352         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1354 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1356         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1357         %ld with %jd and cast to intmax_t.
1358         (do_test_length_zero): Likewise.
1360 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1362         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1364 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1366         * sysdeps/tile/libm-test-ulps: Regenerated.
1368         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1369         Comment out the whole function, not just its body.
1371 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1373         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1374         locks.
1376         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1378 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1380         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1381         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1383 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1385         * sysdeps/nptl/futex-internal.h: New file.
1386         * sysdeps/nacl/futex-internal.h: New file.
1387         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1388         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1389         error checking.
1390         (setxid_unmark_thread): Likewise.
1391         (__nptl_setxid): Likewise.
1392         (__wait_lookup_done): Likewise.
1393         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1394         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1395         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1396         * nptl/pthread_once.c (clear_once_control): Likewise.
1397         (__pthread_once_slow): Likewise.
1398         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1399         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1400         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1401         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1402         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1403         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1404         Likewise.
1405         (__pthread_rwlock_rdlock): Likewise.
1406         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1407         Likewise.
1408         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1409         Likewise.
1410         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1411         Likewise.
1412         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1413         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1414         Likewise.
1415         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1416         __ASSUME_PRIVATE_FUTEX check.
1417         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1418         Check that shared futexes are supported.
1419         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1420         wrappers with error checking.
1421         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1422         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1423         * nptl/pthread_barrierattr_setpshared.c
1424         (pthread_barrierattr_setpshared): Check that shared futexes are
1425         supported.
1426         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1427         Likewise.
1428         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1429         Likewise.
1430         * nptl/sem_init.c (futex_private_if_supported): Remove.
1431         (__new_sem_init): Adapt and check that shared futexes are supported.
1432         * nptl/sem_open.c (sem_open): Likewise.
1433         * nptl/sem_post.c (futex_wake): Remove.
1434         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1435         (do_futex_wait): Use futex wrappers with error checking.
1436         * nptl/sem_wait.c: Include lowlevellock.h.
1437         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1438         Use futex_supports_pshared.
1439         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1440         Use futex wrappers with error checking.
1441         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1442         Likewise.
1443         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1444         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1445         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1446         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1447         (futex_wake): Likewise.
1448         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1449         (do_futex_wait): Use futex wrappers with error checking.
1450         (__new_sem_wait_slow): Update EINTR handling.
1451         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1453 2015-07-09  Martin Sebor  <msebor@redhat.com>
1455         [BZ #18435]
1456         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1457         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1458         * nptl/Makefile (test-xfail-tst-once5): Define.
1460 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1462         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1463         * elf/dl-minimal.c: For readability, reorder some definitions and
1464         introduce more page breaks.  Include <stdio.h>.
1465         (__libc_fatal): New function.
1467         * include/unistd.h: Add rtld_hidden_proto for _exit.
1468         * posix/_exit.c: Add rtld_hidden_def.
1469         * sysdeps/mach/hurd/_exit.c: Likewise.
1470         * sysdeps/nacl/_exit.c: Likewise.
1471         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1472         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1474 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1476         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1477         bndmov encoding with zero displacement.
1479 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1480             H.J. Lu  <hongjiu.lu@intel.com>
1482         [BZ #18134]
1483         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1484         * sysdeps/i386/configure: Regenerated.
1485         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1486         (_dl_runtime_profile): Save and restore Intel MPX return bound
1487         registers when calling _dl_call_pltexit.  Add
1488         PRESERVE_BND_REGS_PREFIX before return.
1489         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1490         (LRV_BND1_OFFSET): Likewise.
1491         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1492         lrv_bnd1.
1493         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1494         typo in bndmov encoding.
1495         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1496         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1497         branch instructions to preserve bounds.
1499 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1502         [GLIBC_2.22]: Add fmemopen.
1504 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1506         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1507         returns an error, also try to use host port from __mach_host_self for
1508         the __vm_wire call.
1509         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1511 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1513         [BZ #18400]
1514         [BZ #18648]
1515         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1516         Fix pr_uid and pr_gid members.
1517         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1518         definition to elf_greg_t.
1520 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1522         [BZ #18383]
1523         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1524         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1525         * sysdeps/arm/configure: Regenerated.
1526         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1527         (test-xfail-tst-tlsalign-static): Variable removed.
1529         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1530         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1531         rather than explicit 'ln -s'.
1533         * resolv/rpc/netdb.h: New file.
1534         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1536 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1538         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1539         length buffers.
1540         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1541         test-skeleton.c.
1543         [BZ #6544]
1544         [BZ #11216]
1545         [BZ #12836]
1546         [BZ #13151]
1547         [BZ #13152]
1548         [BZ #14292]
1549         * include/stdio.h (fmemopen): Remove hidden prototype.
1550         (__fmemopen): Add new hidden prototype.
1551         * libio/Makefile: Add oldfmemopen object.
1552         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1553         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1554         compliance.
1555         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1556         symbol compatibility.
1557         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1558         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1559         fmemopen.
1560         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1561         on append and read mode.
1562         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1563         fmemopen.
1564         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1565         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1566         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1567         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1568         Likewise.
1569         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1570         [GLIBC_2.22]: Likewise.
1571         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1572         Likewise.
1573         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1574         Likewise.
1575         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1576         [GLIBC_2.22]: Likewise.
1577         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1578         [GLIBC_2.22]: Likewise.
1579         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1580         [GLIBC_2.22]: Likewise.
1581         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1582         [GLIBC_2.22]: Likewise.
1583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1584         [GLIBC_2.22]: Likewise.
1585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1586         [GLIBC_2.22]: Likewise.
1587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1588         [GLIBC_2.22]: Likewise.
1589         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1590         Likewise.
1591         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1592         Likewise.
1593         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1594         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1595         [GLIBC_2.22]: Likewise.
1596         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1597         [GLIBC_2.22]: Likewise.
1598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1599         [GLIBC_2.22]: Likewise.
1600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1601         [GLIBC_2.22]: Likewise.
1602         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1603         Likewise.
1604         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1605         Likewise.
1606         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1607         Likewise.
1608         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1609         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1611 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1613         [BZ #18643]
1614         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1615         IPV6_PATHMTU, and IPV6_DONTFRAG.
1617 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1619         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1620         and _IO_UNBUFFERED.
1621         * libio/oldfileops.c: Likewise.
1622         * libio/wfileops.c: Likewise.
1624 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1626         * nscd/selinux.c: Delete selinux/flask.h include.
1628 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1630         [BZ #18641]
1631         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1632         (putpwent): Likewise.
1633         (getpwnam): Likewise.
1634         (getpwent_r): Likewise.
1635         (getpwuid_r): Likewise.
1636         (getpwnam_r): Likewise.
1637         (fgetpwent_r): Likewise.
1639 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1641         [BZ #18557]
1642         * inet/rcmd.c (__validuser2_sa): Check user first to
1643         short-circuit host check.
1645 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1646             Mikhail Ilin  <m.ilin@samsung.com>
1648         [BZ #17833]
1649         * elf/Makefile (tests): Add tst-nodelete.
1650         (modules-names): Add tst-nodelete-uniquemod.
1651         (tst-nodelete-uniquemod.so-no-z-defs): New.
1652         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1653         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1654         ($(objpfx)tst-nodelete): Likewise.
1655         ($(objpfx)tst-nodelete.out): Likewise.
1656         (LDFLAGS-tst-nodelete): Likewise.
1657         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1658         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1659         implement forced object deletion.
1660         (_dl_close): Pass false to _dl_close_worker.
1661         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1662         * elf/tst-nodelete.cc: New file.
1663         * elf/tst-nodeletelib.cc: Likewise.
1664         * elf/tst-znodeletelib.cc: Likewise.
1665         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1667 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1669         [BZ #18508]
1670         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1671         Depend on $(libdl).
1672         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1673         is not called infinitely times.
1674         (backtrace_helper): New function.
1675         (trace_arg): New struct.
1676         (st1): Enlarge stack size.
1677         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1678         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1679         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1680         Likewise.
1682 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1684         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1686 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1688         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1689         Include sys/types.h instead of bits/types.h.
1690         Remove inclusion of bits/wordsize.h.
1692 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1694         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1695         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1696         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1697         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1698         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1699         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1701 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1703         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1704         link-defines.sym.
1705         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1706         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1707         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1708         and LR_SIZE.
1709         * sysdeps/i386/link-defines.sym: New file.
1711 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1713         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1714         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1715         ($(objpfx)tst-audit3): New rule.
1716         ($(objpfx)tst-audit3.out): Likewise.
1717         * sysdeps/i386/tst-audit3.c: New file.
1718         * sysdeps/i386/tst-audit3.h: Likewise.
1719         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1720         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1722 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1724         [BZ #18633]
1725         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1726         pointer in C code.
1727         (__strcat_c): Likewise.
1728         (__strcat_g): Likewise.
1730 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1732         [BZ #18592]
1733         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1735 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1737         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1738         New function.  (__ieee754_sqrtf): New function.
1739         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1740         New function.
1741         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1742         New function.
1744 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1746         * sysdeps/ieee754/support.c: Remove unused file.
1748 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1750         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1751         registers instead of d ones so the layout is kernel abi compatible.
1752         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1753         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1754         Likewise.
1756 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1758         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1760 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1762         [BZ #18619]
1763         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1764         and return argument in case of subnormal argument.
1766 2015-07-01  Martin Sebor  <msebor@redhat.com>
1768         [BZ #18435]
1769         * nptl/Makefile: Add tst-once5.cc.
1770         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1771         Remove macro redefinitions.
1772         * nptl/tst-once5.cc: New test.
1774 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1776         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1778         * sysdeps/arm/libm-test-ulps: Regenerated.
1780         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1781         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1783 2015-06-30  Torvald Riegel  <triegel@redhat.com>
1785         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1786         lll_lock_wait_private and lll_futex_wake probes.
1788         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1789         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1790         Likewise.
1791         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1792         atomic_spin_nop.
1793         * sysdeps/x86_64/bits/atomic.h: Likewise.
1794         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1795         to atomic_spin_nop and move ...
1796         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1797         ... here and ...
1798         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1799         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1800         atomic_spin_nop instead of BUSY_WAIT_NOP.
1801         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1802         Likewise.
1803         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1804         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1805         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1806         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1807         instead of atomic_delay.
1809 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
1811         [BZ #18613]
1812         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1813         X_ADJ not X when adjusting exponent.
1814         (__ieee754_gamma_r): Do intermediate computations in
1815         round-to-nearest then adjust overflowing and underflowing results
1816         as needed.
1817         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1818         of X_ADJ not X when adjusting exponent.
1819         (__ieee754_gammaf_r): Do intermediate computations in
1820         round-to-nearest then adjust overflowing and underflowing results
1821         as needed.
1822         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1823         log of X_ADJ not X when adjusting exponent.
1824         (__ieee754_gammal_r): Do intermediate computations in
1825         round-to-nearest then adjust overflowing and underflowing results
1826         as needed.  Use 1.0L not 1.0f as numerator of division.
1827         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1828         log of X_ADJ not X when adjusting exponent.
1829         (__ieee754_gammal_r): Do intermediate computations in
1830         round-to-nearest then adjust overflowing and underflowing results
1831         as needed.  Use 1.0L not 1.0f as numerator of division.
1832         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1833         of X_ADJ not X when adjusting exponent.
1834         (__ieee754_gammal_r): Do intermediate computations in
1835         round-to-nearest then adjust overflowing and underflowing results
1836         as needed.  Use 1.0L not 1.0f as numerator of division.
1837         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1838         to auto-libm-test-in.
1839         (tgamma_test): Use ALL_RM_TEST.
1840         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1841         tests of tgamma with spurious-overflow.
1842         * math/auto-libm-test-out: Regenerated.
1843         * math/gen-libm-have-vector-test.sh: Do not check for START.
1844         * sysdeps/i386/fpu/libm-test-ulps: Update.
1845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1847         [BZ #18612]
1848         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1849         arguments, just return 0.5 times the argument, with underflow
1850         forced as needed.
1851         * math/auto-libm-test-in: Add more tests of j1.
1852         * math/auto-libm-test-out: Regenerated.
1854         [BZ #16559]
1855         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1856         (__ieee754_j1): Force underflow exception for small results.
1857         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1858         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1859         (__ieee754_j1f): Force underflow exception for small results.
1860         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1861         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1862         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1863         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1864         (__ieee754_j1l): Force underflow exception for small results.
1865         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1866         * math/auto-libm-test-in: Add more tests of j1 and jn.
1867         * math/auto-libm-test-out: Regenerated.
1869         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1870         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1871         (PF_MPLS): Likewise.
1872         (AF_IB): Likewise.
1873         (AF_MPLS): Likewise.
1874         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1875         value and macro.
1876         (MS_RMT_MASK): Include MS_LAZYTIME.
1878 2015-06-26  Mel Gorman  <mgorman@suse.de>
1880         [BZ #18502]
1881         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1882         already minimal.
1884 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1886         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1887         (DT_MIPS_NUM): Update.
1888         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1889         DT_MIPS_RLD_MAP_REL.
1891 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1893         [BZ #16559]
1894         [BZ #18602]
1895         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1896         round-to-nearest internally then recompute results that
1897         underflowed to zero in the original rounding mode.
1898         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1899         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1900         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1901         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1902         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1903         * sysdeps/i386/fpu/libm-test-ulps: Update.
1904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1906 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1908         * NEWS: Fixed description of link with vector math library.
1910 2015-06-25  Andreas Schwab  <schwab@suse.de>
1912         [BZ #18549]
1913         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1914         * libio/test-fmemopen.c (do_test): Add test for it.
1916 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1918         [BZ #17841]
1919         * Makeconfig (no-pie-ldflag): New.
1920         (+link): Set to $(+link-pie) if default to PIE.
1921         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1922         * config.make.in (build-pie-default): New.
1923         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1924         is default.  AC_SUBST.
1925         * configure: Regenerated.
1926         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1928 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1930         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1931         to 'unsigned int'.
1933         * resolv/gai_misc.h (struct waitlist): Change type of field
1934         counterp to 'volatile unsigned int *'.
1935         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1936         FUTEXADDR and OLDVAL.
1937         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1938         Give local variable TOTAL type 'volatile unsigned int'.
1939         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1940         * resolv/gai_suspend.c (gai_suspend):
1941         Give local variable CNTR type 'unsigned int'.
1943         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1944         counterp to 'volatile unsigned int *'.
1945         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1946         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1947         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1948         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1949         Give local variable TOTAL type 'volatile unsigned int'.
1950         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1952 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1954         [BZ #18383]
1955         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1956         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1957         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1958         comment for i386/x86-64.
1959         (test-xfail-tst-tlsalign-extern-static): Removed.
1961 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1963         * math/test-double.h: New file.
1964         * math/test-float.h: Likewise.
1965         * math/test-ldouble.h: Likewise.
1966         * math/test-math-inline.h: Likewise.
1967         * math/test-math-no-inline.h: Likewise.
1968         * math/test-math-scalar.h: Likewise.
1969         * math/test-math-vector.h: Likewise.
1970         * math/test-vec-loop.h: Remove file.  Contents moved into
1971         test-math-vector.h.
1972         * math/libm-test.inc (MATHCONST): Do not document macro.
1973         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1974         and test-math-scalar.h.
1975         (FUNC): Remove macro.
1976         (FUNC_TEST): Likewise.
1977         (FLOAT): Likewise.
1978         (MATHCONST): Likewise.
1979         (PRINTF_EXPR): Likewise.
1980         (PRINTF_XEXPR): Likewise.
1981         (PRINTF_NEXPR): Likewise.
1982         (TEST_DOUBLE): Likewise.
1983         (TEST_MATHVEC): Likewise.
1984         (__NO_MATH_INLINES): Likewise.
1985         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1986         and test-math-scalar.h.
1987         (FUNC): Remove macro.
1988         (FUNC_TEST): Likewise.
1989         (FLOAT): Likewise.
1990         (MATHCONST): Likewise.
1991         (PRINTF_EXPR): Likewise.
1992         (PRINTF_XEXPR): Likewise.
1993         (PRINTF_NEXPR): Likewise.
1994         (TEST_FLOAT): Likewise.
1995         (TEST_MATHVEC): Likewise.
1996         (__NO_MATH_INLINES): Likewise.
1997         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1998         and test-math-scalar.h.
1999         (FUNC): Remove macro.
2000         (FUNC_TEST): Likewise.
2001         (FLOAT): Likewise.
2002         (MATHCONST): Likewise.
2003         (PRINTF_EXPR): Likewise.
2004         (PRINTF_XEXPR): Likewise.
2005         (PRINTF_NEXPR): Likewise.
2006         (TEST_DOUBLE): Likewise.
2007         (TEST_MATHVEC): Likewise.
2008         (TEST_INLINE): Likewise.
2009         (__NO_MATH_INLINES): Likewise.
2010         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2011         test-math-scalar.h.
2012         (FUNC): Remove macro.
2013         (FUNC_TEST): Likewise.
2014         (FLOAT): Likewise.
2015         (MATHCONST): Likewise.
2016         (PRINTF_EXPR): Likewise.
2017         (PRINTF_XEXPR): Likewise.
2018         (PRINTF_NEXPR): Likewise.
2019         (TEST_FLOAT): Likewise.
2020         (TEST_MATHVEC): Likewise.
2021         (TEST_INLINE): Likewise.
2022         (__NO_MATH_INLINES): Likewise.
2023         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2024         and test-math-scalar.h.
2025         (FUNC): Remove macro.
2026         (FUNC_TEST): Likewise.
2027         (FLOAT): Likewise.
2028         (MATHCONST): Likewise.
2029         (PRINTF_EXPR): Likewise.
2030         (PRINTF_XEXPR): Likewise.
2031         (PRINTF_NEXPR): Likewise.
2032         (TEST_LDOUBLE): Likewise.
2033         (TEST_MATHVEC): Likewise.
2034         (TEST_INLINE): Likewise.
2035         (__NO_MATH_INLINES): Likewise.
2036         * math/test-ldouble.c: Include test-ldouble.h,
2037         test-math-no-inline.h and test-math-scalar.h.
2038         (FUNC): Remove macro.
2039         (FUNC_TEST): Likewise.
2040         (FLOAT): Likewise.
2041         (MATHCONST): Likewise.
2042         (PRINTF_EXPR): Likewise.
2043         (PRINTF_XEXPR): Likewise.
2044         (PRINTF_NEXPR): Likewise.
2045         (TEST_LDOUBLE): Likewise.
2046         (TEST_MATHVEC): Likewise.
2047         (__NO_MATH_INLINES): Likewise.
2048         * math/test-double-vlen2.h: Include test-double.h,
2049         test-math-no-inline.h and test-math-vector.h.
2050         (FLOAT): Remove macro.
2051         (FUNC): Likewise.
2052         (MATHCONST): Likewise.
2053         (PRINTF_EXPR): Likewise.
2054         (PRINTF_XEXPR): Likewise.
2055         (PRINTF_NEXPR): Likewise.
2056         (TEST_DOUBLE): Likewise.
2057         (TEST_MATHVEC): Likewise.
2058         (__NO_MATH_INLINES): Likewise.
2059         (CNCT): Likewise.
2060         (CONCAT): Likewise.
2061         (WRAPPER_NAME): Likewise.
2062         (WRAPPER_DECL): Likewise.
2063         (WRAPPER_DECL_ff): Likewise.
2064         (WRAPPER_DECL_fFF): Likewise.
2065         (VECTOR_WRAPPER): Likewise.
2066         (VECTOR_WRAPPER_ff): Likewise.
2067         (VECTOR_WRAPPER_fFF): Likewise.
2068         (VEC_LEN): New macro.
2069         * math/test-double-vlen4.h: Include test-double.h,
2070         test-math-no-inline.h and test-math-vector.h.
2071         (FLOAT): Remove macro.
2072         (FUNC): Likewise.
2073         (MATHCONST): Likewise.
2074         (PRINTF_EXPR): Likewise.
2075         (PRINTF_XEXPR): Likewise.
2076         (PRINTF_NEXPR): Likewise.
2077         (TEST_DOUBLE): Likewise.
2078         (TEST_MATHVEC): Likewise.
2079         (__NO_MATH_INLINES): Likewise.
2080         (CNCT): Likewise.
2081         (CONCAT): Likewise.
2082         (WRAPPER_NAME): Likewise.
2083         (WRAPPER_DECL): Likewise.
2084         (WRAPPER_DECL_ff): Likewise.
2085         (WRAPPER_DECL_fFF): Likewise.
2086         (VECTOR_WRAPPER): Likewise.
2087         (VECTOR_WRAPPER_ff): Likewise.
2088         (VECTOR_WRAPPER_fFF): Likewise.
2089         (VEC_LEN): New macro.
2090         * math/test-double-vlen8.h: Include test-double.h,
2091         test-math-no-inline.h and test-math-vector.h.
2092         (FLOAT): Remove macro.
2093         (FUNC): Likewise.
2094         (MATHCONST): Likewise.
2095         (PRINTF_EXPR): Likewise.
2096         (PRINTF_XEXPR): Likewise.
2097         (PRINTF_NEXPR): Likewise.
2098         (TEST_DOUBLE): Likewise.
2099         (TEST_MATHVEC): Likewise.
2100         (__NO_MATH_INLINES): Likewise.
2101         (CNCT): Likewise.
2102         (CONCAT): Likewise.
2103         (WRAPPER_NAME): Likewise.
2104         (WRAPPER_DECL): Likewise.
2105         (WRAPPER_DECL_ff): Likewise.
2106         (WRAPPER_DECL_fFF): Likewise.
2107         (VECTOR_WRAPPER): Likewise.
2108         (VECTOR_WRAPPER_ff): Likewise.
2109         (VECTOR_WRAPPER_fFF): Likewise.
2110         (VEC_LEN): New macro.
2111         * math/test-float-vlen4.h: Include test-float.h,
2112         test-math-no-inline.h and test-math-vector.h.
2113         (FLOAT): Remove macro.
2114         (FUNC): Likewise.
2115         (MATHCONST): Likewise.
2116         (PRINTF_EXPR): Likewise.
2117         (PRINTF_XEXPR): Likewise.
2118         (PRINTF_NEXPR): Likewise.
2119         (TEST_FLOAT): Likewise.
2120         (TEST_MATHVEC): Likewise.
2121         (__NO_MATH_INLINES): Likewise.
2122         (CNCT): Likewise.
2123         (CONCAT): Likewise.
2124         (WRAPPER_NAME): Likewise.
2125         (WRAPPER_DECL): Likewise.
2126         (WRAPPER_DECL_ff): Likewise.
2127         (WRAPPER_DECL_fFF): Likewise.
2128         (VECTOR_WRAPPER): Likewise.
2129         (VECTOR_WRAPPER_ff): Likewise.
2130         (VECTOR_WRAPPER_fFF): Likewise.
2131         (VEC_LEN): New macro.
2132         * math/test-float-vlen8.h: Include test-float.h,
2133         test-math-no-inline.h and test-math-vector.h.
2134         (FLOAT): Remove macro.
2135         (FUNC): Likewise.
2136         (MATHCONST): Likewise.
2137         (PRINTF_EXPR): Likewise.
2138         (PRINTF_XEXPR): Likewise.
2139         (PRINTF_NEXPR): Likewise.
2140         (TEST_FLOAT): Likewise.
2141         (TEST_MATHVEC): Likewise.
2142         (__NO_MATH_INLINES): Likewise.
2143         (CNCT): Likewise.
2144         (CONCAT): Likewise.
2145         (WRAPPER_NAME): Likewise.
2146         (WRAPPER_DECL): Likewise.
2147         (WRAPPER_DECL_ff): Likewise.
2148         (WRAPPER_DECL_fFF): Likewise.
2149         (VECTOR_WRAPPER): Likewise.
2150         (VECTOR_WRAPPER_ff): Likewise.
2151         (VECTOR_WRAPPER_fFF): Likewise.
2152         (VEC_LEN): New macro.
2153         * math/test-float-vlen16.h: Include test-float.h,
2154         test-math-no-inline.h and test-math-vector.h.
2155         (FLOAT): Remove macro.
2156         (FUNC): Likewise.
2157         (MATHCONST): Likewise.
2158         (PRINTF_EXPR): Likewise.
2159         (PRINTF_XEXPR): Likewise.
2160         (PRINTF_NEXPR): Likewise.
2161         (TEST_FLOAT): Likewise.
2162         (TEST_MATHVEC): Likewise.
2163         (__NO_MATH_INLINES): Likewise.
2164         (CNCT): Likewise.
2165         (CONCAT): Likewise.
2166         (WRAPPER_NAME): Likewise.
2167         (WRAPPER_DECL): Likewise.
2168         (WRAPPER_DECL_ff): Likewise.
2169         (WRAPPER_DECL_fFF): Likewise.
2170         (VECTOR_WRAPPER): Likewise.
2171         (VECTOR_WRAPPER_ff): Likewise.
2172         (VECTOR_WRAPPER_fFF): Likewise.
2173         (VEC_LEN): New macro.
2174         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2175         test-vec-loop.h.
2176         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2177         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2178         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2179         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2180         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2181         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2182         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2184 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2186         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2187         (__getlogin_r): ... this.
2189 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2191         [BZ #18594]
2192         * math/s_ccosh.c (__ccosh): Compare with least normal value
2193         instead of comparing class with FP_SUBNORMAL.
2194         * math/s_ccoshf.c (__ccoshf): Likewise.
2195         * math/s_ccoshl.c (__ccoshl): Likewise.
2196         * math/s_cexp.c (__cexp): Likewise.
2197         * math/s_cexpf.c (__cexpf): Likewise.
2198         * math/s_cexpl.c (__cexpl): Likewise.
2199         * math/s_csin.c (__csin): Likewise.
2200         * math/s_csinf.c (__csinf): Likewise.
2201         * math/s_csinh.c (__csinh): Likewise.
2202         * math/s_csinhf.c (__csinhf): Likewise.
2203         * math/s_csinhl.c (__csinhl): Likewise.
2204         * math/s_csinl.c (__csinl): Likewise.
2205         * math/s_ctan.c (__ctan): Likewise.
2206         * math/s_ctanf.c (__ctanf): Likewise.
2207         * math/s_ctanh.c (__ctanh): Likewise.
2208         * math/s_ctanhf.c (__ctanhf): Likewise.
2209         * math/s_ctanhl.c (__ctanhl): Likewise.
2210         * math/s_ctanl.c (__ctanl): Likewise.
2211         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2212         csin, csinh, ctan and ctanh.
2213         * math/auto-libm-test-out: Regenerated.
2214         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2215         * sysdeps/i386/fpu/libm-test-ulps: Update.
2216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2218 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2220         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2221         return value is wrong, print the expected value too.
2223 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2225         [BZ #18585]
2226         * elf/readlib.c (is_gdb_python_file): New.
2227         (process_file): Don't issue errors on filenames with -gdb.py
2228         suffix.
2230 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2232         * math/auto-libm-test-in: Add more tests of csin and csinh.
2233         * math/auto-libm-test-out: Regenerated.
2234         * math/libm-test.inc (csin_test_data): Remove tests moved to
2235         auto-libm-test-in.
2236         (csinh_test_data): Likewise.
2238         [BZ #18593]
2239         * math/s_csin.c (__csin): Negate before rather than after possibly
2240         overflowing multiplication.
2241         * math/s_csinf.c (__csinf): Likewise.
2242         * math/s_csinh.c (__csinh): Likewise.
2243         * math/s_csinhf.c (__csinhf): Likewise.
2244         * math/s_csinhl.c (__csinhl): Likewise.
2245         * math/s_csinl.c (__csinl): Likewise.
2246         * math/auto-libm-test-in: Add some tests of csin and csinh.
2247         * math/auto-libm-test-out: Regenerated.
2248         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2249         (csinh_test_data): Likewise.
2250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2252         [BZ #18586]
2253         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2254         underflow exception for small results.
2256 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2258         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2259         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2260         variable and included header.
2261         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2262         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2263         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2264         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2265         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2266         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2267         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2268         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2269         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2270         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2271         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2272         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2273         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2274         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2275         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2276         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2278 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2280         [BZ #16526]
2281         [BZ #16538]
2282         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2283         (__sin): Force underflow exception for arguments with small
2284         absolute value.
2285         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2286         (__kernel_sinf): Force underflow exception for arguments with
2287         small absolute value.
2288         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2289         (__kernel_sincosl): Force underflow exception for arguments with
2290         small absolute value.
2291         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2292         (__kernel_sinl): Force underflow exception for arguments with
2293         small absolute value.
2294         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2295         (__kernel_sincosl): Force underflow exception for arguments with
2296         small absolute value.
2297         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2298         (__kernel_sinl): Force underflow exception for arguments with
2299         small absolute value.
2300         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2301         (__kernel_sinl): Force underflow exception for arguments with
2302         small absolute value.
2303         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2304         (__kernel_sinf): Force underflow exception for arguments with
2305         small absolute value.
2306         * math/auto-libm-test-in: Add more tests of sin and sincos.
2307         * math/auto-libm-test-out: Regenerated.
2309         [BZ #18245]
2310         [BZ #18583]
2311         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2312         (__kernel_standard_l): Use feholdexcept and fesetenv around
2313         conversion to double instead of special-casing overflow and
2314         underflow.
2315         * math/libm-test.inc (fmod_test_data): Add more tests.
2316         (remainder_test_data): Likewise.
2317         (sqrt_test_data): Likewise.
2319 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2321         [BZ #17403]
2322         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2323         atomic_read_barrier, atomic_write_barrier): Define.
2324         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2325         atomic_read_barrier, atomic_write_barrier): Define.
2327 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2329         * math/Makefile [$(PERL) != no]
2330         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2331         dependency on libm-test.stmp below the inclusion of Rules.
2333 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2335         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2336         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2337         and included header.
2338         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2339         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2340         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2341         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2342         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2343         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2344         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2345         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2346         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2347         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2348         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2349         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2350         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2351         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2352         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2353         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2354         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2355         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2356         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2358 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2360         [BZ #18371]
2361         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2362         intermediate but not final result might underflow.
2363         * math/s_csqrtf.c (__csqrtf): Likewise.
2364         * math/s_csqrtl.c (__csqrtl): Likewise.
2365         * math/auto-libm-test-in: Add more tests of csqrt.
2366         * math/auto-libm-test-out: Regenerated.
2367         * sysdeps/i386/fpu/libm-test-ulps: Update.
2369         [BZ #18219]
2370         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2371         threshold on absolute value of exponent for which scaling is used.
2372         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2373         * math/auto-libm-test-in: Add more tests of exp2.
2374         * math/auto-libm-test-out: Regenerated.
2376 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2378         [BZ #17977]
2379         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2380         when initializing interface list, based on the bug analysis
2381         and the patch proposed by Eric Newton.
2382         * resolv/tst-res_hconf_reorder.c: New test.
2383         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2384         tst-res_hconf_reorder.
2385         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2386         and $(shared-thread-library).
2387         (tst-res_hconf_reorder-ENV): New variable.
2389         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2390         in comment.
2392 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2394         [BZ #16353]
2395         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2396         (__expm1): Force underflow exception for arguments with small
2397         absolute value.
2398         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2399         (__expm1f): Force underflow exception for arguments with small
2400         absolute value.
2401         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2402         (__expm1): Force underflow exception for arguments with small
2403         absolute value.
2404         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2405         (__expm1f): Force underflow exception for arguments with small
2406         absolute value.
2407         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2408         Check for small arguments before calling __expm1.
2409         * math/auto-libm-test-in: Do not mark underflow exceptions as
2410         possibly missing for bug 16353.
2411         * math/auto-libm-test-out: Regenerated.
2413 2015-06-22  Andreas Schwab  <schwab@suse.de>
2415         [BZ #18513]
2416         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2417         PTR queries.
2419 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2421         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2423         * string/strcoll_l.c: Remove unused struct element idxnow.
2425 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2427         [BZ #18569]
2428         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2429         underflow and return argument in case of subnormal argument.
2430         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2431         Likewise.
2432         * math/auto-libm-test-in: Add more tests of expm1.
2433         * math/auto-libm-test-out: Regenerated.
2435         [BZ #16361]
2436         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2437         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2438         tiny results.
2439         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2440         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2441         tiny results.
2442         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2443         mark underflow exceptions as possibly missing for bug 16361.
2444         * math/auto-libm-test-out: Regenerated.
2446 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2448         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2449         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2450         Remove variable.
2451         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2452         (test-xfail-XOPEN2K8/utmpx.h/conform).
2454         * conform/conformtest.pl ($xerrors): New variable.
2455         (note_error): New function.
2456         (compiletest): New argument $xfail.  Use not_error.
2457         (runtest): Likewise.
2458         (top level): Handle xfail- lines.  Update calls to compiletest and
2459         runtest.  Handle xfail- and optional- in headers listed with
2460         allow-header.
2461         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2462         (O_EXEC): Likewise.
2463         (O_SEARCH): Likewise.
2464         * conform/data/stropts.h-data (ioctl): Likewise.
2465         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2466         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2467         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2468         (msghdr.msg_controllen): Likewise.
2469         (cmsghdr.cmsg_len): Likewise.
2470         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2471         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2472         variable.
2473         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2474         (test-xfail-XPG4/stropts.h/conform): Likewise.
2475         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2476         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2477         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2478         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2479         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2480         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2481         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2482         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2483         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2484         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2485         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2486         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2487         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2488         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2489         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2490         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2491         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2492         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2493         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2495 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2497         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2498         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2499         definitions for proper unfolding of __MATHDECL_VEC.
2501 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2503         * benchtests/bench-strcoll.c:
2504         Include string.h.
2505         (main): Remove unused variable res.
2507 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2509         * timezone/Makefile (%/UTC %/Universal):
2510         Generate test-result files for UTC and Universal.
2512 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2514         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2516 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2518         [BZ #16350]
2519         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2520         for arguments with small absolute value.
2521         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2522         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2523         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2524         (__asinh): Force underflow exception for arguments with small
2525         absolute value.
2526         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2527         (__asinhf): Force underflow exception for arguments with small
2528         absolute value.
2529         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2530         (__asinhl): Force underflow exception for arguments with small
2531         absolute value.
2532         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2533         (__asinhl): Force underflow exception for arguments with small
2534         absolute value.
2535         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2536         (__asinhl): Force underflow exception for arguments with small
2537         absolute value.
2538         * math/auto-libm-test-in: Do not mark underflow exceptions as
2539         possibly missing for bug 16350.
2540         * math/auto-libm-test-out: Regenerated.
2542         * include/bits/ipc.h: Remove file.
2543         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2544         variable.
2545         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2546         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2547         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2548         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2549         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2550         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2551         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2552         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2553         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2555         * math/auto-libm-test-in: Remove spurious underflow allowance for
2556         tests of cexp.
2557         * math/auto-libm-test-out: Regenerated.
2559         [BZ #18558]
2560         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2561         unconditional definition.
2562         (MCAST_BLOCK_SOURCE): Likewise.
2563         (MCAST_UNBLOCK_SOURCE): Likewise.
2564         (MCAST_LEAVE_GROUP): Likewise.
2565         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2566         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2567         (MCAST_MSFILTER): Likewise.
2568         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2569         Remove variable.
2570         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2571         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2572         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2573         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2574         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2576 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2578         * NEWS: Mention addition of x86_64 vector sincosf.
2579         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2580         * math/test-float-vlen4.h: Likewise.
2581         * math/test-float-vlen8.h: Likewise.
2582         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2583         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2584         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2585         * sysdeps/x86_64/fpu/Versions: New versions added.
2586         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2587         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2588         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2589         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2590         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2591         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2592         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2593         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2594         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2595         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2596         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2597         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2598         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2599         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2600         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2601         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2602         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2603         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2604         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2605         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2606         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2607         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2608         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2609         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2611         * NEWS: Mention addition of x86_64 vector sincos.
2612         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2613         * math/math.h (__MATHDECL_VEC): New macro.
2614         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2615         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2616         declaration under condition.
2617         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2618         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2619         TEST_VEC_LOOP change.
2620         * math/test-double-vlen4.h: Likewise.
2621         * math/test-double-vlen8.h: Likewise.
2622         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2623         * math/test-float-vlen4.h: Likewise.
2624         * math/test-float-vlen8.h: Likewise.
2625         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2626         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2627         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2628         * sysdeps/x86_64/fpu/Versions: New versions added.
2629         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2630         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2631         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2632         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2633         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2634         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2635         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2636         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2637         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2638         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2639         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2640         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2641         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2642         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2643         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2644         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2645         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2646         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2647         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2648         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2649         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2650         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2651         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2652         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2654         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2655         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2656         redirections for powf.
2657         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2658         * sysdeps/x86_64/fpu/Versions: New versions added.
2659         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2660         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2661         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2662         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2663         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2664         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2665         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2666         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2667         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2668         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2669         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2670         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2671         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2672         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2673         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2674         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2675         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2676         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2677         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2678         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2679         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2680         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2681         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2682         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2683         * math/test-float-vlen16.h: Fixed 2 argument macro.
2684         * math/test-float-vlen4.h: Likewise.
2685         * math/test-float-vlen8.h: Likewise.
2686         * NEWS: Mention addition of x86_64 vector powf.
2688 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2690         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2691         and redefine.
2692         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2693         and redefine.
2694         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2695         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2696         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2698         [BZ #18553]
2699         * resource/getpriority.c (getpriority): Rename to __getpriority
2700         and define as weak alias of __getpriority.
2701         * resource/setpriority.c (setpriority): Rename to __setpriority
2702         and define as weak alias of __setpriority.
2703         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2704         __getpriority and define as weak alias of __getpriority.
2705         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2706         __setpriority and define as weak alias of __setpriority.
2707         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2708         strong name.
2709         (setpriority): Use __setpriority as strong name.
2710         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2711         __getpriority and define as weak alias of __getpriority.
2712         * include/sys/resource.h (__getpriority): Declare.  Use
2713         libc_hidden_proto.
2714         (__setpriority): Likewise.
2715         (getpriority): Don't use libc_hidden_proto.
2716         (setpriority): Likewise.
2717         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2718         getpriority.  Call __setpriority instead of setpriority.
2719         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2720         Remove variable.
2722         [BZ #18547]
2723         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2724         as weak alias of __getttynam.  Use prototype function definition.
2725         Call __setttyent, __getttyent and __endttyent instead of
2726         setttyent, getttyent and endttyent.
2727         (getttyent): Rename to __getttyent and define as weak alias of
2728         __getttyent.  Call __setttyent instead of setttyent.  Call
2729         __fgets_unlocked instead of fgets_unlocked.
2730         (setttyent): Rename to __setttyent and define as weak alias of
2731         __setttyent.
2732         (endttyent): Rename to __endttyent and define as weak alias of
2733         __endttyent.
2734         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2735         (__setttyent): Likewise.
2736         (__endttyent): Likewise.
2737         (getttyent): Don't use libc_hidden_proto.
2738         (setttyent): Likewise.
2739         (endttyent): Likewise.
2740         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2741         __endttyent instead of setttyent, getttyent and endttyent.
2742         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2743         Remove variable.
2745         [BZ #18546]
2746         * socket/recv.c (__recv): Use libc_hidden_def.
2747         * socket/socket.c (__socket): Likewise.
2748         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2749         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2750         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2751         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2752         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2753         libc_hidden_def.
2754         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2755         libc_hidden_weak.
2756         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2757         Use libc_hidden_proto.
2758         (__recv): Likewise.
2759         * socket/Versions (libc): Export __recv and __socket at version
2760         GLIBC_PRIVATE.
2761         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2762         instead of recv.
2763         (init_mq_netlink): Call __socket instead of socket.
2764         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2765         Remove variable.
2767         [BZ #18545]
2768         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2769         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
2770         hidden_weak.
2771         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2772         define as alias of __mq_timedsend.  Use hidden_weak.
2773         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2774         __mq_timedsend as strong name.
2775         (mq_timedreceive): Use __mq_timedreceive as strong name.
2776         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
2777         (__mq_timedreceive): Likewise.
2778         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2779         __mq_timedreceive instead of mq_timedreceive.
2780         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2781         instead of mq_timedsend.
2782         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2783         Remove variable.
2785         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2786         hidden_def and hidden_weak instead of libc_hidden_def and
2787         libc_hidden_weak.
2788         (top level): Refer to hidden_def in comment.
2789         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2790         macro.  Use it instead of libc_hidden_def.
2791         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2792         specify __GI_* name explicitly.
2793         (mq_timedreceive): Likewise.
2794         (mq_setattr): Likewise.
2796         [BZ #18544]
2797         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2798         __pthread_barrier_init and define as weak alias of
2799         __pthread_barrier_init.
2800         * sysdeps/sparc/nptl/pthread_barrier_init.c
2801         (pthread_barrier_init): Likewise.
2802         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2803         __pthread_barrier_wait and define as weak alias of
2804         __pthread_barrier_wait.
2805         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2806         (pthread_barrier_wait): Likewise.
2807         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2808         (pthread_barrier_wait): Likewise.
2809         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2810         (pthread_barrier_wait): Likewise.
2811         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2812         (pthread_barrier_wait): Likewise.
2813         * nptl/Versions (libpthread): Export __pthread_barrier_init and
2814         __pthread_barrier_wait at version GLIBC_PRIVATE.
2815         * include/pthread.h (__pthread_barrier_init): Declare.
2816         (__pthread_barrier_wait): Likewise.
2817         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2818         Call __pthread_barrier_wait instead of pthread_barrier_wait.
2819         (helper_thread): Likewise.
2820         (init_mq_netlink): Call __pthread_barrier_init instead of
2821         pthread_barrier_init.
2823         [BZ #18542]
2824         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2825         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2826         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
2827         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2828         vswscanf.
2829         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2830         Remove variable.
2832         [BZ #18540]
2833         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2834         strong alias of _IO_fflush.  Use libc_hidden_def.
2835         * libio/iofflush_u.c (fflush_unlocked): Rename to
2836         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2837         Use libc_hidden_weak.
2838         * include/stdio.h (__fflush_unlocked): Declare.  Use
2839         libc_hidden_proto.
2840         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2841         fflush_unlocked.
2842         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2843         Remove variable.
2845         [BZ #18539]
2846         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2847         define as weak alias of __addseverity.
2848         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2849         Remove variable.
2850         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2851         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2852         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2854         [BZ #18536]
2855         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2856         (__tfind): Likewise.
2857         (__tdelete): Likewise.
2858         (__twalk): Likewise.
2859         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2860         __twalk to GLIBC_PRIVATE.
2861         * include/search.h (__tsearch): Use libc_hidden_proto.
2862         (__tfind): Likewise.
2863         (__tdelete): Likewise.
2864         (__twalk): Likewise.
2865         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2866         Call __tdelete instead of tdelete.
2867         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2868         tfind.  Call __tsearch instead of tsearch.
2869         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2870         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2871         Remove variable.
2872         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2874         [BZ #18534]
2875         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2876         (dprintf): Define as a weak alias of __dprintf, not a strong
2877         alias.
2878         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2879         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2880         dprintf.
2881         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2882         Remove variable.
2883         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2884         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2886         [BZ #18533]
2887         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2888         not a strong alias.
2889         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2890         Remove variable.
2892         [BZ #18532]
2893         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2894         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2895         (in6addr_loopback): Rename to __in6addr_loopback and define as
2896         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2897         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2898         libc_hidden_proto.
2899         (__in6addr_any): Likewise.
2900         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2901         in6addr_any.
2902         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2903         variable.
2904         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2906 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2908         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2909         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2910         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2911         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2912         redirections for pow.
2913         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2914         * sysdeps/x86_64/fpu/Versions: New versions added.
2915         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2916         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2917         build of SSE, AVX2 and AVX512 IFUNC versions.
2918         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2919         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2920         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2921         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2922         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2923         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2924         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2925         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2926         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2927         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2928         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2929         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2930         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2931         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2932         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2933         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2934         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2935         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2936         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2937         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2938         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2939         * NEWS: Mention addition of x86_64 vector pow.
2941         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2942         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2943         redirections for expf.
2944         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2945         * sysdeps/x86_64/fpu/Versions: New versions added.
2946         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2947         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2948         build of SSE, AVX2 and AVX512 IFUNC versions.
2949         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2950         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2951         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2952         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2953         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2954         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2955         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2956         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2957         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2958         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2959         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2960         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2961         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2962         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2963         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2964         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2965         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2966         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2967         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2968         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2969         * NEWS: Mention addition of x86_64 vector expf.
2971         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2972         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2973         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2974         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2975         redirections for exp.
2976         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2977         * sysdeps/x86_64/fpu/Versions: New versions added.
2978         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2979         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2980         build of SSE, AVX2 and AVX512 IFUNC versions.
2981         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2982         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2983         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2984         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2985         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2986         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2987         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2988         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2989         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2990         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2991         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2992         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2993         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2994         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2995         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2996         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2997         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2998         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2999         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3000         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3001         * NEWS: Mention addition of x86_64 vector exp.
3003         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3004         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3005         redirections for logf.
3006         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3007         * sysdeps/x86_64/fpu/Versions: New versions added.
3008         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3009         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3010         build of SSE, AVX2 and AVX512 IFUNC versions.
3011         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3012         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3013         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3014         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3015         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3016         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3017         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3018         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3019         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3020         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3021         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3022         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3023         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3024         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3025         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3026         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3027         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3028         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3029         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3030         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3031         * NEWS: Mention addition of x86_64 vector logf.
3033         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3034         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3035         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3036         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3037         redirections for log.
3038         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3039         * sysdeps/x86_64/fpu/Versions: New versions added.
3040         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3041         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3042         build of SSE, AVX2 and AVX512 IFUNC versions.
3043         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3044         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3045         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3046         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3047         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3048         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3049         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3050         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3051         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3052         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3053         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3054         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3055         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3056         test.
3057         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3058         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3059         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3060         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3061         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3062         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3063         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3064         * NEWS: Mention addition of x86_64 vector log.
3066 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3068         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3069         cfi_adjust_cfa_offset argument.
3070         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3071         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3073         [BZ #18034]
3074         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3075         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3076         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3077         ordering using ldar.
3078         (_dl_tlsdesc_dynamic): Likewise.
3079         (_dl_tlsdesc_return_lazy): Likewise.
3080         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3081         relaxed atomics instead of volatile and synchronize with release store.
3082         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3083         volatile.
3084         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3086 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3088         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3089         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3090         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3091         * sysdeps/x86_64/fpu/Versions: New versions added.
3092         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3093         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3094         build of SSE, AVX2 and AVX512 IFUNC versions.
3095         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3096         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3097         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3098         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3099         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3100         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3101         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3102         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3103         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3104         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3105         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3106         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3107         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3108         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3109         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3110         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3111         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3112         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3113         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3114         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3115         * NEWS: Mention addition of x86_64 vector sinf.
3117 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3119         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3120         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3121         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3122         Remove variable.
3123         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3124         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3126 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3128         [BZ #18530]
3129         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3130         strong alias of _IO_fputs.  Use libc_hidden_def.
3131         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3132         and define as weak alias of __fputs_unlocked.  Use
3133         libc_hidden_weak.
3134         * include/stdio.h (__fputs_unlocked): Declare.  Use
3135         libc_hidden_proto.
3136         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3137         fputs_unlocked.
3139         [BZ #18529]
3140         * resolv/netdb.h [__USE_POSIX]: Change condition to
3141         [__USE_XOPEN2K].
3142         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3143         not expect.
3144         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3145         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3146         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3147         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3148         [XPG4 || UNIX98] (AI_ALL): Likewise.
3149         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3150         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3151         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3152         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3153         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3154         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3155         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3156         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3157         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3158         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3159         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3160         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3161         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3162         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3163         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3164         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3165         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3166         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3167         [XPG4 || UNIX98] (gai_strerror): Likewise.
3168         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3169         [XPG4 || UNIX98] (getnameinfo): Likewise.
3171         [BZ #18528]
3172         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3173         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3174         __USE_XOPEN2K8].
3175         (getgrent): Likewise.
3176         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3177         expect.
3178         [XPG3 || POSIX2008] (endgrent): Likewise.
3179         [XPG3] (setgrent): Likewise.
3180         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3181         variable.
3182         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3184         [BZ #18527]
3185         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3186         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3187         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3188         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3189         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3190         * include/unistd.h (__getlogin_r): Declare.  Use
3191         libc_hidden_proto.
3192         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3193         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3194         variable.
3195         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3196         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3197         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3199 2015-06-12  Martin Sebor  <msebor@redhat.com>
3201         [BZ #18512]
3202         * Makerules (check-install-supported): New target.
3203         (install): Add check-install-supported as a dependency.
3204         * manual/install.texi (Installing the C Library): Document
3205         that overriding prefix and exec_prefix is not supported.
3206         Mention DESTDIR.
3207         * INSTALL: Regenerate from the above.
3209 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3211         [BZ #18519]
3212         * posix/Versions (libc): Export __libc_pread at version
3213         GLIBC_PRIVATE.
3214         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3215         instead of pread.
3216         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3217         variable.
3219         [BZ #18522]
3220         * misc/efgcvt_r.c
3221         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3222         (cvt_symbol): Use weak_alias instead of strong_alias.
3223         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3224         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3225         Remove variable.
3226         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3227         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3229         [BZ #18520]
3230         * inet/herrno.c (h_errno): Rename to __h_errno.
3231         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3232         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3233         to __h_errno instead of h_errno.
3234         * nptl/herrno.c (h_errno): Rename to __h_errno.
3235         (__h_errno_location): Refer to __h_errno not h_errno.
3236         * resolv/Versions (h_errno): Rename to __h_errno.
3237         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3238         Remove variable.
3239         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3241 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3243         * configure.ac: More strict check for AVX512 assembler support.
3244         * configure: Regenerated.
3246         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3247         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3248         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3249         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3250         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3251         * sysdeps/x86_64/fpu/Versions: New versions added.
3252         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3253         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3254         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3255         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3256         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3257         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3258         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3259         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3260         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3261         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3262         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3263         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3264         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3265         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3266         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3267         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3268         test.
3269         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3270         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3271         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3272         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3273         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3274         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3275         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3276         * NEWS: Mention addition of x86_64 vector sin.
3278 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3280         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3281         comment.
3283 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3285         [BZ #18479]
3286         * nptl/pt-interp.c: New file.
3287         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3288         Add pt-interp.
3289         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3290         $(common-objpfx)runtime-linker.h.
3292 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3294         * Makeconfig (+interp): Remove unused variable.
3295         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3296         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3297         $(elf-objpfx)runtime-linker.h.
3298         ($(elf-objpfx)runtime-linker.h): Rename to
3299         $(common-objpfx)runtime-linker.h and move ...
3300         * Makerules [$(build-shared) = yes]: ... here.
3301         * elf/interp.c: Include <runtime-linker.h> instead of
3302         <elf/runtime-linker.h>.
3304 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3306         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3307         (__gettimeofday_syscall): Remove vsyscall fallback.
3308         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3309         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3310         Add syscall fallback function.
3311         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3312         if vDSO is not present.
3313         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3314         fallback function.
3315         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3316         present.
3317         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3318         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3320 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3322         [BZ #18497]
3323         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3324         of wcscmp.
3325         (wcscmp): Define as weak alias of WCSCMP.
3326         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3327         wcscoll.
3328         (USE_HIDDEN_DEF): Define.
3329         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3330         __wcscoll.  Don't use libc_hidden_weak.
3331         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3332         wcscmp.
3333         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3334         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3335         __GI_wcscmp.
3336         (weak_alias): Undefine and redefine.
3337         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3338         __wcscmp and define as weak alias of __wcscmp.
3339         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3340         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3341         (__wcscoll): Likewise.
3342         (wcscmp): Don't use libc_hidden_proto.
3343         (wcscoll): Likewise.
3344         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3345         wcscoll.
3346         * posix/regexec.c (check_node_accept_bytes): Likewise.
3347         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3348         variable.
3349         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3350         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3352         [BZ #18507]
3353         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3354         __fstatvfs and define as weak alias of __fstatvfs.  Use
3355         libc_hidden_weak.
3356         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3357         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3358         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3359         Define as alias of __fstatvfs, not fstatvfs.
3360         (fstatvfs64): Likewise.
3361         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3362         Define as alias of __statvfs, not statvfs.
3363         (statvfs64): Likewise.
3364         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3365         Remove variable.
3367 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3370         (HAVE_GETCPU_VSYSCALL): Define.
3371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3372         (HAVE_GETCPU_VSYSCALL): Likewise.
3373         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3374         * sysdeps/unix/sysv/linux/sched_getcpu.c
3375         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3376         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3377         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3378         prototype.
3379         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3380         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3381         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3382         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3383         Define.
3384         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3385         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3386         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3387         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3389 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3391         * sysdeps/x86_64/fpu/Makefile: New file.
3392         * sysdeps/x86_64/fpu/Versions: New file.
3393         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3394         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3395         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3396         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3397         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3398         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3399         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3400         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3401         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3402         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3403         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3404         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3405         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3406         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3407         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3408         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3409         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3410         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3411         * sysdeps/x86_64/configure: Regenerated.
3412         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3413         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3414         * manual/install.texi (Configuring and compiling): Document
3415         --disable-mathvec.
3416         * INSTALL: Regenerated.
3417         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3419         * math/Makefile: Added rules for vector tests.
3420         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3421         declaration under condition.
3422         * math/test-double-vlen2.h: New file.
3423         * math/test-double-vlen4.h: New file.
3424         * math/test-double-vlen8.h: New file.
3425         * math/test-vec-loop.h: Added initialization macro.
3426         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3427         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3428         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3429         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3430         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3431         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3432         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3433         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3434         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3435         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3436         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3438         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3439         * sysdeps/x86_64/fpu/Versions: New versions added.
3440         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3441         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3442         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3443         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3444         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3445         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3446         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3447         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3448         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3449         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3450         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3451         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3452         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3453         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3454         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3455         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3456         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3457         * NEWS: Mention addition of x86_64 vector cosf.
3459         * math/Makefile: Added CFLAGS for new tests.
3460         * math/test-float-vlen16.h: New file.
3461         * math/test-float-vlen4.h: New file.
3462         * math/test-float-vlen8.h: New file.
3463         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3464         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3465         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3466         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3467         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3468         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3469         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3470         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3471         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3472         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3473         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3475 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3477         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3478         * locale/programs/ld-ctype.c: Likewise.
3480 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3482         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3483         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3484         bit_ZMM16_31_state): New macro.
3485         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3486         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3488 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3490         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3492 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3494         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3496 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3498         [BZ #18498]
3499         * libio/memstream.c (open_memstream): Rename to __open_memstream
3500         and define as weak alias of __open_memstream.
3501         * include/stdio.h (__open_memstream): Declare.  Use
3502         libc_hidden_proto.
3503         (open_memstream): Don't use libc_hidden_proto.
3504         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3505         open_memstream.
3506         * posix/getopt.c (_getopt_internal_r): Likewise.
3507         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3508         variable.
3509         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3510         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3511         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3513         [BZ #18496]
3514         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3515         instead of wcrtomb.
3517         [BZ #18483]
3518         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3519         [__USE_XOPEN2K8].  Remove redundant #endif.
3520         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3521         Remove redundant #if.
3522         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3523         Remove variable.
3524         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3525         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3527         [BZ #18495]
3528         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3529         (__iswlower): Likewise.
3530         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3531         (__iswlower): Likewise.
3532         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3533         instead of towlower.
3534         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3535         instead of iswlower.  Call __towupper instead of towupper.
3536         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3537         instead of iswalnum.
3539 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3541         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3542         errors to stderr.
3544 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3546         [BZ #15661]
3547         [BZ #17322]
3548         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3549         Check for overflow properly.  Check for O_APPEND.  Ignore large
3550         file system block sizes.  Add comments about problems.
3551         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3552         * manual/filesys.texi (Storage Allocation): New node.
3554 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3556         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3557         cancellable syscalls.
3558         (SYS_ify): Add guard to no redefine it.
3559         (INLINE_SYSCALL): Likewise.
3560         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3561         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3562         SYSCALL_CANCEL instead.
3563         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3564         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3565         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3566         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3567         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3568         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3569         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3570         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3571         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3572         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3573         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3574         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3575         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3576         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3577         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3578         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3579         Likewise.
3580         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3581         (__libc_pread64): Likewise.
3582         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3583         (__libc_preadv): Likewise.
3584         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3585         (__libc_readv64): Likewise.
3586         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3587         (__libc_pwrite): Likewise.
3588         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3589         (__libc_pwrite64): Likewise.
3590         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3591         (__libc_pwritev): Likewise.
3592         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3593         (__libc_pwritev64): Likewise.
3594         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3595         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3596         (sync_file_range): Likewise.
3597         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3598         Likewise.
3599         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3600         Likewise.
3601         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3602         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3603         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3604         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3605         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3606         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3607         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3608         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3610         Likewise.
3611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3612         (__libc_read64): Likewise.
3613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3614         Likewise.
3615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3616         Likewise.
3617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3618         Likewise.
3619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3620         Likewise.
3621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3622         (__libc_pread64): Likewise.
3623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3624         Likewise.
3625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3626         (__libc_pwrite64): Likewise.
3627         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3628         (sync_file_range): Likewise.
3629         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3630         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3631         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3632         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3633         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3634         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3635         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3636         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3637         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3638         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3639         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3640         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3641         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3642         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3643         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3644         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3645         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3646         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3647         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3648         Likewise.
3649         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3650         Likewise.
3651         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3652         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3653         Likewise.
3654         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3655         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3656         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3657         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3658         Likewise.
3659         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3660         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3661         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3662         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3663         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3665 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3667         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3668         Include dl-vdso.
3669         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3670         Use VDSO routines for gettimeofday, clock_gettime if
3671         available.
3672         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3673         Declare VDSO symbols.
3674         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3675         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3676         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3677         * sysdeps/unix/sysv/linux/arm/Versions: Add
3678         __vdso_clock_gettime.
3680 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3682         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3683         be an inline implementation regardless of library is built within.
3684         (open_not_cancel_2): Likewise.
3685         (__read_nocancel): Likewise.
3686         (__write_nocancel): Likewise.
3687         (openat_not_cancel): Likewise.
3688         (openat_not_cancel_3): Likewise.
3689         (openat64_not_cancel): Likewise.
3690         (openat64_not_cancel_3): Likewise.
3691         (__close_nocancel): Likewise.
3692         (pause_not_cancel): Likewise.
3693         (nanosleep_not_cancel): Likewise.
3694         (sigsuspend_not_cancel): Likewise.
3696 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3698         [BZ #14958]
3699         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3700         wake-up.
3701         (__pthread_rwlock_rdlock_slow): Likewise.
3702         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3703         Likewise.
3704         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3705         Likewise.
3706         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3707         * nptl/tst-rwlock16.c: New file.
3708         * nptl/Makefile (tests): Add new test.
3710 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3712         [BZ #18324]
3713         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3714         missing wake-up of readers.
3715         * nptl/tst-rwlock15.c: New file.
3716         * nptl/Makefile (tests): Add new test.
3718 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3720         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3721         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3722         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3723         and __nacl_supply_interface_rtld.
3724         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3725         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3726         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3727         Add __nacl_supply_interface_rtld.
3728         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3730 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3732         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3733         isfinite.
3734         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3735         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3737 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3739         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3740         __signbit* with standard C99 macros.
3741         * math/e_exp10l.c: Likewise.
3742         * math/e_exp2l.c: Likewise.
3743         * math/e_scalb.c: Likewise.
3744         * math/e_scalbf.c: Likewise.
3745         * math/e_scalbl.c: Likewise.
3746         * math/s_ldexp.c: Likewise.
3747         * math/s_ldexpf.c: Likewise.
3748         * math/s_ldexpl.c: Likewise.
3749         * math/w_atan2.c: Likewise.
3750         * math/w_atan2f.c: Likewise.
3751         * math/w_atan2l.c: Likewise.
3752         * math/w_cosh.c: Likewise.
3753         * math/w_coshf.c: Likewise.
3754         * math/w_coshl.c: Likewise.
3755         * math/w_exp10.c: Likewise.
3756         * math/w_exp10f.c: Likewise.
3757         * math/w_exp10l.c: Likewise.
3758         * math/w_exp2.c: Likewise.
3759         * math/w_exp2f.c: Likewise.
3760         * math/w_exp2l.c: Likewise.
3761         * math/w_fmod.c: Likewise.
3762         * math/w_fmodf.c: Likewise.
3763         * math/w_fmodl.c: Likewise.
3764         * math/w_hypot.c: Likewise.
3765         * math/w_hypotf.c: Likewise.
3766         * math/w_hypotl.c: Likewise.
3767         * math/w_jnl.c: Likewise.
3768         * math/w_lgamma.c: Likewise.
3769         * math/w_lgamma_r.c: Likewise.
3770         * math/w_lgammaf.c: Likewise.
3771         * math/w_lgammaf_r.c: Likewise.
3772         * math/w_lgammal.c: Likewise.
3773         * math/w_lgammal_r.c: Likewise.
3774         * math/w_pow.c: Likewise.
3775         * math/w_powf.c: Likewise.
3776         * math/w_powl.c: Likewise.
3777         * math/w_remainder.c: Likewise.
3778         * math/w_remainderf.c: Likewise.
3779         * math/w_remainderl.c: Likewise.
3780         * math/w_scalb.c: Likewise.
3781         * math/w_scalbf.c: Likewise.
3782         * math/w_scalbl.c: Likewise.
3783         * math/w_scalbln.c: Likewise.
3784         * math/w_scalblnf.c: Likewise.
3785         * math/w_scalblnl.c: Likewise.
3786         * math/w_sinh.c: Likewise.
3787         * math/w_sinhf.c: Likewise.
3788         * math/w_sinhl.c: Likewise.
3789         * math/w_tgamma.c: Likewise.
3790         * math/w_tgammaf.c: Likewise.
3791         * math/w_tgammal.c: Likewise.
3792         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3793         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3794         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3795         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3796         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3797         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3798         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3799         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3800         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3801         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3802         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3803         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3804         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3805         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3806         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3807         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3808         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3809         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3810         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3811         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3812         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3813         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3814         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3815         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3816         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3817         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3818         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3819         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3820         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3821         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3822         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3823         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3824         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3825         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3826         * stdio-common/printf_fp.c: Likewise.
3827         * stdio-common/printf_fphex.c: Likewise.
3828         * stdio-common/printf_size.c: Likewise.
3830 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
3832         [BZ #18470]
3833         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3834         strnlen.
3835         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3836         Remove variable.
3837         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3838         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3839         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3840         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3841         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3842         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3843         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3844         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3845         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3846         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3848         [BZ #18468]
3849         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3850         weak alias of __wmemchr.  Use libc_hidden_weak.
3851         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3852         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3853         instead of wmemchr.
3855 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3857         [BZ #18383]
3858         * elf/tst-tlsalign-extern.c: New file.
3859         * elf/tst-tlsalign-extern-static.c: New file.
3860         * elf/tst-tlsalign-vars.c: New file.
3861         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3862         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3863         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3864         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3865         (test-xfail-tst-tlsalign-extern-static): New variable.
3867 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3869         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3870         Use variable name _sc_err instead of err.
3871         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3872         instead of ret.
3873         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3874         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3875         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3876         (INLINE_SYSCALL): Likewise.
3878         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3879         * include/string.h (__strnlen): Use libc_hidden_proto.
3880         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3881         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3882         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3883         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3884         (libc_hidden_def): Undefine and redefine.
3885         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3886         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3887         __GI_strnlen.
3888         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3889         libc_hidden_def.
3890         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3892         [BZ #18469]
3893         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3894         weak alias of __towlower.  Use libc_hidden_weak.
3895         (towupper): Rename to __towupper and define as weak alias of
3896         __towupper.  Use libc_hidden_weak.
3897         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3898         (__towupper): Likewise.
3899         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3900         __towlower instead of towlower.
3902 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3904         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3905         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3907 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3909         * sysdeps/aarch64/libm-test-ulps: Update.
3911 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3913         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3914         Define.
3915         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3916         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3917         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3918         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3919         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3920         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3921         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3923 2015-06-01  Martin Sebor  <msebor@redhat.com>
3925         [BZ #18116]
3926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3927         (__setcontext): Use extended four-operand version of mtsf whenever
3928         possible.
3929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3930         (__novec_swapcontext): Likewise.
3932 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3934         * benchtests/scripts/compare_bench.py: New file.
3935         * benchtests/scripts/import_bench.py (mean): New function.
3936         (split_list): Likewise.
3937         (do_for_all_timings): Likewise.
3938         (compress_timings): Likewise.
3940         * benchtests/scripts/import_bench.py: New file.
3941         * benchtests/scripts/validate_benchout.py: Import import_bench
3942         instead of jsonschema.
3943         (validate_bench): Remove function.
3944         (main): Use import_bench.
3946 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3948         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3949         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3951 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3955 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3957         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3958         set THREAD_SELF->tid to a magic value and futex-wake it.
3959         Pass its address to the thread_exit system call.
3960         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3961         bit is clear.
3962         * sysdeps/nacl/lowlevellock.h: New file.
3963         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3965         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3966         Add TIMEOUT to current time, don't subtract it.
3968 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3970         [BZ #2981]
3971         [BZ #18422]
3972         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3973         ($(objpfx)tst-audit2.out): Also depend on
3974         $(objpfx)tst-auditmod9b.so.
3975         * elf/tst-audit2.c: Include <dlfcn.h>.
3976         (calloc_called): New.
3977         (calloc): Allow to be called more than once.
3978         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3980 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3982         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3983         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3985 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3987         * stdlib/monetary.h: Fix comment.
3989 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3991         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3992         Avoid using variables in #defines that might cause shadowing.
3993         (INTERNAL_VSYSCALL_CALL): Likewise.
3995 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3997         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3999         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4000         * nptl/lll_timedlock_wait.c: ... to this new file.
4001         * nptl/Makefile (libpthread-routines): Add it.
4002         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4003         * nptl/lll_timedwait_tid.c: ... to this new file.
4004         * nptl/Makefile (libpthread-routines): Add it.
4005         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4006         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4007         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4008         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4009         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4010         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4011         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4012         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4013         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4014         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4016 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4018         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4019         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4020         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4021         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4022         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4023         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4024         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4025         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4026         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4027         * sysdeps/unix/sysv/linux/tile/sysdep.h
4028         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4029         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4030         using vDSO syscall macro.
4032 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4034         [BZ #17293]
4035         * uk_UA: Fix sorting order for Ukrainian locale
4037 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4039         * stdlib/monetary.h: Fix comment.
4041 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4043         [BZ #18234]
4044         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4045         st_mtim and st_ctim members.
4046         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4047         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4048         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4049         (struct stat64): Likewise.
4050         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4051         (struct stat64): Likewise.
4052         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4053         (struct stat64): Likewise.
4055 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4057         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4058         Define and include sysdep-vdso.h.
4059         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4060         Likewise.
4061         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4062         Likewise.
4063         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4064         Define with VDSO_SYMBOL and use PTR_MANGLE.
4065         (__vdso_clock_gettime): Likewise.
4066         (__vdso_clock_getres): Likewise.
4067         (_libc_vdso_platform_setup): Likewise.
4068         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4069         Likewise.
4070         (_libc_vdso_platform_setup): Likewise.
4071         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4072         Likewise.
4073         (__vdso_clock_gettime): Likewise.
4074         (__vdso_clock_getres): Likewise.
4075         (__vdso_get_tbfreq): Likewise.
4076         (__vdso_getcpu): Likewise.
4077         (__vdso_time): Likewise.
4078         (__vdso_sigtramp_rt64): Likewise.
4079         (__vdso_signtramp32): Likewise.
4080         (__vdso_sigtramp_rt32): Likewise.
4081         (_libc_vdso_platform_setup): Likewise.
4082         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4083         Likewise.
4084         (__vdso_clock_gettime): Likewise.
4085         (__vdso_clock_getres): Likewise.
4086         (_libc_vdso_platform_setup): Likewise.
4087         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4088         Likewise.
4089         (__vdso_clock_gettime): Likewise.
4090         (_libc_vdso_platform_setup): Likewise.
4091         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4092         Likewise.
4093         (__vdso_getcpu): Likewise.
4094         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4095         Use VDSO_SYMBOL macro to define.
4096         (__vdso_clock_gettime): Likewise.
4097         (__vdso_clock_getres): Likewise.
4098         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4099         Likewise.
4100         (__vdso_clock_gettime): Likewise.
4101         (__vdso_clock_getres): Likewise.
4102         (__vdso_get_tbfreq): Likewise.
4103         (__vdso_getcpu): Likewise.
4104         (__vdso_time): Likewise.
4105         (__vdso_sigtramp_rt64): Likewise.
4106         (__vdso_signtramp32): Likewise.
4107         (__vdso_sigtramp_rt32): Likewise.
4108         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4109         Likewise.
4110         (__vdso_clock_gettime): Likewise.
4111         (__vdso_clock_getres): Likewise.
4112         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4113         Likewise.
4114         (__vdso_clock_gettime): Likewise.
4115         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4116         Likewise.
4117         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4118         macro.
4119         (INTERNAL_VSYSCALL): Likewise.
4120         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4121         Remove macro.
4122         (INTERNAL_VSYSCALL): Likewise.
4123         (INTERNAL_VSYSCALL_NCS): Likewise.
4124         (INTERNAL_VSYSCALL_CALL): New macro.
4125         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4126         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4127         Likewise.
4128         (INTERNAL_VSYSCALL): Likewise.
4129         (INTERNAL_VSYSCALL_NCS): Likewise.
4130         (INTERNAL_VSYSCALL_CALL): New macro.
4131         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4133         (INLINE_VSYSCALL): Remove macro.
4134         (INTERNAL_VSYSCALL): Remove macro.
4135         (INTERNAL_VSYSCALL_NCS): Remove macro.
4136         (INTERNAL_VSYSCALL_CALL): New macro.
4137         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4138         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4139         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4140         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4141         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4143         (INLINE_VSYSCALL): Remove macro.
4144         (INTERNAL_VSYSCALL): Likewise.
4145         (INTERNAL_VSYSCALL_NCS): Likewise.
4146         (INTERNAL_VSYSCALL_CALL): New macro.
4147         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4148         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4149         PTR_DEMANGLE on vDSO pointer.
4150         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4151         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4152         macro.
4153         (INTERNAL_SYSCALL): Likewise.
4154         (INTERNAL_VSYSCALL_NCS): Remove macro.
4155         (INTERNAL_VSYSCALL_CALL): New macro.
4156         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4157         Remove macro.
4158         (INTERNAL_VSYSCALL): Likewise.
4159         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4160         sysdep-vdso.h instead of libc-vdso.h.
4161         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4162         definition.
4163         (INLINE_VSYSCALL): Likewise.
4164         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4165         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4166         definition.
4167         (INLINE_VSYSCALL): Likewise.
4168         (INTERNAL_VSYSCALL): Likewise.
4169         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4170         * sysdeps/unix/sysv/linux/timespec_get.c
4171         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4172         (timespec_get): Use ANSI prototype.
4173         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4174         and definition for Linux.
4176 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4178         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4179         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4181 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4183         [BZ #2981]
4184         [BZ #18410]
4185         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4186         for missing DT_PLTRELSZ.
4188 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4190         Remove obsolete aliases that broke 'locale -a'
4191         [BZ #18412]
4192         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4193         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4194         breaking some applications that use 'locale -a' output.
4195         Change the encoding of this file from Latin-1 to ASCII to avoid
4196         other potential problems with people grepping this file.
4198 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4200         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4201         -fasynchronous-unwind-tables.
4202         (CFLAGS-sendto.c): Likewise.
4203         (CFLAGS-sendmsg.c): Likewise.
4204         (CFLAGS-connect.c): Likewise.
4205         (CFLAGS-recvmsg.c): Likewise.
4206         (CFLAGS-recvfrom.c): Likewise.
4207         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4208         (SOCKETCALL): New macro: non-cancellable socketcall.
4209         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4210         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4211         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4212         * sysdeps/unix/sysv/linux/accept.c: New file.
4213         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4214         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4215         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4216         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4217         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4218         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4219         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4220         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4221         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4222         * sysdeps/unix/sysv/linux/send.c: Likewise.
4223         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4224         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4225         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4226         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4227         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4228         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4229         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4230         prototype.
4231         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4232         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4233         instead of __internal_xxx function.
4234         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4235         prototype.
4236         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4237         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4238         instead of __internal_xxx function.
4239         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4240         prototype.
4241         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4242         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4243         instead of __internal_xxx function.
4244         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4245         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4246         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4247         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4248         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4249         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4250         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4251         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4252         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4253         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4254         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4255         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4256         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4257         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4258         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4259         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4260         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4261         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4262         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4263         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4266         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4267         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4268         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4269         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4270         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4271         * sysdeps/unix/sysv/linux/send.S: Likewise.
4272         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4273         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4274         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4275         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4276         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4277         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4278         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4279         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4280         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4281         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4282         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4283         socketcall is implemented in GLIBC.
4285 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4287         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4288         (__fma): Ignore uninitialized warnings around packing.
4289         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4290         (__fmaf): Ignore uninitialized warnings around packing.
4291         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4292         (__fmal): Ignore uninitialized warnings around packing.
4294         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4295         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4296         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4297         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4299         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4300         switch statement into default case.
4301         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4303         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4304         a conditional in forcing "inexact".
4305         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4306         Likewise.
4308 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4310         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4311         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4312         for each INTERNAL_SYSCALL use.
4314 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4316         [BZ #438]
4317         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4318         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4319         variable.
4321         [BZ #18444]
4322         * string/basename.c (basename): Rename to __basename and define as
4323         weak alias of __basename.  Use libc_hidden_weak.
4324         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4325         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4326         __basename instead of basename.
4327         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4328         Remove variable.
4329         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4331 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4333         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4334         (_IO_JUMPS_FILE_plus): New.
4335         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4336         _IO_CAST_FIELD_ACCESS.
4337         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4338         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4339         * libio/freopen.c (freopen): Likewise.
4340         * libio/freopen64.c (freopen64): Likewise.
4341         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4342         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4343         * libio/iofwide.c (_IO_fwide): Likewise.
4344         * libio/memstream.c (open_memstream): Likewise.
4345         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4346         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4347         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4349 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4351         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4352         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4353         NADJ.
4354         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4355         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4356         NADJ.
4357         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4358         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4359         NADJ.
4361         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4362         (p == 4) case.
4364         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4365         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4366         Remove variable.
4367         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4368         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4369         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4371 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4373         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4374         Adjust jump table label generation macros.
4376 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4378         * stdio-common/vfprintf.c (vfprintf): Move local variables
4379         args_malloced, specs, specs_malloced, and the code after
4380         do_positional to the printf_positional function.
4381         (printf_positional): New function.
4383 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4385         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4386         function.
4387         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4388         STEP4_TABLE, process_arg): Move macro definitions
4389         out of the vfprintf function.  (Cosmetic change only.)
4391 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4393         * benchtests/Makefile (stdio-common-bench): Define.
4394         (benchset): Add stdio-common-bench.
4395         * sprintf-inputs: New file.
4396         * sprintf-source.c: New file.
4398 2015-05-21  Andreas Schwab  <schwab@suse.de>
4400         [BZ #13028]
4401         [BZ #17053]
4402         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4403         of struct __res_state.
4404         * resolv/res_send.c (__libc_res_nsend): Likewise.
4405         (get_nsaddr): New function.
4406         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4407         statp directly.
4409 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4411         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4412         -D_POSIX_C_SOURCE=199506L.
4414         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4416         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4417         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4418         Do not mention otherwise.
4419         [POSIX] (_XOPEN_VERSION): Do not expect.
4420         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4421         [POSIX] (_POSIX2_C_BIND): Likewise.
4422         [POSIX] (_POSIX2_VERSION): Likewise.
4423         [POSIX] (_XOPEN_XPG2): Likewise.
4424         [POSIX] (_XOPEN_XPG3): Likewise.
4425         [POSIX] (_XOPEN_XPG4): Likewise.
4426         [POSIX] (_XOPEN_UNIX): Likewise.
4427         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4428         [POSIX] (_POSIX_BARRIERS): Likewise.
4429         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4430         [POSIX] (_POSIX_CPUTIME): Likewise.
4431         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4432         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4433         [POSIX] (_POSIX_SHELL): Likewise.
4434         [POSIX] (_POSIX_SPAWN): Likewise.
4435         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4436         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4437         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4438         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4439         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4440         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4441         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4442         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4443         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4444         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4445         [POSIX] (_POSIX2_PBS): Likewise.
4446         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4447         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4448         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4449         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4450         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4451         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4452         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4453         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4454         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4455         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4456         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4457         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4458         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4459         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4460         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4461         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4462         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4463         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4464         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4465         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4466         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4467         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4468         [POSIX] (_SC_2_C_BIND): Likewise.
4469         [POSIX] (_SC_2_C_VERSION): Likewise.
4470         [POSIX] (_SC_2_PBS): Likewise.
4471         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4472         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4473         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4474         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4475         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4476         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4477         [POSIX] (_SC_BARRIERS): Likewise.
4478         [POSIX] (_SC_BASE): Likewise.
4479         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4480         [POSIX] (_SC_DEVICE_IO): Likewise.
4481         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4482         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4483         [POSIX] (_SC_FD_MGMT): Likewise.
4484         [POSIX] (_SC_FIFO): Likewise.
4485         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4486         [POSIX] (_SC_FILE_LOCKING): Likewise.
4487         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4488         [POSIX] (_SC_IOV_MAX): Likewise.
4489         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4490         [POSIX] (_SC_NETWORKING): Likewise.
4491         [POSIX] (_SC_PAGE_SIZE): Likewise.
4492         [POSIX] (_SC_PASS_MAX): Likewise.
4493         [POSIX] (_SC_PIPE): Likewise.
4494         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4495         [POSIX] (_SC_REGEXP): Likewise.
4496         [POSIX] (_SC_SHELL): Likewise.
4497         [POSIX] (_SC_SIGNALS): Likewise.
4498         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4499         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4500         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4501         [POSIX] (_SC_USER_GROUPS): Likewise.
4502         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4503         [POSIX] (_SC_STREAMS): Likewise.
4504         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4505         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4506         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4507         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4508         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4509         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4510         [POSIX] (_PC_FILESIZEBITS): Likewise.
4511         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4512         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4513         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4514         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4515         [POSIX] (uid_t): Likewise.
4516         [POSIX] (gid_t): Likewise.
4517         [POSIX] (off_t): Likewise.
4518         [POSIX] (pid_t): Likewise.
4519         [POSIX] (cuserid): Allow.
4520         (_SC_2_CHAR_TERM): Require constant.
4521         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4522         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4523         variable.
4525 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4527         * sysdeps/nacl/pthread-pids.h: New file.
4528         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4529         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4531         * nptl/pthread-pids.h: New file.
4532         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4533         * nptl/nptl-init.c: Include <pthread-pids.h>.
4534         (__pthread_initialize_minimal_internal):
4535         Call __pthread_initialize_pids instead of set_tid_address syscall.
4537         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4538         * sysdeps/posix/usleep.c: ... here.
4540 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4542         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4543         call_pselect6 object.
4544         [$(subdir) = io]: Remove call_sync_file_range object.
4545         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4546         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4547         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4548         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4550 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4552         * math/s_cproj.c: Add include "math_private.h".
4553         * math/s_cprojf.c: Likewise.
4554         * math/s_cprojl.c: Likewise.
4556 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4558         [BZ #18244]
4559         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4560         high mantissa bit when testing whether P is a NaN.
4561         * math/libm-test.inc (remainder_test_data): Add more tests.
4562         (remquo_test_data): Likewise.
4564         [BZ #18049]
4565         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4566         below -32, return the argument, with underflow if subnormal.
4567         * math/auto-libm-test-in: Add more tests of atanh.
4568         * math/auto-libm-test-out: Regenerated.
4570 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4572         [BZ #18434]
4573         * nptl/tst-sem15.c: New file.
4574         * nptl/Makefile (tests): Add it.
4575         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4576         s/<</>>/ to fix typo in EOVERFLOW check.
4577         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4579 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4581         * manual/strings.texi (envz_remove): Fix typo in safety
4582         annotations.
4584 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4585             Steve Ellcey  <sellcey@imgtec.com>
4587         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4588         in order to avoid strict alias warnings.
4589         (iruserok_af): Ditto for ra.
4591 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4593         [BZ #17581]
4594         * malloc/hooks.c
4595         (magicbyte): Convert to a function and avoid returning 0x01.
4596         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4597         (mem2chunk_check): Fix unsigned comparisons to zero.
4598         Hoist defs of sz and magic.
4600 2015-05-19  Richard Henderson  <rth@redhat.com>
4602         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4604         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4606 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4608         [BZ #16159]
4609         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4610         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4611         (reused_arena): Find a non-corrupt arena.
4612         (heap_trim): Pass arena to unlink.
4613         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4614         malloc_printerr.
4615         (top_check): Likewise.
4616         (free_check): Likewise.
4617         (realloc_check): Likewise.
4618         * malloc/malloc.c (malloc_printerr): Add arena argument.
4619         (unlink): Likewise.
4620         (munmap_chunk): Adjust.
4621         (ARENA_CORRUPTION_BIT): New macro.
4622         (arena_is_corrupt): Likewise.
4623         (set_arena_corrupt): Likewise.
4624         (sysmalloc): Use mmap if there are no usable arenas.
4625         (_int_malloc): Likewise.
4626         (__libc_malloc): Don't fail if arena_get returns NULL.
4627         (_mid_memalign): Likewise.
4628         (__libc_calloc): Likewise.
4629         (__libc_realloc): Adjust for additional argument to
4630         malloc_printerr.
4631         (_int_free): Likewise.
4632         (malloc_consolidate): Likewise.
4633         (_int_realloc): Likewise.
4634         (_int_memalign): Don't touch corrupt arenas.
4635         * malloc/tst-malloc-backtrace.c: New test case.
4637         * Makefile (summarize-tests): Fix return value on success.
4639         * manual/string.texi (Envz Functions): Add envz_remove.
4641 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4643         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4644         (invalid_name): New function, broken out of ...
4645         (__opendirat): ... here.  Call it.
4646         (need_isdir_precheck): New function, broken out of ...
4647         (__opendirat): ... here.  Call it.
4648         Use __fxstatat64, not __xstatat64.
4649         (opendir_oflags): New function, broken out of ...
4650         (__opendirat): ... here.  Call it.
4651         (opendir_tail): New function, broken out of ...
4652         (__opendirat): ... here.  Call it.
4653         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4654         opendir_tail, rather than punting to __opendirat.
4655         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4657 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4659         * .gitignore: Ignore generated *.pyc.
4661 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4663         * include/stdio.h: Define __need_wint_t.
4664         * test-skeleton.c: Avoid `for' loop initial declaration.
4665         * nptl/tst-initializers1.c: Use test-skeleton.c.
4667 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4669         [BZ #18418]
4670         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4672 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4674         [BZ #16352]
4675         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4676         (__ieee754_atanh): Force underflow exception for results with
4677         small absolute value.
4678         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4679         (__ieee754_atanhf): Force underflow exception for results with
4680         small absolute value.
4681         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4682         (__ieee754_atanh): Force underflow exception for results with
4683         small absolute value.
4684         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4685         (__ieee754_atanhf): Force underflow exception for results with
4686         small absolute value.
4687         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4688         (__ieee754_atanhl): Force underflow exception for results with
4689         small absolute value.
4690         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4691         (__ieee754_atanhl): Force underflow exception for results with
4692         small absolute value.
4693         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4694         (__ieee754_atanhl): Force underflow exception for results with
4695         small absolute value.
4696         * math/auto-libm-test-in: Do not allow missing underflow
4697         exceptions from atanh.
4698         * math/auto-libm-test-out: Regenerated.
4700         [BZ #18221]
4701         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4702         2**-28 as threshold for returning x or +/- 1/x.
4703         * math/auto-libm-test-in: Add more tests of tan.
4704         * math/auto-libm-test-out: Regenerated.
4706         [BZ #18220]
4707         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4708         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4709         * math/auto-libm-test-in: Add another test of lgamma.
4710         * math/auto-libm-test-out: Regenerated.
4712 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4714         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4715         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4716         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4717         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4718         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4719         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4720         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4721         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4722         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4723         (log1): Use fabs.  (my_log2): Use fabs.
4724         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4725         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4726         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4727         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4728         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4729         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4730         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4731         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4732         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4733         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4734         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4736 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4738         [BZ #18217]
4739         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4740         as threshold for returning 1 - x.
4741         * math/auto-libm-test-in: Add more tests of erfc.
4742         * math/auto-libm-test-out: Regenerated.
4744 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4746         [BZ #18196]
4747         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4748         threshold for large arguments.
4749         * math/auto-libm-test-in: Add another test of atan.
4750         * math/auto-libm-test-out: Regenerated.
4752         [BZ #16339]
4753         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4754         (__log1p): Force underflow exception for results with small
4755         absolute value.
4756         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4757         (__log1pf): Force underflow exception for results with small
4758         absolute value.
4759         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4760         (__log1p): Force underflow exception for results with small
4761         absolute value.
4762         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4763         (__log1pf): Force underflow exception for results with small
4764         absolute value.
4765         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4766         (__log1pl): Force underflow exception for results with small
4767         absolute value.
4768         * math/auto-libm-test-in: Do not allow missing underflow
4769         exceptions from log1p.
4770         * math/auto-libm-test-out: Regenerated.
4772 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
4773             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4775         [BZ #16704]
4776         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4778 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
4780         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4781         (libmvec): New variable.
4782         * configure.ac: Added option for mathvec build.
4783         * configure: Regenerated.
4784         * mathvec/Depend: New file.
4785         * mathvec/Makefile: New file.
4786         * shlib-versions: Added libmvec.
4787         * math/Makefile: Added rule for libm.so installation.
4789         * bits/math-vector.h: New file.
4790         * bits/libm-simd-decl-stubs.h: New header.
4791         * math/Makefile (headers): Added new header
4792         libm-simd-decl-stubs.h.
4793         * math/math.h (__MATHCALL_VEC): New macro.
4795         * math/gen-libm-have-vector-test.sh: Script generates series of macros
4796         for conditions in testing functions.
4797         * math/Makefile: Added call of libm-have-vector-test.sh.
4798         * math/libm-test.inc (HAVE_VECTOR): New macros.
4800         * math/libm-test.inc: START refactored.
4801         * math/test-double.c (TEST_MATHVEC): Add define.
4802         * math/test-float.c: Likewise.
4803         * math/test-idouble.c: Likewise.
4804         * math/test-ifloat.c: Likewise.
4805         * math/test-ildoubl.c: Likewise.
4806         * math/test-ldouble.c: Likewise.
4807         * sysdeps/generic/math-tests-arch.h
4808         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4809         architecture check.
4811         * math/test-double.c (FUNC_TEST): New macro.
4812         * math/test-float.c: Likewise.
4813         * math/test-idouble.c: Likewise.
4814         * math/test-ifloat.c: Likewise.
4815         * math/test-ildoubl.c: Likewise.
4816         * math/test-ldouble.c: Likewise.
4817         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4819 2015-05-13  Roland McGrath  <roland@hack.frob.com>
4821         * sysdeps/nacl/fdopendir.c: New file.
4823         * dirent/scandir-tail.c: New file.
4824         * dirent/scandir64-tail.c: New file.
4825         * dirent/Makefile (routines): Add them.
4826         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4827         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4828         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4829         [!SCANDIR] (SCANDIR_TAIL): New macro.
4830         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4831         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4832         (SCANDIRAT): Macro removed.
4833         (SCANDIR_TAIL): New macro.
4834         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4835         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4836         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4837         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4838         (READDIR): Macro removed.
4839         (SCANDIR_TAIL): New macro.
4840         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4841         (SCANDIR_TAIL): New macro.
4843         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4844         * dirent/scandir-cancel.c: ... to this new file.
4845         * dirent/Makefile (routines): Add it.
4846         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4847         * sysdeps/unix/sysv/linux/i386/scandir64.c
4848         (SKIP_SCANDIR_CANCEL): Macro removed.
4849         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4851         * dirent/tst-scandir.c: New file.
4852         * dirent/tst-scandir64.c: New file.
4853         * dirent/Makefile (tests): Add them.
4855 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4857         [BZ #18409]
4858         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4860 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4862         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4863         list.
4865 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4867         * benchtests/bench-strcoll.c: New benchmark.
4868         * benchtests/Makefile: Generate locales and run benchmark.
4869         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4870         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4871         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4872         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4873         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4874         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4875         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4876         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4877         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4878         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4879         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4880         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4881         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4882         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4883         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4884         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4885         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4886         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4887         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4888         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4889         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4890         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4891         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4892         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4894 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4896         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4897         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4899 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4901         * posix/uname-values.h: New file.
4902         * posix/uname.c: Include that instead of <config-name.h>.
4903         * sysdeps/nacl/uname-values.h: New file.
4904         * sysdeps/arm/nacl/uname-values.h: New file.
4906 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4908         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4909         splitting into fields.
4911 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4913         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4914         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4915         * locale/localeinfo.h: Add enum collation_encoding_type.
4916         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4917         * programs/ld-collate.c (collate_output): Add encoding type info.
4918         * string/strcoll_l.c (STRDIFF): New function.
4919         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4920         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4922 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4924         [BZ #18397]
4925         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4926         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4927         <fpu_control.h> instead of <math/fpu_control.c>.
4928         * sysdeps/mips/mips32/fpu/Makefile: New file.
4930 2015-05-11  Andreas Schwab  <schwab@suse.de>
4932         [BZ #18007]
4933         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4934         nss_endgrent.
4935         (_nss_compat_endgrent): Call nss_endgrent.
4936         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4937         nss_endpwent.
4938         (_nss_compat_endpwent): Call nss_endpwent.
4939         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4940         needent, call nss_setspent only if non-zero.
4941         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4942         (internal_endspent): Don't call nss_endspent.
4943         (_nss_compat_endspent): Call nss_endspent.
4944         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4945         Remove.  All uses removed.
4946         (internal_setent): Remove parameter stayopen, add parameter
4947         stream.  Use it instead of global variable.
4948         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4949         (internal_endent, internal_getent): Add parameter stream.  Use it
4950         instead of global variable.
4951         (CONCAT(_nss_files_end,ENTNAME))
4952         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4953         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4954         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4955         uses removed.
4956         (internal_setent, internal_endent): Add parameter stream.  Use it
4957         instead of global variable.
4958         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4959         stream.
4960         (get_next_alias): Add parameter stream.
4961         (_nss_files_getaliasent_r): Pass global stream.
4962         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4963         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4964         (_nss_files_gethostbyname4_r): Pass local stream to
4965         internal_setent, internal_getent and internal_endent.  Remove
4966         locking.
4968 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4970         * tst-strfmon1.c (tests): Update expected currency symbol.
4972 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4974         * sysdeps/nacl/gethostname.c: New file.
4976 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4978         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4979         and sinh.
4980         * math/auto-libm-test-out: Regenerated.
4981         * sysdeps/i386/fpu/libm-test-ulps: Update.
4982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4984 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4986         [BZ #18125]
4987         * stdlib/tst-setcontext3.c: New file.
4988         * stdlib/tst-setcontext3.sh: New file.
4989         * stdlib/Makefile (tests): Add tst-setcontext3.
4990         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4991         to verify test program created output file.
4992         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4993         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4994         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4995         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4997 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4999         [BZ #18383]
5000         * elf/tst-tlsalign.c: New file.
5001         * elf/tst-tlsalign-static.c: New file.
5002         * elf/tst-tlsalign-lib.c: New file.
5003         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5004         (tests-static): Add tst-tlsalign-static.
5005         (modules-names): Add tst-tlsalign-lib.
5006         (test-xfail-tst-tlsalign): New variable.
5007         (test-xfail-tst-tlsalign-static): New variable.
5009         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5010         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5012 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5014         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5015         csqrt, erfc, sin and sincos.
5016         * math/auto-libm-test-out: Regenerated.
5017         * sysdeps/i386/fpu/libm-test-ulps: Update.
5018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5020 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5022         * sysdeps/aarch64/libm-test-ulps: Update.
5024 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5026         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5027         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5028         * math/auto-libm-test-out: Regenerated.
5029         * sysdeps/i386/fpu/libm-test-ulps: Update.
5030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5032 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5034         [BZ #18265]
5035         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5036         (wcsncpy): Likewise.
5038 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5040         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5041         Assume __ASSUME_FALLOCATE is always true.
5042         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5043         (__posix_fallocate64_l64): Likweise.
5044         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5045         (posix_fallocate): Likewise.
5046         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5047         (__posix_fallocate64_l64): Likewise.
5048         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5049         [!__ASSUME_FALLOCATE]: Add comment.
5051 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5053         * sysdeps/unix/sysv/linux/i386/Makefile
5054         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5055         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5056         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5057         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5058         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5059         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5060         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5062 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5064         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5065         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5066         tgamma.
5067         * math/auto-libm-test-out: Regenerated.
5068         * sysdeps/i386/fpu/libm-test-ulps: Update.
5069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5071 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5073         * math/auto-libm-test-in: Add more tests of tgamma.
5074         * math/auto-libm-test-out: Regenerated.
5075         * sysdeps/i386/fpu/libm-test-ulps: Update.
5076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5078         * math/auto-libm-test-in: Add more tests of tanh.
5079         * math/auto-libm-test-out: Regenerated.
5080         * sysdeps/i386/fpu/libm-test-ulps: Update.
5081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5083         * math/auto-libm-test-in: Add more tests of tan.
5084         * math/auto-libm-test-out: Regenerated.
5085         * sysdeps/i386/fpu/libm-test-ulps: Update.
5086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5088         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5089         * math/auto-libm-test-out: Regenerated.
5090         * sysdeps/i386/fpu/libm-test-ulps: Update.
5091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5093         * math/auto-libm-test-in: Add another test of pow.
5094         * math/auto-libm-test-out: Regenerated.
5095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5097         * math/auto-libm-test-in: Add more tests of lgamma.
5098         * math/auto-libm-test-out: Regenerated.
5099         * sysdeps/i386/fpu/libm-test-ulps: Update.
5100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5102         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5103         log1p.
5104         * math/auto-libm-test-out: Regenerated.
5105         * sysdeps/i386/fpu/libm-test-ulps: Update.
5106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5108 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5110         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5111         Elf64_Chdr structs and ELFCOMPRESS constants.
5113 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5115         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5116         expm1.
5117         * math/auto-libm-test-out: Regenerated.
5118         * sysdeps/i386/fpu/libm-test-ulps: Update.
5119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5121         * math/auto-libm-test-in: Add more tests of erf and erfc.
5122         * math/auto-libm-test-out: Regenerated.
5123         * sysdeps/i386/fpu/libm-test-ulps: Update.
5124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5126 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5128         * config.h.in (HAVE_AARCH64_BE): Add.
5130 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5132         * math/auto-libm-test-in: Add more tests of csqrt.
5133         * math/auto-libm-test-out: Regenerated.
5134         * sysdeps/i386/fpu/libm-test-ulps: Update.
5135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5137         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5138         * math/auto-libm-test-out: Regenerated.
5139         * sysdeps/i386/fpu/libm-test-ulps: Update.
5140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5142         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5144 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5146         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5147         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5149         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5150         (euidaccess, eaccess): Define as weak aliases.
5152         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5153         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5154         but __suseconds_t is often 'long int' so some sources assume that
5155         type is being used (e.g. they use %ld to print tv_usec).
5157 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5159         [BZ #18007]
5160         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5161         (CVE-2014-8121)
5162         * nss/tst-nss-getpwent.c: New file.
5163         * nss/Makefile (tests): Add new test.
5165 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5167         [BZ #18346]
5168         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5169         exponents less than 48 as cases where high part of mantissa needs
5170         examining to determine whether argument is integral.
5171         * math/libm-test.inc (round_test_data): Add more tests.
5173 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5175         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5177 2015-04-27  David S. Miller  <davem@davemloft.net>
5179         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5180         __tls_get_addr.
5181         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5183 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5185         [BZ#18333]
5186         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5188 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5190         [BZ#18333]
5191         * time/tzset.c (parse_tzname): Return error on memory allocation
5192         failure.
5193         * test-skeleton.c (struct temp_name_list): Change type of name
5194         member to non-const.
5195         (add_temp_file): Create a copy of the file name.
5196         (delete_temp_files): Deallocate memory.
5197         (create_temp_file): Add comment.
5199 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5201         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5202         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5204 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5206         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5207         * sysdeps/arm/configure: Regenerated.
5209 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5211         [BZ #17715]
5212         * time/tzfile.c (__tzfile_read): Check for large values of
5213         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5214         * time/tzset.c (__tzstring_len): New function, based on the old
5215         __tzstring function.
5216         (__tzstring): Call __tzstring_len.
5217         (parse_tzname): New helper function extracted from
5218         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5219         the input string.
5220         (parse_offset): New helper function extracted from
5221         __tzset_parse_tz.  Replace switch with fallthrough with
5222         initialization before sscanf.
5223         (parse_rule): Likewise.
5224         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5225         new-style function definition.
5226         * timezone/Makefile (tests): Add tst-tzset.
5227         (tst-tzset.out): Dependencies on time zone files.
5228         (tst-tzset-ENV): Set TZDIR.
5229         (testdata/XT%): Copy crafted time zone files.
5230         * timezone/README: Mention crafted time zone files.
5231         * timezone/testdata/XT1, timezone/testdata/XT2,
5232         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5233         files.
5234         * timezone/tst-tzset.c: New test.
5236 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5238         * Makeconfig (+gccwarn): Remove -Winline.
5240 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5242         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5244 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5246         * NEWS: Mention sysconf() cache information support for s390.
5247         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5249 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5251         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5252         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5253         (__nearbyint): Likewise.
5254         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5255         (copysignl): Likewise.
5257 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5259         [BZ #18287]
5260         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5261         based on padding.  (CVE-2015-1781)
5263 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5265         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5266         libc-vdso.h.
5267         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5268         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5269         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5270         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5271         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5272         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5273         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5274         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5275         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5276         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5277         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5278         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5279         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5280         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5281         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5282         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5283         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5284         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5285         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5286         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5287         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5288         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5289         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5291 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5293         * stdlib/setenv.c (__add_to_environ):
5294         Dump core quickly if setenv (..., NULL, ...) is called.
5295         This time, do it the right way, and pacify GCC with a pragma.
5297 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5299         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5300         IMAP->l_prev cannot be null, and #if out the code for the contrary
5301         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5302         believe that NS (&_dl_ns[NSID]) could point outside the array.
5304         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5305         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5306         before using NSID as an index.
5308 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5310         [BZ #17825]
5311         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5312         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5313         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5315 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5317         Add preliminary port to Google Native Client on ARM.
5318         * abi-tags (.*-.*-nacl.*): New entry.
5319         * sysdeps/arm/nacl: New directory.
5320         * sysdeps/nacl: New directory.
5322 2015-04-16  David S. Miller  <davem@davemloft.net>
5324         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5325         lowlevellock-futex.h
5327 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5329         * sysdeps/tile/configure.ac: New file.
5330         * sysdeps/tile/configure: Regenerated.
5332 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5334         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5335         conditionals for weak_alias and libc_hidden_weak.
5336         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5337         libc_hidden_weak and weak_alias.
5338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5339         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5340         and weak_alias for static one.
5342 2015-04-15  David S. Miller  <davem@davemloft.net>
5344         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5346 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5348         [BZ #18206]
5349         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5350           Use signed comparision instead of substraction to avoid
5351           overflow bug.
5352         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5353           Take the sign of ret.
5354         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5355           Do not expect precise return values. Only the sign matters.
5356         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5357         * wcsmbs/test-wcsncmp.c: New File.
5358         * string/test-strncmp.c: Add wcsncmp support.
5360 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5362         [BZ #6792]
5363         * math/w_log1p.c: New file.
5364         * math/w_log1pf.c: Likewise.
5365         * math/w_log1pl.c: Likewise.
5366         * math/Makefile (libm-calls): Add w_log1p.
5367         * math/s_log1pl.c (log1pl): Remove weak_alias.
5368         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5369         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5370         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5371         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5372         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5373         [NO_LONG_DOUBLE] (log1pl): Likewise.
5374         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5375         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5376         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5377         (log1p): Remove long_double_symbol.
5378         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5379         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5380         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5381         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5382         remove weak_alias for corresponding log1p function.
5383         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5384         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5385         * sysdeps/ia64/fpu/w_log1p.c: New file.
5386         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5387         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5388         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5390 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5392         [BZ #18247]
5393         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5394         decimal exponent by 1.
5395         * stdlib/tst-strtod-round-data: Add more tests.
5396         * stdlib/tst-strtod-round.c (tests): Regenerated.
5398 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5400         * math/auto-libm-test-in: Add more tests of clog and clog10.
5401         * math/auto-libm-test-out: Regenerated.
5402         * sysdeps/i386/fpu/libm-test-ulps: Update.
5403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5405 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5407         * Makeconfig (module-cppflags): Exclude all .v.i files.
5408         (skip-module-cppflags): Variable removed.
5410         * configure.ac (libc_config_ok): Initialize before reading
5411         preconfigure scripts, not after.
5412         * configure: Regenerated.
5414         * test-skeleton.c (TIMEOUT): Move #define to top level.
5415         (main): Grok environment variable TEST_DIRECT.  If set, print
5416         test expectation details into that file and then behave as if
5417         given --direct.
5419 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5421         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5422         warning on 32-bit.
5424 2015-04-08  David S. Miller  <davem@davemloft.net>
5426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5428 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5430         * math/auto-libm-test-in: Add more tests of atanh.
5431         * math/auto-libm-test-out: Regenerated.
5432         * sysdeps/i386/fpu/libm-test-ulps: Update.
5433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5435         * math/auto-libm-test-in: Add more tests of atan.
5436         * math/auto-libm-test-out: Regenerated.
5437         * sysdeps/i386/fpu/libm-test-ulps: Update.
5438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5440 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5442         * elf/pldd.c (main): Rewrite to use struct
5443         scratch_buffer instead of extend_alloca.
5444         * elf/pldd-xx.c (find_maps): Likewise.
5445         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5446         <alloca.h>.
5447         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5448         scratch_buffer instead of extend_alloca.
5449         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5450         grp/compat-initgroups.c.
5451         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5452         Rewrite to use struct scratch_buffer instead of extend_alloca.
5453         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5454         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5456 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5458         * math/auto-libm-test-in: Add more tests of cbrt.
5459         * math/auto-libm-test-out: Regenerated.
5460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5462         * math/auto-libm-test-in: Add more tests of cabs.
5463         * math/auto-libm-test-out: Regenerated.
5464         * sysdeps/i386/fpu/libm-test-ulps: Update.
5465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5467         [BZ #18210]
5468         [BZ #18211]
5469         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5470         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5471         computations.
5472         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5473         clog10.
5474         * math/auto-libm-test-out: Regenerated.
5475         * sysdeps/i386/fpu/libm-test-ulps: Update.
5476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5478         [BZ #18197]
5479         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5480         (atan): Set FE_TONEAREST mode for internal computations.
5481         * math/auto-libm-test-in: Add more tests of atan.
5482         * math/auto-libm-test-out: Regenerated.
5484 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5486         [BZ #17930]
5487         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5489 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5491         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5493 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5495         * include/scratch_buffer.h: New file.
5496         * malloc/scratch_buffer_grow.c: Likewise.
5497         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5498         * malloc/scratch_buffer_set_array_size.c: Likewise.
5499         * malloc/tst-scratch_buffer.c: Likewise.
5500         * malloc/Makefile (routines): Add scratch_buffer_grow.
5501         (tests): Add test case.
5502         * malloc/Versions (GLIBC_PRIVATE): Export
5503         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5504         __libc_scratch_buffer_set_array_size.
5506 2015-04-06  Richard Henderson  <rth@redhat.com>
5508         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5509         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5511         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5512         unsigned int before printing.
5514 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5516         [BZ #17596]
5517         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5518         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5520 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5522         * include/libc-internal.h (libc_max_align_t): Define.
5524 2015-04-02  Andreas Schwab  <schwab@suse.de>
5526         [BZ #16850]
5527         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5529 2015-04-02  Mel Gorman  <mgorman@suse.de>
5531         [BZ #17195]
5532         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5533         as well as the main arena.
5535 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5537         [BZ #18185]
5538         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5539         sharing L2 cache to 2 for Silvermont/Knights Landing.
5541 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5543         [BZ #17711]
5544         * config.make.in (have-protected-data): New.
5545         * configure.ac: Check linker support for protected data symbol.
5546         * configure: Regenerated.
5547         * elf/Makefile (modules-names): Add tst-protected1moda and
5548         tst-protected1modb if $(have-protected-data) is yes.
5549         (tests): Add tst-protected1a and tst-protected1b if
5550         $(have-protected-data) is yes.
5551         ($(objpfx)tst-protected1a): New.
5552         ($(objpfx)tst-protected1b): Likewise.
5553         (tst-protected1modb.so-no-z-defs): Likewise.
5554         * elf/tst-protected1a.c: New file.
5555         * elf/tst-protected1b.c: Likewise.
5556         * elf/tst-protected1mod.h: Likewise.
5557         * elf/tst-protected1moda.c: Likewise.
5558         * elf/tst-protected1modb.c: Likewise.
5560 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5562         [BZ #17711]
5563         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5564         indicates it is called from do_lookup_x on relocation against
5565         protected data, skip the data definion in the executable from
5566         copy reloc.
5567         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5568         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5569         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5570         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5571         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5572         otherwise to 0.
5573         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5574         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5575         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5576         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5577         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5578         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5580 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5582         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5583         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5585 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5587         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5588         THREAD_SETMEM_NC.
5589         * sysdeps/x86_64/nptl/tls.h: Ditto.
5591 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5593         * dlfcn/tststatic.c (main): Converted to ...
5594         (do_test): ... this.
5595         (TEST_FUNCTION): New macro.
5596         Include test-skeleton.c.
5598 2015-03-26  Alan Modra  <amodra@gmail.com>
5600         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5601         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5602         zero for undefined weak.
5603         (elf_machine_plt_conflict): Similarly.
5605 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5607         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5608         atanh.
5609         * math/auto-libm-test-out: Regenerated.
5610         * sysdeps/i386/fpu/libm-test-ulps: Update.
5611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5613         * math/auto-libm-test-in: Add another test of asin.
5614         * math/auto-libm-test-out: Regenerated.
5615         * sysdeps/i386/fpu/libm-test-ulps: Update.
5616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5618         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5619         Remove macro.
5620         (LLL_EBX_REG): Likewise.
5621         (LLL_ENTER_KERNEL): Likewise.
5623         * math/auto-libm-test-in: Add more tests of asin.
5624         * math/auto-libm-test-out: Regenerated.
5625         * sysdeps/i386/fpu/libm-test-ulps: Update.
5626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5628         [BZ #18138]
5629         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5630         libc_do_syscall_args): New structure.
5631         (INTERNAL_SYSCALL_MAIN_0): New macro.
5632         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5633         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5634         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5635         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5636         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5637         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5638         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5639         Replace conditional definitions by conditional definitions of ....
5640         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5641         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5642         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5643         (libpthread-sysdep_routines): Add libc-do-syscall.
5644         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5645         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5646         to __NR_futex not 240.
5648 2015-03-25  Alan Modra  <amodra@gmail.com>
5650         * NEWS: Advertise TLS optimization.
5651         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5652         (DT_PPC_NUM): Increment.
5653         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5654         (CHECK_STATIC_TLS): Use here.
5655         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5656         TLS descriptors.
5657         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5658         * sysdeps/powerpc/dl-tls.c: New file.
5659         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5660         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5661         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5662         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5667 2015-03-25  Alan Modra  <amodra@gmail.com>
5669         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5670         for overlapping .opd entries" to "support...".
5671         * sysdeps/powerpc/powerpc64/configure: Regenerate
5673 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5675         * math/auto-libm-test-in: Add more tests of acos.
5676         * math/auto-libm-test-out: Regenerated.
5677         * sysdeps/i386/fpu/libm-test-ulps: Update.
5678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5680         * math/auto-libm-test-in: Add more tests of expm1.
5681         * math/auto-libm-test-out: Regenerated.
5682         * sysdeps/i386/fpu/libm-test-ulps: Update.
5683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5685 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5687         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5688         * math/auto-libm-test-out: Regenerated.
5689         * sysdeps/i386/fpu/libm-test-ulps: Update.
5690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5692         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5695         * math/auto-libm-test-in: Add more tests of log2.
5696         * math/auto-libm-test-out: Regenerated.
5697         * sysdeps/i386/fpu/libm-test-ulps: Update.
5698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5700 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5702         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5703         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5704         _IO_IS_APPENDING bit in READ_WRITE instead.
5706 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5708         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5709         (__determine_cpumask_size): Replace extend_alloca with a
5710         variable-length array.  Do not treat res == 0 as an error.
5712 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5714         [BZ #18100]
5715         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5716         and integer overflow.
5717         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5718         (main): Add integer overflow tests.
5719         * manual/pattern.texi (Calling Wordexp): Document additional use
5720         for WRDE_SYNTAX.
5722 2015-03-23  Alan Modra  <amodra@gmail.com>
5724         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5725         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5726         and false branch of conditional.
5727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5728         Likewise.
5730 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5732         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5733         libc-modules.h
5734         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5735         unused declaration of _hurd_intr_rpc_msg_in_trap.
5736         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5737         defined instead of whether it is non-zero.
5738         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5739         input constraint instead of both input and output constraint.  Use ecx
5740         clobber instead of %ecx.
5741         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5742         mutex_unlock): Use a statement expression instead of an expression list.
5743         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5744         type to vm_size_t instead of vm_address_t.
5745         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5746         defined instead of whether it is non-zero.
5747         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5748         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5749         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5750         comparisons with mapaddr.
5751         * nscd/nscd-client.h: Include <time.h>.
5752         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5753         9th parameter to __vm_region instead of int.
5754         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5755         * scripts/check-local-headers.sh (exclude): Add device/,
5756         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5757         cthreads.h.
5759 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5761         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5762         to account for alignment padding.
5763         * sysdeps/arm/memmove.S: Likewise.
5765 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5767         * sysdeps/unix/sysv/linux/generic/README: New file.
5769 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
5771         [BZ #18138]
5772         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5773         (futex_abstimed_wait)
5774         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5775         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5776         of lll_futex_timed_wait.
5778 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
5780         [BZ #17542]
5781         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5783 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
5785         [BZ #17090]
5786         [BZ #17620]
5787         [BZ #17621]
5788         [BZ #17628]
5789         * NEWS: Update.
5790         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5791         entries with Static TLS too.  Skip entries past the end of the
5792         allocated DTV, from Alan Modra.
5793         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
5794         Static TLS DTV entry set up from...
5795         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5796         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5797         * nptl/allocatestack.c (init_one_static_tls): ... and here...
5798         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5799         for Static TLS.
5800         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
5801         that the slot we find is associated with the given map before
5802         using its generation count.
5803         * nptl_db/db_info.c: Include ldsodefs.h.
5804         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5805         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5806         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5807         (link_map::l_tls_offset): New struct field.
5808         (dtv_t::counter): Likewise.
5809         (rtld_global): New struct.
5810         (_rtld_global): New rtld variable.
5811         (dl_tls_dtv_slotinfo_list): New rtld global field.
5812         (dtv_slotinfo_list): New struct.
5813         (dtv_slotinfo): Likewise.
5814         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5815         (td_lookup): Rename to...
5816         (td_mod_lookup): ... this.  Use new mod parameter instead of
5817         LIBPTHREAD_SO.
5818         * nptl_db/td_thr_tlsbase.c: Include link.h.
5819         (dtv_slotinfo_list, dtv_slotinfo): New functions.
5820         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
5821         addresses even if the DTV is out of date or missing them.
5822         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5823         index zero-length arrays.
5824         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5825         (td_lookup): Make it a macro implemented in terms of...
5826         (td_mod_lookup): ... this declaration.
5827         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5828         (DB_MAIN_VARIABLE): Likewise.
5830 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5832         [BZ #18134]
5833         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5835 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5837         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5839 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5841         [BZ #18128]
5842         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5843         (atomic_add, atomic_increment_and_test)
5844         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5846 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5848         * stdlib/setenv.c (__add_to_environ):
5849         Dump core quickly if setenv (..., NULL, ...) is called.
5851 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5853         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5854         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5855         all the necessary asm magic in one place.
5856         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5857         using those.
5859 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5861         [BZ #14906]
5862         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5863         traced file mtime. Use consistent log message.
5864         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5865         (register_traced_file): Call install_watches. Always set mtime.
5866         (invalidate_cache): Iterate over all trace files. Call install_watches.
5867         (inotify_check_files): Don't inline. Handle watching parent
5868         directories and configuration file movement in and out.
5869         (handle_inotify_events): New function.
5870         (main_loop_poll): Call handle_inotify_events.
5871         (main_loop_epoll): Likewise.
5872         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5873         (struct traced_file): Use array of inotify fds. Add parent directory,
5874         and basename.
5875         (struct database_dyn): Remove unused file_mtime.
5876         (init_traced_file): New inline function.
5877         (define_traced_file): New macro.
5878         * nss/nss_db/db-init.c: Use define_traced_file.
5879         (_nss_db_init): Use init_traced_file.
5880         * nss/nss_files/files-init.c: Use define_traced_file.
5881         (_nss_files_init): Use init_traced_file.
5883 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5885         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5886         [_LIBC]: Do not include <stdlib.h>.
5887         [!_LIBC] (abort): Remove declaration.
5888         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5889         _FP_STATIC_ASSERT instead of conditionally calling abort.
5890         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5891         (_FP_EXTEND_CNAN): Likewise.
5892         (FP_TRUNC): Likewise.
5893         (__FP_CLZ): Likewise.
5894         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5896 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5898         * manual/string.texi (XPG basename): Fix prototype.
5900 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5902         [BZ #18080]
5903         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5904         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5905         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5906         (__setcontext): Likewise.
5907         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5908         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5909         Call rt_sigprocmask syscall one time to set new signal mask
5910         and retrieve the current signal mask instead of two calls.
5911         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5912         (__swapcontext): Likewise.
5913         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5914         * stdlib/tst-setcontext2.c: New file.
5916 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5918         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5920 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5922         [BZ #18093]
5923         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5924         the wrong size.
5926 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5928         [BZ #18043]
5929         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5931 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5933         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5934         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5935         Remove define.
5936         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5937         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5938         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5939         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5940         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5941         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5942         define.
5943         * nptl_db/td_symbol_list.c (td_lookup): Remove
5944         HAVE_ASM_GLOBAL_DOT_NAME code.
5945         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5946         HAVE_ASM_GLOBAL_DOT_NAME check.
5947         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5948         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5949         (DOT_LABEL): Remove define.
5950         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5951         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5952         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5953         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5954         (__TLS_GET_ADDR): Likewise.
5955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5956         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5958 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5960         [BZ #18111]
5961         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5962         (_FPU_SETCW): Initialize cw from fpsr before storing.
5963         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5964         (fesetexceptflag): Rewrite using fpu_control.h.
5965         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5967 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5969         [BZ #18110]
5970         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5971         asms.
5972         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5974 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5976         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5977         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5978         abort.
5979         (_FP_FMA): Likewise.
5980         (_FP_DIV): Likewise.
5982 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5984         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5985         with 0 in that case.
5986         * Makefile (summarize-tests): New canned sequence, factored out of
5987         commands for targets tests and xtests.  Display summary lines that
5988         don't start with PASS: or XFAIL: rather than ones that do start with
5989         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5990         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5991         do start with ERROR: or FAIL:.
5992         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5993         (except for [$(build-shared) = yes]).
5994         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5995         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5996         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5997         * nptl/Makefile: Revert 2015-03-04 changes.
5998         [$(CXX) empty] (tests-unsupported): New variable.
5999         * debug/Makefile: Likewise.
6001         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6002         gnulib file.  Replace __attribute with __attribute__ throughout.
6004 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6006         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6008 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6010         [BZ #18104]
6011         * math/auto-libm-test-in: Add another test of pow.
6012         * math/auto-libm-test-out: Regenerated.
6014 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6016         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6017         $(config-cflags-nofma).
6019 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6021         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6022         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6023         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6024         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6025         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6026         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6027         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6028         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6029         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6030         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6031         Add comment on closing #endif.
6033 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6035         * posix/wordexp.c (CHAR_IN_SET): New macro.
6036         (parse_param): Use it.
6038 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6040         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6042 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6044         [BZ #18043]
6045         * posix/wordexp.c (parse_param): Fix buffer overflow.
6046         * posix/wordexp-test.c (test_case): Add test case.
6048 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6050         [BZ #18042]
6051         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6052         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6054 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6056         [BZ #18043]
6057         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6058         (do_bz18043): Delete.
6059         (at_page_end): New.
6060         (testit): Refactor to have words at the edge of unreadable page.
6062 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6064         [BZ #16734]
6065         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6066         Cleanup read-only streams as well.
6067         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6069 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6071         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6072         <bits/libc-lockP.h>
6074 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6076         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6077         on [__KERNEL__].
6078         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6079         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6080         * soft-fp/op-common.h (_FP_DECL): Likewise.
6082 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6084         * elf/ifuncdep2.c (global): Replace
6085         __attribute__((visibility("protected"))) with
6086         asm (".protected global").
6087         * elf/ifuncmod1.c (global): Likewise.
6088         * elf/ifuncmod5.c (global): Likewise.
6090 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6092         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6093         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6095 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6097         * manual/install.texi (Configuring and compiling):
6098         Document test-wrapper-env-only.
6099         * INSTALL: Regenerated.
6101 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6103         [BZ #18043]
6104         * posix/wordexp.c (parse_param): Fix buffer overflow.
6105         * posix/wordexp-test.c (do_bz18043): Add test case.
6107 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6109         * time/tst-strptime2.c (do_test): Ensure failing tests are
6110         reported correctly.
6111         * time/tst-strptime3.c (do_test): Likewise.
6113 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6115         Fix aio_error thread-safety.
6116         * sysdeps/pthread/aio_error.c: New file
6117         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6118         synchronization.
6120 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6122         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6123         (group_number, vfprintf): Use it.
6124         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6125         (JUMP, REF): Use it.
6126         (WORK_BUFFER_SIZE): New enum constant.
6127         (process_arg, vfprintf): Use it.
6129 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6131         * manual/errno.texi (Error Messages): Complete example function
6132         by adding missing #define.
6133         (program_invocation_name): Add statement indicating GNU
6134         extension and reference which header file declares the variable.
6135         (program_invocation_short_name): Likewise.
6137 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6139         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6140         compatibility note.
6142 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6144         * Makeconfig (test-wrapper-env-only): New variable.
6145         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6146         then use that with $(test-wrapper-env-only) rather than using
6147         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6149 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6151         [BZ #18082]
6152         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6153         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6154         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6155         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6156         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6157         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6158         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6159         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6160         Likewise.
6161         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6162         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6163         Likewise.
6164         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6165         Likewise.
6166         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6167         Likewise.
6168         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6169         Likewise.
6170         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6171         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6172         Likewise.
6173         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6174         Likewise.
6175         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6176         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6178 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6180         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6181         (ETH_ALEN): New macro.
6182         (struct ether_addr): Use it for length of ether_addr_octet.
6184         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6185         (setdb): Don't call __nss_configure_lookup for "rpc".
6186         (do_test): Don't call test_rpc.
6187         (output_rpcent, test_rpc): Functions moved ...
6188         * sunrpc/test-rpcent.c: ... to this new file.
6189         * sunrpc/Makefile (tests): Add it.
6191         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6192         __xpg_sigpause.
6193         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6194         * nptl/tst-signal6.c: Likewise.
6195         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6196         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6198         * configure.ac (libc_cv_cxx_link_ok): New check.
6199         Reset CXX to empty if it fails to link.
6200         * configure: Regenerated.
6201         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6202         bug-atexit3-lib only if $(CXX) is nonempty.
6203         * nptl/Makefile (tests): Likewise for tst-cancel24.
6204         (tests, tests-static): Likewise for tst-cancel24-static.
6205         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6206         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6207         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6208         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6210 2015-03-04  Andreas Schwab  <schwab@suse.de>
6212         [BZ #17631]
6213         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6214         for non-GCC compilers.
6215         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6216         Likewise.
6218 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6220         [BZ #17776]
6221         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6222         integer before bitwise and assembly operations.
6223         (feclearexcept): Likewise.
6224         * math/test-fenvinline.c: New file.
6225         * math/Makefile: Add test-fenvinline test.
6227 2015-03-03  Alan Modra  <amodra@gmail.com>
6229         [BZ #16512]
6230         * scripts/localplt.awk: Strip off symbol version.
6231         * NEWS: Mention bug fix.
6233 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6235         * sysdeps/pthread/timer_routines.c
6236         (timer_free_list, thread_free_list, thread_active_list): Make static.
6238 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6240         [BZ #17779]
6241         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6242         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6243         Undefine.
6244         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6245         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6246         Likewise.
6247         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6248         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6249         Likewise.
6251 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6253         [BZ #18036]
6254         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6255         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6257 2015-03-02  Andreas Schwab  <schwab@suse.de>
6259         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6260         variable name.
6262 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6264         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6265         Return error status.
6267 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6269         [BZ #15969]
6270         * locale/findlocale.c (_nl_find_locale): Introduce const
6271         version of loc_name and drop unsafe type casts.
6273 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6275         * dlfcn/tststatic2.c (main): Converted to ...
6276         (do_test): ... this.
6277         (TEST_FUNCTION): New macro.
6278         Include test-skeleton.c.
6280 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6282         [BZ #17711]
6283         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6284         (tests-pie): Add vismain.
6285         (CFLAGS-vismain.c): New.
6286         * elf/vismain.c: Add comments for PIE requirement.
6288 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6290         [BZ #18046]
6291         [BZ #18047]
6292         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6293         0x1p-56L as threshold for just returning the argument.
6294         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6295         0x1p-32L as threshold for just returning the argument.
6296         * math/auto-libm-test-in: Add more tests of atanh.
6297         * math/auto-libm-test-out: Regenerated.
6298         * sysdeps/i386/fpu/libm-test-ulps: Update.
6299         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6301 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6303         * string/bcopy.c (bcopy): Call memmove for performance.
6305 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6307         * string/bzero.c (__bzero): Call memset for performance.
6309 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6311         [BZ #18068]
6312         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6313         to 00100000.
6315 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6317         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6319 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6321         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6322         (__kernel_standard): Use CSTR macro when setting exc.name.
6323         * sysdeps/ieee754/Makefile [$(subdir) = math]
6324         (CFLAGS-k_standard.c): Remove variable.
6326         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6327         setting p and q from "else if" to "else".
6328         (qzero): Likewise.
6329         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6330         (qone): Likewise.
6331         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6332         (qzerof): Likewise.
6333         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6334         (qonef): Likewise.
6335         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6336         (qzero): Likewise.
6337         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6338         (qone): Likewise.
6340         [BZ #18038]
6341         [BZ #18039]
6342         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6343         return pi/2 for arguments below 0x1p-113L.
6344         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6345         return pi/2 for arguments below 0x1p-106L.
6346         * math/auto-libm-test-in: Add more tests of acos.
6347         * math/auto-libm-test-out: Regenerated.
6349         [BZ #16351]
6350         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6351         (MO): New macro.
6352         (__ieee754_asin): Force underflow exception for results with small
6353         absolute value.
6354         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6355         (MO): New macro.
6356         (__ieee754_asinf): Force underflow exception for results with
6357         small absolute value.
6358         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6359         (__ieee754_asin): Force underflow exception for results with small
6360         absolute value.
6361         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6362         (__ieee754_asinf): Force underflow exception for results with
6363         small absolute value.
6364         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6365         (__ieee754_asinl): Force underflow exception for results with
6366         small absolute value.
6367         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6368         (__ieee754_asinl): Force underflow exception for results with
6369         small absolute value.
6370         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6371         (__ieee754_asinl): Force underflow exception for results with
6372         small absolute value.
6373         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6374         Include <math.h>.
6375         * math/auto-libm-test-in: Do not mark underflow exceptions as
6376         possibly missing for bug 16351.
6377         * math/auto-libm-test-out: Regenerated.
6379         [BZ #18030]
6380         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6381         of power of 2 down when low part has opposite sign.
6382         * math/libm-test.inc (logb_test_data): Add more tests.
6384 2015-02-26  Andreas Schwab  <schwab@suse.de>
6386         [BZ #18032]
6387         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6388         over collating symbol inside a bracket expression.  Minor cleanup.
6389         * posix/tst-fnmatch3.c (do_test): Add test case.
6391 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6393         [BZ #18029]
6394         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6395         Adjust exponent of power of 2 down when low part has opposite
6396         sign.
6397         * math/libm-test.inc (ilogb_test_data): Add more tests.
6399 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6401         [BZ #15969]
6402         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6403         the previous change.
6405         [BZ #15969]
6406         * locale/findlocale.c (_nl_find_locale): Retry archive search
6407         after alias expansion.
6409 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6411         * iconv/tst-iconv3.c (main): Converted to ...
6412         (do_test): ... this.
6413         (TEST_FUNCTION): New macro.
6414         Include test-skeleton.c.
6416         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6417         (convert): Make function static.
6418         (test_unalign): Likewise.  Add const to argument pointee types.
6419         (main): Replace with static function do_test.
6420         Print "Succeeded." only if RET is zero.
6421         (TEST_FUNCTION): New macro.
6422         Include test-skeleton.c.
6424         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6425         returns a null pointer.
6427 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6429         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6430         to __memcpy_ppc only for static builds.
6432 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6434         [BZ #18020]
6435         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6436         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6437         * math/auto-libm-test-in: Add more tests of asinh.
6438         * math/auto-libm-test-out: Regenerated.
6439         * sysdeps/i386/fpu/libm-test-ulps: Update.
6440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6442 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6444         [BZ #15850]
6445         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6446         and ip6_mtuinfo definitions here.
6447         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6448         in this define too.  Update comment.
6450 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6452         * elf/sprof.c (load_shobj): Tweak error message to match others.
6454 2015-02-24  Kevin Easton  <kevin@guarana.org>
6456         [BZ #16145] (partial fix)
6457         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6458         to reduce lock contention.
6460 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6462         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6463         (struct timex): Update time comment.
6464         (ADJ_SETOFFSET): Define.
6466 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6468         [BZ #18019]
6469         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6470         2**56 not 2**28 as threshold for log (2x) formula.
6471         * math/auto-libm-test-in: Add more tests of acosh.
6472         * math/auto-libm-test-out: Regenerated.
6473         * sysdeps/i386/fpu/libm-test-ulps: Update.
6474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6476 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6478         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6479         parenthesis around the buf assignment.
6480         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6482 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6484         [BZ #16783]
6485         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6486         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6487         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6488         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6489         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6490         * math/libm-test.inc (scalb_test_data): Add more tests.
6492 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6494         [BZ #17916]
6495         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6496         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6498 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6500         [BZ #17523]
6501         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6502         * io/bits/fcntl2.h (open): Use it.
6503         (openat): Likewise.
6504         * io/open.c (__libc_open): Likewise.
6505         * io/open64.c (__libc_open64): Likewise.
6506         * io/open64_2.c (__open64_2): Likewise.
6507         * io/open_2.c (__open_2): Likewise.
6508         * io/openat.c (__openat): Likewise.
6509         * io/openat64.c (__openat64): Likewise.
6510         * io/openat64_2.c (__openat64_2): Likewise.
6511         * io/openat_2.c (__openat_2): Likewise.
6512         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6513         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6514         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6515         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6516         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6517         (__open_nocancel): Likewise.
6518         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6519         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6520         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6522 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6524         [BZ #14841]
6525         * resolv/gethnamaddr.c (getanswer): Skip logging if
6526         RES_USE_DNSSEC is set.
6527         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6529 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6531         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6533 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6535         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6536         201304L, for Unicode 7.
6538 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6540         [BZ #17836]
6541         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6542         shared library.  Add gmon-start.os otherwise.
6543         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6544         $(objpfx)gmon-start.os if builing shared library.
6545         ($(objpfx)g$(static-start-installed-name)): Likewise.
6547 2015-02-23  Andreas Schwab  <schwab@suse.de>
6549         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6551 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6553         [BZ #17269]
6554         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6555         (enlarge_userbuf): Likewise.
6557 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6559         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6560         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6561         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6562         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6564 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6566         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6567         expression inside statement expression.
6569 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6571         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6572         <sysdeps/nptl/lowlevellock.h> and remove macros and
6573         functions that are now defined there.
6574         (SYS_futex): Remove.
6575         (lll_compare_and_swap): Remove.
6576         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6578 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6580         [BZ #17999]
6581         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6582         instead of scandirat.
6583         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6584         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6585         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6586         __scandirat.
6587         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6588         (__scandirat): Declare.  Use libc_hidden_proto.
6589         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6590         Remove variable.
6591         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6593 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6595         [BZ #15319]
6596         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6597         (MO): New macro.
6598         (__ieee754_atan2): For results with small absolute value, force
6599         underflow exception and remove excess range and precision from
6600         return value.
6601         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6602         (MO): New macro.
6603         (__ieee754_atan2f): For results with small absolute value, force
6604         underflow exception and remove excess range and precision from
6605         return value.
6606         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6607         (MO): New macro.
6608         (__atan): For results with small absolute value, force underflow
6609         exception and remove excess range and precision from return value.
6610         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6611         (MO): New macro.
6612         (__atanf): For results with small absolute value, force underflow
6613         exception and remove excess range and precision from return value.
6614         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6615         <math.h>.
6616         (__ieee754_atan2): Force underflow exception for results with
6617         small absolute value.
6618         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6619         <math_private.h>.
6620         (atan): Force underflow exception for results with small absolute
6621         value.
6622         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6623         (__atanf): Force underflow exception for results with small
6624         absolute value.
6625         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6626         <math.h>.
6627         (__atanl): Force underflow exception for results with small
6628         absolute value.
6629         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6630         (__atanl): Force underflow exception for results with small
6631         absolute value.
6632         * sysdeps/x86/fpu/bits/mathinline.h
6633         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6634         (__ieee754_atan2): Only define inline for long double.
6635         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6636         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6637         * math/auto-libm-test-in: Do not mark underflow exceptions as
6638         possibly missing for bug 15319.  Add more tests of atan2.
6639         * math/auto-libm-test-out: Regenerated.
6640         * math/libm-test.inc (casin_test_data): Do not mark underflow
6641         exceptions as possibly missing for bug 15319.
6642         (casinh_test_data): Likewise.
6643         * sysdeps/i386/fpu/libm-test-ulps: Update.
6645 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6647         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6648         * sysdeps/mips/bits/endian.h: Fix comments.
6650 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6652         [BZ #17996]
6653         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6654         (hdestroy_r): Likewise.
6655         (hsearch_r): Likewise.
6656         (__hcreate_r): Declare and use libc_hidden_proto.
6657         (__hdestroy_r): Likewise.
6658         (__hsearch_r): Likewise.
6659         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6660         (hcreate): Call __hcreate_r instead of hcreate_r.
6661         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6662         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6663         as weak alias of __hcreate_r.
6664         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6665         __hdestroy_r.
6666         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6667         __hsearch_r.
6668         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6669         Remove variable.
6670         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6671         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6672         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6673         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6675 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6677         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6678         arena_lock into a single arena_get.
6680 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6682         * dl-reloc.c: Inlucde libc-internal.h.
6683         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6684         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6685         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6686         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6687         (grow_heap): Likewise.
6688         * malloc/malloc.c: Include libc-internal.h.
6689         (do_check_malloc): Call powerof2.
6690         (sysmalloc): Use pagesize. Call ALIGN_UP.
6691         (systrim): Use pagesize.
6692         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6693         (__libc_valloc): Use pagesize.
6694         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6696 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6698         [BZ #17991]
6699         * include/sys/resource.h (__getrlimit64): Declare.  Use
6700         libc_hidden_proto.
6701         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6702         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6703         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6704         getrlimit64.
6705         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6706         __getrlimit64.
6707         [!getrlimit64] (getrlimit64): Define as weak alias of
6708         __getrlimit64.  Use libc_hidden_weak.
6709         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6710         using __getrlimit64 not __new_getrlimit64.
6711         (__GI_getrlimit64): Likewise.
6712         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6713         Likewise.
6714         (__GI_getrlimit64): Likewise.
6715         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6717         (getrlimit): Add __getrlimit64 alias.
6718         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6719         Likewise.
6720         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6721         Remove variable.
6722         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6723         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6725 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6727         * libio/fileops.c: Add missing sys/mman.h
6728         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6730 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6732         * manual/math.texi (Errors in Math Functions): Clarify goals
6733         regarding inexact and underflow exceptions.
6735 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6737         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6738         * sysdeps/mips/memset.S: Ditto.
6740 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6742         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6744 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6746         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6747         (__v1longjmp): Remove versioned symbol.
6748         (__v1siglongjmp): Remove alias and versioned symbol.
6749         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6750         (__v2siglongjmp): Likewise.
6752 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6754         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6756 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6758         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6760 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6762         [BZ #17987]
6763         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6764         zero result does not depend on the sign resulting from
6765         subtraction.
6766         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6767         Likewise.
6768         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6769         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6770         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6771         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6772         * math/libm-test.inc (remquo_test_data): Add more tests.
6774 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
6776         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6777         Problem reported by J William Piggott.
6779 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6781         [BZ #17978]
6782         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6783         products 4 * y and 2 * y where those would overflow.
6784         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6785         Likewise.
6786         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6787         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6788         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6789         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6790         * math/libm-test.inc (remquo_test_data): Add more tests.
6792         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6794         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6795         [defined _COMPILING_NEWLIB].
6796         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6797         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6799         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6800         [!defined __mips_isa_rev || __mips_isa_rev < 6].
6802 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6804         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6805         acquired.
6807 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
6809         [BZ #17792]
6810         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6811         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6812         HOST_STACK_END_ADDR): Likewise.
6814 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
6816         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6817         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6818         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6820 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6822         * sysdeps/generic/c++-types.data: New file.
6823         * sysdeps/generic/ld.abilist: New file.
6824         * sysdeps/generic/libBrokenLocale.abilist: New file.
6825         * sysdeps/generic/libanl.abilist: New file.
6826         * sysdeps/generic/libc.abilist: New file.
6827         * sysdeps/generic/libcrypt.abilist: New file.
6828         * sysdeps/generic/libdl.abilist: New file.
6829         * sysdeps/generic/libm.abilist: New file.
6830         * sysdeps/generic/libpthread.abilist: New file.
6831         * sysdeps/generic/libresolv.abilist: New file.
6832         * sysdeps/generic/librt.abilist: New file.
6834 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6836         [BZ #17569]
6837         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6838         Compute absolute value of x as modified by fmod, not original
6839         value of x.
6840         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6841         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6842         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6843         RUN_TEST_ffI_f1_mod8.
6844         (remquo_test_data): Add more tests.
6846 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6848         * sysdeps/init_array/pt-crti.S: New file.
6850 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6852         [BZ #17967]
6853         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6854         __builtin_fmaf instead of relying on contraction of a * b + c.
6856 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6858         [BZ #17969]
6859         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6860         node.
6862 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6864         [BZ #17964]
6865         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6866         __builtin_fma instead of relying on contraction of a * b + c.
6868 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6870         * Makeconfig (ASFLAGS): Add -Werror=undef.
6871         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6872         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6873         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6875         * Makeconfig (after-link): New variable.
6876         (+link-pie, +link-pie-tests): Use it.
6877         (+link-static, +link-static-tests): Likewise.
6878         (+link, +link-tests): Likewise.
6879         * Makerules (build-module, build-module-asneeded): Likewise.
6880         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6881         Likewise.
6882         * elf/Makefile ($(objpfx)ld.so): Likewise.
6884 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6886         [BZ #17965]
6887         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6888         both struct timeval and struct timespec.
6890 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6892         [BZ #16560]
6893         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6894         and redefine.
6895         (__ieee754_exp2l): Do not multiply small fractional parts by
6896         M_LN2l.
6897         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6898         small argument.
6899         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6900         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6901         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6902         * math/auto-libm-test-in: Add more tests of exp2.
6903         * math/auto-libm-test-out: Regenerated.
6905 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6907         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6908         unaligned path.
6910 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6912         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6913         little endian.
6915 2015-02-12  Andreas Schwab  <schwab@suse.de>
6917         [BZ #15790]
6918         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6919         Filter out elision flags from value returned in kind.
6920         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6921         * nptl/tst-pthread-mutexattr.c: New file.
6923 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6925         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6926         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6927         into gnu-gnu, and update comment to refer to abi-tags.
6929 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6931         [BZ #15467]
6932         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6933         (__sincos): Set errno to EDOM for infinite argument.
6934         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6935         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6936         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6937         (__sincosl): Set errno to EDOM for infinite argument.
6938         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6939         (__sincosl): Set errno to EDOM for infinite argument.
6940         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6941         (__sincosl): Set errno to EDOM for infinite argument.
6942         * math/libm-test.inc (sincos_test_data): Test errno setting.
6944 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6946         * string/strxfrm_l.c: Remove #define STRCMP.
6947         * string/strcoll_l.c: Remove #define STRLEN.
6948         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6949         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6951 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6953         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6954         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6955         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6956         * sysdeps/mips/mips64/Makefile: ... here.
6957         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6958         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6959         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6960         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6961         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6962         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6963         * sysdeps/mips/mips64/n64/Implies: Likewise.
6965 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6967         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6968         <sys/time.h>, <string.h>, and <errno.h>.
6969         (dest_offset, dest_address, value, zero): Remove unused variables.
6970         (ldouble): Remove typedef.
6971         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6972         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6973         1).  Fix code style.
6974         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6975         (check): Function removed.
6976         (CHECK): New macro.
6977         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6978         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6979         Don't call set_sigaction_FP and remove_sigaction_FP here.
6980         (ldouble_test): Just use 'long double' as macro argument, no need for
6981         the 'ldouble' typedef.
6982         (do_test): Set up SIGFPE handler at start, using plain signal rather
6983         than sigaction.  Fix code style.
6985 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6987         [BZ #17949]
6988         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6989         jump label.
6991 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6993         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6994         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6996         * sysdeps/powerpc/configure.ac: Remove file.
6997         * sysdeps/powerpc/configure: Likewise.
6999         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7000         [sysdep_routines]: Remove wordcopy-power6 object.
7001         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7002         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7003         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7004         (__memmove_ppc32): Likewise.
7005         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7006         file.
7007         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7008         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7009         Remove preprocessor.
7011         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7012         [sysdep_routines]: Remove wide chars objects.
7013         [wcsmbs]: New rule for wide char objects.
7015         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7016         Remove wordcopy-power6 obejct.
7017         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7018         Use local call for wordcopy and memcpy symbols.
7019         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7020         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7021         implementation for loader.
7022         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7024         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7025         Remove wordcopy-power7 object.
7026         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7027         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7028         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7029         (_wordcopy_fwd_dest_aligned): Likewise.
7030         (_wordcopy_bwd_aligned): Likewise.
7031         (_wordcopy_bwd_dest_aligned): Likewise.
7033         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7034         Rewrite to call __memmove_ppc instead of include default
7035         implementation.
7037         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7038         Remove wide chars objects.
7039         [wcsmbs]: New rule for wide char objects.
7041 2015-02-09  Andreas Schwab  <schwab@suse.de>
7043         [BZ #17912]
7044         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7045         in terms of __O_DIRECTORY.
7047 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7049         * time/getdate.c: Include <stdbool.h>.
7050         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7051         call PTR_MANGLE.
7052         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7053         PTR_DEMANGLE.
7055 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7057         Add ersatz _Static_assert on older C hosts
7058         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7059         pre-C11 C platform that is not known to support _Static_assert.
7061 2015-02-07  Richard Braun  <rbraun@sceen.net>
7063         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7064         sigstate.
7065         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7067 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7069         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7070         priority against unexistent AIO_PRIO_DELTA_MAX.
7071         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7072         instead of int.
7073         * misc/fchflags.c (fchflags): Likewise.
7074         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7075         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7076         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7077         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7078         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7079         Declare macros.
7080         [__USE_MISC] (chflags, fchflags): Declare functions.
7081         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7082         EINVAL when nfds is greater than FD_SETSIZE.
7083         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7084         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7085         45.
7086         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7087         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7088         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7089         MACH_RCV_TIMED_OUT.
7090         * hurd/hurd/signal.h (_hurd_self_sigstate,
7091         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7092         Explicit casts from void *.
7093         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7094         * abi-tags: Rename gnu-gnu os into gnu.
7096         [BZ #4719]
7097         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7098         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7099         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7100         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7101         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7102         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7104         [BZ #17944]
7105         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7106         duplicates ADDR->sun_path with sockaddr LEN limitation.
7107         * sysdeps/mach/hurd/connect.c: Include <string.h>
7108         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7109         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7110         * sysdeps/mach/hurd/sendto.c: Likewise.
7111         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7112         implementing it by hand.
7114 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7116         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7117         Use sfi_breg on ldr.
7118         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7119         Likewise.
7121         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7122         it's defined.
7123         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7124         Test SIGSETXID only if it's defined.
7126         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7128         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7129         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7131         * nptl/tst-align2.c: Moved ...
7132         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7133         * nptl/Makefile (tests): Remove tst-align2.
7134         * sysdeps/unix/sysv/linux/Makefile
7135         [$(subdir) = nptl] (tests): Add tst-align-clone.
7136         * nptl/tst-getpid1.c: Moved ...
7137         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7138         * nptl/tst-getpid2.c: Moved ...
7139         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7140         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7141         * sysdeps/unix/sysv/linux/Makefile
7142         [$(subdir) = nptl] (tests): ... here.
7143         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7144         * sysdeps/unix/sysv/linux/Makefile
7145         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7147         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7148         Drop trailing \n from perror argument.  Use return rather than exit.
7150         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7151         on [SA_SIGINFO].
7152         * nptl/tst-cancel21.c (do_test): Likewise.
7153         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7154         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7155         [!SA_SIGINFO]: Make it a stub test.
7157         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7158         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7160         * posix/tst-getlogin.c: Move to ...
7161         * login/tst-getlogin.c: ... here.
7162         * posix/Makefile (tests): Move tst-getlogin to ...
7163         * login/Makefile (tests): ... here.
7165         * libio/tst-atime.c (do_test): Move local variables SV and E
7166         inside [ST_NOATIME] conditional.
7168         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7170         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7172         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7173         (wait_code): New function replaces macro.
7174         Call nanosleep rather than syscall.
7176         * nptl/pt-system.c: Rewritten.  Put everything under
7177         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7178         Use IFUNC to redirect when possible.
7180         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7181         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7182         Use IFUNC to redirect when possible.
7184         * nptl/pt-fork.c: Rewritten.  Put everything under
7185         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7186         Use IFUNC to redirect when possible.
7187         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7189         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7190         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7191         unconditionally nowadays.  This included the only reference to
7192         __vdso_clock_gettime that appears outside libc proper.
7193         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7194         Remove version set (containing only __vdso_clock_gettime).
7195         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7196         Add attribute_hidden.
7197         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7198         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7199         libc_hidden_data_def.
7200         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7201         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7203         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7204         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7205         setrpcent, and getrpcport to ...
7206         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7207         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7208         getrpcbynumber_r, and getrpcent_r to ...
7209         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7210         * inet/getrpcbyname.c: Moved ...
7211         * sunrpc/getrpcbyname.c: ... here.
7212         * inet/getrpcbyname_r.c: Moved ...
7213         * sunrpc/getrpcbyname_r.c: ... here.
7214         * inet/getrpcbynumber.c: Moved ...
7215         * sunrpc/getrpcbynumber.c: ... here.
7216         * inet/getrpcbynumber_r.c: Moved ...
7217         * sunrpc/getrpcbynumber_r.c: ... here.
7218         * inet/getrpcent.c: Moved ...
7219         * sunrpc/getrpcent.c: ... here.
7220         * inet/getrpcent_r.c: Moved ...
7221         * sunrpc/getrpcent_r.c: ... here.
7222         * inet/Makefile (routines): Move those to ...
7223         * sunrpc/Makefile (routines): ... here.
7224         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7225         the $(subdirs) list.
7226         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7227         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7228         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7229         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7231         * elf/Makefile (routines): Include $(all-dl-routines), not just
7232         $(dl-routines).
7233         (rtld-routines): Likewise.  Use = rather than :=.
7234         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7235         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7236         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7237         * sysdeps/arm/Makefile: Likewise.
7238         * sysdeps/i386/Makefile: Likewise.
7239         * sysdeps/x86_64/Makefile: Likewise.
7240         * sysdeps/hppa/Makefile [$(subdir) = elf]
7241         (sysdep_routines, sysdep-rtld-routines): Don't add
7242         $(sysdep-dl-routines) to these.
7243         * sysdeps/ia64/Makefile: Likewise.
7244         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7245         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7246         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7247         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7248         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7249         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7250         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7251         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7252         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7253         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7254         these; sysdep-dl-routines alone is enough.
7256 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7258         [BZ #17932]
7259         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7260         where multiplication results in zero and third argument is finite
7261         and nonzero.
7262         * math/auto-libm-test-in: Add more tests of fma.
7263         * math/auto-libm-test-out: Regenerated.
7265         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7266         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7267         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7268         (_FP_CMP_EQ): Likewise.
7269         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7271         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7272         extra argument CHECK_NAN.  Redefine as wrapper around
7273         _FP_EXTEND_CNAN.
7275 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7277         * version.h (RELEASE): Set to "stable".
7278         (VERSION): Set to "2.21"
7279         * include/features.h (__GLIBC_MINOR__): Set to 21.
7281         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7283 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7284             Paul Eggert  <eggert@cs.ucla.edu>
7286         [BZ #16618]
7287         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7288         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7289         size in bytes. Store needed elements in wpmax. Use needed size
7290         in bytes for extend_alloca.
7292 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7294         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7295         binutls 2.25, and texinfo 5.2.
7296         * INSTALL: Regenerate.
7297         * sysdeps/nios2/configure: Regenerate.
7298         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7299         * manual/contrib.texi: Update.
7300         * po/be.po: Update.
7301         * po/bg.po: Update.
7302         * po/ca.po: Update.
7303         * po/cs.po: Update.
7304         * po/da.po: Update.
7305         * po/de.po: Update.
7306         * po/el.po: Update.
7307         * po/eo.po: Update.
7308         * po/es.po: Update.
7309         * po/fi.po: Update.
7310         * po/fr.po: Update.
7311         * po/gl.po: Update.
7312         * po/hr.po: Update.
7313         * po/hu.po: Update.
7314         * po/ia.po: Update.
7315         * po/id.po: Update.
7316         * po/it.po: Update.
7317         * po/ja.po: Update.
7318         * po/ko.po: Update.
7319         * po/lt.po: Update.
7320         * po/nb.po: Update.
7321         * po/nl.po: Update.
7322         * po/pl.po: Update.
7323         * po/pt_BR.po: Update.
7324         * po/ru.po: Update.
7325         * po/rw.po: Update.
7326         * po/sk.po: Update.
7327         * po/sl.po: Update.
7328         * po/sv.po: Update.
7329         * po/tr.po: Update.
7330         * po/uk.po: Update.
7331         * po/vi.po: Update.
7332         * po/zh_CN.po: Update.
7333         * po/zh_TW.po: Update.
7335         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7336         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7337         * sysdeps/hppa/dl-irel.h: Remove #warning.
7338         * sysdeps/hppa/entry.h: Provide prototype for
7339         __canonicalize_funcptr_for_compare and cast argument.
7340         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7341         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7342         * sysdeps/hppa/sotruss-lib.c: New file.
7343         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7344         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7345         (atomic_compare_and_exchange_bool_acq): Likewise.
7346         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7347         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7349         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7350         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7351         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7353 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7355         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7356         called function in non-PIC case.
7358 2015-01-31  David S. Miller  <davem@davemloft.net>
7360         * sysdeps/sparc/sparc32/bits/atomic.h
7361         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7362         unlock not after it.
7363         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7364         volatile register usage warnings from the compiler.
7366         * sysdeps/sparc/nptl/sem_init.c: Delete.
7367         * sysdeps/sparc/nptl/sem_post.c: Delete.
7368         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7369         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7370         * sysdeps/sparc/sparc32/sem_init.c: New file.
7371         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7372         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7373         padding explicitly initialized.
7374         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7375         padding for in-semaphore spinlock.
7376         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7377         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7378         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7379         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7380         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7381         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7382         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7383         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7384         version.
7385         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7386         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7388 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7390         [BZ #17801]
7391         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7392         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7393         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7394         New.
7395         (index_AVX_Fast_Unaligned_Load): Likewise.
7396         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7397         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7398         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7399         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7400         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7401         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7402         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7403         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7404         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7406 2015-01-29  Andreas Schwab  <schwab@suse.de>
7408         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7410 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7412         [BZ #17892]
7413         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7415 2015-01-28  Martin Sebor  <msebor@redhat.com>
7417         * math/README.libm-test: Clarify. Add "How to read the test output."
7419 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7421         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7422         Define to 0.
7424 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7426         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7427         (__HAVE_64B_ATOMICS): Define to 0.
7429 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7431         [BZ #17885]
7432         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7433         value to set as new flag.
7435         [BZ #16576]
7436         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7437         and use _ARCH_PPCSQ instead.
7438         (__ieee754_sqrt): Likewise.
7439         (__ieee754_sqrtf): Likewise.
7440         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7441         _ARCH_PPCSQ is defined.
7442         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7443         fsqrt instruction.
7444         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7445         _ARCH_PPCSQ is defined.
7446         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7447         fsqrts instruction.
7448         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7450 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7452         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7453         bug (GCC BZ #64739).
7455 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7457         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7458         Mark _retval as used.
7459         (lll_futex_wake_unlock): Likewise.
7460         (lll_futex_timed_wait_requeue_pi): Likewise.
7462         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7463         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7464         register variables.
7466         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7467         libm_hidden_def.
7469         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7470         (__bswap_64): Mark as __always_inline.
7472 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7474         [BZ #15378]
7475         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7476         when none of the search directories exist.
7478 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7480         [BZ #17869]
7481         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7482         power8 in .machine directive.
7484         [BZ #17868]
7485         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7486         set dependency from opd value.
7488 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7490         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7491         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7492         architecture.
7494 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7496         [BZ #17870]
7497         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7498         with uint64_t.
7499         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7500         (uint64_t) 1.
7501         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7502         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7503         Replace 1UL with (uint64_t) 1.
7504         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7505         int with uint64_t.
7507 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7509         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7510         (if_freenameindex): Likewise.
7512         * resource/getrlimit64.c: Add missing libc_hidden_def.
7514 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7516         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7517         __label__.
7518         (_FP_FMA): Likewise.
7519         (_FP_TO_INT_ROUND): Likewise.
7520         (_FP_FROM_INT): Likewise.
7522 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7524         [BZ #16418]
7525         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7526         Make code racy and cancel safe.
7528 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7530         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7531         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7532         attribution.
7534         * pwd/tst-getpw.c: Rewrite.
7536         [BZ #17702]
7537         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7538         (modules-names): Add moddummy1 and moddummy2.
7539         ($(objpfx)tst-rec-dlopen): Define.
7540         * dlfcn/moddummy1.c: New file.
7541         * dlfcn/moddummy2.c: New file.
7542         * dlfcn/tst-rec-dlopen.c: New file.
7543         * elf/dl-cache.c (_dl_load_cache_lookup):
7544         Return char*. Copy result with alloca/strcpy/strdup.
7545         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7546         returns char*. Free cached. If not saving realname
7547         free cached.
7548         * elf/dl-open.c (dl_open_worker): Do not assert that
7549         _r_debug->r_state is RT_CONSISTENT.
7550         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7551         returns char*.
7553 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7554             Carlos O'Donell  <carlos@redhat.com>
7556         [BZ #12674]
7557         * nptl/sem_waitcommon.c: New file.
7558         * nptl/sem_wait.c: Include sem_waitcommon.c.
7559         (__sem_wait_cleanup, do_futex_wait): Remove.
7560         (__new_sem_wait): Adapt.
7561         (__new_sem_trywait): New function.
7562         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7563         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7564         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7565         (sem_timedwait): Adapt.
7566         * nptl/sem_post.c (__new_sem_post): Adapt.
7567         (futex_wake): New function.
7568         (__old_sem_post): Add release MO fence.
7569         * nptl/sem_open.c (sem_open): Adapt.
7570         * nptl/sem_init.c (__new_sem_init): Adapt.
7571         (futex_private_if_supported): New function.
7572         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7573         (__old_sem_getvalue): Add using previous code.
7574         * sysdeps/nptl/internaltypes.h: Adapt.
7575         * nptl/tst-sem13.c (do_test): Adapt.
7576         * nptl/tst-sem11.c (main): Adapt.
7577         * nptl/sem_trywait.c: Remove.
7578         * nptl/DESIGN-sem.txt: Remove.
7579         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7580         (gen-as-const-headers): Remove structsem.sym.
7581         * nptl/structsem.sym: Remove.
7582         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7583         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7584         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7585         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7586         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7587         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7588         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7589         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7590         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7591         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7592         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7593         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7594         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7595         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7596         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7597         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7598         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7599         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7600         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7601         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7602         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7603         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7605 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7607         * INSTALL: Regenerated.
7609         * po/libc.pot: Regenerated.
7611 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7612             Sandra Loosemore  <sandra@codesourcery.com>
7613             Andrew Jenner  <andrew@codesourcery.com>
7614             Joseph Myers  <joseph@codesourcery.com>
7615             Nathan Sidwell  <nathan@codesourcery.com>
7617         * NEWS: Mention new Nios II port.
7618         * sysdeps/nios2/Implies: New file.
7619         * sysdeps/nios2/Makefile: New file.
7620         * sysdeps/nios2/Subdirs: New file.
7621         * sysdeps/nios2/Versions: New file.
7622         * sysdeps/nios2/__longjmp.S: New file.
7623         * sysdeps/nios2/abort-instr.h: New file.
7624         * sysdeps/nios2/backtrace.c: New file.
7625         * sysdeps/nios2/bits/endian.h: New file.
7626         * sysdeps/nios2/bits/fenv.h: New file.
7627         * sysdeps/nios2/bits/link.h: New file.
7628         * sysdeps/nios2/bits/setjmp.h: New file.
7629         * sysdeps/nios2/bsd-_setjmp.S: New file.
7630         * sysdeps/nios2/bsd-setjmp.S: New file.
7631         * sysdeps/nios2/configure: New generated file.
7632         * sysdeps/nios2/configure.ac: New file.
7633         * sysdeps/nios2/crti.S: New file.
7634         * sysdeps/nios2/crtn.S: New file.
7635         * sysdeps/nios2/dl-init.c: New file.
7636         * sysdeps/nios2/dl-machine.h: New file.
7637         * sysdeps/nios2/dl-sysdep.h: New file.
7638         * sysdeps/nios2/dl-tls.h: New file.
7639         * sysdeps/nios2/dl-trampoline.S: New file.
7640         * sysdeps/nios2/gccframe.h: New file.
7641         * sysdeps/nios2/gmp-mparam.h: New file.
7642         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7643         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7644         * sysdeps/nios2/ldsodefs.h: New file.
7645         * sysdeps/nios2/libc-tls.c: New file.
7646         * sysdeps/nios2/libm-test-ulps: New file.
7647         * sysdeps/nios2/machine-gmon.h: New file.
7648         * sysdeps/nios2/math-tests.h: New file.
7649         * sysdeps/nios2/math_private.h: New file.
7650         * sysdeps/nios2/memusage.h: New file.
7651         * sysdeps/nios2/nptl/Makefile: New file.
7652         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7653         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7654         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7655         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7656         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7657         * sysdeps/nios2/nptl/tls.h: New file.
7658         * sysdeps/nios2/preconfigure: New file.
7659         * sysdeps/nios2/s_fma.c: New file.
7660         * sysdeps/nios2/s_fmaf.c: New file.
7661         * sysdeps/nios2/setjmp.S: New file.
7662         * sysdeps/nios2/sfp-machine.h: New file.
7663         * sysdeps/nios2/sotruss-lib.c: New file.
7664         * sysdeps/nios2/stackguard-macros.h: New file.
7665         * sysdeps/nios2/stackinfo.h: New file.
7666         * sysdeps/nios2/start.S: New file.
7667         * sysdeps/nios2/sysdep.h: New file.
7668         * sysdeps/nios2/tls-macros.h: New file.
7669         * sysdeps/nios2/tst-audit.h: New file.
7670         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7671         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7672         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7673         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7674         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7675         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7676         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7677         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7678         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7679         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7680         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7681         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7682         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7683         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7684         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7685         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7686         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7687         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7688         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7689         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7690         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7691         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7692         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7693         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7694         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7695         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7696         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7697         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7698         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7699         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7700         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7701         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7702         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7703         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7704         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7705         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7706         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7707         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7708         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7709         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7710         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7711         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7712         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7713         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7715 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7717         [BZ #17844]
7718         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7719         (getutent): Use weak_alias in non SHARED case
7720         and default_symbol_version in SHARED case.
7721         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7722         (getutent_r, pututline): Likewise.
7723         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7724         (getutid): Likewise.
7725         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7726         (getutid_r): Likewise.
7727         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7728         (getutline): Likewise.
7729         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7730         (getutline_r): Likewise.
7731         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7732         (updwtmp): Likewise.
7734 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7736         [BZ #17848]
7737         * sysdeps/s390/s390-32/memcmp.S
7738         (memcmp_g5): Rename to __memcmp_g5.
7739         * sysdeps/s390/s390-32/memcpy.S
7740         (memcpy_g5): Rename to __memcpy_g5.
7741         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7742         (memcpy_mvcle) Rename to __memcpy_mvcle.
7743         * sysdeps/s390/s390-32/memset.S
7744         (memset_g5): Rename to __memset_g5.
7745         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7746         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7747         and use prefixed functions.
7748         * sysdeps/s390/s390-32/multiarch/memcmp.S
7749         (memcmp_z196): Rename to __memcmp_z196.
7750         (memcmp_z10): Rename to __memcmp_z10.
7751         (memcmp): Set alias to __memcmp_g5.
7752         (bcmp): Set alias to __memcmp_g5.
7753         * sysdeps/s390/s390-32/multiarch/memcpy.S
7754         (memcpy_z196): Rename to __memcpy_z196.
7755         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7756         (memcpy_z10): Rename to __memcpy_z10.
7757         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7758         (memcpy): Set alias to __memcpy_g5.
7759         * sysdeps/s390/s390-32/multiarch/memset.S
7760         (memset_z196): Rename to __memset_z196.
7761         Jump to __memset_mvcle instead of memset_mvcle.
7762         (memset_z10): Rename to __memset_z10.
7763         Jump to __memset_mvcle instead of memset_mvcle.
7764         (memset_mvcle) Rename to __memset_mvcle.
7765         (memset): Set alias to __memset_g5.
7766         * sysdeps/s390/s390-64/memcmp.S
7767         (memcmp_z900): Rename to __memcmp_z900.
7768         * sysdeps/s390/s390-64/memcpy.S
7769         (memcpy_z900): Rename to __memcpy_z900.
7770         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7771         (memcpy_mvcle) Rename to __memcpy_mvcle.
7772         * sysdeps/s390/s390-64/memset.S
7773         (memset_z900): Rename to __memset_z900.
7774         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7775         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7776         and use prefixed functions.
7777         * sysdeps/s390/s390-64/multiarch/memcmp.S
7778         (memcmp_z196): Rename to __memcmp_z196.
7779         (memcmp_z10): Rename to __memcmp_z10.
7780         (memcmp): Set alias to __memcmp_z900.
7781         (bcmp): Set alias to __memcmp_z900.
7782         * sysdeps/s390/s390-64/multiarch/memcpy.S
7783         (memcpy_z196): Rename to __memcpy_z196.
7784         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7785         (memcpy_z10): Rename to __memcpy_z10.
7786         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7787         (memcpy): Set alias to __memcpy_z900.
7788         * sysdeps/s390/s390-64/multiarch/memset.S
7789         (memset_z196): Rename to __memset_z196.
7790         Jump to __memset_mvcle instead of memset_mvcle.
7791         (memset_z10): Rename to __memset_z10.
7792         Jump to __memset_mvcle instead of memset_mvcle.
7793         (memset_mvcle) Rename to __memset_mvcle.
7794         (memset): Set alias to __memset_z900.
7796 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
7798         [BZ #17748]
7799         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7800         __fesetenv instead of fesetenv.
7802 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7804         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7805         macro.
7807 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7809         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7810         regression on LE.
7812         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7813         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7814         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7815         strncmp-power8 object.
7816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7817         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7818         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7819         * NEWS: Update.
7821 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7822             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7824         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7825         trailing byte check.
7827 2015-01-13  David S. Miller  <davem@davemloft.net>
7829         * include/signal.h (__sigreturn): Guard with __USE_MISC.
7831 2015-01-13  Roland McGrath  <roland@hack.frob.com>
7833         * login/logout.c (logout): Use memset rather than bzero.
7834         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7835         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7836         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7837         (_gethtbyaddr): Likewise.
7838         * locale/programs/simple-hash.c (bcopy): Macro removed.
7840 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7842         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7843         Add strcmp-power8 object.
7844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7845         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7846         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7847         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7848         __strcmp_power8 implementation.
7849         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7850         * NEWS: Update.
7852         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7853         Add strncpy-power8 and stpncpy-power8 objects.
7854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7855         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7856         implementations.
7857         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7858         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7859         __stpncpy_power8 implementation.
7860         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7861         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7862         __strncpy_power8 implementation.
7863         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7864         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7865         * NEWS: Update.
7867         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7868         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7869         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7871         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7872         strncat-power8 object.
7873         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7874         __strcat_power8 implementation.
7875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7876         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7877         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7878         optimized strcat for power8.
7880         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7881         strcpy-power8 and stpcpy-power8 objects.
7882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7883         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7884         implementations.
7885         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7886         multiarch stpcpy implementation for POWER8.
7887         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7888         multiarch strcpy implementation for POWER8.
7889         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7890         __strcpy_power8 function.
7891         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7892         stpcpy for POWER8.
7893         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7894         strcpy for POWER8.
7895         * NEWS: Update.
7897 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7899         [BZ #16009]
7900         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7901         weights and rules. Use do_xfrm_cached if data fits in cache,
7902         do_xfrm otherwise.  Moved former main loop to...
7903         * (do_xfrm_cached): New function.
7904         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7905         find_idx, find_position and stack_push.
7906         * (find_idx): New function.
7907         * (find_position): Likewise.
7908         * localedata/sort-test.sh: Added test run for do_xfrm.
7909         * localedata/xfrm-test.c (main): Added command line option
7910         -nocache to run the test with strings that are too large for
7911         the STRXFRM cache.
7913 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7915         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7916         variable to lll_futex_wake call, not the value itself.
7918 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7920         [BZ #17803]
7921         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7922         twom64.  Adjust value to 0x1p-64L.
7923         (__scalblnl): Only return standard underflowing result for K <=
7924         -64 not K <= -63; adjust exponent for underflowing result by 64
7925         not 63.
7926         * math/libm-test.inc (scalbn_test_data): Add more tests.
7927         (scalbln_test_data): Likewise.
7929         [BZ #17834]
7930         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7931         0x1p63L.
7932         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7933         not HX.
7934         * math/libm-test.inc (scalbn_test_data): Add more tests.
7935         (scalbln_test_data): Likewise.
7937 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7938             Stefani Seibold  <stefani@seibold.net>
7940         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7941         (sysdep_routines): Add dl-vdso here, ...
7942         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7943         (sysdep_routines): ... not here.
7944         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7945         fallback when vDSO is not presented.
7946         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7947         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7948         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7949         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7950         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7951         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7952         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7953         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7954         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7955         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7956         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7957         fallback configurable symbol when vDSO is not available.
7958         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7959         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7960         be able to redefine fallback symbol when vDSO is not available.
7961         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7962         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7964 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7966         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7967         (TLS_INIT_TP): Add tm_capable initialization.
7968         (TLS_DEFINE_INIT_TP): Likewise.
7969         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7970         TCB.
7971         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7972         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7973         calculation.
7974         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7975         transactoion is lock elision is built and TCB tm_capable is set.
7976         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7978         (INTERNAL_SYSCALL_NCS): Likewise.
7979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7980         (INTERNAL_SYSCALL_NCS): Likewise.
7981         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7983         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7984         for powerpc.
7985         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7986         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7987         and remove it for 32 bits case.
7988         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7989         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7990         initialization.
7991         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7992         Disable lock elision with rdlocks if elision is not available.
7994         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7995         (sysdep_routines): Add lock elision objects.
7996         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7997         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7998         [pthread_mutex_t] (__elision): Add field.
7999         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8000         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8001         elision definitions for powerpc.
8002         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8003         implementation of lock elision for powerpc.
8004         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8005         implementation of timed lock elision for powerpc.
8006         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8007         implementation of trylock with lock elision for powerpc.
8008         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8009         implementaion of unlock for lock elision for powerpc.
8010         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8011         automatic enable lock elision for mutexes.
8012         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8013         transaction execution definitions for powerpc.
8014         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8015         definitions.
8016         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8017         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8018         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8019         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8020         * NEWS: Update.
8022 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8024         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8025         for #include of <shm-directory.h>.
8027 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8029         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8030         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8032 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8034         [BZ #17791]
8035         * NEWS: Mention bug fix.
8036         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8037         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8038         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8040 2015-01-09  Torvald Riegel <triegel@redhat.com>
8042         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8044 2015-01-09  Torvald Riegel <triegel@redhat.com>
8046         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8048 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8050         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8051         pointer and cast to uintptr_t.
8053 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8055         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8056         removed.
8057         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8059 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8061         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8062         of 0.
8064 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8066         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8067         <nptl/pthreadP.h> instead.
8068         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8070         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8071         already defined.
8072         [__SIGRTMIN] (init): Function removed.
8073         [__SIGRTMIN] (initialized): Variable removed.
8074         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8075         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8076         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8077         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8078         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8079         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8080         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8081         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8082         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8083         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8084         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8085         * sysdeps/nptl/allocrtsig.c: New file.
8086         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8087         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8088         * sysdeps/generic/testrtsig.h: File removed.
8090         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8091         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8093         * nptl/nptl-init.c (pthread_functions): Conditionalize
8094         .ptr__nptl_setxid initialization on [SIGSETXID].
8096         * sysdeps/nptl/sys/procfs.h: New file.
8097         * nptl_db/Makefile (headers): Add it.
8098         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8100         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8101         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8102         * nptl/pthread_attr_setaffinity.c: Include it.
8103         * nptl/pthread_setattr_default_np.c: Likewise.
8104         * nptl/check-cpuset.h: New file.
8106 2015-01-08  Richard Henderson  <rth@redhat.com>
8108         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8109         (CFLAGS-tst-execstack-prog.c): Likewise.
8110         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8112 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8113             Sandra Loosemore  <sandra@codesourcery.com>
8114             Andrew Jenner  <andrew@codesourcery.com>
8115             Joseph Myers  <joseph@codesourcery.com>
8116             Nathan Sidwell  <nathan@codesourcery.com>
8118         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8119         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8120         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8121         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8122         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8123         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8124         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8125         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8126         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8127         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8128         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8129         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8130         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8131         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8132         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8133         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8134         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8136 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8138         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8139         timespec struct member in syscall macro.
8140         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8141         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8142         first timeval struct member in syscall macro.
8143         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8145 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8147         [BZ #17748]
8148         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8149         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8150         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8151         __feupdateenv and define as weak alias of __feupdateenv.  Use
8152         libm_hidden_weak.
8153         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8154         libm_hidden_def.
8155         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8156         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8157         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8158         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8159         libm_hidden_def.
8160         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8161         __feupdateenv and define as weak alias of __feupdateenv.  Use
8162         libm_hidden_weak.
8163         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8164         libm_hidden_def.
8165         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8166         __feupdateenv and define as weak alias of __feupdateenv.  Use
8167         libm_hidden_weak.
8168         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8169         libm_hidden_def.
8170         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8171         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8172         (__feupdateenv): Likewise.
8173         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8174         __feupdateenv and define as weak alias of __feupdateenv.  Use
8175         libm_hidden_weak.
8176         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8177         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8178         libm_hidden_def.
8179         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8180         function.
8181         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8182         libm_hidden_def.
8183         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8184         __feupdateenv instead of feupdateenv.
8185         (default_libc_feupdateenv_test): Likewise.
8186         (libc_feresetround_ctx): Likewise.
8188 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8190         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8191         prototype.
8193 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8195         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8196         COLL_SYM in a couple of places to avoid uninitialized variable
8197         wanings on tilegx gcc 4.8.2.
8199 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8201         * sysdeps/aarch64/strcpy.S: New file.
8202         * sysdeps/aarch64/stpcpy.S: New file.
8203         * NEWS: Updated.
8205 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8207         * sysdeps/aarch64/strrchr.S: New file.
8208         * NEWS: Updated.
8210 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8212         [BZ #17658]
8213         * stdlib/setenv.c: Fix memory leak when setting large,
8214         duplicate string.
8216 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8218         [BZ #17273]
8219         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8220         and tabs from buffer before parsing fstab entry.
8221         * misc/tst-mntent.c (main): Add test for mount entry with
8222         trailing spaces and tabs.
8224 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8226         [BZ #17748]
8227         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8228         * math/fesetround.c (fesetround): Rename to __fesetround and
8229         define as weak alias of __fesetround.  Use libm_hidden_weak.
8230         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8231         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8232         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8233         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8234         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8235         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8236         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8237         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8238         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8239         __fesetround_inline.
8240         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8241         __fesetround_inline instead of __fesetround.
8242         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8243         __fesetround and define as weak alias of __fesetround.  Use
8244         libm_hidden_weak.  Call __fesetround_inline instead of
8245         __fesetround.
8246         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8247         __fesetround and define as weak alias of __fesetround.  Use
8248         libm_hidden_weak.
8249         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8250         Likewise.
8251         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8252         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8253         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8254         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8255         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8256         __fesetround and define as weak alias of __fesetround.  Use
8257         libm_hidden_weak.
8258         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8259         __fesetround instead of fesetround.
8260         (default_libc_feholdexcept_setround): Likewise.
8261         (libc_feholdsetround_ctx): Likewise.
8262         (libc_feholdsetround_noex_ctx): Likewise.
8264         [BZ #17748]
8265         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8266         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8267         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8268         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8269         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8270         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8271         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8272         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8273         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8274         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8275         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8276         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8277         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8278         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8279         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8280         libm_hidden_def.
8281         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8282         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8283         Likewise.
8284         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8285         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8286         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8287         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8288         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8289         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8290         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8291         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8292         __fesetenv instead of fesetenv.
8293         (libc_feresetround_noex_ctx): Likewise.
8294         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8295         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8296         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8297         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8298         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8299         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8300         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8301         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8302         (__feupdateenv): Likewise.
8303         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8304         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8305         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8306         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8308 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8310         [BZ #17806]
8311         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8312         addresses have been freed.
8314 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8316         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8317         and nservall.
8319 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8321         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8322         Clean up check_pf allocation pattern. addresses
8324 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8326         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8327         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8328         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8329         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8330         * nptl/pthread_join.c (pthread_join): Likewise.
8331         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8332         * sysdeps/posix/waitid.c (__waitid): Likewise.
8333         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8334         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8335         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8336         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8337         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8338         Likewise.
8339         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8340         (__libc_pread64): Likewise.
8341         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8342         (__libc_pwrite): Likewise.
8343         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8344         (__libc_pwrite64): Likewsie.
8345         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8346         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8347         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8348         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8349         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8350         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8351         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8353         Likewise.
8354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8355         (__libc_pread64): Likewise.
8356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8357         Likewise.
8358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8359         (__libc_pwrite64): Likewise.
8360         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8361         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8362         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8363         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8364         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8365         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8366         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8367         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8368         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8369         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8370         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8371         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8372         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8373         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8374         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8375         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8376         Likewise.
8378 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8380         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8381         (CFLAGS-test-double.c): Likewise.
8382         (CFLAGS-test-ldouble.c): Likewise.
8383         (CPPFLAGS-test-ifloat.c): Likewise.
8384         (CPPFLAGS-test-idouble.c): Likewise.
8385         (CPPFLAGS-test-ildoubl.c): Likewise.
8386         (CFLAGS-test-test-fenv.c): Remove variable.
8387         (CFLAGS-test-misc.c): Likewise.
8389 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8391         [BZ #17797]
8392         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8393         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8394         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8395         CLOCKS_PER_SEC == 1000000.
8396         * time/clocktest.c (main): Replace %ld with %jd and cast to
8397         intmax_t.
8399 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8401         * sysdeps/generic/unwind-resume.h: New file.
8402         * sysdeps/gnu/unwind-resume.c: Include it.
8403         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8404         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8405         argument list.
8406         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8407         global rather than static.
8408         (_Unwind_Resume): Update user.
8409         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8410         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8411         rather than static.  Add __attribute__ ((cold)).
8412         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8413         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8414         * sysdeps/arm/arm-unwind-resume.S: New file.
8415         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8416         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8417         * sysdeps/arm/Makefile [$(subdir) = csu]
8418         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8419         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8420         Add rt-arm-unwind-resume.
8421         [$(subdir) = nptl]
8422         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8423         Add pt-arm-unwind-resume.
8424         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8425         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8427 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8429         [BZ #17748]
8430         * include/fenv.h (__feholdexcept): Declare.  Use
8431         libm_hidden_proto.
8432         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8433         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8434         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8435         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8436         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8437         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8438         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8439         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8440         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8441         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8442         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8443         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8444         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8445         (feholdexcept): Likewise.
8446         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8447         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8448         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8449         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8450         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8451         __feholdexcept instead of feholdexcept.
8452         (default_libc_feholdexcept_setround): Likewise.
8454 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8456         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8457         to avoid using stl/str to align destination.
8459 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8461         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8463 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8465         [BZ #17796]
8466         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8467         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8468         Define as weak alias not strong alias.
8470 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8472         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8473         bltzal with addiupc.
8474         (RTLD_START): Ditto.
8476 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8478         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8479         for __vdso_* functions in declarations.
8480         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8481         definitions.
8482         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8483         INTERNAL_VSYSCALL): Use struct return types to check for error.
8485         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8486         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8487         function with cast from llround().
8488         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8489         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8490         Define.
8492 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8494         [BZ #17793]
8495         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8496         Define as weak alias not strong alias.
8498         [BZ #17635]
8499         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8500         ...
8501         * ctype/ctype-extn.c: ... here.
8502         (__isblank_l): Move to ...
8503         * ctype/ctype-c99_l.c: ... here.  New file.
8504         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8505         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8506         Remove variable.
8507         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8508         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8509         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8510         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8511         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8513         [BZ #17777]
8514         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8515         (posix_fadvise64): Define as weak alias not strong alias.
8516         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8517         (posix_fallocate64): Likewise.
8518         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8519         Remove variable.
8520         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8521         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8522         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8523         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8524         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8526 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8528         [BZ #16191]
8529         * NEWS: Mention bug fix.
8530         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8531         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8532         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8533         (HOST_STACK_END_ADDR): Likewise.
8535 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8537         [BZ #17748]
8538         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8539         * math/fegetround.c (fegetround): Rename to __fegetround and
8540         define as weak alias of __fegetround.  Use libm_hidden_weak.
8541         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8542         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8543         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8544         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8545         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8546         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8547         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8548         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8549         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8550         Undefine after rather than before function definition; use
8551         parentheses around function name in definition.
8552         (__fegetround): Also undefine macro after function definition.
8553         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8554         __fegetround and define as weak alias of __fegetround.  Use
8555         libm_hidden_weak.  Do not undefine as macro.
8556         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8557         Likewise.
8558         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8559         __fegetround and define as weak alias of __fegetround.  Use
8560         libm_hidden_weak.
8561         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8562         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8563         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8564         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8565         __fegetround and define as weak alias of __fegetround.  Use
8566         libm_hidden_weak.
8567         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8568         __fegetround instead of fegetround.
8570         [BZ #17782]
8571         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8572         Condition macro definition on [__USE_MISC].
8574         [BZ #17781]
8575         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8576         (struct sigaction): Change type of sa_flags field to int.
8578         [BZ #17780]
8579         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8580         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8581         __glibc_reserved0.
8583         * nptl/version.c (banner): Use single year in copyright notice.
8585         * NEWS: Update copyright dates.
8586         * catgets/gencat.c (print_version): Likewise.
8587         * csu/version.c (banner): Likewise.
8588         * debug/catchsegv.sh: Likewise.
8589         * debug/pcprofiledump.c (print_version): Likewise.
8590         * debug/xtrace.sh (do_version): Likewise.
8591         * elf/ldconfig.c (print_version): Likewise.
8592         * elf/ldd.bash.in: Likewise.
8593         * elf/pldd.c (print_version): Likewise.
8594         * elf/sotruss.sh: Likewise.
8595         * elf/sprof.c (print_version): Likewise.
8596         * iconv/iconv_prog.c (print_version): Likewise.
8597         * iconv/iconvconfig.c (print_version): Likewise.
8598         * locale/programs/locale.c (print_version): Likewise.
8599         * locale/programs/localedef.c (print_version): Likewise.
8600         * login/programs/pt_chown.c (print_version): Likewise.
8601         * malloc/memusage.sh (do_version): Likewise.
8602         * malloc/memusagestat.c (print_version): Likewise.
8603         * malloc/mtrace.pl: Likewise.
8604         * manual/libc.texinfo: Likewise.
8605         * nptl/version.c (banner): Likewise.
8606         * nscd/nscd.c (print_version): Likewise.
8607         * nss/getent.c (print_version): Likewise.
8608         * nss/makedb.c (print_version): Likewise.
8609         * posix/getconf.c (main): Likewise.
8610         * scripts/test-installation.pl: Likewise.
8611         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8613 2015-01-02  Will Newton  <will.newton@linaro.org>
8615         * sysdeps/arm/armv7/configure: Removed.
8616         * sysdeps/arm/armv7/configure.ac: Likewise.
8618 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8620         * All files with FSF copyright notices: Update copyright dates
8621         using scripts/update-copyrights.
8622         * intl/plural.c: Regenerated.
8623         * locale/programs/charmap-kw.h: Likewise.
8624         * locale/programs/locfile-kw.h: Likewise.
8626 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8628         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8630 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8632         [BZ #17748]
8633         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8634         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8635         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8636         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8637         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8638         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8639         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8640         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8641         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8642         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8643         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8644         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8645         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8646         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8647         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8648         libm_hidden_def.
8649         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8650         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8651         Likewise.
8652         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8653         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8654         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8655         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8656         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8657         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8658         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8659         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8660         __fegetenv instead of fegetenv.
8661         (libc_feholdsetround_noex_ctx): Likewise.
8663 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8665         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8666         (Elf_MIPS_ABIFlags_v0): New structure.
8667         (EF_MIPS_FP64): Define.
8668         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8669         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8670         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8671         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8672         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8673         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8674         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8675         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8676         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8677         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8678         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8679         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8680         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8681         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8682         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8683         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8684         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8685         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8686         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8687         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8688         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8689         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8690         field.
8691         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8692         EF_MIPS_FP64.
8693         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8694         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8695         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8696         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8697         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8698         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8699         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8700         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8701         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8702         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8703         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8704         record the current FP ABI extension.
8705         (mips-mode-switch): Define to show if kernel headers support mode
8706         switching.
8707         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8708         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8709         supported SYSV ABI version to 3.
8710         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8711         feature.
8713 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8714             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8716         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8717         path.
8718         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8720 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8722         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8723         __fegetround and redefine to call __fegetround.  Remove condition
8724         on [!__NO_MATH_INLINES].
8725         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8726         function.
8727         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8728         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8729         Remove macro.
8730         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8731         instead of <fenv_libc.h>.
8732         (__llrintl): Call fegetround instead of __fegetround.
8733         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8734         instead of <fenv_libc.h>.
8735         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8736         (__lrintl): Call fegetround instead of __fegetround.
8737         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8738         instead of <fenv_libc.h>.
8739         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8740         (__rintl): Call fegetround instead of __fegetround.
8742 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8744         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8745         arrays.
8747 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8749         [BZ #17775]
8750         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8751         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8752         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8754 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8756         * sysdeps/i386/tls-macros.h: Include <features.h>.
8757         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8758         (TLS_IE): Likewise.
8759         (TLS_LD): Likewise.
8760         (TLS_GD): Likewise.
8761         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8762         define for GCC >= 5.0.
8764 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8766         * math/test-fenv.c (test_single_exception, set_single_exc,
8767         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8768         feexcp_mask_test, feenable_test, fe_single_test): Add
8769         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8770         case where they are not used.
8771         * math/libm-test.inc: Likewise.
8772         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8773         unused in the absence of FP rounding/exception support.
8774         * stdio-common/tst-printf-round.c: Likewise.
8775         * stdlib/tst-strtod-round.c: Likewise.
8776         * stdlib/tst-strtod-underflow.c: Likewise.
8778 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
8780         [BZ #17723]
8781         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8782         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8783         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8784         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8785         libm_hidden_weak.
8786         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8787         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8788         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8789         libm_hidden_def.
8790         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8791         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8792         libm_hidden_weak.
8793         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8794         Likewise.
8795         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8796         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8797         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8798         libm_hidden_weak.
8799         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8800         libm_hidden_def.
8801         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8802         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8803         (__feraiseexcept): Likewise.
8804         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8805         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8806         libm_hidden_weak.
8807         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8808         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8809         libm_hidden_def.
8810         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8811         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8812         Use libm_hidden_def.
8813         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8814         libm_hidden_def.
8815         (feraiseexcept): Define as weak not strong alias.  Use
8816         libm_hidden_weak.
8817         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8818         New inline function.  Factored out of ...
8819         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
8820         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8821         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8822         feraiseexcept.
8823         * math/w_acos.c (__acos): Likewise.
8824         * math/w_asin.c (__asin): Likewise.
8825         * math/w_ilogb.c (__ilogb): Likewise.
8826         * math/w_j0.c (y0): Likewise.
8827         * math/w_j1.c (y1): Likewise.
8828         * math/w_jn.c (yn): Likewise.
8829         * math/w_log.c (__log): Likewise.
8830         * math/w_log10.c (__log10): Likewise.
8831         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8832         * sysdeps/aarch64/fpu/math_private.h
8833         (libc_feupdateenv_test_aarch64): Likewise.
8834         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8835         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8836         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8837         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8838         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8839         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8840         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8841         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8842         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8843         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8845 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8847         [BZ #17732]
8848         * io/test-utime.c (main): Replace %ld with %jd and cast to
8849         intmax_t.
8850         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8851         * nptl/tst-mutex5.c: Include <stdint.h>.
8852         (do_test): Replace %ld with %jd and cast to intmax_t.
8853         * posix/tst-regex.c (run_test): Likewise.
8854         (run_test_backwards): Likewise.
8855         * rt/tst-clock.c: Include <stdint.h>.
8856         (clock_test): Replace %ld with %jd and cast to intmax_t.
8857         * rt/tst-cpuclock1.c: Include <stdint.h>.
8858         (do_test): Replace %lu with %ju and cast to uintmax_t.
8859         * rt/tst-cpuclock2.c: Include <stdint.h>.
8860         (do_test): Replace %lu with %ju and cast to uintmax_t.
8861         * rt/tst-mqueue1.c: Include <stdint.h>.
8862         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8863         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8864         intmax_t.
8865         * rt/tst-mqueue4.c (do_test): Likewise.
8866         * rt/tst-timer4.c: Include <stdint.h>.
8867         (check_ts): Replace %ld with %jd and cast to intmax_t.
8868         (do_test): Likewise.
8869         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8870         and cast to intmax_t.
8871         * sysdeps/pthread/tst-timer.c (main): Likewise.
8872         * time/clocktest.c (main): Likewise.
8873         * time/tst-posixtz.c (do_test): Likewise.
8874         * timezone/tst-timezone.c (main): Likewise.
8876 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8877             H.J. Lu  <hongjiu.lu@intel.com>
8879         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8880         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8881         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8882         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8883         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8884         version if bit_Fast_Unaligned_Load is set.
8885         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8886         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8887         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8888         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8889         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8890         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8891         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8892         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8893         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8894         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8895         to 4.
8896         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8897         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8898         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8899         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8901 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8903         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8904         instead of #if to avoid a Wundef warning.
8905         * stdlib/tst-limits.c (do_test): Likewise.
8907         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8908         parallel other exception macros.
8909         (fegetenv): Convert from macro to extern inline so that it applies
8910         retroactively to inline functions already seen by the compiler.
8911         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8913         * posix/Makefile (before-compile): Use $(objpfx) for
8914         posix-conf-vars-def.h.
8916 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8918         * posix/getconf.c (main): Use size_t for type of I.
8919         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8920         NSPEC.
8922         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8923         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8924         * posix/posix-envs.def: Likewise.
8925         * sysdeps/posix/sysconf.c: Likewise.
8926         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8927         (specs): Remove array.
8928         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8929         array.
8931         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8932         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8933         (__sysconf): Use CONF_IS_* macros.
8935         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8936         ($(objpfx)posix-conf-vars-def.h): New target.
8937         * posix/posix-conf-vars.list: New file.
8938         * posix/posix-conf-vars.h: New file.
8939         * posix/confstr.c: Include posix-conf-vars.h.
8940         (confstr): Use CONF_IS_* macros.
8941         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8942         CONF_IS_* macros.
8943         * scripts/gen-posix-conf-vars.awk: New file.
8945 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8947         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8948         fegetround): Add no-op macros to avoid linknamespace issues.
8950         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8951         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8953         * sysdeps/unix/sysv/linux/tile/sysdep.h
8954         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8955         assembly-specific section to avoid a redefinition warning.
8957         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8958         long before casting to pointer to avoid a cast warning.
8960 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8962         * sysdeps/tile/tilegx/Implies: New file.
8964 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8966         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8968 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8970         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8972 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8974         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8975         not define.
8976         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8977         <kernel-features.h>.
8978         (__utimes) [__NR_utimes]: Make code unconditional.
8979         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8980         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8981         (__ASSUME_UTIMES): Do not undefine.
8982         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8983         (__ASSUME_UTIMES): Likewise.
8984         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8985         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8986         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8987         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8989 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8991         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8993 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8995         [BZ #17747]
8996         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8997         alias to weak alias for j0l, y0l.
8998         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8999         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9001         [BZ #17746]
9002         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9003         conversion.
9005 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9007         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9008         to zero if not already defined.
9010 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9012         [BZ #17724]
9013         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9014         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9015         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9016         (char *) casts added.
9017         * sysdeps/ieee754/k_standardf.c: New file.
9018         * sysdeps/ieee754/k_standardl.c: Likewise.
9019         * math/Makefile (libm-support): Remove k_standard.
9020         (libm-calls): Add k_standard.
9022 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9024         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9025         Optimize to avoid an unnecessary FPCR read.
9027 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9029         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9030         Optimize to reduce FPCR/FPSR accesses.
9032 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9034         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9035         Call libc_fetestexcept_aarch64.
9037 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9039         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9040         Call libc_fesetround_aarch64.
9042 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9044         [BZ #17733]
9045         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9046         (__bind): Do not define as weak alias.
9047         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9048         define.
9049         (__getsockname): Do not define as weak alias.
9051 2014-12-22  Will Newton  <will.newton@linaro.org>
9053         * manual/install.texi: Document that we require bison 2.7
9054         or above.
9055         * INSTALL: Regenerate.
9056         * configure.ac: Use AC_CHECK_PROG_VER instead of
9057         AC_PATH_PROG when checking for bison and check for
9058         version 2.7 or above.
9059         * configure: Regenerate.
9061 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9063         [BZ #17745]
9064         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9065         * sysdeps/tile/ffsll.c (ffsll): To here.
9067         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9069 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9071         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9072         if not defined.
9073         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9074         definition.
9075         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9076         hidden ___tls_get_addr.
9077         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9078         hidden __tls_get_addr.
9079         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9080         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9081         Likewise.
9083 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9085         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9086         _dl_init call.
9088 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9090         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9091         from "call _dl_init@PLT".
9092         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9094 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9096         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9097         guarantees.
9099 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9101         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9103 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9105         [BZ #17744]
9106         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9107         strnlen.
9109 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9111         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9112         of multu on MIPSr6.
9113         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9114         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9115         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9116         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9117         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9119 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9121         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9122         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9123         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9124         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9125         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9126         mips32r6/mips64r6.
9127         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9129 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9131         * string/strncat.c (STRNCAT): Simplify implementation.
9133 2014-12-19  David S. Miller  <davem@davemloft.net>
9135         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9136         access the quad as both a long double and as a series of 4 words.
9138         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9139         link_map->l_info array access.
9141 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9143         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9145         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9146         * math/atest-exp2.c (TIMEOUT): Likewise.
9147         * math/atest-sincos.c (TIMEOUT): Likewise.
9149 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9151         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9152         -Wno-error with -fno-builtin-lround.
9154 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9156         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9157         Contains futex constants and functions moved over from ...
9158         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9159         <lowlevellock-futex.h>.
9160         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9161         (lll_timedwait_tid): Add comments and parentheses around macro
9162         arguments.
9164 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9166         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9167         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9168         (__lll_private_flag): Remove.
9169         (lll_futex_wait): Likewise.
9170         (lll_futex_timed_wait): Likewise.
9171         (lll_futex_wake): Likewise.
9172         (lll_futex_requeue): Likewise.
9173         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9174         (__lll_timedwait_tid): Spell out argument names.
9175         (lll_timedwait_tid): Add comments and parentheses around macro
9176         arguments.
9177         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9178         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9180 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9182         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9183         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9184         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9185         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9186         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9187         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9188         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9189         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9190         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9191         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9192         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9193         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9194         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9195         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9196         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9197         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9198         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9199         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9200         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9202 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9204         * sysdeps/x86_64/x32/Makefile: New file.
9206 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9208         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9209         1L with (mp_limb_t) 1.
9211 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9213         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9214         * nptl/libc_pthread_init.c: ... here.
9215         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9216         * nptl/register-atfork.c: ... here.
9218         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9219         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9220         Use assert_perror to check its return value.
9221         (__gai_create_helper_thread): Likewise.
9223         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9225         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9227 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9229         [BZ #17725]
9230         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9231         __profil_counter.
9232         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9233         Likewise.
9234         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9235         Likewise.
9236         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9237         Likewise.
9238         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9239         (profil_counter): Likewise.
9240         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9241         (profil_counter): Likewise.
9242         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9243         Likewise.
9244         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9245         Likewise.
9246         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9247         (profil_counter): Likewise.
9248         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9249         Likewise.
9250         [!__profil_counter] (profil_counter): Define as weak alias of
9251         __profil_counter.
9252         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9253         (profil_counter): Rename to __profil_counter.
9254         [!__profil_counter] (profil_counter): Define as weak alias of
9255         __profil_counter.
9256         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9257         (profil_counter): Rename to __profil_counter.
9258         [!__profil_counter] (profil_counter): Define as weak alias of
9259         __profil_counter.
9260         * sysdeps/posix/profil.c: Update comment referring to
9261         profil_counter.
9262         (__profil): Use __profil_counter instead of profil_counter.
9263         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9264         __profil_counter.  Use __profil_counter_ushort and
9265         __profil_counter_uint in definitions.
9266         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9267         instead of profil_counter_uint and profil_counter_ushort.
9269         [BZ #17722]
9270         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9271         define as weak alias of __inet_makeaddr.
9272         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9273         as weak alias of __inet_addr.
9274         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9275         as weak alias of __inet_pton.  Use libc_hidden_weak.
9276         * include/arpa/inet.h (__inet_pton): Declare.  Use
9277         libc_hidden_proto.
9278         (inet_makeaddr): Don't use libc_hidden_proto.
9279         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9280         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9281         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9282         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9283         Remove variable.
9284         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9285         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9287 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9289         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9291 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9293         * stdio-common/bug-vfprintf-nargs.c (do_test):
9294         Cast value to intptr_t to avoid format warning
9295         for usage with PRIdPTR printing macro.
9297 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9299         * libio/tst-widetext.c (do_test):
9300         Use format type %td instead of %Zd for ptrdiff_t
9301         in order to avoid format warning.
9303 2014-12-17  Andreas Schwab  <schwab@suse.de>
9305         * nscd/mem.c (gc): Add size_t cast to match printf format.
9307 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9309         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9310         (init): Apply PTR_MANGLE to pointers before storing them.
9311         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9312         before using them.
9314 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9316         [BZ #17719]
9317         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9318         define as weak alias of __memrchr.
9319         (__memrchr): Do not define as strong alias of memrchr.
9320         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9321         Remove variable.
9322         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9323         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9324         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9326         [BZ #17717]
9327         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9328         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9329         (if_indextoname): Rename to __if_indextoname and define as weak
9330         alias of __if_indextoname.  Use libc_hidden_weak.
9331         (if_freenameindex): Rename to __if_freenameindex and define as
9332         weak alias of __if_freenameindex.
9333         (if_nameindex): Rename to __if_nameindex and define as weak alias
9334         of __if_nameindex.
9335         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9336         __if_nametoindex and define as weak alias of __if_nametoindex.
9337         Use libc_hidden_weak.
9338         (if_freenameindex): Rename to __if_freenameindex and define as
9339         weak alias of __if_freenameindex.
9340         (if_nameindex): Rename to __if_nameindex and define as weak alias
9341         of __if_nameindex.
9342         (if_indextoname): Rename to __if_indextoname and define as weak
9343         alias of __if_indextoname.  Use libc_hidden_weak.
9344         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9345         __if_nametoindex and define as weak alias of __if_nametoindex.
9346         Use libc_hidden_weak.
9347         (if_freenameindex): Rename to __if_freenameindex and define as
9348         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9349         (if_nameindex_netlink): Use __if_freenameindex instead of
9350         if_freenameindex.
9351         (if_nameindex): Rename to __if_nameindex and define as weak alias
9352         of __if_nameindex.  Use libc_hidden_weak.
9353         (if_indextoname): Rename to __if_indextoname and define as weak
9354         alias of __if_indextoname.  Use libc_hidden_weak.
9355         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9356         libc_hidden_proto.
9357         [!_ISOMAC] (__if_freenameindex): Likewise.
9358         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9359         if_nametoindex.
9360         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9361         variable.
9362         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9363         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9364         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9365         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9366         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9367         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9368         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9370         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9371         Remove variable.
9372         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9373         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9375 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9377         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9378         subscript above bounds'
9380         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9381         bounds.
9383 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9385         * libio/tst-fopenloc.c: Use test-skeleton.c.
9387         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9388         (entry): Rename to ITEM.
9389         (do_test, comp): Adjust.
9391         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9393 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9395         * string/tester.c: Include <libc-internal.h>.
9396         (test_memset): Ignore -Wmemset-transposed-args.
9398 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9400         * misc/tst-mntent2.c (do_test): Fix warning.
9402 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9404         * elf/tst-unique4lib.cc(a): Mark as used.
9406 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9408         [BZ #17630]
9409         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9410         names.
9412 2014-12-16  Allan McRae  <allan@archlinux.org>
9414         * stdio-common/Makefile (tests): Re-add bug26.
9416 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9418         [BZ #17657]
9419         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9420         static array.
9422 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9424         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9425         (__lll_lock_wait): Likewise.
9426         (__lll_timedlock_wait): Likewise.
9427         (__lll_timedwait_tid): Likewise.
9428         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9429         (__lll_robust_timedlock_wait): Likewise.
9430         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9431         (lll_cond_trylock): Likewise.
9432         (__lll_lock): Likewise.
9433         (__lll_robust_lock): Likewise.
9434         (__lll_cond_lock): Likewise.
9435         (lll_robust_cond_lock): Likewise.
9436         (__lll_timedlock): Likewise.
9437         (__lll_robust_timedlock): Likewise.
9438         (__lll_unlock): Likewise.
9439         (__lll_robust_unlock): Likewise.
9440         (lll_wait_tid): Likewise.
9441         (lll_timedwait_tid): Likewise.
9443 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9445         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9447 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9449         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9451 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9453         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9454         * stdio-common/tst-sprintf.c: Likewise.
9456 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9458         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9460 2014-12-15  Jeff Law  <law@redhat.com>
9462         [BZ #16617]
9463         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9464         on the heap.  (CVE-2012-3406)
9465         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9466         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9467         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9469 2014-12-15  Will Newton  <will.newton@linaro.org>
9471         * manual/install.texi: Bump required version of texinfo
9472         to 4.7 from 4.5.
9473         * INSTALL: Regenerated.
9474         * configure.ac: Check for makeinfo version 4.7 and above.
9475         * configure: Regenerated.
9477 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9479         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9480         PREFIX, string constant to insert between directory and name.
9481         * sysdeps/posix/shm_open.c: Update caller.
9482         * sysdeps/posix/shm_unlink.c: Likewise.
9483         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9484         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9485         (SEM_SHM_PREFIX): New macro.
9486         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9487         [$(have-thread-library) = no].
9488         * nptl/Makefile (libpthread-routines): Add shm-directory.
9489         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9490         * sysdeps/nptl/shm-directory.h: New file.
9491         * sysdeps/posix/shm-directory.c
9492         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9493         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9494         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9495         INTERNAL_SYSCALL.
9496         (__where_is_shmfs): Function removed.
9497         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9498         Variables removed.
9499         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9500         Use SHM_GET_NAME.
9501         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9503         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9504         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9505         unconditional for use inside libpthread.
9506         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9508 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9510         * nptl/pthread_getaffinity.c: New file.
9511         * nptl/pthread_setaffinity.c: New file.
9512         * nptl/pthread_getname.c: New file.
9513         * nptl/pthread_setname.c: New file.
9515         * nptl/pthread_create.c (START_THREAD_DEFN)
9516         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9518 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9519             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9521         * resolv/res_send.c (send_vc): Disable warning resplen may
9522         be used uninitialized.
9524 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9526         * nptl/tst-mutex6.c
9527         (ATTR_NULL): New define checks ATTR against NULL.
9528         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9529         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9531 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9533         [BZ #17581]
9534         * malloc/hooks.c
9535         (mem2mem_check): Revert my previous change.
9536         (malloc_check_get_size): Revert my previous change.
9537         (mem2chunk_check): Revert my previous change.
9539 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9541         * sysdeps/posix/shm-directory.c: New file.
9542         * sysdeps/posix/shm-directory.h: New file.
9543         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9544         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9545         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9546         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9547         Transmute EPERM to EACCES.
9548         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9549         from ...
9550         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9551         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9553 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9555         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9556         pointer and cast to uintptr_t.
9557         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9558         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9559         Add cast to avoid warning.
9560         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9562 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9564         * nptl/semaphore.h: Move to ...
9565         * sysdeps/pthread/semaphore.h: ... here.
9566         * Makefile (installed-headers): Change nptl/semaphore.h to
9567         sysdeps/pthread/semaphore.h.
9569 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9571         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9572         generated error format strings.
9574         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9575         -Wformat-extra-args warnings for scanf formats.
9576         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9577         test of zero-length format (duh).
9578         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9579         corner-case scanf format test.
9580         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9581         generated fprintf format string.
9582         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9583         corner-case sprintf format tests.
9584         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9585         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9586         -Wformat-extra-args warnings throughout.
9587         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9588         (CFLAGS-scanf4.c): Likewise.
9589         (CFLAGS-scanf7.c): Likewise.
9590         (CFLAGS-tst-sprintf.c): Likewise.
9591         (CFLAGS-tst-printf.c): Likewise.
9592         (CFLAGS-tst-printfsz.c): Likewise.
9594 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9596         * include/cpio.h: New file.
9597         * include/fmtmsg.h: Likewise.
9599         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9600         corresponding format argument to size_t.
9601         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9602         arguments.
9603         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9604         corresponding format argument to size_t.
9605         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9606         arguments.
9607         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9608         corresponding format argument to size_t.
9609         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9610         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9611         (CFLAGS-tst-mbswcs2.c): Likewise.
9612         (CFLAGS-tst-mbswcs3.c): Likewise.
9613         (CFLAGS-tst-mbswcs4.c): Likewise.
9614         (CFLAGS-tst-mbswcs5.c): Likewise.
9615         (CFLAGS-tst-trans.c): Likewise
9617 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9619         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9620         rather than assuming they won't contain any '%'s.
9622 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9624         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9625         inhibit_loop_to_libcall to avoid recursive calls.
9626         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9627         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9629 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9631         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9632         prototype.
9634 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9636         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9637         integer value instead of boolean.
9639 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9641         * malloc/malloc.c: Fix powerof2 check.
9643 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9645         * locale/programs/locfile.h (maybe_swap_uint32):
9646         Remove inline and add unused attribute.
9648 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9650         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9651         Truncating assembler expression to a .long expression.
9653 2014-12-11  Andreas Schwab  <schwab@suse.de>
9655         * elf/rtld.c (struct map_args): Constify str member.
9656         (do_preload): Constify fname argument.
9658 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9660         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9661         constants definition.
9663 2014-12-11  Andreas Schwab  <schwab@suse.de>
9665         [BZ #16657]
9666         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9667         FORCE_ELISION instead of DO_ELISION.
9668         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9669         Remove.
9670         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9671         Likewise.
9673         * iconvdata/gconv-modules: Remove duplicate entry.
9675 2014-12-11  Will Newton  <will.newton@linaro.org>
9677         Merge gettext 0.19.3 into intl/.
9679         This involves a number of cosmetic changes to comments
9680         and ANSI function definitions and prototypes throughout
9681         all the files. The gettext copyright header is used but
9682         with the date ranges taken from the glibc copy.
9684         * NEWS: Add gettext merge to 2.21.
9685         * intl/bindtextdom.c: Switch to gettext copyright.
9686         Use ANSI definitions and prototypes.
9687         Use gl_* locking primitives rather than __libc_* ones.
9688         Use __builtin_expect rather than __glibc_likely/unlikely.
9689         * intl/dcgettext.c: Switch to gettext copyright.
9690         Use ANSI definitions and prototypes.
9691         * intl/dcigettext.c: Switch to gettext copyright.
9692         Use ANSI definitions and prototypes.
9693         (INTDIV0_RAISES_SIGFPE): New define.
9694         Use gl_* locking primitives rather than __libc_* ones.
9695         Include eval-plural.h instead of plural-eval.c.
9696         Use __builtin_expect rather than __glibc_likely/unlikely.
9697         * intl/dcngettext.c: Switch to gettext copyright.
9698         Use ANSI definitions and prototypes.
9699         * intl/dgettext.c: Likewise.
9700         * intl/dngettext.c: Likewise.
9701         * intl/plural-eval.c: Renamed to...
9702         * intl/eval-plural.h: ...this.
9703         * intl/explodename.c: Switch to gettext copyright.
9704         Use ANSI definitions and prototypes.
9705         (_nl_explode_name): Use strchr instead of __rawmemchr.
9706         * intl/finddomain.c: Switch to gettext copyright.
9707         Use ANSI definitions and prototypes.
9708         Use gl_* locking primitives rather than __libc_* ones.
9709         (_nl_find_domain): Use malloc rather than alloca for
9710         allocation of temporary locale name.
9711         * intl/gettext.c: Switch to gettext copyright.
9712         Use ANSI definitions and prototypes.
9713         * intl/gettextP.h: Switch to gettext copyright.
9714         Use ANSI definitions and prototypes.
9715         Use gl_* locking primitives rather than __libc_* ones.
9716         * intl/gmo.h: Switch to gettext copyright.
9717         (struct sysdep_string): Move struct segment_pair outside of
9718         struct definition.
9719         * intl/hash-string.c: Use ANSI definitions and prototypes.
9720         * intl/hash-string.h: Switch to gettext copyright.
9721         Use ANSI definitions and prototypes.
9722         * intl/l10nflist.c: Switch to gettext copyright.
9723         Use ANSI definitions and prototypes.
9724         (_nl_normalize_codeset): Avoid integer overflow.
9725         * intl/loadinfo.h: Switch to gettext copyright.
9726         Use ANSI definitions and prototypes.
9727         (LIBINTL_DLL_EXPORTED): New define.
9728         (PATH_SEPARATOR): New define.
9729         * intl/loadmsgcat.c: Switch to gettext copyright.
9730         * intl/localealias.c: Switch to gettext copyright.
9731         Use ANSI definitions and prototypes.
9732         (_nl_expand_alias): Use PATH_SEPARATOR.
9733         * intl/ngettext.c: Switch to gettext copyright.
9734         Use ANSI definitions and prototypes.
9735         * intl/plural-exp.c: Likewise.
9736         * intl/plural-exp.h: Switch to gettext copyright.
9737         Use ANSI definitions and prototypes.
9738         (struct expression): Move definition of enum operator outside
9739         of struct definition.
9740         * intl/plural.c: Regenerate.
9741         * intl/plural.y: Switch to gettext copyright.
9742         Use ANSI definitions and prototypes.
9743         Port to bison 3.0.
9744         * intl/textdomain.c: Switch to gettext copyright.
9745         Use ANSI definitions and prototypes.
9746         Use gl_* locking primitives rather than __libc_* ones.
9748 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9750         * debug/warning-nop.c: Add used atrribute.
9752 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9754         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9756         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9757         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9758         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9760 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9761             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9763         [BZ #17634]
9764         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9765         Undefine after defining function.  Define as weak alias of
9766         __wcschr.  Use libc_hidden_weak.
9767         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9768         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9769         (libc_hidden_def): Also define __GI___wcschr alias.
9770         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9771         __wcschr and define as weak alias of __wcschr.
9772         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9773         __wcschr.
9774         [!WCSCHR] (DEFAULT_WCSCHR): Define.
9775         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9776         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
9777         libc_hidden_weak.  Do not use libc_hidden_def.
9778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9779         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9780         __GI___wcschr alias.
9781         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9782         [IS_IN (libc)] (wcschr): Define as macro expanding to
9783         __redirect_wcschr.
9784         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9785         [IS_IN (libc)] (__wcschr_power6): Likewise.
9786         [IS_IN (libc)] (__wcschr_power7): Likewise.
9787         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
9788         instead of wcschr.
9789         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9790         __libc_wcschr.
9791         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9792         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9793         __wcschr and define as weak alias of __wcschr.  Use
9794         libc_hidden_builtin_def.
9795         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9796         as weak alias of __wcschr.  Use libc_hidden_weak.
9797         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9798         wcschr.
9799         * time/era.c (_nl_init_era_entries): Likewise.
9800         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9801         variable.
9802         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9803         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9805 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9807         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9808         format for long int variable.
9810 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
9812         [BZ #10672]
9813         * manual/search.texi: (Array Sort Function): Remove claim how to make
9814         qsort stable.
9816 2014-12-10  Andreas Schwab  <schwab@suse.de>
9818         [BZ #12847]
9819         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9820         user-controlled locks.
9822 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9824         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9825         register.
9827 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9829         * configure.ac (--disable-werror): New configure option.
9830         (enable_werror): New AC_SUBST.
9831         * configure: Regenerated.
9832         * config.make.in (enable-werror): New variable.
9833         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9834         -Wno-error=undef.
9835         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9836         * manual/install.texi (Configuring and compiling): Document
9837         --disable-werror.
9838         * INSTALL: Regenerated.
9839         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9840         (CFLAGS-tst-chk2.c): Likewise.
9841         (CFLAGS-tst-chk3.c): Likewise.
9842         (CFLAGS-tst-chk4.cc): Likewise.
9843         (CFLAGS-tst-chk5.cc): Likewise.
9844         (CFLAGS-tst-chk6.cc): Likewise.
9845         (CFLAGS-tst-lfschk1.c): Likewise.
9846         (CFLAGS-tst-lfschk2.c): Likewise.
9847         (CFLAGS-tst-lfschk3.c): Likewise.
9848         (CFLAGS-tst-lfschk4.cc): Likewise.
9849         (CFLAGS-tst-lfschk5.cc): Likewise.
9850         (CFLAGS-tst-lfschk6.cc): Likewise.
9852         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9853         (main): Disable -Wdeprecated-declarations around calls to
9854         register_printf_function.
9856         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9857         (do_test): Disable -Wdiv-by-zero around some calls to
9858         fwrite_unlocked and fread_unlocked.
9860         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9861         (DIAG_POP_NEEDS_COMMENT): Likewise.
9862         (_DIAG_STR1): Likewise.
9863         (_DIAG_STR): Likewise.
9864         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9865         * stdio-common/bug21.c: Include <libc-internal.h>.
9866         (do_test): Disable -Wformat around call to sscanf.
9867         * stdio-common/scanf14.c: Include <libc-internal.h>.
9868         (main): Disable -Wformat around some calls to scanf functions.
9870 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9872         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9874 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9876         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9877         stack variable alignment.
9879 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9881         [BZ #17682]
9882         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9883         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9884         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9885         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9886         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9887         __getrlimit instead of getrlimit.
9888         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9889         __gettimeofday instead of gettimeofday.
9890         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9891         Likewise.
9892         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9893         Likewise.
9894         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9895         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9896         Remove variable.
9897         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9898         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9900 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9902         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9903         for wide-character tests.
9905 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9907         * io/openat64.c: #include <libc-internal.h>
9908         (__openat64): Prototypify.  Use ignore_value on MODE.
9909         * io/openat.c: Likewise.
9910         * misc/reboot.c: #include <libc-internal.h>
9911         (reboot): Prototypify.  Use ignore_value on HOWTO.
9912         * misc/ptrace.c: #include <libc-internal.h>
9913         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9915 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9917         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9918         XPG4, UNIX98 and XOPEN2K.
9919         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9920         Remove variable.
9921         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9923 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9925         * libio/fileops.c: Use ISO C style for function definitions.
9926         * libio/iofopen.c: Likewise.
9927         * libio/wfileops.c: Likewise.
9929         [BZ #17653]
9930         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9931         offset on EOF.
9932         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9933         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9934         (fgets_func): Function pointer to fgets and fgetws.
9935         (do_ftell_test): Add test to verify ftell value after read
9936         EOF.
9937         (do_test): Set fgets_func.
9939         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9940         O_TRUNC flag for w and w+ modes.
9941         (do_rewind_test): Likewise.
9942         (do_ftell_test): Likewise.
9943         (do_write_test): Likewise.
9945         [BZ #17647]
9946         * libio/fileops.c (do_ftell): Seek only when there are
9947         unflushed writes.
9948         * libio/wfileops.c (do_ftell_wide): Likewise.
9949         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9950         test case.
9951         (do_one_test): Call it.
9953 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9955         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9956         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9957         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9958         Remove variable.
9959         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9960         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9961         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9963 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9965         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9966         Remove variable.
9967         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9969         [BZ #17668]
9970         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9971         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9972         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9973         __freeifaddrs.  Use libc_hidden_weak.
9974         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9975         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9976         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9977         __freeifaddrs.  Use libc_hidden_weak.
9978         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9979         __getifaddrs and define as weak alias of __getifaddrs.  Use
9980         libc_hidden_weak.
9981         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9982         __freeifaddrs.  Use libc_hidden_weak.
9983         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9984         Remove variable.
9985         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9986         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9988 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9990         [BZ #17601]
9991         * sysdeps/mips/start.S (__start): Use indirect jump to call
9992         __libc_start_main.
9994 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9996         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9998         * nptl/tst-mutex1.c: Include <stdbool.h>.
9999         [!ATTR] (ATTR_NULL): New macro.
10000         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10001         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10002         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10004         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10005         to char *.
10007         [BZ #17665]
10008         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10009         Change conditional to [__USE_MISC].
10011         [BZ #17664]
10012         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10013         fgets_unlocked.
10014         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10015         __fgets_unlocked.
10016         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10017         fgets_unlocked.
10018         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10019         Remove variable.
10020         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10021         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10022         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10023         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10024         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10025         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10026         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10027         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10028         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10030         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10032 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10034         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10035         Remove strpbrk objects.
10036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10037         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10038         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10039         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10040         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10041         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10043         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10044         Remove strcspn objects.
10045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10046         (__libc_ifunc_impl_list): Remove strcspn implementation.
10047         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10048         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10049         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10050         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10052         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10053         Remove strspn objetcs.
10054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10055         (__libc_ifunc_impl_list): Remove strspn implementation.
10056         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10057         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10058         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10059         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10061 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10063         [BZ #17581]
10064         * malloc/hooks.c
10065         (mem2mem_check): Add a terminator to the chain of checking blocks.
10066         (malloc_check_get_size): Use it here.
10067         (mem2chunk_check): Ditto.
10069 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10071         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10072         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10074 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10076         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10078         * nptl/nptl-init.c: Include libc-internal.h.
10079         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10081         * elf/ldconfig.c (search_dir): Expand comment.
10083 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10085         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10086         variable.
10087         (linknamespace-symlist-stdlibs-tests): Likewise.
10088         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10089         instead of $(objpfx)symlist-stdlibs.
10090         (linknamespace-libs-isoc): New variable.
10091         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10092         (linknamespace-libs-ISO): New variable.
10093         (linknamespace-libs-ISO99): Likewise.
10094         (linknamespace-libs-ISO11): Likewise.
10095         (linknamespace-libs-XPG3): Likewise.
10096         (linknamespace-libs-XPG4): Likewise.
10097         (linknamespace-libs-POSIX): Likewise.
10098         (linknamespace-libs-UNIX98): Likewise.
10099         (linknamespace-libs-XOPEN2K): Likewise.
10100         (linknamespace-libs-POSIX2008): Likewise.
10101         (linknamespace-libs-XOPEN2K8): Likewise.
10102         ($(objpfx)symlist-stdlibs): Replace by
10103         $(linknamespace-symlist-stdlibs-tests).  Use
10104         $(linknamespace-libs-$*) as set of libraries.
10105         ($(linknamespace-header-tests)): Update dependencies.  Use
10106         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10107         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10108         * conform/linknamespace.pl: Remove comment about considering
10109         definitions of symbols from irrelevant libraries.
10111 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10113         [BZ #13862]
10114         * elf/dl-tls.c: Include <atomic.h>.
10115         (oom): Remove #ifdef SHARED/#endif.
10116         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10117         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10118         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10119         big enough.
10120         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10121         * nptl/Makefile (tests): Add tst-stack4.
10122         (modules-names): Add tst-stack4mod.
10123         ($(objpfx)tst-stack4): New.
10124         (tst-stack4mod.sos): Likewise.
10125         ($(objpfx)tst-stack4.out): Likewise.
10126         ($(tst-stack4mod.sos)): Likewise.
10127         (clean): Likewise.
10128         * nptl/tst-stack4.c: New file.
10129         * nptl/tst-stack4mod.c: Likewise.
10131 2014-11-27  J. Brown  <jb999@gmx.de>
10133         * sysdeps/x86/bits/string.h: Add recent CPUs.
10135 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10137         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10138         sigblock.
10140         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10141         feof.
10143         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10144         variable.
10146 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10148         * nscd/connections.c: Include libc-internal.h because of macro
10149         usage ignore_value.
10151 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10153         * string/bits/string3.h (__warn_memset_zero_len): Don't
10154         declare for gcc newer than 5.0.
10155         (memset): Don't test for zero-length __LEN for gcc newer than
10156         5.0.
10158 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10160         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10161         size_t for %zu format.
10163         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10164         difference, not %ju.
10166 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10168         * include/libc-internal.h (ignore_value): New macro.
10169         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10170         with ignore_value.
10172         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10173         definition.
10175         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10176         pthread_cleanup_push to void *.
10178         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10179         Undefine.
10181         [BZ #16619]
10182         [BZ #16740]
10183         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10184         instead of 1L << 52.
10186         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10187         * libio/bug-rewind2.c (do_test): Likewise.
10189         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10190         * debug/test-strcpy_chk-ifunc.c: Likewise.
10191         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10192         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10193         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10194         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10195         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10196         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10197         * Rules [$(multi-arch) = no] (tests): Do not filter out
10198         $(tests-ifunc).
10199         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10200         * debug/Makefile (tests-ifunc): Remove variable.
10201         (tests): Do not add $(tests-ifunc).
10202         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10203         (tests): Do not add $(tests-ifunc).
10204         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10205         [TEST_IFUNC]: Remove conditionals.
10206         * string/test-string.h (TEST_IFUNC): Remove macro.
10207         [TEST_IFUNC]: Remove conditionals.
10209         * string/test-strchr.c [!WIDE] (L): New macro.
10210         [WIDE] (L): Likewise.
10211         (check1): Use CHAR instead of char.  Use L on string and character
10212         constants.
10214 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10216         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10217         tests.
10218         * sysdeps/powerpc/bits/atomic.h
10219         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10220         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10221         (atomic_exchange_and_add_acq): Likewise.
10222         (atomic_exchange_and_add_rel): Likewise.
10223         * sysdeps/powerpc/powerpc32/bits/atomic.h
10224         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10225         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10226         * sysdeps/powerpc/powerpc64/bits/atomic.h
10227         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10228         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10230 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10232         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10233         Change synchronization of __sched_fifo_min_prio and
10234         __sched_fifo_max_prio.
10235         * nptl/pthread_mutexattr_getprioceiling.c
10236         (pthread_mutexattr_getprioceiling): Likewise.
10237         * nptl/pthread_mutexattr_setprioceiling.c
10238         (pthread_mutexattr_setprioceiling): Likewise.
10239         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10240         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10241         Likewise.
10243 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10245         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10246         void.
10248 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10250         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10251         third argument const.
10253 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10255         fnmatch: work around GCC compiler warning bug with uninit var
10256         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10257         This works around a bug with x86-64 GCC 4.9.2 and earlier
10258         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10259         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10260         used uninitialized in this function [-Wmaybe-uninitialized]".
10262 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10264         * posix/bug-regex31.c (main): Return RES not 0.
10266 2014-11-25  Anton Blanchard <anton@samba.org>
10268         * sysdeps/powerpc/bits/atomic.h
10269         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10271 2014-11-24  Sterling Augustine  <saugustine@google.com>
10273         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10275 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10277         [BZ #17608]
10278         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10280 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10282         [BZ #17633]
10283         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10284         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10285         variable.
10286         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10287         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10289 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10291         * string/strncpy.c (strncpy): Improve performance by using memset.
10293 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10295         * string/strcpy.c (strcpy):
10296         Improve performance by using strlen and memcpy.
10298 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10300         * string/strcoll_l.c (get_next_seq): __always_inline.
10301         * string/strcoll_l.c (do_compare): __always_inline.
10303 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10305         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10306         defined.
10307         * include/mqueue.h: Likewise.
10308         * include/stdlib.h: Likewise.
10310         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10311         (get_null_defines): Adjust.
10312         * sunrpc/Makefile: Adjust comment.
10313         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10314         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10315         (CFLAGS-interp.c): Likewise.
10316         (CFLAGS-ldconfig.c): Likewise.
10317         (CPPFLAGS-.os): Likewise.
10318         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10319         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10320         * extra-modules.mk (extra-modules.mk): Likewise.
10321         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10322         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10323         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10324         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10325         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10326         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10327         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10328         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10329         * iconvdata/Makefile (CPPFLAGS): Likewise.
10330         (cpp-srcs-left): Add libof for all iconvdata routines.
10331         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10332         * include/assert.h: Likewise.
10333         * include/ctype.h: Likewise.
10334         * include/errno.h: Likewise.
10335         * include/libc-symbols.h: Likewise.
10336         * include/math.h: Likewise.
10337         * include/netdb.h: Likewise.
10338         * include/resolv.h: Likewise.
10339         * include/stdio.h: Likewise.
10340         * include/stdlib.h: Likewise.
10341         * include/string.h: Likewise.
10342         * include/sys/stat.h: Likewise.
10343         * include/wctype.h: Likewise.
10344         * intl/l10nflist.c: Likewise.
10345         * libidn/idn-stub.c: Likewise.
10346         * libio/libioP.h: Likewise.
10347         * nptl/libc_multiple_threads.c: Likewise.
10348         * nptl/pthreadP.h: Likewise.
10349         * posix/regex_internal.h: Likewise.
10350         * resolv/res_hconf.c: Likewise.
10351         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10352         * sysdeps/arm/memmove.S: Likewise.
10353         * sysdeps/arm/sysdep.h: Likewise.
10354         * sysdeps/generic/_itoa.h: Likewise.
10355         * sysdeps/generic/symbol-hacks.h: Likewise.
10356         * sysdeps/gnu/errlist.awk: Likewise.
10357         * sysdeps/gnu/errlist.c: Likewise.
10358         * sysdeps/i386/i586/memcpy.S: Likewise.
10359         * sysdeps/i386/i586/memset.S: Likewise.
10360         * sysdeps/i386/i686/memcpy.S: Likewise.
10361         * sysdeps/i386/i686/memmove.S: Likewise.
10362         * sysdeps/i386/i686/mempcpy.S: Likewise.
10363         * sysdeps/i386/i686/memset.S: Likewise.
10364         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10365         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10366         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10367         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10368         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10369         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10370         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10371         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10372         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10373         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10374         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10375         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10376         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10377         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10378         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10379         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10380         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10381         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10382         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10383         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10384         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10385         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10386         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10387         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10388         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10389         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10390         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10391         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10392         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10393         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10394         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10395         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10396         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10397         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10398         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10399         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10400         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10401         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10402         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10403         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10404         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10405         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10406         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10407         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10408         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10409         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10410         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10411         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10412         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10413         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10414         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10415         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10416         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10417         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10418         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10419         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10420         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10421         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10422         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10423         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10424         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10425         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10426         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10427         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10428         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10429         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10430         * sysdeps/posix/closedir.c: Likewise.
10431         * sysdeps/posix/opendir.c: Likewise.
10432         * sysdeps/posix/readdir.c: Likewise.
10433         * sysdeps/posix/rewinddir.c: Likewise.
10434         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10435         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10436         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10437         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10438         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10439         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10440         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10441         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10442         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10443         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10444         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10445         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10446         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10447         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10448         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10449         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10450         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10451         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10452         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10453         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10454         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10455         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10456         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10457         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10458         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10459         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10460         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10461         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10462         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10463         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10464         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10465         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10466         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10467         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10469         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10470         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10471         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10472         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10473         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10474         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10475         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10476         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10477         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10478         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10479         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10480         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10481         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10482         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10483         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10484         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10485         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10486         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10487         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10488         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10489         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10490         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10491         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10492         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10493         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10494         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10495         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10496         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10497         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10498         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10499         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10500         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10501         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10502         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10503         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10504         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10505         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10506         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10507         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10508         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10509         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10510         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10511         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10512         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10513         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10514         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10515         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10516         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10517         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10518         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10519         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10520         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10521         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10522         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10523         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10524         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10525         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10526         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10527         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10528         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10529         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10530         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10531         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10532         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10533         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10534         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10535         * sysdeps/unix/alpha/sysdep.S: Likewise.
10536         * sysdeps/unix/alpha/sysdep.h: Likewise.
10537         * sysdeps/unix/make-syscalls.sh: Likewise.
10538         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10539         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10540         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10541         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10542         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10543         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10544         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10545         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10546         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10547         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10548         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10549         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10550         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10551         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10552         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10553         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10554         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10555         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10556         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10557         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10558         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10559         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10560         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10561         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10562         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10563         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10564         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10567         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10568         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10569         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10570         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10571         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10572         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10573         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10574         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10575         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10576         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10577         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10578         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10579         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10580         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10581         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10582         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10583         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10584         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10585         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10586         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10587         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10588         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10589         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10590         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10591         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10592         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10593         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10594         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10595         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10596         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10597         * sysdeps/x86_64/memcpy.S: Likewise.
10598         * sysdeps/x86_64/memmove.c: Likewise.
10599         * sysdeps/x86_64/memset.S: Likewise.
10600         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10601         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10602         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10603         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10604         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10605         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10606         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10607         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10608         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10609         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10610         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10611         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10612         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10613         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10614         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10615         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10616         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10617         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10618         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10619         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10620         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10621         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10622         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10623         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10624         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10625         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10626         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10627         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10628         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10629         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10630         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10631         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10632         * sysdeps/x86_64/strcmp.S: Likewise.
10634         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10636         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10637         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10638         * elf/rtld-Rules: Likewise.
10639         * elf/setup-vdso.h: Likewise.
10640         * include/assert.h: Likewise.
10641         * include/bits/stdlib-float.h: Likewise.
10642         * include/errno.h: Likewise.
10643         * include/sys/stat.h: Likewise.
10644         * include/unistd.h: Likewise.
10645         * sysdeps/aarch64/setjmp.S: Likewise.
10646         * sysdeps/alpha/setjmp.S: Likewise.
10647         * sysdeps/arm/__longjmp.S: Likewise.
10648         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10649         * sysdeps/arm/setjmp.S: Likewise.
10650         * sysdeps/arm/sysdep.h: Likewise.
10651         * sysdeps/generic/_itoa.h: Likewise.
10652         * sysdeps/generic/dl-sysdep.h: Likewise.
10653         * sysdeps/generic/ldsodefs.h: Likewise.
10654         * sysdeps/i386/dl-tls.h: Likewise.
10655         * sysdeps/i386/setjmp.S: Likewise.
10656         * sysdeps/m68k/setjmp.c: Likewise.
10657         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10658         * sysdeps/mach/hurd/opendir.c: Likewise.
10659         * sysdeps/posix/getcwd.c: Likewise.
10660         * sysdeps/posix/opendir.c: Likewise.
10661         * sysdeps/posix/profil.c: Likewise.
10662         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10663         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10664         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10665         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10666         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10667         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10668         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10669         * sysdeps/s390/dl-tls.h: Likewise.
10670         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10671         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10672         * sysdeps/sh/sh3/setjmp.S: Likewise.
10673         * sysdeps/sh/sh4/setjmp.S: Likewise.
10674         * sysdeps/unix/alpha/sysdep.h: Likewise.
10675         * sysdeps/unix/arm/sysdep.S: Likewise.
10676         * sysdeps/unix/i386/sysdep.S: Likewise.
10677         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10678         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10679         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10680         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10681         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10682         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10683         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10684         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10685         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10686         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10687         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10688         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10689         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10692         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10693         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10694         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10695         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10696         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10697         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10698         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10699         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10700         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10701         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10702         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10703         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10704         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10705         * sysdeps/x86_64/setjmp.S: Likewise.
10707         * include/math.h: Use IS_IN instead of IS_IN_libm.
10708         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10709         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10710         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10711         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10712         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10713         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10714         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10715         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10716         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10717         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10718         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10719         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10720         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10721         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10722         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10723         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10724         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10725         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10726         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10727         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10728         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10729         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10730         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10731         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10732         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10733         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10734         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10735         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10736         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10737         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10738         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10739         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10740         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10742         Likewise.
10743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10744         Likewise.
10745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10746         Likewise.
10747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10748         Likewise.
10749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10750         Likewise.
10751         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10752         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10753         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10754         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10755         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10756         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10762         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10763         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10764         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10765         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10766         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10767         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10768         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10769         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10770         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10771         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10772         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10773         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10774         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10775         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10777         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10779         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10780         * nptl/pthreadP.h: Likewise.
10781         * nptl_db/structs.def: Likewise.
10782         * sysdeps/arm/sysdep.h: Likewise.
10783         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10784         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10785         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10786         * sysdeps/unix/alpha/sysdep.h: Likewise.
10787         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10788         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10789         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10790         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10791         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10792         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10793         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10794         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10795         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10796         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10797         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10798         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10799         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10800         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10803         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10804         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10805         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10806         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10807         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10808         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10809         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10810         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10811         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10812         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10814         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10815         * nptl/pthreadP.h: Likewise.
10816         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10817         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10818         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10819         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10820         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10821         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10822         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10823         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10824         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10825         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10826         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10827         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10829         Likewise.
10830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10831         Likewise.
10832         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10833         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10834         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10835         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10836         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10837         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10838         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10839         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10841         * dlfcn/dladdr.c: Use IS_IN.
10842         * dlfcn/dladdr1.c: Likewise.
10843         * dlfcn/dlclose.c: Likewise.
10844         * dlfcn/dlerror.c: Likewise.
10845         * dlfcn/dlinfo.c: Likewise.
10846         * dlfcn/dlmopen.c: Likewise.
10847         * dlfcn/dlopen.c: Likewise.
10848         * dlfcn/dlsym.c: Likewise.
10849         * dlfcn/dlvsym.c: Likewise.
10851         * include/ifaddrs.h: Use IS_IN.
10852         * inet/check_pf.c: Likewise.
10853         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10854         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10856         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10857         IS_IN_ldconfig.
10858         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10859         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10861         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10862         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10863         IS_IN (libc).
10865         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10867         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10868         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10869         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10870         * include/libc-symbols.h (IS_IN_LIB): New macro.
10871         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10872         * include/netdb.h: Likewise.
10873         * include/stap-probe.h: Remove all uses of IN_LIB.
10875         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10876         instead of IN_MODULE.
10877         * include/libc-symbols.h (IN_MODULE): Define using
10878         MODULE_NAME.
10879         (PASTE_NAME, PASTE_NAME1): New macros.
10880         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10881         of IN_LIB.
10882         (STAP_PROBE_ASM): Likewise.
10884 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10886         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10887         __mach_init in dlopened libc.
10889 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10891         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10892         * sysdeps/arm/preconfigure: Regenerate.
10894 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10896         * nptl/pthread_create.c (__pthread_create_2_1): Set
10897         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10898         when copying values from IATTR into PD.
10900 2014-11-21  Will Newton  <will.newton@linaro.org>
10901             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10903         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10904         Refactor inline-asm.  Also add comment.
10906         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10907         ElfW macro instead of hardcoded Elf64 types.
10908         (la_aarch64_gnu_pltenter): Likewise.
10909         * sysdeps/aarch64/dl-machine.h
10910         (elf_machine_runtime_setup): Use ElfW(Addr).
10912         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10913         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10914         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10915         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10916         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10917         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10918         (R_AARCH64_TLS_DTPMOD): This.
10919         (R_AARCH64_TLS_DTPREL64): Rename to ...
10920         (R_AARCH64_TLS_DTPREL): This.
10921         (R_AARCH64_TLS_TPREL64): Rename to ...
10922         (R_AARCH64_TLS_TPREL): This.
10923         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10924         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10925         R_AARCH64_TLS_TPREL64.
10926         (elf_machine_rela): Likewise.
10928 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10930         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10931         by setting it to 0.  64b atomics are not supported currently.
10933 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10935         [BZ #16469]
10936         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10937         search domain names.
10939 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10941         [BZ #16469]
10942         * NEWS: Update.
10943         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10944         trailing dot.
10945         * posix/tst-getaddrinfo5.c: New.
10946         * posix/Makefile (tests): Add it.
10948 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10950         [BZ #14498]
10951         * NEWS: Fixed.
10952         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10953         after parsing line but before break_if_match.
10954         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10955         if there is a protocol mismatch.
10957 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10959         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10960         because the potential race is on the user-supplied stream.
10962 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10964         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10965         string literal if not passed a buffer.
10966         * manual/job.texi (ctermid): Update reasoning, note deviation
10967         from posix, suggest mtasurace when not passed a buffer, for
10968         future non-preliminary safety notes.
10970 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10972         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10973         of not passing it a buffer.
10974         Reported by Peng Haitao.
10976 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10978         * manual/Makefile ($(objpfx)stamp-summary): Require
10979         check-safety.sh to pass.
10980         * manual/check-safety.sh: Wish for verification that every
10981         @deftypefn and @deftypefun is followed by a @safety remark.
10983 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10985         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10987         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10988         PTHREAD_CANCEL_ASYNCHRONOUS.
10989         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10990         send SIGCANCEL.
10992         * nptl/default-sched.h: New file.
10993         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10994         * nptl/pthread_create.c: Include it.
10995         (__pthread_create_2_1): Use collect_default_sched instead of making
10996         Linux syscalls here directly.
10998 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11000         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11001         __pthread_once): Use C11 atomics.
11003 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11005         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11007 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11009         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11010         atomic_thread_fence_acquire, atomic_thread_fence_release,
11011         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11012         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11013         atomic_compare_exchange_weak_relaxed,
11014         atomic_compare_exchange_weak_acquire,
11015         atomic_compare_exchange_weak_release,
11016         atomic_exchange_acquire, atomic_exchange_release,
11017         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11018         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11019         atomic_fetch_and_acquire,
11020         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11022 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11024         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11025         USE_ATOMIC_COMPILER_BUILTINS): Define.
11026         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11027         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11028         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11029         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11030         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11031         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11032         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11033         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11034         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11035         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11036         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11037         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11038         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11039         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11040         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11041         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11042         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11043         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11044         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11045         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11046         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11047         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11048         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11049         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11050         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11051         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11052         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11053         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11054         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11055         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11056         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11057         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11058         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11059         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11060         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11061         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11062         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11063         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11064         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11065         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11067 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11069         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11070         the sched_priority value here.  It was already checked when the user
11071         called pthread_attr_setschedparam.
11073         * nptl/tst-bad-schedattr.c: New file.
11074         * nptl/Makefile (tests): Add it.
11076 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11077             Florian Weimer  <fweimer@redhat.com>
11078             Joseph Myers  <joseph@codesourcery.com>
11079             Adam Conrad  <adconrad@0c3.net>
11080             Andreas Schwab  <schwab@suse.de>
11081             Brooks  <bmoses@google.com>
11083         [BZ #17625]
11084         * wordexp-test.c (__dso_handle): Add prototype.
11085         (__register_atfork): Likewise.
11086         (__app_register_atfork): New function.
11087         (registered_forks): New global.
11088         (register_fork): New function.
11089         (test_case): Add 3 new tests for WRDE_CMDSUB.
11090         (main): Call __app_register_atfork.
11091         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11092         fork count is non-zero fail the test.
11093         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11094         is set.
11095         (parse_dollars): Remove check for WRDE_NOCMD.
11096         (parse_dquote): Likewise.
11098 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11100         * Makeconfig (built-modules): List non-library modules to be
11101         built.
11102         (module-cppflags): Include libc-modules.h for
11103         everything except shlib-versions.v.i.
11104         (CPPFLAGS): Use it.
11105         (before-compile): Add libc-modules.h.
11106         ($(common-objpfx)libc-modules.h,
11107         $(common-objpfx)libc-modules.stmp): New targets.
11108         (common-generated): Add libc-modules.h and libc-modules.stmp.
11109         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11110         * include/libc-symbols.h: Don't include libc-modules.h.
11111         * include/libc-modules.h: Remove file.
11112         * scripts/gen-libc-modules.awk: New script to generate
11113         libc-modules.h.
11114         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11115         Depend on libc-modules.stmp.
11117         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11119         * Makeconfig (in-module): Get value of libof set for the
11120         translation unit.
11121         (CPPFLAGS): Use $(in-module).
11122         * Makerules: Don't suffix routine names for nonlib.
11123         * include/libc-modules.h: New file.
11124         * include/libc-symbols.h: Include libc-modules.h
11125         (IS_IN): New macro to replace IS_IN_* macros.
11126         * elf/Makefile: Set libof-* for each routine.
11127         * elf/rtld-Rules: Likewise.
11128         * extra-modules.mk: Likewise.
11129         * iconv/Makefile: Likewise.
11130         * iconvdata/Makefile: Likewise.
11131         * locale/Makefile: Likewise.
11132         * malloc/Makefile: Likewise.
11133         * nss/Makefile: Likewise.
11134         * sysdeps/gnu/Makefile: Likewise.
11135         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11136         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11137         * sysdeps/s390/s390-64/Makefile: Likewise.
11138         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11139         CPPFLAGS for nscd instead of nonlib.
11141 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11143         * nptl/createthread.c: New file.
11145         * nptl/createthread.c: Moved ...
11146         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11148         * nptl/createthread.c: Add proper top-line comment.
11149         (do_clone): Folded into ...
11150         (create_thread): ... here.  Take new arguments STOPPED_START and
11151         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11152         increment __nptl_threads, do event-reporting logic, do
11153         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11154         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11155         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11156         just send SIGCANCEL.
11157         * nptl/pthread_create.c: Forward-declare create_thread before
11158         including createthread.c.
11159         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11160         declaration, and new macro START_THREAD_SELF to replace argument.
11161         Remove return statement.
11162         (report_thread_creation): New function.
11163         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11164         synchronization logic, and __nptl_nthreads increment here, around
11165         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11166         PD->parent_cancelhandling here, before create_thread.  When
11167         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11168         __deallocate_stack, and ENOMEM translation here.
11170 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11172         [BZ #17616]
11173         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11174         (mptwo): Rename to __mptwo.
11175         (__inv): Use __mptwo instead of mptwo.
11176         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11177         (mptwo): Rename to __mptwo.
11178         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11179         of mpone and __mptwo instead of mptwo.
11180         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11181         instead of mpone.
11182         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11183         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11184         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11185         of mpone and __mptwo instead of mptwo.
11186         (__mpranred): Use __mpone instead of mpone.
11187         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11188         variable.
11189         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11190         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11191         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11192         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11193         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11194         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11195         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11196         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11197         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11198         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11199         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11200         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11201         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11202         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11203         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11204         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11205         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11206         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11207         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11209 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11211         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11212         replace BSD Handler xref with BSD Signal Handling.
11214 2014-11-17  Richard Henderson  <rth@redhat.com>
11216         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11217         (_FP_PACK_RAW_2): Remove.
11218         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11219         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11220         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11221         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11222         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11223         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11224         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11225         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11226         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11227         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11228         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11229         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11230         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11231         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11232         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11233         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11235 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11237         * signal/signal.h [__USE_MISC]
11238         (struct sigvec): Remove type.
11239         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11240         (sigvec): Remove declaration.
11241         * sysdeps/posix/sigvec.c: Moved ...
11242         * signal/sigvec.c: ... here, replacing old file.
11243         (struct sigvec): New type, copied from old signal.h definition.
11244         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11245         (__sigvec): Convert definition to prototype.
11246         (sigvec): Replace weak_alias with compat_symbol.
11247         * signal/Versions (libc: GLIBC_2.21): New version set.
11248         * include/signal.h: Remove __sigvec declaration.
11249         * sysdeps/unix/bsd/sigvec.c: Remove file.
11250         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11251         * manual/signal.texi (BSD Handler): Remove subsection.
11252         Move siginterrupt up to ...
11253         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11254         (Blocking in BSD): Fold subsection into its parent.
11255         * NEWS: Mention sigvec removal.
11257 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11259         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11260         (DLA_FMS): Make definition conditional only on [__FMA4__].
11261         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11262         definition.
11264         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11265         Make definition conditional only on [PROF].
11266         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11267         definition.
11268         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11269         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11271         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11272         !__GNUC__].
11273         * include/signal.h (__sigpause): Move declaration above call to
11274         libc_hidden_proto.
11275         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11276         variable.
11277         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11278         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11280 2014-11-14  David S. Miller  <davem@davemloft.net>
11282         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11283         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11285 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11287         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11288         * configure: Regenerated.
11289         * manual/install.texi (Tools for Compilation): Document a
11290         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11291         compiler verified to work.
11292         * INSTALL: Regenerated.
11294         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11295         redeclare with asm name.
11296         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11297         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11298         including <string.h>.
11299         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11300         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11301         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11302         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11303         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11304         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11305         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11307 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11309         * stdlib/strtol.c (__strtol): Use prototype definition.
11311         [BZ #17594]
11312         * stdlib/strtol.c (SYM__): New macro.
11313         (SYM__1): Likewise.
11314         (__strtol): Likewise.
11315         (strtol): Rename to __strtol and define as weak alias of
11316         __strtol.  Use libc_hidden_weak.
11318 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11320         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11321         Use numbered labels in inline assembly.
11323 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11325         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11326         Add setjmp LIBC_PROBE.
11327         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11328         Likewise.
11329         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11330         Add longjmp, longjmp_target LIBC_PROBE.
11331         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11332         Likewise.
11334 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11336         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11337         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11338         to get rid of unused variable warning.
11340 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11342         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11343         Check for unwind_backtrace ==  NULL only in SHARED case.
11344         (__backchain_backtrace): Compile only in SHARED case.
11345         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11346         Likewise.
11347         (__backchain_backtrace): Declare as static.
11349 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11351         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11352         (__libc_multiple_threads_ptr): Variable moved ...
11353         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11355 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11357         * conform/GlibcConform.pm: New file.
11358         * conform/conformtest.pl: Use GlibcConform module.
11359         * conform/linknamespace.pl: New file.
11360         * conform/list-header-symbols.pl: Likewise.
11361         * conform/Makefile (linknamespace-symlists-base): New variable.
11362         (linknamespace-symlists-tests): Likewise.
11363         (linknamespace-header-base): Likewise.
11364         (linknamespace-header-tests): Likewise.
11365         (tests-special): Add new tests.
11366         ($(linknamespace-symlists-tests)): New rule.
11367         (linknamespace-libs): New variable.
11368         ($(objpfx)symlist-stdlibs): New rule.
11369         ($(linknamespace-header-tests)): Likewise.
11370         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11371         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11372         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11373         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11374         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11375         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11376         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11377         (test-xfail-ISO/math.h/linknamespace): Likewise.
11378         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11379         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11380         (test-xfail-ISO/time.h/linknamespace): Likewise.
11381         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11382         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11383         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11384         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11385         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11386         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11387         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11388         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11389         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11390         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11391         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11392         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11393         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11394         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11395         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11396         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11397         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11398         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11399         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11400         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11401         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11402         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11403         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11404         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11405         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11406         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11407         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11408         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11409         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11410         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11411         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11412         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11413         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11414         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11415         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11416         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11417         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11418         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11419         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11420         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11421         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11422         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11423         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11424         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11425         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11426         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11427         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11428         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11429         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11430         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11431         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11432         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11433         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11434         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11435         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11436         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11437         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11438         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11439         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11440         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11441         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11442         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11443         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11444         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11445         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11446         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11447         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11448         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11449         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11450         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11451         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11452         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11453         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11454         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11455         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11456         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11457         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11458         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11459         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11460         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11461         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11462         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11463         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11464         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11465         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11466         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11467         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11468         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11469         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11470         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11471         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11472         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11473         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11474         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11475         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11476         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11477         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11478         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11479         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11480         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11481         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11482         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11483         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11484         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11485         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11486         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11487         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11488         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11489         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11490         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11491         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11492         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11493         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11494         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11495         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11496         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11497         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11498         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11499         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11500         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11501         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11502         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11503         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11504         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11505         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11506         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11507         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11508         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11509         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11510         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11511         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11512         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11513         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11514         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11515         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11516         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11517         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11518         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11519         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11520         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11521         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11522         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11523         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11524         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11525         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11526         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11527         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11528         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11529         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11530         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11532         [BZ #17589]
11533         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11534         of fgets_unlocked.
11536         [BZ #17585]
11537         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11538         (memmem): Rename to __memmem and define as weak alias of
11539         __memmem.  Use libc_hidden_weak.
11540         (__memmem): Use libc_hidden_def.
11541         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11542         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11543         memmem.
11545         [BZ #17582]
11546         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11547         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11548         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11549         and define as weak alias of __fgets_unlocked.  Use
11550         libc_hidden_weak.
11551         (__fgets_unlocked): Use libc_hidden_def.
11552         * include/stdio.h (__fgets_unlocked): Declare.  Use
11553         libc_hidden_proto.
11554         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11555         __fgets_unlocked instead of fgets_unlocked.
11556         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11557         (GET_NPROCS_CONF_PARSER): Likewise.
11558         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11559         (GET_NPROCS_CONF_PARSER): Likewise.
11561         [BZ #17574]
11562         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11563         weak alias of __wmemset.  Use libc_hidden_weak.
11564         (__wmemset): Use libc_hidden_def.
11565         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11566         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11567         of wmemset.
11569         [BZ #17573]
11570         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11571         with asm name __mempcpy.
11572         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11574         [BZ #17572]
11575         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11576         and define as weak alias of __rawmemchr.
11577         (__rawmemchr): Do not define as strong alias of rawmemchr.
11579         [BZ #17571]
11580         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11581         alias of __qsort_r.
11582         (qsort): Call __qsort_r instead of qsort_r.
11583         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11584         (__qsort_r): Declare.  Call libc_hidden_proto.
11585         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11586         instead of qsort_r.
11587         * nscd/gai.c (__qsort_r): Define to qsort_r.
11588         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11589         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11590         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11592         [BZ #17570]
11593         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11594         define as weak alias of __malloc_info.
11596         [BZ #17584]
11597         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11598         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11599         (__rewinddir): Use libc_hidden_def.
11600         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11601         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11602         (__rewinddir): Use libc_hidden_def.
11603         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11604         weak alias of __rewinddir.  Don't use libc_hidden_def.
11605         (__rewinddir): Use libc_hidden_def.
11606         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11607         (__rewinddir): Use libc_hidden_proto.
11608         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11609         rewinddir.
11610         (__getcwd): Use __rewinddir instead of rewinddir.
11612         [BZ #17583]
11613         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11614         alias of __fileno.  Use libc_hidden_weak.
11615         (__fileno): Use libc_hidden_def.
11616         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11617         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11618         alias of __ftello.
11619         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11620         __ftello.
11621         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11622         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11623         libc_hidden_def.
11624         (fread_unlocked): Don't use libc_hidden_ver.
11625         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11626         and define as weak alias of __fread_unlocked.  Don't use
11627         libc_hidden_def.
11628         (__fread_unlocked): Use libc_hidden_def.
11629         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11630         (ftello): Don't use libc_hidden_proto.
11631         (__ftello): Declare.  Use libc_hidden_proto.
11632         (fread_unlocked): Don't use libc_hidden_proto.
11633         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11634         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11635         and __ftello instead of fileno, fread_unlocked and ftello.
11637 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11639         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11640         GOT12.
11641         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11642         Likewise.
11643         (_dl_start_user): Likewise.
11644         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11646 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11647             Siddhesh Poyarekar  <siddhesh@redhat.com>
11649         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11650         Move argv and envp down instead of moving argc up.
11651         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11653 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11655         [BZ #17506]
11656         * test-skeleton.c (main): Return successful if one of
11657         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11658         * string/tst-strcoll-overflow.c: Define expected status.
11660 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11662         [BZ #17475]
11663         * locale/iso-639.def: Define Bhili and Tulu language codes.
11665 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11667         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11669 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11671         [BZ #17555]
11672         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11674 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11676         * configure.ac: Updated check of minimal required version to
11677         2.22.
11678         * manual/install.texi (Tools for Compilation): Updated version
11679         number.
11680         * configure: Regenerated.
11681         * INSTALL: Likewise.
11683 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11685         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11686         __tls_get_addr.
11688 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11690         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11691         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11692         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11693         libc_hidden_weak.
11694         (waitpid): Define as alias of __waitpid.
11695         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11696         __waitpid.
11697         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11698         libc_hidden_weak.
11699         (waitpid): Define as alias of __waitpid.
11700         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11701         __libc_waitpid alias.
11702         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11703         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11704         Likewise.
11705         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11706         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11707         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11708         alias.
11709         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11710         __waitpid.
11711         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11712         libc_hidden_weak.
11713         (waitpid): Define as alias of __waitpid.
11715 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11717         * manual/llio.texi: Add comment that write safety has been
11718         fixed in Linux.
11720         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11721         (localplt-build-dso): Add elf/ld.so.
11722         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11723         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11724         and free for ld.so.
11725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11726         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11728         Likewise.
11729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11730         Likewise.
11731         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11732         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11733         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11734         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11735         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11736         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11737         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11738         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11739         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11740         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11741         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11743 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11745         [BZ #14132]
11746         * include/libc-symbols.h (INTUSE): Remove macro.
11747         (INTDEF): Likewise.
11748         (INTVARDEF): Likewise.
11749         (_INTVARDEF): Likewise.
11750         (INTDEF2): Likewise.
11751         (INTVARDEF2): Likewise.
11752         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11753         rtld_hidden_def instead of INTVARDEF.
11754         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11755         (_dl_starting_up_internal): Remove declaration.
11756         (_dl_starting_up): Use rtld_hidden_proto.
11757         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11758         declaration.
11759         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11760         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11761         _dl_starting_up.
11762         * elf/dl-writev.h (_dl_writev): Likewise.
11763         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11764         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11765         _dl_starting_up_internal.
11767 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11769         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11770         test-skeleton.c.
11772 2014-11-05  Will Newton  <will.newton@linaro.org>
11774         * benchtests/Makefile: (bench-malloc): Add malloc thread
11775         scalability benchmark.
11776         * benchtests/bench-malloc-threads.c: New file.
11778 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
11780         * sysdeps/aarch64/strchrnul.S: New file.
11782 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11784         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11785         definition.
11786         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11787         Likwise.
11788         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11789         Likewise.
11790         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11791         Likewise.
11792         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11793         Likewise.
11794         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11795         Likewise.
11797 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
11799         * catgets/test-gencat.c: Use test-skeleton.c.
11800         * catgets/tst-catgets.c: Likewise.
11801         * csu/tst-empty.c: Likewise.
11802         * elf/tst-audit2.c: Likewise.
11803         * elf/tst-global1.c: Likewise.
11804         * elf/tst-pathopt.c: Likewise.
11805         * elf/tst-piemod1.c: Likewise.
11806         * elf/tst-tls10.c: Likewise.
11807         * elf/tst-tls11.c: Likewise.
11808         * elf/tst-tls12.c: Likewise.
11809         * gnulib/tst-gcc.c: Likewise.
11810         * iconvdata/tst-e2big.c: Likewise.
11811         * iconvdata/tst-loading.c: Likewise.
11812         * iconv/tst-iconv1.c: Likewise.
11813         * iconv/tst-iconv2.c: Likewise.
11814         * inet/test-inet6_opt.c: Likewise.
11815         * inet/tst-gethnm.c: Likewise.
11816         * inet/tst-network.c: Likewise.
11817         * inet/tst-ntoa.c: Likewise.
11818         * intl/tst-codeset.c: Likewise.
11819         * intl/tst-gettext2.c: Likewise.
11820         * intl/tst-gettext3.c: Likewise.
11821         * intl/tst-ngettext.c: Likewise.
11822         * intl/tst-translit.c: Likewise.
11823         * io/test-stat.c: Likewise.
11824         * libio/test-fmemopen.c: Likewise.
11825         * libio/tst-freopen.c: Likewise.
11826         * libio/tst-sscanf.c: Likewise.
11827         * libio/tst-ungetwc1.c: Likewise.
11828         * libio/tst-ungetwc2.c: Likewise.
11829         * libio/tst-widetext.c: Likewise.
11830         * localedata/tst-ctype.c: Likewise.
11831         * localedata/tst-digits.c: Likewise.
11832         * localedata/tst-leaks.c: Likewise.
11833         * localedata/tst-mbswcs1.c: Likewise.
11834         * localedata/tst-mbswcs2.c: Likewise.
11835         * localedata/tst-mbswcs3.c: Likewise.
11836         * localedata/tst-mbswcs4.c: Likewise.
11837         * localedata/tst-mbswcs5.c: Likewise.
11838         * localedata/tst-setlocale.c: Likewise.
11839         * localedata/tst-trans.c: Likewise.
11840         * localedata/tst-wctype.c: Likewise.
11841         * localedata/tst-xlocale1.c: Likewise.
11842         * login/tst-grantpt.c: Likewise.
11843         * malloc/tst-calloc.c: Likewise.
11844         * malloc/tst-malloc.c: Likewise.
11845         * malloc/tst-mallocstate.c: Likewise.
11846         * malloc/tst-mcheck.c: Likewise.
11847         * malloc/tst-mtrace.c: Likewise.
11848         * malloc/tst-obstack.c: Likewise.
11849         * math/atest-exp2.c: Likewise.
11850         * math/atest-exp.c: Likewise.
11851         * math/atest-sincos.c: Likewise.
11852         * math/test-matherr.c: Likewise.
11853         * math/test-misc.c: Likewise.
11854         * math/test-powl.c: Likewise.
11855         * math/tst-definitions.c: Likewise.
11856         * misc/tst-dirname.c: Likewise.
11857         * misc/tst-efgcvt.c: Likewise.
11858         * misc/tst-fdset.c: Likewise.
11859         * misc/tst-hsearch.c: Likewise.
11860         * misc/tst-mntent2.c: Likewise.
11861         * nptl/tst-sem7.c: Likewise.
11862         * nptl/tst-sem8.c: Likewise.
11863         * nptl/tst-sem9.c: Likewise.
11864         * nss/test-netdb.c: Likewise.
11865         * posix/tst-fnmatch.c: Likewise.
11866         * posix/tst-getlogin.c: Likewise.
11867         * posix/tst-gnuglob.c: Likewise.
11868         * posix/tst-mmap.c: Likewise.
11869         * pwd/tst-getpw.c: Likewise.
11870         * resolv/tst-inet_ntop.c: Likewise.
11871         * rt/tst-timer.c: Likewise.
11872         * stdio-common/test-fseek.c: Likewise.
11873         * stdio-common/test-popen.c: Likewise.
11874         * stdio-common/test-vfprintf.c: Likewise.
11875         * stdio-common/tst-cookie.c: Likewise.
11876         * stdio-common/tst-fileno.c: Likewise.
11877         * stdio-common/tst-gets.c: Likewise.
11878         * stdio-common/tst-obprintf.c: Likewise.
11879         * stdio-common/tst-perror.c: Likewise.
11880         * stdio-common/tst-sprintf2.c: Likewise.
11881         * stdio-common/tst-sprintf3.c: Likewise.
11882         * stdio-common/tst-sprintf.c: Likewise.
11883         * stdio-common/tst-swprintf.c: Likewise.
11884         * stdio-common/tst-tmpnam.c: Likewise.
11885         * stdio-common/tst-unbputc.c: Likewise.
11886         * stdio-common/tst-wc-printf.c: Likewise.
11887         * stdlib/tst-environ.c: Likewise.
11888         * stdlib/tst-fmtmsg.c: Likewise.
11889         * stdlib/tst-limits.c: Likewise.
11890         * stdlib/tst-rand48-2.c: Likewise.
11891         * stdlib/tst-rand48.c: Likewise.
11892         * stdlib/tst-random2.c: Likewise.
11893         * stdlib/tst-random.c: Likewise.
11894         * stdlib/tst-strtol.c: Likewise.
11895         * stdlib/tst-strtoll.c: Likewise.
11896         * stdlib/tst-tls-atexit.c: Likewise.
11897         * stdlib/tst-xpg-basename.c: Likewise.
11898         * string/test-ffs.c: Likewise.
11899         * string/tst-bswap.c: Likewise.
11900         * string/tst-inlcall.c: Likewise.
11901         * string/tst-strtok.c: Likewise.
11902         * string/tst-strxfrm.c: Likewise.
11903         * sysdeps/x86_64/tst-audit10.c: Likewise.
11904         * sysdeps/x86_64/tst-audit3.c: Likewise.
11905         * sysdeps/x86_64/tst-audit4.c: Likewise.
11906         * sysdeps/x86_64/tst-audit5.c: Likewise.
11907         * time/tst-ftime_l.c: Likewise.
11908         * time/tst-getdate.c: Likewise.
11909         * time/tst-mktime3.c: Likewise.
11910         * time/tst-mktime.c: Likewise.
11911         * time/tst-posixtz.c: Likewise.
11912         * time/tst-strptime2.c: Likewise.
11913         * time/tst-strptime3.c: Likewise.
11914         * wcsmbs/tst-btowc.c: Likewise.
11915         * wcsmbs/tst-mbrtowc.c: Likewise.
11916         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11917         * wcsmbs/tst-wchar-h.c: Likewise.
11918         * wcsmbs/tst-wcpncpy.c: Likewise.
11919         * wcsmbs/tst-wcrtomb.c: Likewise.
11920         * wcsmbs/tst-wcsnlen.c: Likewise.
11921         * wcsmbs/tst-wcstof.c: Likewise.
11923 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11925         [BZ #14132]
11926         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11927         INTDEF.
11928         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11929         declaration.
11930         (_dl_mcount): Use rtld_hidden_proto.
11931         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11932         _dl_mcount.
11933         * elf/rtld.c (_rtld_global_ro): Likewise.
11935         [BZ #14132]
11936         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11937         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11938         of _dl_init_internal.
11939         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11940         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11941         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11942         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11943         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11944         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11945         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11946         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11947         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11948         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11949         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11950         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11951         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11952         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11953         * sysdeps/tile/dl-start.S (_start): Likewise.
11954         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11955         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11957         [BZ #14132]
11958         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11959         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11960         (rtld_progname): Make macro definition unconditional.
11961         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11962         INTDEF.
11963         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11964         (dl_main): Likewise.
11965         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11966         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11967         instead of _dl_argv_internal.
11968         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11969         __GI__dl_argv instead of INTUSE(_dl_argv).
11970         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11971         __GI__dl_argv instead of _dl_argv_internal.
11973         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11974         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11975         macro.
11976         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11977         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11978         New macro.
11979         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11980         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11981         macro.
11982         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11983         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11985 2014-11-04  Andreas Schwab  <schwab@suse.de>
11987         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11989 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11991         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11992         mtvsrd instruction in binary form.
11994 2014-11-03  Andreas Schwab  <schwab@suse.de>
11996         [BZ #17522]
11997         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11998         for less than MB_LEN_MAX use a local buffer of that size.
11999         * libio/tst-fputws.c: New file.
12000         * libio/Makefile (tests): Add tst-fputws.
12002 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12004         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12005         the size of the fpu_fr.fpu_dregs[] array.
12007 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12009         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12010         (__nanosleep): Do not define as alias.
12011         (nanosleep): Define as alias of __nanosleep.
12012         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12013         __libc_nanosleep name.
12015 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12017         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12018         install.texi in comment.
12020 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12022         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12023         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12024         ... add here and use lwsync or sync ...
12025         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12026         ... and add here using lwsync.
12028 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12030         * elf/dl-machine-reject-phdr.h: New file.
12031         * elf/dl-load.c: #include that.
12032         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12033         if that returned true.
12035 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12037         [BZ #17496]
12038         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12039         gen-as-const-headers chunk.  Add a big scare comment after the last
12040         safe place to touch before-compile.
12042 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12044         * manual/install.texi (Tools for Compilation): Update autoconf
12045         version requirements.
12046         * INSTALL: Regenerated.
12048         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12049         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12050         (__libc_pselect): Likewise.
12052         [BZ #14138]
12053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12058 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12060         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12061         correct barrier instruction.
12062         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12063         Likewise.
12064         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12065         Likewise.
12067 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12069         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12070         after defining inlines.  Instead, just use parens to defeat macro
12071         expansion of __isctype in its declaration.
12073 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12075         * include/sys/uio.h (__libc_readv): Remove declaration.
12076         (__libc_writev): Likewise.
12077         * misc/readv.c (__libc_readv): Rename to __readv.
12078         (__readv): Do not define as alias.
12079         (readv): Define as alias of __readv.
12080         * misc/writev.c (__libc_writev): Rename to __writev.
12081         (__writev): Do not define as alias.
12082         (writev): Define as alias of __writev.
12083         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12084         (__readv): Do not define as alias.
12085         (readv): Define unconditionally as alias of __readv.
12086         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12087         (__writev): Do not define as alias.
12088         (writev): Define unconditionally as alias of __writev.
12089         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12090         name.
12091         (writev): Do not define __libc_writev name.
12093 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12095         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12096         (convert_charseq): New function, broken out of ...
12097         (use_from_charmap): ... here.  Call it.
12098         (use_to_charmap): Use convert_charseq and free instead of duplicating
12099         its code with a variable-length stack struct.
12101 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12103         * include/fcntl.h (__libc_creat): Remove declaration.
12104         * io/creat.c (__libc_creat): Rename to creat.
12105         (creat): Do not define as alias.
12106         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12107         of creat instead of __libc_creat.
12108         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12109         to creat.
12110         (creat): Do not define as alias.
12111         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12112         __libc_creat.
12113         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12114         __libc_creat name.
12115         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12116         Likewise.
12118 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12120         * manual/llio.texi: Add comments discussing why write() may be
12121         considered MT-unsafe on Linux.
12123 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12125         * dl-load.c (local_strdup): Remove.
12126         (expand_dynamic_string_token): Use __strdup.
12127         (decompose_rpath): Likewise.
12128         (_dl_map_object): Likewise.
12130 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12132         [BZ #14132]
12133         * sysdeps/generic/unwind-dw2-fde.c
12134         (__register_frame_info_bases_internal): Do not declare.
12135         (__register_frame_info_table_bases_internal): Likewise.
12136         (__deregister_frame_info_bases_internal): Likewise.
12137         (__register_frame_info_bases): Declare and use hidden_proto before
12138         definition.  Use hidden_def instead of INTDEF.
12139         (__register_frame_info_table_bases): Likewise.
12140         (__deregister_frame_info_bases): Likewise.
12141         (__register_frame_info): Do not use INTUSE.
12142         (__register_frame): Likewise.
12143         (__register_frame_info_table): Likewise.
12144         (__register_frame_table): Likewise.
12145         (__deregister_frame_info): Likewise.
12146         (__deregister_frame): Likewise.
12148 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12150         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12151         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12152         not undefine.
12153         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12154         Likewise.
12155         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12156         Likewise.
12158 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12160         [BZ #14138]
12161         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12162         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12163         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12164         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12165         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12166         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12167         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12168         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12169         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12170         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12171         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12172         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12173         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12174         syscall.
12175         (setfsuid): Likewise.
12176         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12177         (setfsuid): Likewise.
12178         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12179         (setfsuid): Likewise.
12180         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12181         Likewise.
12182         (setfsuid): Likewise.
12183         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12184         (setfsuid): Likewise.
12185         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12186         Likewise.
12187         (setfsuid): Likewise.
12189 2014-10-27  Andreas Schwab  <schwab@suse.de>
12191         [BZ #17501]
12192         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12193         check for Slow_SSE4_2 feature bit.
12194         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12195         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12196         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12197         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12199 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12201         * configure.ac: Validate compiler version with a empirical test of
12202         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12203         $CC -v output.
12204         * configure: Regenerated.
12206         * inet/htons.c (htons): Prototypify.
12207         * inet/htonl.c (htonl): Likewise.
12209 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12211         * string/strncat.c (strncat): Improve performance by using strlen.
12213 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12215         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12217 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12219         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12220         Call libc_fetestexcept_aarch64.
12222 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12224         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12225         Call libc_feholdexcept_aarch64.
12227 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12229         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12230         Call get_rounding_mode.
12232 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12234         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12235         Simplify logic.
12237 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12239         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12240         Simplify logic.
12242 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12244         [BZ #14138]
12245         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12246         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12247         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12248         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12249         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12250         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12251         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12252         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12253         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12254         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12255         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12256         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12257         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12258         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12259         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12260         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12261         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12262         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12263         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12264         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12265         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12266         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12267         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12268         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12269         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12270         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12271         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12272         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12273         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12274         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12275         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12276         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12277         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12278         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12279         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12280         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12281         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12282         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12283         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12284         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12285         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12286         syscall.
12287         (geteuid): Likewise.
12288         (getgid): Likewise.
12289         (getuid): Likewise.
12290         (getresgid): Likewise.
12291         (getresuid): Likewise.
12292         (getgroups): Likewise.
12293         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12294         (geteuid): Likewise.
12295         (getgid): Likewise.
12296         (getuid): Likewise.
12297         (getresgid): Likewise.
12298         (getresuid): Likewise.
12299         (getgroups): Likewise.
12300         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12301         (geteuid): Likewise.
12302         (getgid): Likewise.
12303         (getuid): Likewise.
12304         (getresgid): Likewise.
12305         (getresuid): Likewise.
12306         (getgroups): Likewise.
12307         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12308         Likewise.
12309         (geteuid): Likewise.
12310         (getgid): Likewise.
12311         (getuid): Likewise.
12312         (getresgid): Likewise.
12313         (getresuid): Likewise.
12314         (getgroups): Likewise.
12315         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12316         (geteuid): Likewise.
12317         (getgid): Likewise.
12318         (getuid): Likewise.
12319         (getresgid): Likewise.
12320         (getresuid): Likewise.
12321         (getgroups): Likewise.
12322         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12323         Likewise.
12324         (geteuid): Likewise.
12325         (getgid): Likewise.
12326         (getuid): Likewise.
12327         (getgroups): Likewise.
12329         [BZ #14138]
12330         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12331         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12332         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12333         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12334         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12335         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12336         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12337         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12338         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12339         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12340         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12341         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12342         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12343         __chown.
12344         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12345         (lchown): Likewise.
12346         (fchown): Likewise.
12347         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12348         Likewise.
12349         (lchown): Likewise.
12350         (fchown): Likewise.
12351         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12352         (lchown): Likewise.
12353         (fchown): Likewise.
12354         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12355         Likewise.
12356         (lchown): Likewise.
12357         (fchown): Likewise.
12359 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12361         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12362         Simplify logic.
12364 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12366         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12367         Cleanup logic.
12369 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12371         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12372         Remove unused include.
12374 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12376         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12377         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12378         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12379         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12381 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12382             Helge Deller <deller@gmx.de>
12384         [BZ #17508]
12385         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12386         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12387         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12389 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12391         [BZ #14132]
12392         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12393         Remove macro definition.
12394         (__ashrdi3_v_glibc20): Likewise.
12395         (__lshrdi3_v_glibc20): Likewise.
12396         (__cmpdi2_v_glibc20): Likewise.
12397         (__ucmpdi2_v_glibc20): Likewise.
12398         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12399         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12400         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12401         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12402         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12403         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12405 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12407         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12408         old GNU extension [0] syntax.
12409         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12410         alloca rather than an array member with variable length.
12411         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12412         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12413         (parse_opt): ... here.  Likewise use alloca there.
12414         Validate the -i argument before checking for rootness.
12415         (send_shutdown): New function, broken out of ...
12416         (parse_opt): ... here.
12418 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12420         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12421         macro to get at the _rt_local_ro field.
12422         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12423         ([PIC] case) or _dl_hwcap ([!PIC] case).
12424         * sysdeps/arm/setjmp.S: Likewise.
12426         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12427         * sysdeps/arm/configure.ac: New check to define it.
12428         * sysdeps/arm/configure: Regenerated.
12429         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12430         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12431         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12432         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12433         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12434         Use move/movt pair instead of a load.
12435         (LDST_GLOBAL): Macro removed.
12436         (LDR_GLOBAL): New macro replaces it.
12437         (LDR_HIDDEN): New macro.
12438         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12439         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12441         * setjmp/tst-setjmp-static.c: New file.
12442         * setjmp/Makefile (tests): Add it.
12443         (tests-static): New variable.
12445 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12447         [BZ #17485]
12448         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12450 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12452         [BZ #14132]
12453         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12455 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12457         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12459 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12461         * io/fts.c (dirent_not_directory): New function.
12462         (fts_build): Call it.
12464 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12466         * nptl/version.c (__nptl_main): Use normal __write rather than
12467         INTERNAL_SYSCALL.
12468         (banner): Update copyright years.
12470         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12471         gettimeofday.
12472         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12473         * nptl/pthread_cond_timedwait.c: Likewise.
12474         * nptl/pthread_mutex_timedlock.c: Likewise.
12475         * nptl/sem_timedwait.c: Likewise.
12477         * sysdeps/nptl/bits/libc-lock.h
12478         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12479         (__libc_lock_init_recursive): Return void, not 0.
12480         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12481         (__libc_rwlock_init): Likewise.
12482         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12484 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12486         [BZ #15215]
12487         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12488         (__pthread_once_slow): ... here.
12489         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12490         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12492 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12494         [BZ #15215]
12495         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12496         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12497         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12498         * nptl/pthread_once.c (__pthread_once): Likewise.
12499         Update comments.
12501 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12503         [BZ #14138]
12504         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12505         name.
12506         (writev): Use __libc_writev as strong name.
12507         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12508         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12510 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12512         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12514         * sysdeps/i386/nptl/tls.h
12515         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12516         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12517         New macros.
12518         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12519         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12520         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12521         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12522         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12523         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12525         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12526         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12527         on [__NR_futex].
12528         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12529         broken out of ...
12530         (__pthread_mutex_init): ... here.  Call it.
12531         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12532         Conditionalize PI cases on [__NR_futex].
12533         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12534         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12535         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12537         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12538         conditional on [SIGSETXID].
12539         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12540         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12541         is defined.  Likewise for SIGSETXID.
12542         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12543         Conditionalize definitions on [SIGSETXID].
12544         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12545         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12546         unblocking on [SIGCANCEL].
12548         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12549         [__NR_set_robust_list].
12551 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12553         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12554         (do_compare): Likewise.
12556 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12558         [BZ #15884]
12559         * string/strcoll_l.c: Don't include stdio.h.
12560         (coll_seq): Remove members idxarr and rulearr.
12561         (get_next_seq_cached): Remove function.
12562         (get_next_seq): Likewise.
12563         (get_next_seq_nocache): Rename to get_next_seq.
12564         (do_compare): Remove function.
12565         (do_compare_nocache): Rename to do_compare.
12566         (STRCOLL): Remove weight and rules cache.
12568 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12570         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12571         * sysdeps/arm/sfp-machine.h: ... to here.
12572         * sysdeps/arm/Implies: Remove arm/soft-fp.
12574 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12576         * conform/data/sys/utsname.h-data (*_t): Allow.
12577         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12578         [POSIX] (WEXITED): Do not expect constant.
12579         [POSIX] (WSTOPPED): Likewise.
12580         [POSIX] (WNOHANG): Likewise.
12581         [POSIX] (WNOWAIT): Likewise.
12582         [POSIX] (siginfo_t): Do not expect type or elements.
12583         [POSIX] (pid_t): Do not expect type.
12584         [POSIX] (signal.h): Do not allow header.
12585         [POSIX] (sys/resource.h): Likewise.
12586         [POSIX] (si_*): Do not allow pattern.
12587         [POSIX] (W*): Likewise.
12588         [POSIX] (P_*): Likewise.
12589         [POSIX] (BUS_*): Likewise.
12590         [POSIX] (CLD_*): Likewise.
12591         [POSIX] (FPE_*): Likewise.
12592         [POSIX] (ILL_*): Likewise.
12593         [POSIX] (POLL_*): Likewise.
12594         [POSIX] (SEGV_*): Likewise.
12595         [POSIX] (SI_*): Likewise.
12596         [POSIX] (TRAP_*): Likewise.
12597         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12598         variable.
12600 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12602         [BZ #12926]
12603         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12604         infinite loop when __recvmsg returns 0.
12606 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12608         * CANCEL-FCT-WAIVE: Remove file.
12609         * CANCEL-FILE-WAIVE: Likewise.
12611         [BZ #14132]
12612         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12613         instead of INTVARDEF.
12614         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12615         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12616         rtld_hidden_data_def instead of INTVARDEF.
12617         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12618         * elf/dl-deps.c (expand_dst): Likewise.
12619         * elf/dl-load.c (_dl_dst_count): Likewise.
12620         (_dl_dst_substitute): Likewise.
12621         (decompose_rpath): Likewise.
12622         (_dl_init_paths): Likewise.
12623         (open_path): Likewise.
12624         (_dl_map_object): Likewise.
12625         * elf/rtld.c (dl_main): Likewise.
12626         (process_dl_audit): Likewise.
12627         (process_envvars): Likewise.
12628         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12629         Remove declaration.
12630         (__libc_enable_secure): Use rtld_hidden_proto.
12632 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12634         * elf/dl-load.c
12635         (add_path): New function broken out of _dl_rtld_di_serinfo.
12636         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12638 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12640         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12641         parentheses around macro arguments.
12642         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12643         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12644         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12645         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12646         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12647         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12648         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12649         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12650         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12651         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12652         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12653         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12654         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12655         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12656         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12657         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12658         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12659         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12660         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12661         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12662         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12663         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12664         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12665         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12666         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12667         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12668         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12669         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12670         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12671         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12672         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12673         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12674         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12675         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12676         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12677         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12678         Likewise.
12679         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12680         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12681         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12682         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12683         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12684         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12685         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12686         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12687         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12688         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12689         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12690         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12691         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12692         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12693         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12694         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12695         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12696         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12697         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12698         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12699         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12700         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12701         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12702         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12703         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12704         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12705         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12706         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12707         (_FP_FRAC_SRS_1): Likewise.
12708         (_FP_FRAC_CLZ_1): Likewise.
12709         (_FP_MUL_MEAT_1_imm): Likewise.
12710         (_FP_MUL_MEAT_1_wide): Likewise.
12711         (_FP_MUL_MEAT_1_hard): Likewise.
12712         (_FP_SQRT_MEAT_1): Likewise.
12713         (_FP_FRAC_ASSEMBLE_1): Likewise.
12714         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12715         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12716         (__FP_CLZ_2): Likewise.
12717         (_FP_MUL_MEAT_2_wide): Likewise.
12718         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12719         (_FP_MUL_MEAT_2_gmp): Likewise.
12720         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12721         (_FP_SQRT_MEAT_2): Likewise.
12722         (_FP_FRAC_ASSEMBLE_2): Likewise.
12723         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12724         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12725         (_FP_FRAC_CLZ_4): Likewise.
12726         (_FP_MUL_MEAT_4_wide): Likewise.
12727         (_FP_MUL_MEAT_4_gmp): Likewise.
12728         (_FP_SQRT_MEAT_4): Likewise.
12729         (_FP_FRAC_ASSEMBLE_4): Likewise.
12730         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12731         * soft-fp/op-common.h (_FP_CMP): Likewise.
12732         (_FP_CMP_EQ): Likewise.
12733         (_FP_CMP_UNORD): Likewise.
12734         (_FP_TO_INT): Likewise.
12735         (_FP_FROM_INT): Likewise.
12736         [!__FP_CLZ] (__FP_CLZ): Likewise.
12737         (_FP_DIV_HELP_imm): Likewise.
12738         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12739         Likewise.
12740         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12741         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12742         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12743         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12744         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12745         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12746         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12747         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12748         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12749         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12750         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12751         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12752         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12753         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12754         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12755         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12756         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12757         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12758         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12759         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12760         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12761         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12762         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12763         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12764         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12765         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12766         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12767         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12768         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12769         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12770         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12771         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12772         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12773         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12774         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12775         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12776         (FP_UNPACK_RAW_SP): Likewise.
12777         (FP_PACK_RAW_S): Likewise.
12778         (FP_PACK_RAW_SP): Likewise.
12779         (FP_UNPACK_S): Likewise.
12780         (FP_UNPACK_SP): Likewise.
12781         (FP_UNPACK_SEMIRAW_S): Likewise.
12782         (FP_UNPACK_SEMIRAW_SP): Likewise.
12783         (FP_PACK_S): Likewise.
12784         (FP_PACK_SP): Likewise.
12785         (FP_PACK_SEMIRAW_S): Likewise.
12786         (FP_PACK_SEMIRAW_SP): Likewise.
12787         (_FP_SQRT_MEAT_S): Likewise.
12788         (FP_CMP_S): Likewise.
12789         (FP_CMP_EQ_S): Likewise.
12790         (FP_CMP_UNORD_S): Likewise.
12791         (FP_TO_INT_S): Likewise.
12792         (FP_FROM_INT_S): Likewise.
12794         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12796         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12797         (FP_EX_INVALID_IMZ): Likewise.
12798         (FP_EX_INVALID_IMZ_FMA): Likewise.
12799         (FP_EX_INVALID_ISI): Likewise.
12800         (FP_EX_INVALID_ZDZ): Likewise.
12801         (FP_EX_INVALID_IDI): Likewise.
12802         (FP_EX_INVALID_SQRT): Likewise.
12803         (FP_EX_INVALID_CVI): Likewise.
12804         (FP_EX_INVALID_VC): Likewise.
12805         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12806         "invalid" exceptions.
12807         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12808         (_FP_ADD_INTERNAL): Likewise.
12809         (_FP_MUL): Likewise.
12810         (_FP_FMA): Likewise.
12811         (_FP_DIV): Likewise.
12812         (_FP_CMP_CHECK_NAN): Likewise.
12813         (_FP_SQRT): Likewise.
12814         (_FP_TO_INT): Likewise.
12815         (FP_EXTEND): Likewise.
12817 2014-10-09  Allan McRae  <allan@archlinux.org>
12819         * po/fr.po: Update French translation from translation project.
12821 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12823         [BZ #14132]
12824         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12825         of INTDEF.
12826         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12827         (__cxa_atexit): Use libc_hidden_proto.
12828         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12830         [BZ #14132]
12831         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12832         declaration.
12833         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12834         [!_ISOMAC] (__iswspace_l_internal): Likewise.
12835         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12836         [!_ISOMAC] (__iswctype_internal): Likewise.
12837         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12838         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12839         alias.
12840         (fcntl): Remove __fcntl_internal alias.
12841         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12842         __connect_internal alias.
12843         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12844         Likewise.
12846         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12847         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12848         FP_DENORM_ZERO.
12849         (_FP_CHECK_FLUSH_ZERO): New macro.
12850         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12851         (_FP_CMP): Likewise.
12852         (_FP_CMP_EQ): Likewise.
12853         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12854         FP_DENORM_ZERO.
12855         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12856         (FP_TRUNC): Likewise.
12858         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12859         treated as invalid conversion, not as normal exponent.
12861         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12862         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12863         (_FP_CMP_EQ): Likewise.
12864         (_FP_CMP_UNORD): Likewise.
12865         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12866         (FP_CMP_EQ_D): Likewise.
12867         (FP_CMP_UNORD_D): Likewise.
12868         * soft-fp/extended.h (FP_CMP_E): Likewise.
12869         (FP_CMP_EQ_E): Likewise.
12870         (FP_CMP_UNORD_E): Likewise.
12871         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12872         (FP_CMP_EQ_Q): Likewise.
12873         (FP_CMP_UNORD_Q): Likewise.
12874         * soft-fp/single.h (FP_CMP_S): Likewise.
12875         (FP_CMP_EQ_S): Likewise.
12876         (FP_CMP_UNORD_S): Likewise.
12877         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12878         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12879         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12880         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12881         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12882         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12883         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12884         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12885         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12886         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12887         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12888         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12889         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12890         to FP_CMP_Q.
12891         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12892         FP_CMP_Q.
12893         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12894         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12895         FP_CMP_EQ_Q.
12896         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12897         FP_CMP_Q.
12898         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12899         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12900         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12901         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12902         FP_CMP_EQ_Q.
12903         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12904         FP_CMP_Q.
12905         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12906         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12907         FP_CMP_EQ_Q.
12908         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12909         FP_CMP_Q.
12910         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12911         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12912         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12913         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12914         FP_CMP_EQ_Q.
12916         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12917         a subnormal result, set the underflow exception if trapping on
12918         underflow is enabled.
12919         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12920         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12921         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12922         redefine to 0.
12923         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12924         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12925         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12926         * soft-fp/extendxftf2.c (__extendxftf2): Use
12927         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12929         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12930         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12931         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12932         FP_HANDLE_EXCEPTIONS.
12933         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12934         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12935         FP_HANDLE_EXCEPTIONS.
12936         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12937         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12938         FP_HANDLE_EXCEPTIONS.
12939         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12940         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12941         FP_HANDLE_EXCEPTIONS.
12943 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12945         [BZ #14132]
12946         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12947         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12948         use INTUSE.
12949         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12950         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12951         Remove alias.
12952         (__adjtimex): Define using libc_hidden_ver.
12953         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12954         Remove declaration.
12955         (ntp_gettime): Call __adjtimex directly.
12956         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12957         Remove declaration.
12958         (ntp_gettimex): Call __adjtimex directly.
12959         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12960         __adjtimex_internal alias.
12962 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12964         [BZ #17460]
12965         * nscd/nscd.c (more_help): Rewrite list of tables collection
12966         using xstrdup and asprintf.
12968         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12970 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12971             Roland McGrath  <roland@hack.frob.com>
12973         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12974         (do_lookup_unique): ... local function 'enter' here; update callers.
12976 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12978         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12979         compat_symbol calls on [SHARED].
12980         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12981         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12982         Remove.
12983         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12984         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12985         (oldsetrlimit): Remove.
12986         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12988         (lchown): New syscall entry.
12989         (oldsetrlimit): Remove.
12990         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12991         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12992         (oldsetrlimit): Remove.
12993         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12995         [BZ #14138]
12996         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12997         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12998         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12999         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13000         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13001         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13002         (fchown): Likewise.
13003         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13004         (fchown): Likewise.
13005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13006         Likewise.
13008 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13010         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13011         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13012         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13013         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13014         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13015         Likewise.
13016         (__old_sem_post): Likewise.
13018 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13020         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13021         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13022         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13023         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13024         Use INLINE_VSYSCALL macro.
13025         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13026         __vdso_clock_gettime.
13027         * sysdeps/unix/sysv/linux/tile/init-first.c
13028         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13029         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13030         __vdso_clock_gettime.
13032         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13033         to set up frame more cleanly.
13035         * sysdeps/tile/memcmp.c: New file.
13037         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13039         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13040         * sysdeps/tile/tilegx/strcasestr.c: New file.
13041         * sysdeps/tile/tilegx/strnlen.c: New file.
13042         * sysdeps/tile/tilegx/strstr.c: New file.
13044         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13046 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13048         * nptl/tst-setuid3.c: Write errors to stdout.
13050 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13052         * elf/dl-deps.c
13053         (preload): New functions broken out of _dl_map_object_deps.
13054         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13056 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13058         [BZ #14138]
13059         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13060         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13062 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13064         * sysdeps/mips/strcmp.S: New.
13066 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13068         [BZ #14138]
13069         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13070         (linkat): Likewise.
13071         (mkdirat): Likewise.
13072         (readlinkat): Likewise.
13073         (renameat): Likewise.
13074         (symlinkat): Likewise.
13075         (unlinkat): Likewise.
13076         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13077         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13078         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13079         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13080         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13081         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13082         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13084 2014-09-30  Will Newton  <will.newton@linaro.org>
13086         * math/math.h: Define long double math functions if
13087         _LIBC_TEST is defined.
13088         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13090         * localedata/Makefile: Move assignment to tests-special
13091         into an ifdef testing run-built-tests.
13092         * timezone/Makefile: Likewise.
13094 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13096         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13097         with $(BASH) not $(SHELL).
13099 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13100             Matthew LeGendre  <legendre1@llnl.gov>
13102         [BZ #17411]
13103         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13104         l_reloc_result.
13106 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13108         * stdio-common/printf_fp.c
13109         (hack_digit): New function, broken out of ...
13110         (__printf_fp): ... local function here.  Update call sites.
13111         hack_digit now takes an additional parameter that is a pointer
13112         to a struct of the referenced locals.  Those locals moved inside
13113         the struct and references updated.
13115 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13117         * aclocal.m4: Require autoconf 2.69.
13118         * configure: Regenerated.
13119         * sysdeps/aarch64/configure: Likewise.
13120         * sysdeps/alpha/configure: Likewise.
13121         * sysdeps/arm/armv7/configure: Likewise.
13122         * sysdeps/arm/configure: Likewise.
13123         * sysdeps/ia64/configure: Likewise.
13124         * sysdeps/mach/configure: Likewise.
13125         * sysdeps/mips/configure: Likewise.
13126         * sysdeps/s390/configure: Likewise.
13127         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13130         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13131         file.
13132         * sysdeps/ia64/configure.ac: Likewise.
13134 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13137         specify symbol version for ld.so.  Do not include entry for
13138         libpthread.
13139         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13140         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13141         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13143         [BZ #14171]
13144         * Makeconfig [$(build-shared) = yes]
13145         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13146         makefiles.
13147         [$(build-shared) = yes && $(soversions.mk-done) = t]
13148         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13149         [$(build-shared) = yes && $(soversions.mk-done) = t]
13150         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13151         to Makerules.
13152         [$(build-shared) = yes && $(soversions.mk-done) = t]
13153         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13154         here.
13155         [$(build-shared) = yes && $(soversions.mk-done) = t]
13156         (common-generated): Don't append gnu/lib-names.h and
13157         gnu/lib-names.stmp here.
13158         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13159         (lib-names-h-abi): New variable.
13160         [$(build-shared) = yes && $(soversions.mk-done) = t]
13161         (lib-names-stmp-abi): Likewise.
13162         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13163         abi-variants] (before-compile): Append
13164         $(common-objpfx)$(lib-names-h-abi).
13165         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13166         abi-variants] (common-generated): Append gnu/lib-names.h.
13167         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13168         abi-variants] (install-others-nosubdir): Depend on
13169         $(inst_includedir)/$(lib-names-h-abi).
13170         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13171         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13172         [$(build-shared) = yes && $(soversions.mk-done) = t]
13173         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13174         [$(build-shared) = yes && $(soversions.mk-done) = t]
13175         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13176         [$(build-shared) = yes && $(soversions.mk-done) = t]
13177         (common-generated): Append $(lib-names-h-abi) and
13178         $(lib-names-stmp-abi).
13179         * scripts/lib-names.awk: Do not handle multi being set.
13180         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13181         Remove variable.
13182         (abi-lp64_be-ld-soname): Likewise.
13183         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13184         Likewise.
13185         (abi-hard-ld-soname): Likewise.
13186         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13187         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13188         Remove variable.
13189         (abi-o32_hard-ld-soname): Likewise.
13190         (abi-o32_soft_2008-ld-soname): Likewise.
13191         (abi-o32_hard_2008-ld-soname): Likewise.
13192         (abi-n32_soft-ld-soname): Likewise.
13193         (abi-n32_hard-ld-soname): Likewise.
13194         (abi-n32_soft_2008-ld-soname): Likewise.
13195         (abi-n32_hard_2008-ld-soname): Likewise.
13196         (abi-n64_soft-ld-soname): Likewise.
13197         (abi-n64_hard-ld-soname): Likewise.
13198         (abi-n64_soft_2008-ld-soname): Likewise.
13199         (abi-n64_hard_2008-ld-soname): Likewise.
13200         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13201         Likewise.
13202         (abi-64-v2-ld-soname): Likewise.
13203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13204         ld.so entries.
13205         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13206         variable.
13207         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13208         entry.
13209         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13210         variable.
13211         (abi-64-ld-soname): Likewise.
13212         (abi-x32-ld-soname): Likewise.
13213         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13214         entry.
13215         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13217 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13219         [BZ #14138]
13220         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13221         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13222         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13223         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13224         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13225         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13226         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13227         syscall entry for GLIBC_2.2 symbol version.
13228         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13229         Likewise.
13230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13231         (setrlimit): Likewise.
13232         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13233         Likewise.
13235 2014-09-23  Will Newton  <will.newton@linaro.org>
13237         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13238         _LINUX_ARM_SYSDEP_H include guard too.
13239         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13240         define.
13242 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13244         * sysdeps/unix/sysv/linux/eventfd.c:
13245         Make first argument unsigned.
13246         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13247         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13249 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13251         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13252         * socket/sys/socket.h: Likewise
13253         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13255 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13257         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13259 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13261         * time/tst-ftime.c: New test.
13262         * time/Makefile (tests): Add tst-ftime.
13264 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13266         * soft-fp/extended.h: Fix comment formatting.
13267         * soft-fp/op-1.h: Likewise.
13268         * soft-fp/op-2.h: Likewise.
13269         * soft-fp/op-4.h: Likewise.
13270         * soft-fp/op-8.h: Likewise.
13271         * soft-fp/op-common.h: Likewise.
13272         * soft-fp/soft-fp.h: Likewise.
13274         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13276 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13278         [BZ #6652]
13279         * Makeconfig (soversions-default-setname): Remove variable.
13280         ($(common-objpfx)soversions.i): Don't pass default_setname to
13281         soversions.awk.
13282         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13283         oldest_abi to abi-versions.awk.
13284         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13285         * config.make.in (oldest-abi): Remove variable.
13286         * configure.ac (--enable-oldest-abi): Remove configure option.
13287         * configure: Regenerated.
13288         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13289         text.
13290         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13291         * scripts/soversions.awk: Do not handle default_setname variable.
13292         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13293         variable.
13294         * sysdeps/mach/hurd/configure: Regenerated.
13295         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13296         variable.
13297         * sysdeps/unix/sysv/linux/configure: Regenerated.
13299 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13301         * elf/Makefile (CFLAGS-interp.c): Remove.
13302         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13303         path string.
13304         * elf/interp.c: Include generated runtime-linker.h
13306         * Makerules (lib%.so): Don't include $(+interp) in
13307         prerequisites.
13308         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13309         * dlfcn/eval.c: Remove file.
13311         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13312         macros.
13314         [BZ #17266]
13315         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13316         4.2 and newer.
13318         [BZ #17370]
13319         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13321 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13322             Jakub Jelinek  <jakub@redhat.com>
13324         [BZ #17266]
13325         * libio/stdio.h: Check definition of __fortify_function
13326         instead of __extern_always_inline to include bits/stdio2.h.
13327         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13328         check if __extern_always_inline is defined.
13329         [__USE_MISC || __USE_XOPEN]: Likewise.
13330         [__USE_ISOC99] Likewise.
13331         * misc/sys/cdefs.h (__fortify_function): Define only if
13332         __extern_always_inline is defined.
13333         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13334         __extern_always_inline and __extern_inline only for g++-4.3
13335         and newer or a compatible gcc.
13337 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13339         [BZ #17371]
13340         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13341         last change to handle zero prefix length.
13343 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13345         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13346         _SC_REGEX_VERSION.
13348         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13349         _POSIX_RAW_SOCKETS.
13351 2014-09-13  Allan McRae  <allan@archlinux.org>
13353         * po/ru.po: Update Russian translation from translation project.
13355 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13357         * locale/programs/locale.c (show_locale_vars): Inline local function
13358         into its sole call site.  Clean up some style nits.
13359         (print_item): New function, broken out of ...
13360         (show_info): ... local function here.  Clean up style nits.
13362         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13363         out of ...
13364         (set_class_defaults): ... local function set_default here.
13365         Define set_default as a macro locally to pass constant parameters.
13366         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13367         rather than a shared local.
13369         * stdlib/rpmatch.c (try): New function, broken out of ...
13370         (rpmatch): ... local function here.  Also, prototypify definition.
13372 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13374         * scripts/soversions.awk: Do not handle configuration names.
13375         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13376         vendor and os variables to soversions.awk.
13377         * configure.ac: Do not modify gnu-* host_os.
13378         * configure: Regenerated
13379         * shlib-versions: Remove first column with configuration names.
13380         * nptl/shlib-versions: Likewise.
13381         * nptl_db/shlib-versions: Likewise.
13382         * sysdeps/hppa/shlib-versions: Likewise.
13383         * sysdeps/m68k/shlib-versions: Likewise.
13384         * sysdeps/mach/hurd/shlib-versions: Likewise.
13385         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13386         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13387         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13388         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13389         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13390         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13391         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13392         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13394         Likewise.
13395         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13396         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13397         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13398         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13399         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13400         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13401         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13402         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13405         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13407         Regenerated.
13408         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13410         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13412         * shlib-versions: Remove OS-specific entries.  Moved to files in
13413         sysdeps.
13414         * sysdeps/mach/hurd/shlib-versions: New file.
13415         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13417         * nptl/shlib-versions: Remove architecture-specific entries.
13418         Moved to files in sysdeps.
13419         * shlib-versions: Likewise.
13420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13421         file.
13422         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13423         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13424         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13425         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13427         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13428         (UDP_NO_CHECK6_RX): Likewise.
13430 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13432         * sysdeps/posix/sysconf.c (__sysconf): Spell
13433         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13435 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13437         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13438         loading.
13439         * iconv/Versions (__gconv_transliterate): Export for use from
13440         gconv modules.
13441         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13442         (struct __gconv_trans_data, __gconv_trans_fct,
13443         __gconv_trans_context_fct, __gconv_trans_query_fct,
13444         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13445         definitions.
13446         (struct __gconv_step_data): Remove __trans member.
13447         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13448         longer hidden.  Remove unused trans_data argument.
13449         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13450         (__gconv_translit_find): Remove declaration.
13451         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13452         prototype.
13453         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13454         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13455         trans_data argument.  Add hidden definition.
13456         (__gconv_translit_find): Remove.
13457         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13458         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13459         * iconv/skeleton.c: Remove transliteration initialization.
13460         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13461         __gconv_step_data initialization.
13462         * libio/iofwide.c (__libio_translit_): Remove.
13463         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13464         * wcsmbs/btowc.c (__btowc): Likewise.
13465         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13466         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13467         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13468         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13469         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13470         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13471         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13472         * wcsmbs/wctob.c (wctob): Likewise.
13474 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13476         [BZ #16194]
13477         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13478         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13479         register usage.
13480         * sysdeps/x86/Makefile: Adjust.
13482 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13483             Roland McGrath  <roland@hack.frob.com>
13485         * locale/weight.h: Add include guard.
13486         (findidx): Make static rather than auto; take new parameters
13487         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13488         * locale/weightwc.h: Likewise.
13489         * posix/fnmatch_loop.c
13490         (FCT): Change type of EXTRA from int32_t to wint_t.
13491         Don't include either header inside the function.
13492         Call FINDIDX rather than findidx, and pass new arguments.
13493         #undef FINDIDX at the end of the file.
13494         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13495         FINDIDX before including fnmatch_loop.c for the non-wide version.
13496         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13497         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13498         for the wide version.
13499         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13500         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13501         Pass new arguments to findidx.
13502         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13503         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13504         Don't #include it inside the function.  Pass new arguments to findidx.
13505         * posix/regex_internal.h
13506         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13507         (re_string_elem_size_at): Don't #include it inside the function.
13508         Pass new arguments to findidx.
13509         * string/strcoll_l.c: #include WEIGHT_H at top level.
13510         (get_next_seq): Don't #include it inside the function.
13511         Pass new arguments to findidx.
13512         (get_next_seq_nocache): Likewise.
13513         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13514         (STRXFRM): Don't #include it inside the function.
13515         Pass new arguments to findidx.
13517 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13519         [BZ #17344]
13520         * malloc/malloc.c (unlink): Turn asserts into a call to
13521         malloc_printerr.
13523 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13525         [BZ #17370]
13526         * libio/wfileops (do_ftell_wide): Free OUT.
13528 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13530         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13532 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13534         [BZ #17363]
13535         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13536         group if the current group is empty.
13538 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13540         * benchtests/bench-memset.c (test_main): Add more test from size
13541         from 32 to 512 bytes.
13542         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13543         Add POWER8 memset object.
13544         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13545         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13546         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13547         implementation.
13548         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13549         Likewise.
13550         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13551         multiarch POWER8 memset optimization.
13552         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13553         POWER8 memset optimization.
13555         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13556         Remove bzero multiarch objects.
13557         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13558         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13559         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13560         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13561         Remove define.
13562         [__bzero]: Redefine to specific name.
13563         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13564         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13565         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13566         define.
13567         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13568         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13570 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13572         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13573         warnings into errors.
13575         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13576         __cxa_thread_atexit_impl prototype.
13578 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13580         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13581         Fix capitalization of error message.
13583 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13585         * sysdeps/mips/preconfigure: Modify ABI tests.
13587 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13589         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13591 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13592             Carlos O'Donell  <carlos@systemhalted.org>
13594         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13595         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13596         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13597         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13598         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13599         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13600         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13601         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13602         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13603         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13604         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13605         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13606         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13607         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13608         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13609         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13610         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13611         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13612         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13613         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13614         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13615         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13616         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13617         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13618         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13619         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13620         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13621         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13622         Deconditionalize the code that was previously under [RESET_PID].
13623         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13624         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13625         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13626         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13627         include sysdep.h.
13629 2014-09-08  Allan McRae  <allan@archlinux.org>
13631         * version.h (RELEASE): Set to "development".
13632         (VERSION): Set to "2.20.90"
13634 2014-09-07  Allan McRae  <allan@archlinux.org
13636         * version.h (RELEASE): Set to "stable".
13637         (VERSION): Set to "2.20"
13638         * include/features.h (__GLIBC_MINOR__): Set to 20.
13640         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13641         Liebler.
13643         * po/ko.po: Update Korean translation from translation project.
13645 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13647         [BZ #17354]
13648         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13649         macro for handling signed relocations.
13651 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13653         [BZ #17325]
13654         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13655         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13656         assert.
13657         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13658         * iconvdata/ibm935.c (BODY): Likewise.
13659         * iconvdata/ibm937.c (BODY): Likewise.
13660         * iconvdata/ibm939.c (BODY): Likewise.
13661         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13662         assert.
13663         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13664         script.
13665         * iconvdata/run-iconv-test.sh: New test loop for checking for
13666         decoder crashers.
13668 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13670         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13671         libm_hidden_ver.
13673 2014-09-01  Allan McRae  <allan@archlinux.org>
13675         * po/eo.po: Update Esperanto translation from translation project.
13677         * po/ca.po: Update Catalan translation from translation project.
13679 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13681         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13682         __proc_dostop call.
13684 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13686         [BZ #17319]
13687         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13688         to call set_thread_area instead of hand written asm.
13689         (__NR_set_thread_area): Removed define.
13690         (TLS_FLAG_WRITABLE): Likewise.
13691         (__ASSUME_SET_THREAD_AREA): Remove check.
13692         (TLS_EBX_ARG): Remove define.
13693         (TLS_LOAD_EBX): Likewise.
13695 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13697         Simplify atomicity of socket creation in bind.
13699         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13700         looking up the name after linking the file.
13702 2014-08-27  Allan McRae  <allan@archlinux.org>
13704         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13706 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13708         [BZ #17187]
13709         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13710         trans_compare, open_translit, __gconv_translit_find):
13711         Remove module loading code.
13713 2014-08-26  Allan McRae  <allan@archlinux.org>
13715         * po/vi.po: Update Vietnamese translation from translation project.
13717         * po/uk.po: Update Ukrainian translation from translation project.
13719         * po/fr.po: Update French translation from translation project.
13721         * po/ru.po: Update Russian translation from translation project.
13723         * po/pl.po: Update Polish translation from translation project.
13725         * po/cs.po: Update Czech translation from translation project.
13727         * po/de.po: Update German translation from translation project.
13729         * po/bg.po: Update Bulgarian translation from translation project.
13731         * po/sv.po: Update Sweedish translation from translation project.
13733         * po/nl.po: Update Dutch translation from translation project.
13735         * po/es.po: Update Spanish translation from translation project.
13737 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13739         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13741         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13742         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13743         (CPPFLAGS-iconvconfig): Likewise.
13744         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13746         * include/libc-symbols.h: Remove unnecessary check for
13747         NOT_IN_libc.
13748         * nptl/pthreadP.h: Likewise.
13749         * sysdeps/aarch64/setjmp.S: Likewise.
13750         * sysdeps/alpha/setjmp.S: Likewise.
13751         * sysdeps/arm/sysdep.h: Likewise.
13752         * sysdeps/i386/setjmp.S: Likewise.
13753         * sysdeps/m68k/setjmp.c: Likewise.
13754         * sysdeps/posix/getcwd.c: Likewise.
13755         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13756         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13757         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13758         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13759         * sysdeps/sh/sh3/setjmp.S: Likewise.
13760         * sysdeps/sh/sh4/setjmp.S: Likewise.
13761         * sysdeps/unix/alpha/sysdep.h: Likewise.
13762         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13763         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13764         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13765         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13768         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13769         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13770         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13771         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13772         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13773         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13774         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13775         * sysdeps/x86_64/setjmp.S: Likewise.
13777 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
13779         [BZ #17263]
13780         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13781         <stdint.h>.
13782         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13783         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13785 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13787         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13789         [BZ #17262]
13790         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13791         and __x86_64__ when disabling x87 inline functions.
13793 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13795         [BZ #17259]
13796         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13797         asm statement with __cpuid_count.
13799 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
13801         * configure.ac: Change __ehdr_start code to dereference the struct.
13802         Run readelf on the output to look for relocations.
13803         * configure: Regenerated.
13805 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
13807         [BZ #17261]
13808         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13809         value to 0.
13810         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13812 2014-08-12  Roland McGrath  <roland@hack.frob.com>
13814         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13816 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
13818         [BZ #16892]
13819         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13820         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13822 2014-08-12  Sean Anderson  <seanga2@gmail.com>
13824         * malloc/malloc.c: Fix typo in comment.
13826 2014-08-09  Allan McRae  <allan@archlinux.org>
13828         * Regenerate libc.po.
13830 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
13832         * intl/tst-gettext2.sh: Check every lang file for creation.
13834 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13836         * sysdeps/aarch64/fpu/math_private.h
13837         (libc_feholdsetround_noex_aarch64_ctx): New function.
13839 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13841         * sysdeps/arm/armv6/strcpy.S (strcpy):
13842         Fix performance issue in misaligned cases.
13844 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13846         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13847         Move definition from termios.h.
13848         (struct termio): Likewise.
13849         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13850         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13851         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13852         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13853         Likewise.
13854         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13855         Move definition to ioctl-types.h
13856         (struct termio): Likewise.
13857         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13858         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13859         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13860         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13861         Likewise.
13863 2014-08-05  Richard Henderson  <rth@redhat.com>
13865         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13866         exceptions.
13867         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13868         Add fraiseexcpt.
13869         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13870         Use __feraiseexcept.
13871         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13872         Protect libm symbols with IS_IN_libm.
13874         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13876 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13878         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13880 2014-08-04  Will Newton  <will.newton@linaro.org>
13882         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13883         file.
13885 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13887         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13888         variants for each function.
13890 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13892         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13893         appended ...
13894         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13895         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13896         appended ...
13897         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13898         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13899         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13900         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13901         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13902         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13903         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13904         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13905         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13906         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13907         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13908         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13909         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13910         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13911         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13912         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13913         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13914         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13915         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13916         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13917         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13918         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13919         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13920         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13921         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13922         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13923         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13924         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13925         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13926         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13927         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13928         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13929         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13930         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13931         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13932         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13933         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13934         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13935         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13936         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13937         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13938         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13939         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13940         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13941         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13942         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13943         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13944         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13945         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13946         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13947         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13948         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13949         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13950         Update #include.
13951         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13952         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13954 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13956         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13957         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13958         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13959         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13960         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13961         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13963 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13965         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13966         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13967         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13968         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13970 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13972         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13973         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13974         (__libc_vfork): Define function under this name.
13975         (__vfork): Define as an alias.
13976         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13977         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13979 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13981         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13982         that was previously under [RESET_PID].
13983         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13985 2014-08-04  Andreas Schwab  <schwab@suse.de>
13987         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13989 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13991         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13992         (main): Likewise.
13994 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13996         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13998 2014-08-01  Richard Henderon  <rth@redhat.com>
14000         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14001         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14002         typo in exact zero test.
14003         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14004         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14005         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14007 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14009         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14010         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14011         * sysdeps/arm/sysdep.h: ... here.
14012         [!__ASSEMBLER__]: Include <stdint.h>.
14014 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14016         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14017         (HAVE_WCTYPE_H): Likewise.
14018         (HAVE_ISWCTYPE): Likewise.
14019         (ENABLE_NLS): Likewise.
14020         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14021         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14023         * posix/regex_internal.c: Check if DEBUG is defined and is
14024         set.
14026         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14027         (HAVE_MBSRTOWCS): Likewise.
14028         * posix/fnmatch.c: Include string.h unconditionally.
14030 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14032         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14033         reversal.
14035 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14037         * sysdeps/generic/safe-fatal.h: New file.
14038         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14039         * nptl/forward.c: Include it.
14040         (__pthread_unwind): Use __safe_fatal as default action, rather
14041         than a bogus use of INTERNAL_SYSCALL that could never work.
14043         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14044         * configure.ac (libc_cv_builtin_trap): New test.
14045         * configure: Regenerated.
14046         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14047         (ABORT_INSTRUCTION): Define using __builtin_trap.
14049         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14050         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14051         * sysdeps/nptl/nptl-signals.h: New file.
14052         * nptl/pthreadP.h: Include <nptl-signals.h>.
14054 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14056         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14057         (ONE_DIRECTION): Define.
14058         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14059         (ONE_DIRECTION): Define.
14060         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14061         (ONE_DIRECTION): Define.
14063 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14065         * sysdeps/s390/Makefile: Delete file.
14066         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14067         * sysdeps/s390/__longjmp.c: Delete file.
14068         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14069         Remove fields __flags and __reserved.
14070         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14071         and add versioning.
14072         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14073         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14074         * sysdeps/s390/rtld-setjmp.S: Likewise.
14075         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14076         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14077         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14078         * sysdeps/s390/s390-32/setjmp.S: ... here.
14079         Add versioning.
14080         (__sigsetjmp): Remove setting __flags field.
14081         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14082         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14083         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14084         * sysdeps/s390/s390-64/setjmp.S: ... here.
14085         Add versioning.
14086         (__sigsetjmp): Remove setting __flags field.
14087         * sysdeps/s390/setjmp.S: Delete file.
14088         * sysdeps/s390/sigjmp.c: Likewise.
14089         * sysdeps/s390/v1-longjmp.c: Likewise.
14090         * sysdeps/s390/v1-setjmp.h: Likewise.
14091         * sysdeps/s390/v1-sigjmp.c: Likewise.
14092         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14093         Remove v1-longjmp_chk.
14094         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14095         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14096         Include debug/longjmp_chk.c and add versioning.
14097         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14098         Include nptl/pt-longjmp.c and add versioning.
14099         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14100         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14101         Include __longjmp.c.
14102         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14103         Move to ...
14104         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14105         (__getcontext): Remove setting __flags field.
14106         Add versioning.
14107         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14108         Don't restore upper high grps.
14109         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14110         Likewise.
14111         (__swapcontext): Remove setting uc_flags field.
14112         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14113         Delete file.
14114         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14115         Include __longjmp.c.
14116         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14117         Move to ...
14118         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14119         (__getcontext): Remove setting __flags field.
14120         Add versioning.
14121         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14122         (__swapcontext): Remove setting uc_flags field.
14123         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14124         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14125         Remove fields uc_high_gprs and __reserved.
14126         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14127         New file with reverted content.
14128         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14129         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14130         Regenerated.
14131         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14132         Regenerated.
14134 2014-07-31  Andreas Schwab  <schwab@suse.de>
14136         * config.h.in (HAVE_IFUNC): Define to 0.
14137         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14138         definedness.
14140 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14142         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14143         memmove-avx-unaligned, memcpy-avx-unaligned and
14144         mempcpy-avx-unaligned.
14145         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14146         Add tests for AVX memcpy functions.
14147         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14148         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14149         memcpy_chk.
14150         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14151         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14152         memmove_chk.
14153         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14154         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14155         mempcpy_chk.
14156         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14157         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14158         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14160 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14162         [BZ #17213]
14163         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14164         powerpc64le.
14166 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14168         [BZ #16839]
14169         * manual/llio.texi: Add section about open file description locks.
14170         * manual/examples/ofdlocks.c: Example of open file description
14171         lock usage.
14172         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14173         F_OFD_SETLK, and F_OFD_SETLKW.
14175 2014-07-23  Allan McRae  <allan@archlinux.org>
14177         * po/es.po: Update Spanish translation from translation project.
14179 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14181         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14183 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14185         [BZ #17078]
14186         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14187         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14188         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14190 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14192         [BZ #17088]
14193         * math/fesetenv.c (__fesetenv)
14194         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14195         * math/feupdateenv.c (__feupdateenv)
14196         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14198         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14199         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14200         (__ASSUME_SOCKETCALL): Do not define.
14202         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14203         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14204         (__ASSUME_SOCKETCALL): Do not define.
14205         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14206         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14207         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14208         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14209         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14210         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14211         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14212         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14214         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14215         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14216         (__ASSUME_SOCKETCALL): Do not define.
14217         (__ASSUME_IPC64): Define unconditionally.
14218         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14219         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14220         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14221         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14222         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14223         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14224         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14225         Likewise.
14227         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14228         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14229         (__ASSUME_SOCKETCALL): Do not define.
14230         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14231         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14232         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14233         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14234         (__ASSUME_REQUEUE_PI): Define unconditionally.
14235         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14236         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14237         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14238         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14239         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14240         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14242         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14243         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14244         (__ASSUME_SOCKETCALL): Do not define.
14245         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14246         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14247         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14248         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14249         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14250         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14252         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14253         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14254         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14255         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14256         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14257         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14258         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14259         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14260         (__ASSUME_GETCPU_SYSCALL): Likewise.
14262         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14263         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14264         cases for individual architectures.
14265         * sysdeps/gnu/configure: Regenerated.
14266         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14267         LIBC_SLIBDIR_RTLDDIR.
14268         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14269         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14270         LIBC_SLIBDIR_RTLDDIR.
14271         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14273         LIBC_SLIBDIR_RTLDDIR.
14274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14275         Regenerated.
14276         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14277         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14278         file.
14279         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14280         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14281         file.
14282         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14283         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14284         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14285         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14287         * sysdeps/aarch64/shlib-versions: Move to ...
14288         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14289         * sysdeps/alpha/shlib-versions: Move to ...
14290         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14291         * sysdeps/arm/shlib-versions: Move to ...
14292         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14293         * sysdeps/hppa/shlib-versions: Move all contents except for
14294         libgcc_s entry to ...
14295         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14296         entry from ...
14297         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14298         * sysdeps/ia64/shlib-versions: Move to ...
14299         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14300         entry from ...
14301         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14302         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14303         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14304         * sysdeps/microblaze/shlib-versions: Move to ...
14305         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14306         * sysdeps/mips/shlib-versions: Move to ...
14307         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14308         entry from ...
14309         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14310         * sysdeps/tile/shlib-versions: Move to ...
14311         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14312         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14313         from ...
14314         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14315         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14316         entry from ...
14317         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14319 2014-07-17  Will Newton  <will.newton@linaro.org>
14321         * sysdeps/arm/bits/atomic.h
14322         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14323         (__arch_compare_and_exchange_bool_16_int): Likewise.
14324         (__arch_compare_and_exchange_bool_64_int): Likewise.
14326         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14327         into an #else block.
14329 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14331         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14332         just Linux configurations.  Test empirically that the compiler sets
14333         __ARM_EABI__, rather than using the tuple to decide.
14334         * sysdeps/arm/preconfigure: Regenerated.
14335         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14336         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14337         contents appended ...
14338         * sysdeps/arm/configure.ac: ... here.
14339         * sysdeps/arm/configure: Regenerated.
14341 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14343         * nptl/pthread_kill.c: New file.
14344         * nptl/pthread_sigmask.c: New file.
14345         * nptl/pthread_sigqueue.c: New file.
14347         * sysdeps/nptl/lowlevellock.h: New file.
14348         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14349         * sysdeps/nptl/lowlevellock-futex.h: New file.
14351         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14352         Remove dead declarations.
14354 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14356         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14357         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14358         config-cflags-avx2.
14359         * sysdeps/x86_64/configure.ac: Likewise.
14360         * sysdeps/i386/configure: Regenerated.
14361         * sysdeps/x86_64/configure: Likewise.
14362         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14363         memset-avx2 only if config-cflags-avx2 is yes.
14364         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14365         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14366         defined.
14367         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14368         only if HAVE_AVX2_SUPPORT is defined.
14369         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14371 2014-07-14  Alan Modra  <amodra@gmail.com>
14373         [BZ #17153]
14374         * elf/elf.h (DT_PPC64_NUM): Correct value.
14375         * NEWS: Add to fixed bug list.
14377 2014-07-13  Jim Meyering  <meyering@fb.com>
14379         [BZ 17150]
14380         regex: don't deref NULL upon heap allocation failure
14381         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14382         failure in one more place.
14383         To trigger the segfault, configure grep -with-included-regex,
14384         build it, and run these commands:
14385         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14387 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14389         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14391 2014-07-11  Richard Henderson  <rth@redhat.com>
14393         * sysdeps/aarch64/libm-test-ulps: Update.
14395 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14397         [BZ #17135]
14398         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14399         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14400         (__nptl_setxid): Initialize error member.  Call
14401         __nptl_setxid_error.
14402         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14403         * nptl/descr.h (struct xid_command): Add error member.
14404         * nptl/tst-setuid3.c: New file.
14405         * nptl/Makefile (tests): Add it.
14407 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14409         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14410         New define.
14411         (__lll_trylock): Use __lll_base_trylock.
14412         (__lll_cond_trylock): Likewise.
14414 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14416         * nptl/pthread_create.c (start_thread): Use atomic_or and
14417         lll_futex_wake directly rather than lll_robust_dead.
14418         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14419         (lll_robust_dead): Macro removed.
14420         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14421         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14422         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14423         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14424         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14425         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14426         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14427         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14428         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14429         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14430         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14431         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14432         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14433         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14434         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14436         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14437         Use atomic_compare_and_exchange_val_acq directly rather than
14438         lll_robust_trylock.
14439         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14440         (__lll_robust_trylock, lll_robust_trylock): Removed.
14441         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14442         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14443         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14444         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14445         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14446         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14447         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14448         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14449         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14450         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14451         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14452         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14453         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14454         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14456 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14458         * manual/locale.texi (Locale Names): New section documenting
14459         locale name syntax.  Adjust menu and node chaining accordingly.
14460         (Choosing Locale): Reference Locale Names, Locale Categories.
14461         Mention setting LC_ALL=C.  Reflect that name syntax is now
14462         documented.
14463         (Locale Categories): New section title.  Reference Locale Names.
14464         LC_ALL is an environment variable, but not a category.
14465         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14466         description, now in Locale Name.  Reference that section.  Locale
14467         name syntax is now documented.
14469 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14471         [BZ #17137]
14472         * locale/findlocale.c (name_present, valid_locale_name): New
14473         functions.
14474         (_nl_find_locale): Use the loc_name variable to store name
14475         candidates.  Call name_present and valid_locale_name to check and
14476         validate locale names.  Return an error if the locale is invalid.
14478 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14480         * locale/setlocale.c (setlocale): Use strdup for allocating
14481         composite name copy.
14483 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14485         Sync up with gnulib.
14486         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14487         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14488         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14489         and _GL_ARG_NONNULL.
14490         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14491         [!_LIBC]: Include code for Windows and Cygwin.
14492         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14493         Include prototype for int strerror_r.
14494         [!_LIBC] (is_open): New function.
14495         (flush_stdout): New function.
14496         (print_errno_message): Use it.
14497         (error): Likewise.
14498         (error_at_line): Likewise.
14499         (error_tail) Add function attribute macros.  Use
14500         __builtin_expect.
14502         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14504         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14506         * io/ftw.c: Include sys/param.h unconditionally.
14508         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14510         [BZ #17125]
14511         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14512         libc_freeres_ptr.
14513         (freecache): New function to free CACHE on exit.
14515         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14516         initialization.
14518 2014-07-09  David S. Miller  <davem@davemloft.net>
14520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14522         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14523         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14524         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14525         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14526         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14527         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14528         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14529         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14530         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14531         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14532         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14533         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14534         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14536 2014-07-09  Andreas Schwab  <schwab@suse.de>
14538         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14539         output.
14540         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14541         (do_test): Likewise.
14543         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14545 2014-07-09  Will Newton  <will.newton@linaro.org>
14547         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14548         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14549         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14550         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14551         * sysdeps/hppa/start.S (_start): Likewise.
14553 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14555         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14557         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14558         defined.
14560 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14562         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14563         after checking that it is non-NULL.
14565         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14567 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14569         * sysdeps/powerpc/memmove.c: Remove file.
14570         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14571         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14572         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14573         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14574         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14575         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14576         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14577         string memmove instead of removed powerpc one.
14579         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14580         [weak_alias]: Fix compiler warning due trailing data.
14581         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14582         [weak_alias]: Likewise.
14583         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14584         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14586         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14587         (__libc_ifunc_impl_list): Add memmove functions.
14589 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14591         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14592         Remove code.
14593         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14594         Likewise
14595         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14596         Likewise
14597         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14598         Likewise
14599         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14600         Likewise
14601         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14602         Likewise
14603         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14604         Likewise
14605         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14606         Likewise
14607         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14608         Likewise
14609         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14610         Likewise
14611         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14612         Likewise
14613         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14614         Likewise
14615         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14616         Likewise
14617         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14618         Likewise
14619         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14620         Likewise
14621         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14622         Likewise
14623         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14624         Likewise
14626 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14628         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14629         to avoid alignment traps in non-cacheable memory.
14630         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14632         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14633         multiarch objects.
14634         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14635         file: multiarch power7 memmove.
14636         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14637         multiarch default memmove.
14638         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14639         multiarch memove for powerpc32/power4.
14641         * string/bcopy.c: Use full path to include memmove.c.
14642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14643         multiarch objects.
14644         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14645         bcopy for powerpc64.
14646         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14647         bcopy for powerpc64.
14648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14649         and memmove implementations.
14650         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14651         optimized multiarch memmove for POWER7/powerpc64.
14652         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14653         default multiarch memmove for powerpc64.
14654         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14655         multiarch for powerpc64.
14656         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14657         for POWER7/powerpc64.
14658         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14659         memmove for POWER7/powerpc64.
14661         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14662         glibc default one.
14664         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14665         __ELF_NATIVE_CLASS equal to 64.
14667 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14669         * sysdeps/nptl/lowlevellock.h: File removed.
14671         * NEWS: NPTL is no longer an add-on!
14672         * nptl/internaltypes.h: Moved ...
14673         * sysdeps/nptl/internaltypes.h: ... here.
14674         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14675         * sysdeps/nptl/fork.c: Likewise.
14676         * sysdeps/nptl/gai_misc.h: Likewise.
14677         * sysdeps/nptl/librt-cancellation.c: Likewise.
14678         * sysdeps/nptl/jmp-unwind.c: Likewise.
14679         * sysdeps/nptl/setxid.h: Likewise.
14680         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14681         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14682         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14683         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14684         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14685         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14686         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14687         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14688         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14689         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14690         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14691         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14692         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14693         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14694         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14695         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14696         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14697         * nptl/Makeconfig: Moved ...
14698         * sysdeps/nptl/Makeconfig: ... here.
14699         * nptl/configure: File removed.
14700         * nptl/ANNOUNCE: File removed.
14701         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14702         * sysdeps/unix/sysv/linux/configure: Regenerated.
14704         * nptl/Makefile (routines): Add libc_pthread_init,
14705         libc_multiple_threads, register-atfork and unregister-atfork.
14706         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14707         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14708         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14709         pthread-pi-defines.sym, structsem.sym.
14710         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14711         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14712         [$(subdir) = nptl] (tests): Add tst-setgetname.
14713         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14714         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14715         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14716         [!LIBC_SIGACTION]: Remove aliases.
14717         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14718         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14719         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14720         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14721         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14722         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14723         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14724         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14725         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14726         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14727         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14728         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14729         __libc_allocate_rtsig_private.
14730         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14731         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14732         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14733         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14734         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14735         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14736         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14737         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14738         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14739         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14740         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14741         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14742         * nptl/internaltypes.h: ... here.
14743         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14744         * sysdeps/nptl/jmp-unwind.c: ... here.
14745         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14746         * nptl/libc-lowlevellock.c: ... here.
14747         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14748         * nptl/libc_multiple_threads.c: ... here.
14749         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14750         * nptl/libc_pthread_init.c: ... here.
14751         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14752         * nptl/lowlevelbarrier.sym: ... here.
14753         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14754         * nptl/lowlevelcond.sym: ... here.
14755         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14756         * nptl/lowlevellock.c: ... here.
14757         * nptl/lowlevellock.h: Moved ...
14758         * sysdeps/nptl/lowlevellock.h: ... here.
14759         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14760         * nptl/lowlevelrobustlock.c: ... here.
14761         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14762         * nptl/lowlevelrobustlock.sym: ... here.
14763         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14764         * nptl/lowlevelrwlock.sym: ... here.
14765         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14766         * nptl/pt-fork.c: ... here.
14767         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14768         * nptl/pthread-pi-defines.sym: ... here.
14769         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14770         * nptl/pthread_attr_getaffinity.c: ... here.
14771         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14772         * nptl/pthread_attr_setaffinity.c: ... here.
14773         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14774         * nptl/pthread_mutex_cond_lock.c: ... here.
14775         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14776         Update #include.
14777         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14778         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14779         * nptl/pthread_once.c: ... here, replacing old file.
14780         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14781         * nptl/pthread_yield.c: ... here.
14782         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14783         * nptl/register-atfork.c: ... here.
14784         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14785         * nptl/sem_post.c: ... here.
14786         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14787         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14788         * nptl/sem_timedwait.c: ... here.
14789         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14790         * nptl/sem_trywait.c: ... here.
14791         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14792         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14793         * nptl/sem_wait.c: ... here.
14794         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14795         * nptl/structsem.sym: ... here.
14796         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14797         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14798         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14799         * nptl/unregister-atfork.c: ... here.
14800         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14801         * nptl/unwindbuf.sym: ... here.
14802         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14803         * sysdeps/nptl/fork.c: ... here.
14804         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14805         * sysdeps/nptl/fork.h: ... here.
14806         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14807         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14808         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14809         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14810         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14811         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14812         * sysdeps/unix/sysv/linux/getpid.c: ... here.
14813         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14814         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14815         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14816         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14817         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14818         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14819         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14820         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14821         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14822         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14823         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14824         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14825         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14826         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14827         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14828         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14829         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14830         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14831         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14832         * sysdeps/unix/sysv/linux/raise.c: ... here.
14833         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14834         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14835         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14836         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14837         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14838         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14839         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14840         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14841         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14842         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14843         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14844         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14845         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14846         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14847         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14849 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14851         * sysdeps/generic/memcopy.h: Add comment for
14852         MEMCPY_OK_FOR_FWD_MEMMOVE.
14854 2014-07-04  Will Newton  <will.newton@linaro.org>
14856         * string/memchr.c: Merge from gnulib.
14857         [_LIBC]: Remove conditionals.
14858         (__ptr_t): Remove define.
14859         (LONG_MAX_32_BITS): Likewise.
14860         (LONG_MAX): Likewise.
14861         (MEMCHR): Use ANSI prototype and optimize algorithm.
14863         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14865 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14867         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14868         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14870         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14871         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14872         in a bare environment with no <stdlib.h> installed.
14873         * sysdeps/nptl/configure: Regenerated.
14875         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14877         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14878         AC_EGREP_CPP for kernel header checks, so they only succeed if
14879         including <linux/version.h> actually works right.
14880         * sysdeps/unix/sysv/linux/configure: Regenerated.
14882         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14883         value so it's not diagnosed as unused.
14885         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14886         thing) with "ifeq ($(subdir),rt)".
14888 2014-07-03  Richard Henderson  <rth@redhat.com>
14890         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14891         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14892         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14894         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14895         (math_force_eval): New.
14897         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14898         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14900         * sysdeps/alpha/fpu/s_round.c: Remove file.
14901         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14903         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14904         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14905         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14906         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14907         (_dl_start, print_statistics): Likewise.
14908         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14909         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14911         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14912         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14913         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14914         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14915         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14916         (HP_SMALL_TIMING_AVAIL): Define.
14917         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14918         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14919         (HP_SMALL_TIMING_AVAIL): Define.
14920         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14921         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14923         * sysdeps/aarch64/hp-timing.h: New file.
14925         * sysdeps/generic/hp-timing.h: Remove dead comment.
14926         * sysdeps/generic/hp-timing-common.h: New file.
14927         * sysdeps/alpha/hp-timing.h: Include it.
14928         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14929         * sysdeps/i386/i686/hp-timing.h: Likewise.
14930         * sysdeps/ia64/hp-timing.h: Likewise.
14931         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14932         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14933         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14934         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14935         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14936         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14937         (hp_timing_t): New.
14939         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14940         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14941         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14942         * elf/rtld.c (_dl_start_final): Likewise.
14943         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14944         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14945         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14946         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14947         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14948         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14949         (HP_TIMING_DIFF_INIT): Remove.
14950         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14951         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14952         (HP_TIMING_DIFF_INIT): Remove.
14953         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14954         * sysdeps/i386/i686/hp-timing.c: Remove file.
14955         * sysdeps/x86_64/hp-timing.c: Remove file.
14956         * sysdeps/ia64/hp-timing.c: Remove file.
14957         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14958         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14959         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14960         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14962         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14963         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14964         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14965         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14966         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14967         (HP_TIMING_ACCUM): Remove.
14968         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14969         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14970         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14972         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14973         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14974         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14975         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14976         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14977         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14978         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14979         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14981         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14983 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14985         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14987 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14989         Sync up with gettext.
14990         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14991         [_MSC_VER]: Include malloc.h
14992         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14993         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14994         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14995         TEMP_FAILURE_RETRY.  Cast return of alloca.
14996         [!_LIBC] Call gl_rwlock_init.
14997         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14999 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15001         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15002         before checking its value.
15004 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15006         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15008         * debug/memcpy_chk.c: Don't include pagecopy.h.
15009         * debug/mempcpy_chk.c: Likewise.
15010         * string/memcpy.c: Likewise.
15011         * string/memmove.c: Likewise.
15012         * sysdeps/powerpc/memmove.c: Likewise.
15013         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15014         definition of PAGE_COPY_FWD_MAYBE here...
15015         * sysdeps/generic/pagecopy.h: ... from here.
15016         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15018 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15019             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15021         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15023         optimizations.
15024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15025         (__libc_ifunc_impl_list): Likewise.
15026         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15027         multiarch strcat for PPC64.
15028         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15029         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15031 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15033         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15035 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15037         * intl/loadmsgcat.c: Remove declaration of
15038         get_sysdep_segment_value.
15039         (get_sysdep_segment_value): Use ISO C style.
15040         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15041         semicolon.  Fix typo and formatting in comment.
15042         (_nl_unload_domain): Use ISO C style.
15044         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15046 2014-07-02  Will Newton  <will.newton@linaro.org>
15048         * malloc/obstack.c: Merge from gnulib master.
15049         [HAVE_CONFIG_H]: Remove conditional code.
15050         [!_LIBC]: Include config.h.
15051         [!ELIDE_CODE]: Don't include inttypes.h, include
15052         stdint.h unconditionally.
15053         (print_and_abort): Mark as _Noreturn.
15054         (_obstack_allocated_p): Mark as __attribute_pure__.
15055         (obstack_free): Rename to __obstack_free.
15056         [!__attribute__]: Remove conditional code.
15057         * malloc/obstack.h: Merge from gnulib master.
15058         [__cplusplus]: Move conditional down.
15059         [!__attribute_pure__]: Define __attribute_pure__ here
15060         if it is not already defined.
15061         (_obstack_memory_used): Mark as __attribute_pure__.
15062         [!__obstack_free]: Define as obstack_free.
15063         [__GNUC__]: Remove check for ancient NeXT gcc.
15065 2014-07-02  Will Newton  <will.newton@linaro.org>
15066             Paul Eggert  <eggert@cs.ucla.edu>
15068         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15070 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15072         * resolv/gethnamaddr.c: Add comment warning that the file is
15073         not maintained.
15075 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15077         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15078         entries.
15080         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15081         entry for aio_cancel and aio_cancel64.
15082         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15083         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15084         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15085         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15086         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15087         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15088         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15089         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15090         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15091         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15092         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15093         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15094         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15096 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15098         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15099         * nptl/pthread_mutex_lock.c: Likewise.
15100         * nptl/pthread_mutex_timedlock.c: Likewise.
15101         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15103 2014-07-01  Richard henderson  <rth@redhat.com>
15105         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15106         (__isnan, __isnanl): Remove.
15107         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15109         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15111 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15113         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15115 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15117         * resolv/nss_dns/dns-host.c (getanswer_r)
15118         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15120 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15122         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15123         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15124         undefine.
15125         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15126         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15128 2014-07-01  Roland McGrath <roland@hack.frob.com>
15130         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15131         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15133         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15134         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15136         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15137         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15138         ... here.
15139         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15140         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15142         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15143         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15144         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15145         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15147         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15148         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15149         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15150         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15151         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15152         Moved ...
15153         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15154         ... here.
15155         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15156         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15157         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15158         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15159         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15160         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15161         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15162         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15163         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15164         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15165         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15166         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15167         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15168         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15169         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15170         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15171         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15172         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15173         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15174         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15175         ... here.
15176         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15177         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15178         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15179         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15180         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15181         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15182         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15183         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15185 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15187         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15188         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15189         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15190         Add sysdep.
15192 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15196 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15198         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15199         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15201         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15203         * sysdeps/arm/libm-test-ulps: Regenerated.
15205 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15206             Roland McGrath <roland@hack.frob.com>
15208         * test-skeleton.c (signal_handler): Kill the whole process group
15209         before killing the child individually.
15210         (main): Report any failure on `setpgid'.
15212 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15214         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15215         from _TLS_H to _ARM_NPTL_TLS_H.
15216         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15217         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15219 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15221         [BZ #16539]
15222         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15223         (__expm1l): Return argument unchanged when small but not
15224         subnormal.
15226         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15227         include macro name.
15228         (_FP_UNPACK_RAW_1_P): Likewise.
15229         (_FP_PACK_RAW_1): Likewise.
15230         (_FP_PACK_RAW_1_P): Likewise.
15231         (_FP_MUL_MEAT_1_wide): Likewise.
15232         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15233         (_FP_MUL_MEAT_1_hard): Likewise.
15234         (_FP_DIV_MEAT_1_imm): Likewise.
15235         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15236         (_FP_DIV_MEAT_1_udiv): Likewise.
15237         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15238         (_FP_UNPACK_RAW_2): Likewise.
15239         (_FP_UNPACK_RAW_2_P): Likewise.
15240         (_FP_PACK_RAW_2): Likewise.
15241         (_FP_PACK_RAW_2_P): Likewise.
15242         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15243         (_FP_MUL_MEAT_2_wide): Likewise.
15244         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15245         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15246         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15247         (_FP_MUL_MEAT_2_gmp): Likewise.
15248         (_FP_DIV_MEAT_2_udiv): Likewise.
15249         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15250         (_FP_FRAC_SRL_4): Likewise.
15251         (_FP_FRAC_SRST_4): Likewise.
15252         (_FP_FRAC_SRS_4): Likewise.
15253         (_FP_UNPACK_RAW_4): Likewise.
15254         (_FP_UNPACK_RAW_4_P): Likewise.
15255         (_FP_PACK_RAW_4): Likewise.
15256         (_FP_PACK_RAW_4_P): Likewise.
15257         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15258         (_FP_MUL_MEAT_4_wide): Likewise.
15259         (_FP_MUL_MEAT_4_gmp): Likewise.
15260         (umul_ppppmnnn): Likewise.
15261         (_FP_DIV_MEAT_4_udiv): Likewise.
15262         (__FP_FRAC_ADD_4): Likewise.
15263         (__FP_FRAC_SUB_3): Likewise.
15264         (__FP_FRAC_SUB_4): Likewise.
15265         (__FP_FRAC_DEC_3): Likewise.
15266         (__FP_FRAC_DEC_4): Likewise.
15267         (__FP_FRAC_ADDI_4): Likewise.
15268         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15269         (_FP_FRAC_SRL_8): Likewise.
15270         (_FP_FRAC_SRS_8): Likewise.
15272         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15273         include macro name.
15274         (FP_UNPACK_RAW_EP): Likewise.
15275         (FP_PACK_RAW_E): Likewise.
15276         (FP_PACK_RAW_EP): Likewise.
15277         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15278         (_FP_ISSIGNAN): Likewise.
15279         (_FP_ADD_INTERNAL): Likewise.
15280         (_FP_FMA): Likewise.
15281         (_FP_CMP): Likewise.
15282         (_FP_SQRT): Likewise.
15283         (_FP_TO_INT): Likewise.
15284         (_FP_FROM_INT): Likewise.
15285         (FP_EXTEND): Likewise.
15286         (_FP_DIV_MEAT_N_loop): Likewise.
15288 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15290         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15291         throughout.
15293 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15295         [BZ #17097]
15296         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15297         result with correct sign in case of exponents that produce
15298         overflow except for X very close to 1.
15300 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15302         mktime: merge #if/#ifdef usage from glibc
15303         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15304         as that works with both Glibc's and Gnulib's style.
15305         See thread starting at Siddhesh Poyarekar's bug report at:
15306         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15308 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15310         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15311         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15312         * sysdeps/tile/tilegx/memmove.c: Remove file.
15314 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15316         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15317         abi-name definition.
15318         * scripts/soversions.awk: Do not handle or generate ABI lines.
15319         * shlib-versions: Remove ABI entries.
15320         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15321         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15323 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15326         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15327         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15328         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15329         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15330         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15331         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15332         Moved ...
15333         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15334         ... here.
15335         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15336         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15338         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15339         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15340         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15341         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15342         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15343         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15344         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15345         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15346         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15347         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15348         Moved ...
15349         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15350         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15351         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15352         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15353         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15354         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15355         Moved ...
15356         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15358         Moved ...
15359         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15361         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15363         Moved ...
15364         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15365         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15366         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15368         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15369         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15370         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15371         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15372         Moved ...
15373         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15375         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15376         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15377         Moved ...
15378         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15379         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15380         Moved ...
15381         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15382         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15383         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15384         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15385         Moved ...
15386         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15387         ... here.
15388         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15389         Identical file removed.
15390         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15391         Moved ...
15392         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15393         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15394         Identical file removed.
15395         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15396         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15397         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15398         Moved ...
15399         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15400         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15401         Identical file removed.
15402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15403         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15404         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15405         Identical file removed.
15406         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15407         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15408         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15409         Identical file removed.
15410         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15411         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15412         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15413         Identical file removed.
15414         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15415         Moved ...
15416         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15417         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15418         Identical file removed.
15419         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15420         Moved ...
15421         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15422         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15423         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15424         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15425         Identical file removed.
15426         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15427         Moved ...
15428         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15429         ... here.
15430         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15431         Identical file removed.
15432         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15433         Moved ...
15434         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15435         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15436         Identical file removed.
15437         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15438         Moved ...
15439         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15440         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15441         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15442         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15443         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15444         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15445         Moved ...
15446         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15447         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15448         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15450         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15451         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15452         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15453         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15454         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15456 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15458         [BZ #17092]
15459         * nscd/nscd.c (monitor_child): Return exit status of child
15460         instead of return value from wait syscall.
15462 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15464         * configure.ac (libc_commonpagesize): Remove variable.
15465         (libc_relro_required): Likewise.
15466         (libc_cv_z_relro): Remove configure test.
15467         * configure: Regenerated.
15468         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15469         variable.
15470         (libc_relro_required): Likewise.
15471         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15472         (libc_relro_required): Likewise.
15473         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15474         (libc_relro_required): Likewise.
15475         * sysdeps/arm/preconfigure: Regenerated.
15476         * sysdeps/ia64/preconfigure: Remove file.
15477         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15478         variable.
15479         (libc_relro_required): Likewise.
15481         [BZ #16561]
15482         [BZ #16562]
15483         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15484         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15485         recompute overflowing results in original rounding mode.
15486         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15487         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15488         recompute overflowing results in original rounding mode.
15489         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15490         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15491         recompute overflowing results in original rounding mode.
15492         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15493         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15494         recompute overflowing results in original rounding mode.
15495         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15496         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15497         recompute overflowing results in original rounding mode.
15498         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15499         (libc_feholdsetround_ctx): New macro.
15500         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15501         * sysdeps/i386/fpu/libm-test-ulps: Update.
15502         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15504 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15506         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15507         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15508         corresponding .cpsetup call.
15510 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15512         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15513         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15514         * sysdeps/arm/Makefile [$(subdir) = csu]
15515         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15516         (static-only-routines): Add aeabi_read_tp here.
15517         (shared-only-routines): Add libc-aeabi_read_tp here.
15518         (CFLAGS-libc-start.c): Add -fexceptions here.
15519         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15520         (sysdep_routines, static-only-routines, shared-only-routines):
15521         Don't add to these here.
15522         (CFLAGS-libc-start.c): Likewise.
15524         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15525         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15526         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15527         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15528         * sysdeps/arm/Makefile [$(subdir) = rt]
15529         (librt-sysdep_routines, librt-shared-only-routines):
15530         Append rt-aeabi_unwind_cpp_pr1 here.
15531         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15532         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15533         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15534         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15535         Append nptl-aeabi_unwind_cpp_pr1 here.
15536         (tests): Filter out tst-cleanupx4 here.
15537         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15538         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15539         Don't do those here.
15541 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15543         * scripts/list-sources.sh: Do not handle ports specially.
15545 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15547         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15548         * sysdeps/arm/feupdateenv.c: Likewise.
15550         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15552 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15554         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15555         trailing whitespace removed.
15556         * scripts/config.guess: Update to version 2014-03-23.
15557         * scripts/config.sub: Update to version 2014-05-01
15558         * scripts/install-sh: Update to version 2013-12-25.23.
15559         * scripts/move-if-change: Update from gnulib.
15561 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15563         * debug/memmove_chk.c: Remove pagecopy.h include.
15565 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15567         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15568         identical to gnulib mktime.
15570 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15572         * configure.ac: Do not test for machine being rs6000.  Do not test
15573         for powerpc*-*soft.
15574         * configure: Regenerated.
15576         [BZ #11505]
15577         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15578         test.
15579         * configure: Regenerated.
15580         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15581         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15582         Remove configure test.
15583         * sysdeps/arm/configure: Regenerated.
15584         * sysdeps/nptl/configure.ac: Do not check
15585         libc_cv_asm_cfi_directives.
15586         * sysdeps/nptl/configure: Regenerated.
15587         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15588         * sysdeps/x86_64/nptl/configure: Remove generated file.
15589         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15590         unconditional.
15591         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15593 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15595         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15596         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15597         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15598         it is defined.
15600         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15601         instead of whether it is defined.
15602         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15603         * sysdeps/hppa/dl-machine.h: Likewise.
15604         * sysdeps/ia64/dl-machine.h: Likewise.
15605         * sysdeps/m68k/dl-machine.h: Likewise.
15606         * sysdeps/microblaze/dl-machine.h: Likewise.
15607         * sysdeps/mips/dl-machine.: Likewise.
15608         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15609         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15610         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15611         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15612         * sysdeps/sh/dl-machine.h: Likewise.
15613         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15614         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15615         * sysdeps/tile/dl-machine.h: Likewise.
15616         * sysdeps/x86_64/dl-machine.h: Likewise.
15618         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15619         code.
15620         (verify_persistent_db): Likewise.
15622 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15625         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15627         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15629         Moved ...
15630         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15631         ... here.
15632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15633         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15635         Identical file removed.
15636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15637         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15639         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15641         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15643         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15645         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15647         Moved ...
15648         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15650         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15652         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15654         Moved ...
15655         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15657         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15659         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15661         Identical file removed.
15662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15663         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15665         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15667         Moved ...
15668         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15669         ... here.
15670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15671         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15673         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15675         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15677         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15679         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15681         Moved ...
15682         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15684         Moved ...
15685         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15687         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15689         Moved ...
15690         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15692         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15694         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15695         folded into ...
15696         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15697         * sysdeps/unix/sysv/linux/s390/Versions
15698         (libpthread: GLIBC_2.19): New version set.
15699         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15700         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15701         (librt: GLIBC_2.3.3): New version set.
15702         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15703         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15704         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15705         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15706         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15707         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15708         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15709         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15710         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15711         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15712         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15713         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15714         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15715         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15716         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15717         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15718         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15719         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15720         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15721         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15722         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15723         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15724         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15725         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15726         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15727         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15728         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15729         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15730         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15731         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15732         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15733         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15734         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15735         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15736         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15737         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15738         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15739         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15740         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15741         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15742         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15743         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15744         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15745         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15746         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15748         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15749         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15750         (__libc_vfork): Define the function under this name.
15751         [!NOT_IN_libc] (__vfork): Make this an alias.
15752         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15753         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15754         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15755         (__libc_vfork): Define the function under this name.
15756         [!NOT_IN_libc] (__vfork): Make this an alias.
15757         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15758         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15759         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15760         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15761         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15762         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15764         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15765         code that was previously under [RESET_PID].
15766         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15767         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15768         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15770         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15771         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15772         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15773         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15774         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15775         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15776         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15777         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15778         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15779         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15780         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15781         Moved ...
15782         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15783         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15784         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15785         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15786         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15787         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15788         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15789         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15790         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15791         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15792         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15793         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15794         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15795         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15796         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15797         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15798         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15799         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15800         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15801         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15802         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15803         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15804         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15805         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15806         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15807         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15808         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15809         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15810         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15812 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15814         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15815         that was previously under [RESET_PID].
15816         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15818 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15820         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15821         not undefine and redefine.
15822         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15823         [O_CLOEXEC]: Make code unconditional.
15824         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15825         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15826         <kernel-features.h>.
15827         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15828         conditional variable definition.
15829         (shm_open) [O_CLOEXEC]: Make code unconditional.
15830         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15831         code.
15833         * configure.ac (USE_REGPARMS): Don't define here.
15834         * configure: Regenerated.
15835         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15836         * sysdeps/i386/configure: Regenerated.
15838         * nptl/createthread.c: Don't include kernel-features.h.
15839         * nptl/pthread_cancel.c: Likewise.
15840         * nptl/pthread_condattr_setclock.c: Likewise.
15841         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15842         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15843         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15844         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15845         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15846         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15847         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15848         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15849         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15850         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15851         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15852         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15853         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15854         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15855         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15856         * nscd/gai.c: Likewise.
15857         * nss/nss_db/db-open.c: Likewise.
15858         * sysdeps/generic/ldsodefs.h: Likewise.
15859         * sysdeps/sh/nptl/tls.h: Likewise.
15860         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15861         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15862         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15863         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15864         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15865         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15866         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15867         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15868         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15869         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15870         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15871         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15872         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15873         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15874         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15875         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15876         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15877         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15878         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15879         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15880         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15881         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15882         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15883         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15884         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15885         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15886         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15887         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15888         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15889         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15890         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15891         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15892         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15893         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15894         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15895         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15896         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15897         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15898         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15899         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15900         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15901         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15902         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15903         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15904         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15905         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15906         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15907         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15908         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15909         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15910         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15911         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15912         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15913         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15914         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15915         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15916         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15917         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15940         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15941         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15942         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15943         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15944         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15945         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15946         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15947         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15948         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15949         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15950         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15951         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15952         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15953         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15954         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15955         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15956         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15957         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15958         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15959         * sysdeps/unix/sysv/linux/system.c: Likewise.
15960         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15961         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15962         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15963         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15964         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15965         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15966         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15968         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15969         * configure: Regenerated.
15970         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15972         * configure.ac (base_machine): Do not set specially for particular
15973         machines here.
15974         * configure: Regenerated.
15975         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15976         settings from configure.ac.
15977         * sysdeps/i386/preconfigure: New file.
15978         * sysdeps/s390/preconfigure: Likewise.
15979         * sysdeps/sh/preconfigure: Likewise.
15980         * sysdeps/sparc/preconfigure: Likewise.
15982 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15984         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15985         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15986         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15987         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15988         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15989         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15990         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15991         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15992         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15993         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15994         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15995         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15996         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15997         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15998         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15999         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16000         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16001         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16002         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16004         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16005         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16006         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16007         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16008         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16009         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16010         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16011         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16012         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16013         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16014         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16015         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16016         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16017         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16018         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16019         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16020         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16021         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16022         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16023         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16024         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16025         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16026         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16027         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16028         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16029         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16030         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16031         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16032         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16033         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16034         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16035         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16036         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16037         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16038         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16039         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16040         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16041         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16044         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16046         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16048         Moved ...
16049         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16050         ... here.
16051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16052         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16054         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16056         Moved ...
16057         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16059         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16061         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16063         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16065         Moved ...
16066         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16068         Moved ...
16069         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16071         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16073         Moved ...
16074         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16076         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16077         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16078         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16080         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16082         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16084         Moved ...
16085         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16086         ... here.
16087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16088         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16090         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16092         Moved ...
16093         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16095         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16097         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16099         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16101         Moved ...
16102         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16104         Moved ...
16105         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16107         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16109         Moved ...
16110         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16112         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16114         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16116 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16118         * timezone/checktab.awk: Update from tzcode 2014e.
16119         * timezone/private.h: Likewise.
16120         * timezone/tzfile.h: Likewise.
16121         * timezone/zdump.c: Likewise.
16122         * timezone/zic.c: Likewise.
16124         * sysdeps/unix/sysv/linux/kernel-features.h
16125         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16126         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16127         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16128         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16129         Remove conditional code.
16131 2014-06-25  Will Newton  <will.newton@linaro.org>
16133         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16134         (_dl_arm_cap_flags): Add HWCAP2 values.
16135         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16136         (_DL_HWCAP_COUNT): Increase to 37.
16137         (_DL_HWCAP_LAST): New define.
16138         (_DL_HWCAP2_LAST): New define.
16139         (_dl_procinfo): Add support for printing
16140         AT_HWCAP2 entries.
16141         (_dl_string_hwcap): Use _dl_hwcap_string.
16143 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16147 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16149         * README: Do not mention ports directory.
16151         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16152         Remove macro.
16153         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16154         <kernel-features.h>.
16155         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16156         conditional variable definition.
16157         (__futimes): Update comment.
16158         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16159         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16161         [BZ #16560]
16162         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16163         arguments close to 0.
16164         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16165         Likewise.
16166         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16167         Likewise.
16168         * math/auto-libm-test-in: Add more tests of exp10.
16169         * math/auto-libm-test-out: Regenerated.
16170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16172         * sysdeps/unix/sysv/linux/kernel-features.h
16173         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16174         * sysdeps/unix/sysv/linux/readv.c: Do not include
16175         <kernel-features.h>.
16176         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16177         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16178         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16179         unconditional.
16180         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16181         conditional code.
16182         * sysdeps/unix/sysv/linux/writev.c: Do not include
16183         <kernel-features.h>.
16184         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16185         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16186         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16187         unconditional.
16188         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16189         conditional code.
16191 2014-06-25  Will Newton  <will.newton@linaro.org>
16193         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16194         comment changes throughout the file.  Remove checks
16195         for HAVE_*_H definitions that are not required.
16196         (__gen_tempname): Call abort if an unknown kind value is
16197         passed.
16199 2014-06-25  Andreas Schwab  <schwab@suse.de>
16201         [BZ #17086]
16202         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16203         scalbln, scalblnf, scalblnl in libc.
16205 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16207         [BZ #17086]
16208         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16209         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16210         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16212 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16214         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16215         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16216         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16217         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16218         Update #include.
16219         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16220         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16221         Update #include.
16222         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16223         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16224         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16225         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16226         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16227         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16228         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16229         * sysdeps/x86/bits/semaphore.h: ... here.
16230         * sysdeps/x86/nptl/elide.h: Moved ...
16231         * sysdeps/x86/elide.h: ... here.
16232         * sysdeps/x86_64/nptl/Implies: File removed.
16233         * sysdeps/i386/nptl/Implies: File removed.
16235 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16237         [BZ #16539]
16238         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16239         return the argument for normal arguments with exponent below -64.
16240         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16241         Likewise.
16242         * math/auto-libm-test-in: Add another test of expm1.
16243         * math/auto-libm-test-out: Regenerated.
16245         [BZ #16287]
16246         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16247         calling __erfcl for arguments at least 16.
16248         * math/auto-libm-test-in: Add more tests of erf.
16249         * math/auto-libm-test-out: Regenerated.
16251         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16252         individual architectures.
16253         * sysdeps/unix/sysv/linux/configure: Regenerated.
16254         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16255         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16256         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16257         (ldd_rewrite_script): Define variable.
16258         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16260         file.
16261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16262         generated file.
16263         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16264         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16265         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16266         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16267         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16268         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16269         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16270         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16272 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16274         [BZ #17084]
16275         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16276         Rename member __data.d to __data.__elision_data.
16278 2014-06-24  Wilco  <wdijkstr@arm.com>
16280         * NEWS: Add 16918 to fixed bug list.
16282 2014-06-24  Wilco  <wdijkstr@arm.com>
16284         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16286 2014-06-24  Wilco  <wdijkstr@arm.com>
16288         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16289         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16290         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16291         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16292         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16293         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16294         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16295         Use _FPU_MASK_RM.
16297 2014-06-24  Wilco  <wdijkstr@arm.com>
16299         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16301 2014-06-24  Wilco  <wdijkstr@arm.com>
16303         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16304         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16305         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16306         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16308 2014-06-24  Wilco  <wdijkstr@arm.com>
16310         [BZ #16918]
16311         * sysdeps/arm/feupdateenv.c (feupdateenv):
16312         Rewrite to reduce FPSCR accesses and fix return value.
16314 2014-06-24  Wilco  <wdijkstr@arm.com>
16316         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16317         Optimize to avoid unnecessary FPSCR writes.
16318         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16319         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16320         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16321         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16323 2014-06-24  Wilco  <wdijkstr@arm.com>
16325         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16326         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16327         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16328         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16329         Call libc_fetestexcept_vfp.
16330         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16331         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16332         __SOFTFP__ ifdef so that they can be built for softfp.
16334 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16336         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16337         argument type signed char.
16339         * Makerules (check-abi): Dump diff of symlist if the test
16340         fails.
16342 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16344         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16345         using abort.
16347         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16348         Remove unused variable ST.
16350 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16352         [BZ #16354]
16353         [BZ #17061]
16354         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16355         small arguments before calling __expm1.
16356         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16357         small arguments before calling __expm1f.
16358         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16359         small arguments before calling __expm1l.
16360         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16361         Likewise.
16362         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16363         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16364         spurious underflow for some cosh tests.
16365         * math/auto-libm-test-out: Regenerated.
16366         * sysdeps/i386/fpu/libm-test-ulps: Update.
16368         [BZ #17050]
16369         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16370         (__ieee754_y1): Set errno if return value overflows.
16371         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16372         (__ieee754_y1f): Set errno if return value overflows.
16373         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16374         (__ieee754_y1l): Set errno if return value overflows.
16375         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16376         (__ieee754_y1l): Set errno if return value overflows.
16377         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16378         * math/auto-libm-test-out: Regenerated.
16380         * math/gen-auto-libm-tests.c: Document use of
16381         ignore-zero-inf-sign.
16382         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16383         (input_flags): Add ignore-zero-inf-sign.
16384         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16385         * math/gen-libm-test.pl (generate_testfile): Handle
16386         ignore-zero-inf-sign.
16387         * math/auto-libm-test-in: Mark some cpow tests with
16388         ignore-zero-inf-sign and some with xfail-rounding.
16389         * math/auto-libm-test-out: Regenerated.
16390         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16391         * sysdeps/i386/fpu/libm-test-ulps: Update.
16392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16394         [BZ #16315]
16395         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16396         overflowing or underflowing operations take place with sign of
16397         result.
16398         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16399         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16400         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16401         (__ieee754_pow): Recompute overflowing and underflowing results in
16402         original rounding mode.
16403         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16404         (__powl_helper): Allow negative argument X and scale negated value
16405         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16406         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16407         overflowing or underflowing operations take place with sign of
16408         result.
16409         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16410         Include <math.h>.
16411         * math/auto-libm-test-in: Add more tests of pow.
16412         * math/auto-libm-test-out: Regenerated.
16413         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16414         (pow_tonearest_test_data): Remove.
16415         (pow_test_tonearest): Likewise.
16416         (pow_towardzero_test_data): Likewise.
16417         (pow_test_towardzero): Likewise.
16418         (pow_downward_test_data): Likewise.
16419         (pow_test_downward): Likewise.
16420         (pow_upward_test_data): Likewise.
16421         (pow_test_upward): Likewise.
16422         (main): Don't call removed functions.
16423         * sysdeps/i386/fpu/libm-test-ulps: Update.
16424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16426 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16429         Moved ...
16430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16432         Moved ...
16433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16435         Moved ...
16436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16438         Moved ...
16439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16441         File removed.
16442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16443         File removed.
16444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16445         File removed.
16446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16447         File removed.
16448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16449         File removed.
16450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16451         File removed.
16452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16453         File removed.
16454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16455         File removed.
16456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16457         File removed.
16458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16459         File removed.
16460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16461         File removed.
16462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16463         File removed.
16464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16465         Moved ...
16466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16468         Moved ...
16469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16470         ... here.
16471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16472         Moved ...
16473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16475         Moved ...
16476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16478         Moved ...
16479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16481         Moved ...
16482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16484         Moved ...
16485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16487         Moved ...
16488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16490         Moved ...
16491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16494         ... here.
16495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16496         Moved ...
16497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16499         Moved ...
16500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16501         ... here.
16502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16503         Moved ...
16504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16505         ... here.
16506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16507         Moved ...
16508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16509         ... here.
16510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16511         Moved ...
16512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16514         Moved ...
16515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16519         Moved ...
16520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16521         ... here.
16522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16523         Moved ...
16524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16525         ... here.
16526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16527         Moved ...
16528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16530         Moved ...
16531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16533         Moved ...
16534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16536         Moved ...
16537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16539         Moved ...
16540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16541         ... here.
16542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16543         Moved ...
16544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16546         Moved ...
16547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16549         Moved ...
16550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16552         Moved ...
16553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16557         Moved ...
16558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16560         Moved ...
16561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16563         Moved ...
16564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16565         ... here.
16566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16567         Moved ...
16568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16569         ... here.
16570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16571         Moved ...
16572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16573         ... here.
16574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16575         Moved ...
16576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16578         Moved ...
16579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16581         Moved ...
16582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16584         Moved ...
16585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16586         ... here.
16587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16588         Moved ...
16589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16590         ... here.
16591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16592         Moved ...
16593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16594         ... here.
16595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16596         Moved ...
16597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16599         Moved ...
16600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16602 2014-06-23  Will Newton  <will.newton@linaro.org>
16603             Wilco  <wdijkstr@arm.com>
16605         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16606         implementation.  Include get-rounding-mode.h.
16607         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16608         [!libc_feholdsetround_noex_ctx]: Define
16609         libc_feholdsetround_noex_ctx.
16610         [!libc_feholdsetround_noexf_ctx]: Define
16611         libc_feholdsetround_noexf_ctx.
16612         [!libc_feholdsetround_noexl_ctx]: Define
16613         libc_feholdsetround_noexl_ctx.
16614         (libc_feholdsetround_ctx): New function.
16615         (libc_feresetround_ctx): New function.
16616         (libc_feholdsetround_noex_ctx): New function.
16617         (libc_feresetround_noex_ctx): New function.
16619 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16621         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16622         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16623         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16624         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16625         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16626         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16628         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16629         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16630         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16631         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16632         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16633         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16634         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16635         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16636         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16637         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16638         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16639         Moved ...
16640         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16641         ... here.
16642         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16643         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16644         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16645         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16646         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16647         Moved ...
16648         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16649         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16650         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16651         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16652         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16653         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16654         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16655         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16656         Moved ...
16657         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16658         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16659         Moved ...
16660         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16661         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16662         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16663         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16664         Moved ...
16665         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16666         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16667         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16668         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16669         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16670         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16671         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16672         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16673         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16674         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16675         Moved ...
16676         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16677         ... here.
16678         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16679         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16680         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16681         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16682         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16683         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16684         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16685         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16686         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16687         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16688         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16689         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16690         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16691         Moved ...
16692         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16693         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16694         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16695         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16696         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16697         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16698         Moved ...
16699         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16700         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16701         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16702         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16703         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16705         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16706         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16707         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16708         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16709         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16710         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16711         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16712         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16713         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16714         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16715         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16716         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16717         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16718         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16719         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16720         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16721         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16722         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16723         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16724         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16725         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16726         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16727         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16728         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16729         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16730         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16731         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16732         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16734 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16736         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16737         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16738         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16739         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16740         (IPV6_PMTUDISC_INTERFACE): Likewise.
16741         (IPV6_PMTUDISC_OMIT): Likewise.
16743 2014-06-23  Andreas Schwab  <schwab@suse.de>
16745         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16746         Remove unused errout label.
16748 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16750         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16751         macro: hardware supports Vector Crypto instructions.
16753 2014-06-23  Will Newton  <will.newton@linaro.org>
16755         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16756         rather than __builtin_expect.
16758         * elf/dl-lookup.c (undefined_msg): Remove variable.
16759         (_dl_lookup_symbol_x): Replace undefined_msg with string
16760         literal.
16762         * elf/dl-lookup.c (do_lookup_unique): New function.
16763         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16764         to a separate function.
16766 2014-06-23  Andreas Schwab  <schwab@suse.de>
16768         [BZ #17079]
16769         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16770         before reading the next line.
16772 2014-06-23  Will Newton  <will.newton@linaro.org>
16774         * test-skeleton.c (signal_handler): Use printf and %m
16775         rather than perror.  Use printf rather than fprintf to
16776         stderr.  Use puts rather than fputs to stderr.
16777         (main): Likewise.
16779 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
16781         * nscd/nscd.c (thread_info_t): Remove typedef.
16782         (thread_info): Remove variable.
16784 2014-06-21  Allan McRae  <allan@archlinux.org>
16786         * NEWS: Mention CVE-2014-4043.
16788 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16790         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16791         * nptl/smp.h: ... here.
16793         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16795         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16796         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16797         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16798         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16800         * nptl/allocatestack.c: Include <stack-aliasing.h>.
16801         * nptl/stack-aliasing.h: New file.
16802         * sysdeps/i386/i686/stack-aliasing.h: New file.
16803         * sysdeps/i386/i686/nptl/Makefile: File removed.
16804         * sysdeps/x86_64/stack-aliasing.h: New file.
16805         * sysdeps/x86_64/nptl/Makefile
16806         (CFLAGS-pthread_create.c): Variable removed.
16808         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16809         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16810         old file.
16811         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16812         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16813         old file.
16815 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
16817         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16818         (__ASSUME_SIGFRAME_V2): Remove macro.
16819         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16820         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16821         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16822         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16823         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16824         Declare as function.  Remove conditional macro definitions.
16825         (__default_rt_sa_restorer): Likewise.
16826         (__default_sa_restorer_v1): Remove declaration.
16827         (__default_sa_restorer_v2): Likewise.
16828         (__default_rt_sa_restorer_v1): Likewise.
16829         (__default_rt_sa_restorer_v2): Likewise.
16830         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16831         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16832         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16834 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16836         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16837         (libpthread-routines): Add sysdep.
16838         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16839         * sysdeps/unix/sysv/linux/sparc/Versions
16840         (libpthread: GLIBC_2.3.3): New version set.
16841         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16842         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16843         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16844         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16845         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16846         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16847         Moved ...
16848         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16849         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16850         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16851         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16852         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16853         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16854         * sysdeps/sparc/nptl/sem_init.c: ... here.
16855         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16856         * sysdeps/sparc/nptl/sem_post.c: ... here.
16857         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16858         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16859         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16860         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16861         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16862         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16863         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16864         (libpthread-routines): Add cpu_relax.
16865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16866         File removed.
16867         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16868         (librt: GLIBC_2.3.3): New version set.
16869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16870         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16871         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16872         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16875         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16877         Moved ...
16878         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16880         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16882         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16884         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16886         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16888         Moved ...
16889         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16890         Update #include.
16891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16892         Moved ...
16893         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16894         Update #include.
16895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16896         Moved ...
16897         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16898         Update #include.
16899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16900         Moved ...
16901         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16902         Update #include.
16903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16904         Moved ...
16905         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16906         Update #include.
16907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16908         Moved ...
16909         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16910         Update #include.
16911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16912         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16914         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16916         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16918         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16920         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16921         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16922         Moved ...
16923         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16925         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16927         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16929 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16931         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16932         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16933         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16934         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16935         * nscd/nscd.c: Likewise.
16936         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16937         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16938         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16939         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16941         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16942         <kernel-features.h>.
16943         (init_mq_netlink): Remove conditional have_sock_cloexec
16944         definitions.  Remove code conditional on have_sock_cloexec < 0.
16945         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16946         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16947         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16948         <kernel-features.h>.
16949         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16950         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16952 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16954         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16955         Add tests for memset_chk and memset.
16957         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16958         with AVX2_Usable.
16960 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16962         [BZ #16046]
16963         * elf/tst-dl-iter-static.c: New file.
16964         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16966         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16967         error.
16969 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16971         * sysdeps/unix/sysv/linux/kernel-features.h
16972         (__ASSUME_F_GETOWN_EX): Remove macro.
16973         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16974         <kernel-features.h>.
16975         (miss_F_GETOWN_EX): Remove variable or macro.
16976         (do_fcntl): Do not check miss_F_GETOWN_EX.
16977         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16979         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16980         Remove macro.
16981         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16982         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16983         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16985         * sysdeps/unix/sysv/linux/kernel-features.h
16986         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16987         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16988         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16989         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16991 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16993         [BZ #17075]
16994         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16995         Fix calculation of the symbol's value.
16996         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16997         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16998         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16999         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17000         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17001         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17002         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17003         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17004         (modules-names): Add `tst-armtlsdescmod',
17005         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17006         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17007         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17008         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17009         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17010         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17011         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17012         ($(objpfx)tst-armtlsdescloc): New dependency.
17013         ($(objpfx)tst-armtlsdescextnow): Likewise.
17014         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17015         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17016         TLS scheme support.
17017         * sysdeps/arm/configure: Regenerate.
17019 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17021         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17022         (__atfct_seterrno_2): Likewise.
17023         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17024         <kernel-features.h>.
17025         (__ASSUME_ATFCTS): Do not undefine and redefine.
17026         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17027         (__have_atfcts): Remove conditional definition.
17028         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17029         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17030         unreachable if [__ASSUME_ATFCTS].
17031         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17032         not undefine and redefine.
17033         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17034         <kernel-features.h>.
17035         (faccessat) [__NR_faccessat]: Make code unconditional.
17036         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17037         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17038         <kernel-features.h>.
17039         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17040         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17041         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17042         <kernel-features.h>.
17043         (fchownat) [__NR_fchownat]: Make code unconditional.
17044         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17045         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17046         <kernel-features.h>.
17047         (futimesat) [__NR_futimesat]: Make code unconditional.
17048         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17049         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17050         <kernel-features.h>.
17051         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17052         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17053         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17054         <kernel-features.h>.
17055         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17056         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17057         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17058         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17059         <kernel-features.h>.
17060         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17061         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17062         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17063         <kernel-features.h>.
17064         (linkat) [__NR_linkat]: Make code unconditional.
17065         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17066         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17067         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17068         <kernel-features.h>.
17069         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17070         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17071         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17072         <kernel-features.h>.
17073         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17074         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17075         * sysdeps/unix/sysv/linux/openat.c: Do not include
17076         <kernel-features.h>.
17077         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17078         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17079         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17080         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17081         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17082         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17083         <kernel-features.h>.
17084         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17085         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17086         result of INLINE_SYSCALL directly, not via int variable.
17087         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17088         <kernel-features.h>.
17089         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17090         (renameat) [__NR_renameat]: Make code unconditional.
17091         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17092         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17093         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17094         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17095         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17096         (__ASSUME_ATFCTS): Do not undefine and redefine.
17097         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17098         <kernel-features.h>.
17099         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17100         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17101         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17102         <kernel-features.h>.
17103         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17104         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17105         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17106         (__ASSUME_ATFCTS): Do not undefine and redefine.
17107         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17108         <kernel-features.h>.
17109         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17110         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17111         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17112         <kernel-features.h>.
17113         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17114         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17116 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17118         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17120 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17122         [BZ #17069]
17123         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17124         constructed tree before returning error.
17125         * posix/bug-regexp36.c: Expand test case.
17127 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17129         [BZ #6803]
17130         * math/libm-test.inc (scalbln_test_date):
17131         Add errno expectations.
17132         * math/w_scalblnf.c: New File.
17133         Add wrapper which checks for setting errno to ERANGE.
17134         Add weak_alias for corresponding scalbln function.
17135         * math/w_scalbln.c: Likewise.
17136         * math/w_scalblnl.c: Likewise.
17137         * math/Makefile (libm-calls): Add w_scalbln.
17138         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17139         Remove weak_alias for corresponding scalbln function.
17140         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17141         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17142         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17143         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17144         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17145         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17146         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17147         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17148         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17149         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17150         Remove long_double_symbol for scalblnl function in libm, libc.
17151         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17152         Add wrapper which checks for setting errno to ERANGE.
17153         Add long_double_symbol for scalblnl function in libm, libc.
17154         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17155         Remove long_double_symbol for scalblnl in libm.
17156         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17157         Add wrapper which checks for setting errno to ERANGE.
17158         Add long_double_symbol for scalblnl function in libm.
17159         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17160         Do not use wrapper because of own implementation.
17162 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17164         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17165         3 bytes for __pad1 for x32.
17166         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17168 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17169             H.J. Lu  <hongjiu.lu@intel.com>
17171         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17172         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17173         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17174         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17175         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17177 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17179         [BZ #17069]
17180         * posix/regcomp.c (parse_expression): Deallocate partially
17181         constructed tree before returning error.
17182         * posix/Makefile.c (tests): Add bug-regex36.
17183         (generated): Add bug-regex36.mtrace.
17184         (tests-special): Add $(objpfx)bug-regex36-mem.out
17185         (bug-regex36-ENV): New variable.
17186         ($(objpfx)bug-regex36-mem.out): New rule.
17187         * posix/bug-regex36.c: New file.
17189 2014-06-19  Will Newton  <will.newton@linaro.org>
17191         * malloc/malloc.c (systrim): If extra is zero then return
17192         early.
17194 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17196         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17198 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17200         * sysdeps/aarch64/strchr.S: New file.
17202 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17204         [BZ #17022]
17205         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17206         from arguments -2 or below.
17207         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17208         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17210 2014-06-18  Andreas Schwab  <schwab@suse.de>
17212         [BZ #17062]
17213         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17214         of a bracket expr not to run off the end of the string.
17215         * posix/Makefile (tests): Add tst-fnmatch3.
17216         * posix/tst-fnmatch3.c: New file.
17218 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17220         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17221         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17222         [$(cross-compiling) = no]: Likewise.
17223         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17224         [$(cross-compiling) = no]: Likewise.
17226 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17228         [BZ #17031]
17229         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17230         double, adjusted for any remainder from the high double.
17231         * math/libm-test.inc (nearbyint): Add tests.
17232         (rint): Likewise.
17234 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17236         * nptl/sysdeps/powerpc/Makefile: Moved ...
17237         * sysdeps/powerpc/nptl/Makefile: ... here.
17238         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17239         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17240         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17241         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17242         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17243         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17244         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17245         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17246         * nptl/sysdeps/powerpc/tls.h: Moved ...
17247         * sysdeps/powerpc/nptl/tls.h: ... here.
17249 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17251         [BZ #16681]
17252         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17253         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17254         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17255         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17256         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17257         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17258         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17259         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17260         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17262 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17264         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17266 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17268         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17269         defined operator.
17271         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17272         $TIMEOUTFACTOR.
17274 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17276         [BZ #17058]
17277         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17278         non-executed part of the test.
17280 2014-06-16  Andreas Schwab  <schwab@suse.de>
17282         * string/bits/string2.h (strdup, strndup): Update feature guard.
17284 2014-06-14  David S. Miller  <davem@davemloft.net>
17286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17288 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17290         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17291         that was previously under [RESET_PID].
17292         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17294         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17295         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17296         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17297         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17298         (__libc_vfork): New strong alias.
17299         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17301 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17303         * sysdeps/generic/elide.h: New file.
17305 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17307         * Makefile (installed-headers): Adjust path of pthread.h header.
17309 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17311         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17312         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17313         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17314         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17316         * nptl/sysdeps/s390/Makefile: Moved ...
17317         * sysdeps/s390/nptl/Makefile: ... here.
17318         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17319         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17320         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17321         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17322         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17323         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17324         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17325         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17326         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17327         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17328         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17329         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17330         * nptl/sysdeps/s390/tls.h: Moved ...
17331         * sysdeps/s390/nptl/tls.h: ... here.
17333         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17334         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17336 2014-06-13  David S. Miller  <davem@davemloft.net>
17338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17341         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17345         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17346         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17347         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17348         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17349         Remove RESET_PID cpp guards.
17350         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17351         Remove RESET_PID cpp guards.
17352         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17354 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17356         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17357         __sp to uintptr_t.
17359 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17361         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17362         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17363         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17364         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17365         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17366         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17367         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17368         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17369         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17370         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17371         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17372         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17373         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17374         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17375         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17376         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17377         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17378         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17379         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17380         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17382         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17383         (pthread_rwlock_rdlock): Add elision.
17384         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17385         (pthread_rwlock_wrlock): Add elision.
17386         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17387         (pthread_rwlock_trywrlock): Add elision.
17388         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17389         (pthread_rwlock_tryrdlock): Add elision.
17390         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17391         (pthread_rwlock_tryrdlock): Add elision unlock.
17392         * nptl/sysdeps/pthread/pthread.h:
17393         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17394         (PTHREAD_RWLOCK_INITIALIZER,
17395         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17396         Handle new elision field.
17397         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17398         * sysdeps/arm/nptl/bits/pthreadtypes.h
17399         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17400         * sysdeps/sh/nptl/bits/pthreadtypes.h
17401         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17402         * sysdeps/tile/nptl/bits/pthreadtypes.h
17403         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17404         * sysdeps/a/nptl/bits/pthreadtypes.h
17405         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17406         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17407         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17408         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17409         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17410         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17411         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17412         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17413         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17414         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17415         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17416         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17417         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17418         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17419         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17420         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17421         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17422         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17423         (elision_init): Set try_xbegin to zero when no RTM.
17424         * sysdeps/x86/nptl/bits/pthreadtypes.h
17425         (pthread_rwlock_t): Change __pad1 to __rwelision.
17426         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17428 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17430         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17431         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17432         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17433         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17435 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17437         [BZ #16996]
17438         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17439         that the cached result has been set before returning it.
17441 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17443         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17444         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17445         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17446         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17447         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17448         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17450         * nptl/sysdeps/sparc/Makefile: Moved ...
17451         * sysdeps/sparc/nptl/Makefile: ... here.
17452         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17453         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17454         * nptl/sysdeps/sparc/tls.h: Moved ...
17455         * sysdeps/sparc/nptl/tls.h: ... here.
17456         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17457         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17458         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17459         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17460         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17461         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17462         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17463         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17464         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17465         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17466         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17467         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17468         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17469         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17470         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17471         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17472         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17473         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17474         Update #include.
17475         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17476         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17477         Update #include.
17478         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17479         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17480         Update #include.
17481         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17482         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17483         Update #include.
17485         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17487         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17488         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17490         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17491         (struct list_links): Type removed.
17492         (struct thread_node, struct timer_node): Replace struct list_links
17493         with struct list_head.
17494         (list_unlink_ip): Likewise.
17495         * sysdeps/pthread/timer_routines.c
17496         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17497         (list_append, list_insbefore): Likewise.
17498         (list_init): Function removed.
17499         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17500         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17501         * sysdeps/pthread/Makefile: ... here, new file.
17503         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17504         * sysdeps/nptl/Implies: ... here.
17505         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17506         * nptl/sysdeps/pthread/list.h: Moved ...
17507         * include/list.h: ... here.
17508         * nptl/sysdeps/pthread/createthread.c: Moved ...
17509         * nptl/createthread.c: ... here.
17510         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17511         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17512         * nptl/pt-longjmp.c: ... here.
17513         * nptl/sysdeps/pthread/Makefile: Moved ...
17514         * sysdeps/nptl/Makefile: ... here.
17515         * nptl/sysdeps/pthread/Subdirs: Moved ...
17516         * sysdeps/nptl/Subdirs: ... here.
17517         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17518         * sysdeps/nptl/aio_misc.h: ... here.
17519         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17520         * sysdeps/nptl/bits/libc-lock.h: ... here.
17521         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17522         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17523         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17524         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17525         * nptl/sysdeps/pthread/configure: Moved ...
17526         * sysdeps/nptl/configure: ... here.
17527         * nptl/sysdeps/pthread/configure.ac: Moved ...
17528         * sysdeps/nptl/configure.ac: ... here.
17529         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17530         * sysdeps/nptl/gai_misc.h: ... here.
17531         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17532         * sysdeps/nptl/librt-cancellation.c: ... here.
17533         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17534         * sysdeps/nptl/malloc-machine.h: ... here.
17535         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17536         * sysdeps/nptl/pthread-functions.h: ... here.
17537         * nptl/sysdeps/pthread/pthread.h: Moved ...
17538         * sysdeps/nptl/pthread.h: ... here.
17539         * nptl/sysdeps/pthread/setxid.h: Moved ...
17540         * sysdeps/nptl/setxid.h: ... here.
17541         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17542         * sysdeps/nptl/sigfillset.c: ... here.
17543         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17544         * sysdeps/nptl/tcb-offsets.h: ... here.
17545         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17546         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17547         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17548         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17549         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17550         * sysdeps/pthread/allocalim.h: ... here.
17551         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17552         * sysdeps/pthread/bits/sigthread.h: ... here.
17553         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17554         * sysdeps/pthread/flockfile.c: ... here.
17555         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17556         * sysdeps/pthread/ftrylockfile.c: ... here.
17557         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17558         * sysdeps/pthread/funlockfile.c: ... here.
17559         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17560         * sysdeps/pthread/posix-timer.h: ... here.
17561         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17562         * sysdeps/pthread/timer_create.c: ... here.
17563         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17564         * sysdeps/pthread/timer_delete.c: ... here.
17565         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17566         * sysdeps/pthread/timer_getoverr.c: ... here.
17567         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17568         * sysdeps/pthread/timer_gettime.c: ... here.
17569         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17570         * sysdeps/pthread/timer_routines.c: ... here.
17571         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17572         * sysdeps/pthread/timer_settime.c: ... here.
17573         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17574         * sysdeps/pthread/tst-timer.c: ... here.
17575         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17576         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17578         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17579         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17581         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17582         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17583         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17584         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17585         Update #include target.
17586         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17587         * sysdeps/i386/i686/nptl/Makefile: ... here.
17588         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17589         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17590         Update #include target.
17591         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17592         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17593         * nptl/sysdeps/i386/Makefile: Moved ...
17594         * sysdeps/i386/nptl/Makefile: ... here.
17595         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17596         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17597         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17598         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17599         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17600         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17601         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17602         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17603         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17604         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17605         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17606         * nptl/sysdeps/i386/tls.h: Moved ...
17607         * sysdeps/i386/nptl/tls.h: ... here.
17609         * sysdeps/sh/Makefile [$(subdir) = csu]
17610         (gen-as-const-headers): Add tcb-offsets.sym.
17611         * nptl/sysdeps/sh/Makefile: File removed.
17612         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17613         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17614         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17615         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17616         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17617         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17618         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17619         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17620         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17621         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17622         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17623         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17624         * nptl/sysdeps/sh/tls.h: Moved ...
17625         * sysdeps/sh/nptl/tls.h: ... here.
17626         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17627         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17628         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17629         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17630         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17631         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17632         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17633         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17634         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17635         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17636         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17637         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17638         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17639         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17640         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17641         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17642         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17643         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17644         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17645         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17646         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17647         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17648         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17649         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17650         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17651         Moved ...
17652         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17653         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17654         Moved ...
17655         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17656         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17657         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17658         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17659         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17660         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17661         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17662         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17663         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17664         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17665         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17666         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17667         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17668         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17669         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17670         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17671         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17672         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17673         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17675 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17677         * posix/spawn_faction_addopen.c: Include string.h.
17679 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17681         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17682         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17683         * nptl/sysdeps/x86_64/Makefile: Moved ...
17684         * sysdeps/x86_64/nptl/Makefile: ... here.
17685         * nptl/sysdeps/x86_64/configure: Moved ...
17686         * sysdeps/x86_64/nptl/configure: ... here.
17687         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17688         * sysdeps/x86_64/nptl/configure.ac: ... here.
17689         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17690         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17691         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17692         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17693         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17694         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17695         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17696         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17697         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17698         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17699         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17700         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17701         * nptl/sysdeps/x86_64/tls.h: Moved ...
17702         * sysdeps/x86_64/nptl/tls.h: ... here.
17703         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17704         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17705         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17706         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17708         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17710 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17714 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17716         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17717         type.
17718         [POSIX] (off_t): Likewise.
17719         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17720         [POSIX] (S_ISBLK): Require macro.
17721         [POSIX] (S_ISCHR): Likewise.
17722         [POSIX] (S_ISDIR): Likewise.
17723         [POSIX] (S_ISFIFO): Likewise.
17724         [POSIX] (S_ISREG): Likewise.
17725         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17726         optional-macro.
17727         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17728         type.
17729         [POSIX] (time_t): Likewise.
17730         [POSIX] (timer_t): Likewise.
17732 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17734         [BZ #17048]
17735         * posix/spawn_int.h (struct __spawn_action): Make the path string
17736         non-const to support deallocation.
17737         * posix/spawn_faction_addopen.c
17738         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17739         * posix/spawn_faction_destroy.c
17740         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17741         path in all spawn_do_open actions.
17742         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17743         posix_spawn_file_actions_addopen.
17745 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17747         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17748         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17749         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17750         conditional code always true.
17751         (__libc_vfork): New alias.
17753 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17755         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17756         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17758         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17760         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17761         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17763         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17764         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17766         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17767         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17769 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17771         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17772         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17773         multiarch strcmp for PPC64.
17774         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17775         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17777         multiarch optimizations.
17778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17779         (__libc_ifunc_impl_list): Likewise.
17781 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17783         * benchtests/scripts/validate_benchout.py: New script.
17784         * benchtests/Makefile (bench-func): Call it.
17785         * benchtests/scripts/benchout.schema.json: New file.
17787 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
17789         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17790         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17791         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17792         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17793         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17794         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17795         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17796         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17797         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17798         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17799         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17800         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17801         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17802         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17803         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17804         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17806         Moved ...
17807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17808         ... here.
17809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17810         Moved ...
17811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17813         Moved ...
17814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17815         ... here.
17816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17817         Moved ...
17818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17819         ... here.
17820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17821         Moved ...
17822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17824         Moved ...
17825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17826         ... here.
17827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17828         Moved ...
17829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17830         ... here.
17831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17832         Moved ...
17833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17835         Moved ...
17836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17837         ... here.
17838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17839         Moved ...
17840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17841         ... here.
17842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17843         Moved ...
17844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17845         ... here.
17846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17847         Moved ...
17848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17850         Moved ...
17851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17852         ... here.
17853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17854         Moved ...
17855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17856         ... here.
17857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17858         Moved ...
17859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17860         ... here.
17861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17862         Moved ...
17863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17865         Moved ...
17866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17867         ... here.
17868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17869         Moved ...
17870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17871         ... here.
17872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17873         Moved ...
17874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17876         Moved ...
17877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17878         ... here.
17879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17880         Moved ...
17881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17883         Moved ...
17884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17886         Moved ...
17887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17888         ... here.
17889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17890         Moved ...
17891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17892         ... here.
17893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17894         Moved ...
17895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17896         ... here.
17897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17898         Moved ...
17899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17901         Moved ...
17902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17903         ... here.
17904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17905         Moved ...
17906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17907         ... here.
17908         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17909         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17910         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17911         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17912         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17913         Moved ...
17914         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17915         ... here.
17916         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17917         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17918         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17919         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17920         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17921         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17922         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17923         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17924         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17925         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17926         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17927         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17928         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17929         Moved ...
17930         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17931         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17932         Moved ...
17933         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17934         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17935         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17936         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17937         Moved ...
17938         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17939         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17940         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17941         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17942         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17943         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17944         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17946 2014-06-10  Wilco  <wdijkstr@arm.com>
17948         * math/test-fenv-return.c: New file.
17949         * math/Makefile: Add new test test-fenv-return.
17951 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17953         [BZ #17042]
17954         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17955         when x - 1 is zero.
17956         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17957         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17958         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17959         0.0L for an argument of 1.0L.
17960         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17961         Likewise.
17962         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17963         value when x - 1 is zero.
17964         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17965         * sysdeps/i386/fpu/libm-test-ulps: Update.
17966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17968 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17970         [BZ #15119]
17971         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17973 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17975         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17976         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17978 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17980         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17981         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17983         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17984         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17986         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17987         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17989         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17990         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17992         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17993         if not already defined.
17994         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17995         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17996         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17997         (TLS_INIT_TP): Use it.
17998         (TLS_DEFINE_INIT_TP): New macro.
17999         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18001 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18003         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18004         constant.
18005         [POSIX] (IXANY): Likewise.
18006         [POSIX] (OLCUC): Likewise.
18007         [POSIX || POSIX2008] (CBAUD): Do not allow.
18008         [POSIX || POSIX2008] (DEFECHO): Likewise.
18009         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18010         [POSIX || POSIX2008] (ECHOKE): Likewise.
18011         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18012         [POSIX || POSIX2008] (EXTA): Likewise.
18013         [POSIX || POSIX2008] (EXTB): Likewise.
18014         [POSIX || POSIX2008] (FLUSHO): Likewise.
18015         [POSIX || POSIX2008] (LOBLK): Likewise.
18016         [POSIX || POSIX2008] (PENDIN): Likewise.
18017         [POSIX || POSIX2008] (SWTCH): Likewise.
18018         [POSIX || POSIX2008] (VDISCARD): Likewise.
18019         [POSIX || POSIX2008] (VDSUSP): Likewise.
18020         [POSIX || POSIX2008] (VLNEXT): Likewise.
18021         [POSIX || POSIX2008] (VREPRINT): Likewise.
18022         [POSIX || POSIX2008] (VSTATUS): Likewise.
18023         [POSIX || POSIX2008] (VWERASE): Likewise.
18024         (B*): Change to B[0123456789]*.
18025         * conform/data/time.h-data [POSIX || UNIX98]
18026         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18027         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18028         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18029         [POSIX] (tm_*): Do not allow.
18031 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18033         * Makefile (install): Don't set LANGUAGE.
18034         * Makefile.in (install): Likewise.
18035         * assert/Makefile (test-assert-ENV): Remove variable.
18036         (test-assert-perr-ENV): Likewise.
18037         * elf/Makefile (neededtest4-ENV): Likewise.
18038         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18039         [$(cross-compiling) = no]: Don't set LANGUAGE.
18040         * io/ftwtest-sh (LANG): Remove variable.
18041         * libio/Makefile (tst-widetext-ENV): Likewise.
18042         * manual/install.texi (Running make install): Don't refer to
18043         environment settings for make install.
18044         * INSTALL: Regenerated.
18045         * nptl/tst-tls6.sh: Don't set LANG.
18046         * posix/globtest.sh (LANG): Remove variable.
18047         * string/Makefile (tester-ENV): Likewise.
18048         (inl-tester-ENV): Likewise.
18049         (noinl-tester-ENV): Likewise.
18050         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18051         [$(cross-compiling) = no]: Don't set LANGUAGE.
18052         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18053         without explicit environment settings.
18055 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18057         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18058         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18059         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18060         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18062 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18064         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18065         other files in the crypt directory.
18066         * crypt/crypt.c: Remove duplicate includes.
18067         * crypt/crypt-entry.c: Likewise.
18068         * crypt/crypt_util.c: Likewise.
18070 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18072         * Makeconfig (run-program-env): New variable.
18073         (run-program-prefix-before-env): Likewise.
18074         (run-program-prefix-after-env): Likewise.
18075         (run-program-prefix): Define in terms of new variables.
18076         (built-program-cmd-before-env): New variable.
18077         (built-program-cmd-after-env): Likewise.
18078         (built-program-cmd): Define in terms of new variables.
18079         (test-program-prefix-before-env): New variable.
18080         (test-program-prefix-after-env): Likewise.
18081         (test-program-prefix): Define in terms of new variables.
18082         (test-program-cmd-before-env): New variable.
18083         (test-program-cmd-after-env): Likewise.
18084         (test-program-cmd): Define in terms of new variables.
18085         * Rules (make-test-out): Use $(run-program-env).
18086         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18087         (help): Do not mention environment variables.  Mention
18088         --timeoutfactor option.
18089         (timeoutfactor): New variable.
18090         (blacklist_exports): Remove function.
18091         (exports): Remove variable.
18092         (command): Do not include ${exports}.
18093         * manual/install.texi (Configuring and compiling): Do not mention
18094         test wrappers preserving environment variables.  Mention that last
18095         assignment to a variable must take precedence.
18096         * INSTALL: Regenerated.
18097         * benchtests/Makefile (run-bench): Use $(run-program-env).
18098         * catgets/Makefile ($(objpfx)test1.cat): Use
18099         $(built-program-cmd-before-env), $(run-program-env) and
18100         $(built-program-cmd-after-env).
18101         ($(objpfx)test2.cat): Do not specify environment variables
18102         explicitly.
18103         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18104         $(run-program-env) and $(built-program-cmd-after-env).
18105         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18106         $(run-program-env) and $(test-program-cmd-after-env).
18107         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18108         explicitly.
18109         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18110         run_program_env and test_program_cmd_after_env arguments.
18111         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18112         * elf/tst-pathopt.sh: Use run_program_env argument.
18113         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18114         $(test-wrapper-env) and $(run-program-env).
18115         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18116         run_program_env arguments.
18117         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18118         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18119         $(test-program-prefix-before-env), $(run-program-env) and
18120         $(test-program-prefix-after-env).
18121         ($(objpfx)tst-gettext2.out): Likewise.
18122         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18123         run_program_env and test_program_prefix_after_env arguments.
18124         * intl/tst-gettext2.sh: Likewise.
18125         * intl/tst-gettext4.sh: Do not set environment variables
18126         explicitly.
18127         * intl/tst-gettext6.sh: Likewise.
18128         * intl/tst-translit.sh: Likewise.
18129         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18130         $(test-program-prefix-before-env), $(run-program-env) and
18131         $(test-program-prefix-after-env).
18132         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18133         run_program_env and test_program_prefix_after_env arguments.
18134         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18135         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18136         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18137         explicitly with each use of ${test_wrapper_env}.
18138         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18139         $(test-program-prefix-before-env), $(run-program-env) and
18140         $(test-program-prefix-after-env).
18141         * posix/tst-getconf.sh: Do not set environment variables
18142         explicitly.
18143         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18144         run_program_env and test_program_prefix_after_env arguments.
18145         * stdio-common/tst-printf.sh: Do not set environment variables
18146         explicitly.
18147         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18148         $(test-program-prefix-before-env), $(run-program-env) and
18149         $(test-program-prefix-after-env).
18150         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18151         run_program_env and test_program_prefix_after_env arguments.
18152         Split $test calls into $test_pre and $test.
18153         * timezone/Makefile (build-testdata): Use
18154         $(built-program-cmd-before-env), $(run-program-env) and
18155         $(built-program-cmd-after-env).
18157 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18159         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18160         strlen for non SHARED builds.
18162 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18164         * nptl/allocatestack.c (check_list): Inlined function...
18165         (__reclaim_stacks): ... here.
18167 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18169         [BZ #15698]
18170         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18171         memory overrun.
18173 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18175         * Rules (make-test-out): Include
18176         LOCPATH=$(common-objpfx)localedata in default environment.
18177         * debug/Makefile (tst-chk1-ENV): Remove variable.
18178         (tst-chk2-ENV): Likewise.
18179         (tst-chk3-ENV): Likewise.
18180         (tst-chk4-ENV): Likewise.
18181         (tst-chk5-ENV): Likewise.
18182         (tst-chk6-ENV): Likewise.
18183         (tst-lfschk1-ENV): Likewise.
18184         (tst-lfschk2-ENV): Likewise.
18185         (tst-lfschk3-ENV): Likewise.
18186         (tst-lfschk4-ENV): Likewise.
18187         (tst-lfschk5-ENV): Likewise.
18188         (tst-lfschk6-ENV): Likewise.
18189         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18190         (tst-iconv7-ENV): Likewise.
18191         * intl/Makefile (LOCPATH-ENV): Likewise.
18192         (tst-codeset-ENV): Likewise.
18193         (tst-gettext3-ENV): Likewise.
18194         (tst-gettext5-ENV): Likewise.
18195         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18196         (tst-fopenloc-ENV): Likewise.
18197         (tst-fgetws-ENV): Remove variable.
18198         (tst-ungetwc1-ENV): Likewise.
18199         (tst-ungetwc2-ENV): Likewise.
18200         (bug-ungetwc2-ENV): Likewise.
18201         (tst-swscanf-ENV): Likewise.
18202         (bug-ftell-ENV): Likewise.
18203         (tst-fgetwc-ENV): Likewise.
18204         (tst-fseek-ENV): Likewise.
18205         (tst-ftell-partial-wide-ENV): Likewise.
18206         (tst-ftell-active-handler-ENV): Likewise.
18207         (tst-ftell-append-ENV): Likewise.
18208         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18209         (tst-regexloc-ENV): Likewise.
18210         (bug-regex1-ENV): Likewise.
18211         (tst-regex-ENV): Likewise.
18212         (tst-regex2-ENV): Likewise.
18213         (bug-regex5-ENV): Likewise.
18214         (bug-regex6-ENV): Likewise.
18215         (bug-regex17-ENV): Likewise.
18216         (bug-regex18-ENV): Likewise.
18217         (bug-regex19-ENV): Likewise.
18218         (bug-regex20-ENV): Likewise.
18219         (bug-regex22-ENV): Likewise.
18220         (bug-regex23-ENV): Likewise.
18221         (bug-regex25-ENV): Likewise.
18222         (bug-regex26-ENV): Likewise.
18223         (bug-regex30-ENV): Likewise.
18224         (bug-regex32-ENV): Likewise.
18225         (bug-regex33-ENV): Likewise.
18226         (bug-regex34-ENV): Likewise.
18227         (bug-regex35-ENV): Likewise.
18228         (tst-rxspencer-ENV): Likewise.
18229         (tst-rxspencer-no-utf8-ENV): Likewise.
18230         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18231         (tst-sscanf-ENV): Likewise.
18232         (tst-swprintf-ENV): Likewise.
18233         (tst-swscanf-ENV): Likewise.
18234         (test-vfprintf-ENV): Likewise.
18235         (scanf13-ENV): Likewise.
18236         (bug14-ENV): Likewise.
18237         (tst-grouping-ENV): Likewise.
18238         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18239         (tst-strtod3-ENV): Likewise.
18240         (tst-strtod4-ENV): Likewise.
18241         (tst-strtod5-ENV): Likewise.
18242         (testmb2-ENV): Likewise./
18243         * string/Makefile (tst-strxfrm-ENV): Likewise.
18244         (tst-strxfrm2-ENV): Likewise.
18245         (bug-strcoll1-ENV): Likewise.
18246         (test-strcasecmp-ENV): Likewise.
18247         (test-strncasecmp-ENV): Likewise.
18248         * time/Makefile (tst-strptime-ENV): Likewise.
18249         (tst-ftime_l-ENV): Likewise.
18250         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18251         (tst-mbrtowc-ENV): Likewise.
18252         (tst-wcrtomb-ENV): Likewise.
18253         (tst-mbrtowc2-ENV): Likewise.
18254         (tst-c16c32-1-ENV): Likewise.
18255         (tst-mbsnrtowcs-ENV): Likewise.
18257 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18259         * manual/resource.texi (How to get information about the memory
18260         subsystem?): Fix typo.
18261         Reported by Peon de la Parra Ivan <peon@keba.com>
18263 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18265         [BZ #16882]
18266         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18267         (pthread_spin_lock): Branch out of spin loop to proper location.
18268         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18269         (pthread_spin_lock): Likewise.
18271         * nptl/tst-spin4.c: New test.
18272         * nptl/Makefile (tests): Add tst-spin4.
18274 2014-06-03  Andreas Schwab  <schwab@suse.de>
18276         [BZ #15946]
18277         * resolv/res_send.c (send_dg): Reload file descriptor after
18278         calling reopen.
18280 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18282         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18284 2014-06-03  Richard Henderson  <rth@redhat.com>
18286         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18287         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18288         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18289         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18290         in the SAVE_PID block.
18291         (__libc_vfork): New alias.
18292         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18294         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18295         child in registers, not on the stack.  Remove RESET_PID conditionals.
18296         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18298 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18300         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18302 2014-06-03  Wilco  <wdijkstr@arm.com>
18304         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18305         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18306         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18307         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18308         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18309         Likewise.
18311 2014-06-03  Wilco  <wdijkstr@arm.com>
18313         * sysdeps/aarch64/fpu/math_private.h
18314         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18315         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18316         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18317         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18318         Fix declarations.
18320 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18322         * crypt/crypt-private.h: Include ufc-crypt.h.
18323         (__b64_from_24bit): Declare extern.
18324         * crypt/crypt_util.c(__b64_from_24bit): New function.
18325         (b64t): New static const variable.
18326         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18327         (b64t): Remove variable.
18328         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18329         * crypt/sha256-crypt.c: Include crypt-private.h.
18330         (b64t): Remove variable.
18331         (__sha256_crypt_r): Remove b64_from_24bit and replace
18332         with __b64_from_24bit.
18333         * crypt/sha512-crypt.c: Likewise.
18335 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18337         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18338         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18339         Label the code __libc_vfork rather than __vfork.
18340         [!NOT_IN_libc] (vfork): Define as weak alias.
18341         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18342         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18343         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18345 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18347         * malloc/malloc.c (malloc_info): Fix format specifier for
18348         n_mmaps.
18350 2014-06-02  Wilco  <wdijkstr@arm.com>
18352         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18353         FPCR write.
18355 2014-06-02  Wilco  <wdijkstr@arm.com>
18357         [BZ #17009]
18358         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18359         Rewrite to reduce FPCR/FPSR accesses.
18361 2014-06-01  David S. Miller  <davem@davemloft.net>
18363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18365 2014-05-31  David S. Miller  <davem@davemloft.net>
18367         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18368         to occur in round to nearest mode when |x| >= 2.0
18370 2014-05-30  Richard Henderson  <rth@twiddle.net>
18372         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18373         (PSEUDO_RET_NOERRNO): Remove.
18374         (ret): Don't redefine.
18375         (ret_NOERRNO): Define in terms of ret.
18376         (ret_ERRVAL): Likewise.
18378         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18379         use of PSEUDO_RET; perform the error check directly.
18381 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18383         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18384         with __int128_t.
18386 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18388         * malloc/malloc (malloc_info): Fix formatting.
18390 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18391             Roland McGrath  <roland@hack.frob.com>
18393         * malloc/malloc (malloc_info): Also print mmapped statistics.
18395 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18397         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18398         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18400 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18402         * malloc/malloc.c (malloc_info): Inline mi_arena.
18404 2014-05-29  Richard Henderson  <rth@twiddle.net>
18406         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18407         Remove comma before expanding ASM_ARGS_##nr.
18408         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18409         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18410         of ASM_ARGS_##nr.
18411         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18412         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18413         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18414         (ASM_ARGS_1): Add leading comma.
18416         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18417         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18418         to __errno_location.
18419         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18420         Remove the expected plt for __errno_location.
18422         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18423         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18424         call to __read_tp.
18426         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18427         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18428         it and break it down.
18429         (DOCARGS_0, DOCARGS_1): Do nothing.
18430         (DOCARGS_2): Update to store into the new stack frame.
18431         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18432         (UNDOCARGS_1): Update to restore from the new stack frame.
18433         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18434         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18436         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18437         (SINGLE_THREAD_P): New parameter for result regno.
18438         (PSEUDO): Update to match; use cbz instead of beq.
18440         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18441         Use ENTRY to define the _nocancel entry point.  Share the syscall
18442         and syscall error check paths with the cancel path.
18443         (PSEUDO_END): New.
18445         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18446         whitespace; tabs before and after asm mnemonics.
18448 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18450         [BZ #15132]
18451         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18452         Call fstat64 or stat64 internally, depending on arguments passed.
18453         Replace stat buffer argument with file descriptor argument.
18454         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18455         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18456         Pass fd to __internal_statvfs instead of calling fstat64.
18457         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18458         Pass fd to __internal_statvfs64 instead of calling fstat64.
18459         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18460         Pass -1 to __internal_statvfs instead of calling stat64.
18461         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18462         Pass -1 to __internal_statvfs64 instead of calling stat64.
18464 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18466         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18467         that was previously under [RESET_PID].
18468         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18470         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18471         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18473 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18475         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18477         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18478         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18480 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18482         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18484 2014-05-27  Andreas Schwab  <schwab@suse.de>
18486         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18487         TLS_INIT_TP macro.
18488         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18489         * elf/rtld.c (init_tls, dl_main): Likewise.
18490         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18491         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18492         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18493         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18494         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18495         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18496         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18497         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18498         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18499         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18500         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18501         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18502         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18503         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18504         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18505         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18506         * sysdeps/generic/tls.h: Update description.
18508 2014-05-27  Will Newton  <will.newton@linaro.org>
18510         [BZ #16990]
18511         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18512         and restore r2 rather than just restoring.
18514 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18516         [BZ #16724]
18517         * libio/tst-ftell-append.c: New test case.
18518         * libio/Makefile (tests): Add test case.
18519         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18520         append mode.
18521         * libio/wfileops.c (do_ftell_wide): Likewise.
18523 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18527         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18528         ...
18529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18531         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18532         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18533         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18534         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18535         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18536         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18537         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18538         Moved ...
18539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18540         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18541         Moved ...
18542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18543         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18544         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18545         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18546         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18547         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18548         ...
18549         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18550         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18551         Moved ...
18552         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18553         here.
18554         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18555         ...
18556         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18557         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18558         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18560         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18561         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18562         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18563         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18566         merge into ...
18567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18568         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18569         ...
18570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18571         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18572         ...
18573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18574         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18575         Moved ...
18576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18577         here.
18578         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18579         Moved ...
18580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18581         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18582         Moved ...
18583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18586         conditional [RESET_PID].
18587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18589         removed.
18590         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18591         removed.
18593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18594         <tcb-offsets.h>.
18595         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18596         (__libc_vfork): New strong alias.
18597         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18598         removed.
18599         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18600         Removed.
18602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18603         <tcb-offsets.h>.
18604         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18605         (__libc_vfork): New strong alias.
18606         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18607         removed.
18608         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18609         removed.
18611 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18613         * malloc/malloc.c (mi_arena): New function.
18614         (malloc_info): Remove nested function mi_arena. Call non-nosted
18615         function mi_arena.
18617 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18619         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18620         by insrwi.
18621         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18622         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18623         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18624         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18625         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18626         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18627         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18629 2014-05-26  Andreas Schwab  <schwab@suse.de>
18631         [BZ #16984]
18632         * locale/programs/repertoire.c (repertoire_read): Add slash
18633         between I18NPATH element and file name.
18634         * locale/programs/locfile.c (locfile_read): Likewise.
18636 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18638         * nptl/pthread_mutexattr_settype.c
18639         (__pthread_mutexattr_settype):
18640         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18642 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18644         * nptl/tst-mutex5 (do_test):
18645         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18647 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18649         * benchtests/README: Document 'init' directive.
18650         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18651         BENCH_INIT.
18652         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18653         (parse_file): Recognize 'init' directive.
18655 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18657         [BZ #16796]
18658         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18659         alignment of struct pthread.
18661 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18663         [BZ #16878]
18664         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18665         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18666         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18667         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18669 2014-05-25  Richard Henderson  <rth@twiddle.net>
18671         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18672         (SINGLE_THREAD_P_PIC): Remove.
18673         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18674         (SINGLE_THREAD_P_PIC): Remove.
18676         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18677         branch to syscall error ...
18678         (PSEUDO): ... here.
18679         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18680         from __local_syscall_error to .Lsyscall_error.
18681         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18682         (SYSCALL_ERROR): Update label name.
18684         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18685         Do not use DOARGS/UNDOARGS.
18686         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18687         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18688         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18689         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18690         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18692         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18693         block comment.
18695         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18696         define if !NOT_IN_libc.
18697         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18698         define with non-default symbol versions.
18700 2014-05-23  Richard Henderson  <rth@twiddle.net>
18702         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18703         (vfork, __vfork): Define via compat_symbol.
18705         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18706         [!HAVE_IFUNC] (vfork_compat): Remove.
18707         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18709 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18711         [BZ #16978]
18712         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18713         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18714         variable.
18716 2014-05-23  Richard Henderson  <rth@twiddle.net>
18718         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18719         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18720         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18721         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18723         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18724         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18725         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18726         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18727         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18728         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18729         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18730         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18731         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18732         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18733         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18734         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18735         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18736         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18737         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18738         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18739         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18740         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18741         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18742         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18743         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18744         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18745         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18746         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18747         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18748         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18749         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18750         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18751         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18752         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18753         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18754         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18755         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18756         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18757         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18758         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18759         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18760         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18761         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18762         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18763         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18764         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18765         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18766         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18767         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18768         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18769         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18770         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18771         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18772         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18773         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18774         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18775         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18776         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18777         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18778         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18780         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18781         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18782         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
18783         before exiting on error.
18784         (__libc_vfork): New strong alias.
18785         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18786         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18788         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18789         that was previously under [RESET_PID].
18790         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18792         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18794 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18796         [BZ #16977]
18797         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18798         value when x - 1 is zero.
18799         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18800         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18801         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18802         0.0L for an argument of 1.0L.
18803         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18804         Likewise.
18805         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18806         value when x - 1 is zero.
18807         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18808         * sysdeps/i386/fpu/libm-test-ulps: Update.
18809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18811 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18813         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18814         alphasort and versionsort.
18816 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18818         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18819         macro.
18820         [copysignf]: Likewise.
18822 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18824         * crypt/md5-crypt.c: Fix formatting.
18826 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18828         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18829         (b64_from_24bit): New function.
18831 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18833         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18834         libc_hidden_builtin_def to ifunc.
18835         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18836         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18838 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18840         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18841         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18843 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18845         * nscd/Depend (linuxthreads): Remove.
18846         (nptl): Add.
18847         * resolv/Depend (linuxthreads): Remove.
18848         * rt/Depend (linuxthreads): Remove.
18850         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18851         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18852         $(common-objpfx)elf/.
18853         (link-libc-before-gnulib): Likewise.
18854         (elfobjdir): Remove variable.
18855         * Makefile (install): Use $(elf-objpfx) instead of
18856         $(common-objpfx)elf/.
18857         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18858         $(elfobjdir)/.
18859         (link-libc-deps): Likewise.
18860         ($(common-objpfx)libc.so): Likewise.
18861         ($(common-objpfx)linkobj/libc.so): Likewise.
18862         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18863         instead of $(common-objpfx)elf/.
18864         (symbolic-link-list): Likewise.
18865         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18866         [$(cross-compiling) = no]: Likewise.
18867         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18868         $(elfobjdir)/.
18869         (static-gnulib-arch): Likewise.
18870         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18871         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18872         $(common-objpfx)elf/.
18874 2014-05-21  Richard Henderson  <rth@redhat.com>
18876         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18877         (SINGLE_THREAD_P): Use the correct width load.  Fold
18878         into the ldr offset.
18880         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18881         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18883 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18885         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18886         (libgcc_s_resume): Use __attribute_used__.
18887         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18888         Likewise.
18890 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18892         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18893         optimization when used with float constants.
18895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18897 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18899         [BZ #16915]
18900         * locale/nl_langinfo_l.c: Make direct reference to every
18901         _nl_current_CATEGORY symbol.
18902         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18903         (tests-static): Add tst-langinfo-static.
18904         (tests-special): Add tst-langinfo-static.out.
18905         ($(objpfx)tst-langinfo.out): Redirect output.
18906         ($(objpfx)tst-langinfo-static.out): New.
18907         * localedata/tst-langinfo.sh: Send output to stdout.
18908         * localedata/tst-langinfo-static.c: New file.
18910         [BZ #16965]
18911         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18912         when the shift amount is modulo the limb size.
18914 2014-05-20  Richard Henderson  <rth@redhat.com>
18916         [BZ #16967]
18917         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18918         Change type of sa_flags from unsigned int to int.
18920         [BZ #16966]
18921         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18923         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18925 2014-05-20  Will Newton  <will.newton@linaro.org>
18927         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18928         Test the return value of the system call in the nocancel case.
18930 2014-05-20  Will Newton  <will.newton@linaro.org>
18931             Yvan Roux  <yvan.roux@linaro.org>
18933         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18934         #include of asm/ptrace.h.
18935         (PTRACE_GET_THREAD_AREA): Remove #undef.
18936         (PTRACE_GETHBPREGS): Likewise.
18937         (PTRACE_SETHBPREGS): Likewise.
18938         (struct user_regs_struct): New structure.
18939         (struct user_fpsimd_struct): New structure.
18940         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18941         #include of asm/ptrace.h and second #include of sys/user.h.
18942         (PTRACE_GET_THREAD_AREA): Remove #undef.
18943         (PTRACE_GETHBPREGS): Likewise.
18944         (PTRACE_SETHBPREGS): Likewise.
18945         (ELF_NGREG): Use new struct user_regs_struct.
18946         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18948 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18950         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18951         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18953 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18955         [BZ #16958]
18956         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18957         membar to avoid block loads/stores to overlap previous stores.
18959 2014-05-17  Richard Henderson  <rth@redhat.com>
18961         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18962         Create the __##syscall_name##_nocancel entry point.
18963         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18964         Remove; let the sysdep-cancel.h code create it.
18966 2014-05-17  David S. Miller  <davem@davemloft.net>
18968         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18969         Protect with __USE_GNU.
18970         (TIOCSET_TEMPT): Likewise.
18971         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18972         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18973         these are already provided in bits/ioctl-types.h
18975 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18977         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18978         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18980         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18981         Use wait4 regardless of [__NR_waitpid].
18983 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18985         PR libgcc/60166
18986         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18987         (_FP_NANSIGN_Q): Set the quiet bit.
18989 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18991         * benchtests/Makefile
18992         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18993         not $(common-objpfx)math/libm.so.
18994         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18995         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18996         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18997         $(common-objpfx)dlfcn/libdl.so.
18998         ($(objpfx)tst-audit8): Depend on $(libm), not
18999         $(common-objpfx)math/libm.so.
19000         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19001         not $(common-objpfx)dlfcn/libdl.so.
19002         * math/Makefile
19003         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19004         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19005         [$(build-shared) = yes].
19006         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19007         $(common-objpfx)nptl/libpthread.so.
19008         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19009         $(common-objpfx)math/libm.so$(libm.so-version) or
19010         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19011         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19012         $(common-objpfx)dlfcn/libdl.so.
19013         * setjmp/Makefile (link-libm): Remove variable.
19014         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19015         * stdio-common/Makefile (link-libm): Remove variable.
19016         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19017         * stdlib/Makefile (link-libm): Remove variable.
19018         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19019         ($(objpfx)tst-strtod-round): Likewise.
19020         ($(objpfx)tst-tininess): Likewise.
19021         ($(objpfx)tst-strtod-underflow): Likewise.
19022         ($(objpfx)tst-strtod6): Likewise.
19023         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19024         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19025         $(common-objpfx)dlfcn/libdl.so.
19027 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19029         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19030         BSD terminal modes definitions.
19032 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19034         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19035         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19037         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19038         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19039         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19040         Don't do #include_next.
19041         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19042         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19043         Don't do #include_next.
19044         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19045         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19046         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19047         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19049 2014-05-16  Allan McRae  <allan@archlinux.org>
19051         * po/sv.po: Update Swedish translation from translation project.
19053         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19054         in sed expression.
19056 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19058         [BZ #16917]
19059         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19060         errno if the TIOCGPTN ioctl fails with an error different than
19061         EINVAL.
19062         * login/tst-ptsname.c: New file.
19063         * login/Makefile (tests): Add tst-ptsname.
19065         [BZ #16943]
19066         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19067         and prlimit64.
19069 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19071         [BZ #16849]
19072         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19073         herrno to return EAI_AGAIN.
19075 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19077         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19078         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19079         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19080         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19081         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19082         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19083         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19084         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19085         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19086         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19087         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19088         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19089         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19090         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19091         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19092         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19093         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19094         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19095         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19096         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19097         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19098         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19099         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19100         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19101         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19102         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19103         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19104         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19105         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19106         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19108         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19110         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19112         Moved ...
19113         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19115         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19117         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19119         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19121         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19123         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19125         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19127         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19129         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19131         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19133         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19135         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19137         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19139         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19141         Moved ...
19142         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19144         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19146         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19148         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19150         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19152         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19154         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19156         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19158         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19160         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19162         Moved ...
19163         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19165         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19167         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19168         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19169         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19170         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19171         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19172         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19173         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19174         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19175         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19176         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19177         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19178         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19179         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19180         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19181         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19182         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19183         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19184         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19185         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19186         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19187         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19188         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19189         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19190         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19191         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19192         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19193         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19194         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19195         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19196         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19197         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19199         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19200         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19202         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19203         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19204         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19205         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19206         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19207         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19208         Moved ...
19209         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19210         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19211         Moved ...
19212         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19213         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19214         Moved ...
19215         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19216         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19217         Moved ...
19218         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19219         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19220         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19221         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19222         Moved ...
19223         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19224         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19225         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19226         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19227         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19228         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19229         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19230         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19231         Moved ...
19232         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19233         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19234         Moved ...
19235         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19236         ... here.
19237         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19238         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19239         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19240         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19241         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19242         Moved ...
19243         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19244         ... here.
19245         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19246         Moved ...
19247         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19248         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19249         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19250         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19251         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19252         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19253         Moved ...
19254         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19255         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19256         Moved ...
19257         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19258         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19259         Moved ...
19260         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19261         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19262         Moved ...
19263         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19264         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19265         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19266         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19267         Moved ...
19268         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19269         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19270         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19271         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19272         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19273         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19274         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19275         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19276         Moved ...
19277         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19278         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19279         Moved ...
19280         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19281         ... here.
19282         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19283         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19284         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19285         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19286         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19287         Moved ...
19288         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19289         ... here.
19290         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19291         Moved ...
19292         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19293         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19294         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19295         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19296         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19297         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19298         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19299         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19300         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19301         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19302         Moved ...
19303         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19304         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19305         Moved ...
19306         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19307         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19308         Moved ...
19309         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19310         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19311         Moved ...
19312         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19313         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19314         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19315         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19316         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19317         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19318         Moved ...
19319         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19320         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19321         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19322         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19323         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19324         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19325         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19326         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19327         Moved ...
19328         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19329         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19330         Moved ...
19331         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19332         ... here.
19333         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19334         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19335         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19336         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19337         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19338         Moved ...
19339         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19340         ... here.
19341         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19342         Moved ...
19343         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19344         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19345         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19346         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19347         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19348         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19349         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19350         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19351         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19352         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19353         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19355         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19356         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19358         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19359         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19361         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19362         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19363         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19364         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19365         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19366         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19367         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19368         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19369         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19370         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19371         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19372         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19373         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19374         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19375         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19376         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19377         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19378         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19379         Moved ...
19380         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19381         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19382         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19383         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19384         Moved ...
19385         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19386         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19387         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19388         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19389         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19390         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19391         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19392         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19393         Moved ...
19394         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19395         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19396         Moved ...
19397         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19399         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19400         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19401         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19402         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19403         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19404         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19405         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19406         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19407         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19408         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19409         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19410         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19411         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19412         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19413         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19415         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19416         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19417         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19418         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19419         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19421         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19422         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19423         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19424         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19425         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19426         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19427         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19428         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19429         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19430         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19432         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19433         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19435         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19436         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19437         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19438         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19439         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19440         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19441         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19442         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19443         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19444         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19445         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19446         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19447         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19448         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19450         Update #include.
19451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19452         Likewise.
19453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19454         Likewise.
19455         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19456         Likewise.
19457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19458         Likewise.
19459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19460         Likewise.
19461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19462         Likewise.
19463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19464         Likewise.
19465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19466         Likewise.
19467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19468         Likewise.
19469         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19470         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19471         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19472         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19473         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19474         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19475         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19476         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19477         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19478         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19479         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19480         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19481         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19482         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19483         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19485         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19486         that was previously under [RESET_PID].
19487         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19488         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19489         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19491         * sysdeps/i386/nptl/Implies: New file.
19492         * sysdeps/x86_64/nptl/Implies: New file.
19493         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19494         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19495         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19496         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19498         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19499         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19500         (__libc_vfork): New strong alias.
19501         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19502         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19504         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19505         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19506         (__libc_vfork): New strong alias.
19507         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19508         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19510         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19511         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19512         (__libc_vfork): New strong alias.
19513         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19514         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19515         * nptl/pt-vfork.c: New file.
19516         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19517         (libpthread: GLIBC_2.20): New version set (empty).
19519 2014-05-14  Will Newton  <will.newton@linaro.org>
19521         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19522         rather than #if.
19524 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19526         [BZ #16564]
19527         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19528         arguments with exponent 65 or above.
19529         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19530         arguments 0x1p113L or above.
19531         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19532         to arguments 0x1p107L or above.
19533         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19534         positive arguments with exponent 65 or above.
19535         * math/auto-libm-test-in: Add more tests of log1p.
19536         * math/auto-libm-test-out: Regenerated.
19538         [BZ #16928]
19539         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19540         non-finite arguments is +0.
19541         * math/s_cacosf.c (__cacosf): Likewise.
19542         * math/s_cacosl.c (__cacosl): Likewise.
19543         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19544         * sysdeps/i386/fpu/libm-test-ulps: Update.
19545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19547         [BZ #16927]
19548         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19549         value.
19550         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19551         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19552         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19553         for explicit high bit of mantissa when testing for argument equal
19554         to 1.
19555         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19556         * sysdeps/i386/fpu/libm-test-ulps: Update.
19557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19559         [BZ #16516]
19560         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19561         (__erf): Scale by 16 instead of 8 in potentially underflowing
19562         case.  Ensure exception if result actually underflows.
19563         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19564         (__erff): Scale by 16 instead of 8 in potentially underflowing
19565         case.  Ensure exception if result actually underflows.
19566         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19567         (efx8): Remove variable.
19568         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19569         case.  Ensure exception if result actually underflows.
19570         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19571         (efx8): Remove variable.
19572         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19573         case.  Ensure exception if result actually underflows.
19574         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19575         (efx8): Remove variable.
19576         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19577         case.  Ensure exception if result actually underflows.
19578         * math/auto-libm-test-in: Add more tests of erf.
19579         * math/auto-libm-test-out: Regenerated.
19581 2014-05-14  Andreas Schwab  <schwab@suse.de>
19583         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19584         Remove code conditionalized on USE___THREAD.
19586         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19587         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19588         not definedness.
19590 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19592         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19593         Define unconditionally.
19594         (__ASSUME_O_CLOEXEC): Likewise.
19595         (__ASSUME_SOCK_CLOEXEC): Likewise.
19596         (__ASSUME_IN_NONBLOCK): Likewise.
19597         (__ASSUME_PIPE2): Likewise.
19598         (__ASSUME_EVENTFD2): Likewise.
19599         (__ASSUME_SIGNALFD4): Likewise.
19600         (__ASSUME_DUP3): Likewise.
19601         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19602         (__ASSUME_DUP3): Do not define.
19603         (__ASSUME_EVENTFD2): Likewise.
19604         (__ASSUME_IN_NONBLOCK): Likewise.
19605         (__ASSUME_O_CLOEXEC): Likewise.
19606         (__ASSUME_PIPE2): Likewise.
19607         (__ASSUME_SIGNALFD4): Likewise.
19608         (__ASSUME_SOCK_CLOEXEC): Likewise.
19609         (__ASSUME_UTIMES): Undefine.
19610         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19611         (__ASSUME_UTIMES): Do not define.
19612         (__ASSUME_O_CLOEXEC): Likewise.
19613         (__ASSUME_SOCK_CLOEXEC): Likewise.
19614         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19615         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19616         0x020621].
19617         (__ASSUME_PIPE2): Likewise.
19618         (__ASSUME_EVENTFD2): Likewise.
19619         (__ASSUME_SIGNALFD4): Likewise.
19620         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19621         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19622         Do not define.
19623         (__ASSUME_EVENTFD2): Likewise.
19624         (__ASSUME_SIGNALFD4): Likewise.
19625         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19626         (__ASSUME_32BITUIDS): Likewise.
19627         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19628         (__ASSUME_IPC64): Likewise.
19629         (__ASSUME_ST_INO_64_BIT): Likewise.
19630         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19631         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19632         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19633         (__ASSUME_UTIMES): Do not define.
19634         (__ASSUME_PSELECT): Likewise.
19635         (__ASSUME_PPOLL): Likewise.
19636         (__ASSUME_O_CLOEXEC): Likewise.
19637         (__ASSUME_SOCK_CLOEXEC): Likewise.
19638         (__ASSUME_IN_NONBLOCK): Likewise.
19639         (__ASSUME_PIPE2): Likewise.
19640         (__ASSUME_EVENTFD2): Likewise.
19641         (__ASSUME_SIGNALFD4): Likewise.
19642         (__ASSUME_DUP3): Likewise.
19643         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19644         (__ASSUME_UTIMES): Likewise.
19645         (__ASSUME_O_CLOEXEC): Likewise.
19646         (__ASSUME_SOCK_CLOEXEC): Likewise.
19647         (__ASSUME_IN_NONBLOCK): Likewise.
19648         (__ASSUME_PIPE2): Likewise.
19649         (__ASSUME_EVENTFD2): Likewise.
19650         (__ASSUME_SIGNALFD4): Likewise.
19651         (__ASSUME_DUP3): Likewise.
19652         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19653         (__ASSUME_UTIMES): Likewise.
19654         (__ASSUME_O_CLOEXEC): Likewise.
19655         (__ASSUME_SOCK_CLOEXEC): Likewise.
19656         (__ASSUME_IN_NONBLOCK): Likewise.
19657         (__ASSUME_PIPE2): Likewise.
19658         (__ASSUME_EVENTFD2): Likewise.
19659         (__ASSUME_SIGNALFD4): Likewise.
19660         (__ASSUME_DUP3): Likewise.
19661         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19662         Likewise.
19663         (__ASSUME_UTIMES): Likewise.
19664         (__ASSUME_EVENTFD2): Likewise.
19665         (__ASSUME_SIGNALFD4): Likewise.
19666         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19667         (__ASSUME_O_CLOEXEC): Likewise.
19668         (__ASSUME_SOCK_CLOEXEC): Likewise.
19669         (__ASSUME_IN_NONBLOCK): Likewise.
19670         (__ASSUME_PIPE2): Likewise.
19671         (__ASSUME_EVENTFD2): Likewise.
19672         (__ASSUME_SIGNALFD4): Likewise.
19673         (__ASSUME_DUP3): Likewise.
19674         (__ASSUME_UTIMES): Undefine.
19676         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19677         feclearexcept.  Remove symbol versioning code.
19678         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19679         symbol versioning code.
19680         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19681         symbol versioning code.
19682         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19683         feupdateenv.  Remove symbol versioning code.
19684         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19685         fegetexceptflag.  Remove symbol versioning code.
19686         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19687         fesetexceptflag.  Remove symbol versioning code.
19688         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19689         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19690         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19691         (__posix_fadvise64_l32): Remove prototype.
19692         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19693         code.
19695 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19697         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19698         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19699         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19700         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19702 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19704         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19705         current working directory
19707 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19709         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19710         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19711         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19712         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19713         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19714         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19715         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19716         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19717         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19718         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19719         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19720         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19721         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19722         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19723         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19724         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19725         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19726         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19727         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19728         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19729         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19730         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19731         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19732         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19733         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19734         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19735         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19736         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19737         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19738         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19739         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19740         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19741         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19742         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19743         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19744         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19745         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19746         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19747         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19748         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19749         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19750         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19752         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19753         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19755         * sysdeps/unix/sysv/linux/arm/Makefile
19756         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19757         Add rt-aeabi_unwind_cpp_pr1.
19758         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19759         Add nptl-aeabi_unwind_cpp_pr1.
19760         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19761         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19762         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19763         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19764         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19765         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19767         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19768         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19769         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19770         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19772         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19773         Deconditionalize the code that was previously under [RESET_PID].
19774         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19776         * sysdeps/generic/exit-thread.h: New file.
19777         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19778         * include/unistd.h (__exit_thread): Remove declaration.
19779         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19780         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19781         * csu/libc-start.c: Include <exit-thread.h>.
19782         (LIBC_START_MAIN): Pass no argument to __exit_thread.
19783         * nptl/pthread_create.c: Include <exit-thread.h>.
19784         (start_thread): Call __exit_thread in place of __exit_thread_inline.
19785         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19786         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19787         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19788         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19789         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19790         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19791         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19792         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19793         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19794         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19795         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19796         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19797         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19798         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19799         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19800         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19802 2014-05-13  Andreas Schwab  <schwab@suse.de>
19804         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19806 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
19808         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19809         (__ASSUME_UTIMES): Do not condition on kernel version.
19810         (__ASSUME_PSELECT): Define unconditionally.
19811         (__ASSUME_PPOLL): Likewise.
19812         (__ASSUME_ATFCTS): Likewise.
19813         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19814         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19815         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19816         (__ASSUME_UTIMENSAT): Define unconditionally.
19817         (__ASSUME_PRIVATE_FUTEX): Likewise.
19818         (__ASSUME_FALLOCATE): Likewise.
19819         (__ASSUME_O_CLOEXEC): Likewise.
19820         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19821         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19822         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19823         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19824         (__ASSUME_IN_NONBLOCK): Likewise.
19825         (__ASSUME_PIPE2): Likewise.
19826         (__ASSUME_EVENTFD2): Likewise.
19827         (__ASSUME_SIGNALFD4): Likewise.
19828         (__ASSUME_DUP3): Likewise.
19829         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19830         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19831         (__ASSUME_AT_RANDOM): Likewise.
19832         (__ASSUME_PREADV): Likewise.
19833         (__ASSUME_PWRITEV): Likewise.
19834         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19835         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19836         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19837         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19838         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19839         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19840         (__ASSUME_O_CLOEXEC): Define unconditionally.
19841         (__ASSUME_PSELECT): Do not undefine conditionally.
19842         (__ASSUME_PPOLL): Likewise.
19843         (__ASSUME_ATFCTS): Likewise.
19844         (__ASSUME_SET_ROBUST_LIST): Likewise.
19845         (__ASSUME_UTIMENSAT): Likewise.
19846         (__ASSUME_FDATASYNC): Define unconditionally.
19847         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19848         (__ASSUME_SIGFRAME_V2): Likewise.
19849         )__ASSUME_EVENTFD2): Likewise.
19850         (__ASSUME_SIGNALFD4): Likewise.
19851         (__ASSUME_PSELECT): Do not undefine conditionally.
19852         (__ASSUME_PPOLL): Likewise.
19853         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19854         (__ASSUME_PSELECT): Define unconditionally.
19855         (__ASSUME_PPOLL): Likewise.
19856         (__ASSUME_O_CLOEXEC): Likewise.
19857         (__ASSUME_SOCK_CLOEXEC): Likewise.
19858         (__ASSUME_IN_NONBLOCK): Likewise.
19859         (__ASSUME_PIPE2): Likewise.
19860         (__ASSUME_EVENTFD2): Likewise.
19861         (__ASSUME_SIGNALFD4): Likewise.
19862         (__ASSUME_DUP3): Likewise.
19863         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19864         (__ASSUME_O_CLOEXEC): Likewise.
19865         (__ASSUME_SOCK_CLOEXEC): Likewise.
19866         (__ASSUME_IN_NONBLOCK): Likewise.
19867         (__ASSUME_PIPE2): Likewise.
19868         (__ASSUME_EVENTFD2): Likewise.
19869         (__ASSUME_SIGNALFD4): Likewise.
19870         (__ASSUME_DUP3): Likewise.
19871         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19872         (__ASSUME_EVENTFD2): Likewise.
19873         (__ASSUME_SIGNALFD4): Likewise.
19874         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19876 2014-05-12  Andreas Schwab  <schwab@suse.de>
19878         [BZ #16932]
19879         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19880         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19881         than maximum RPC packet size.
19882         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19883         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19884         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19885         (_nss_nis_getservbyport_r): Likewise.
19887 2014-05-12  Will Newton  <will.newton@linaro.org>
19889         * malloc/Makefile (tests): Add tst-mallopt.
19890         * malloc/tst-mallopt.c: New file.
19892 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19894         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19895         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19897 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19899         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19900         (tst-tlsmod6.so): Likewise.
19902 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19904         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19906 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19908         [BZ #16064]
19909         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19910         and <dl-procinfo.h>.
19911         (__fegetenv): Save SSE state in envp->__eip if supported.
19912         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19913         envp->__eip if supported.
19914         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19915         and <dl-procinfo.h>.
19916         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19917         __data_offset and __data_selector in environment to 0.  Set SSE
19918         state if supported.
19919         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19920         test-fenv-sse.
19921         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19922         -mfpmath=sse.
19923         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19925 2014-05-09  Will Newton  <will.newton@linaro.org>
19927         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19928         and libc_relro_required for ARM.
19929         * sysdeps/arm/preconfigure: Regenerate.
19931 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19932             Stefan Liebler  <stli@linux.vnet.ibm.com>
19934         * config.make.in (enable-lock-elision): New Makefile variable.
19935         * configure.ac: Likewise.
19936         * configure: Regenerate.
19937         * sysdeps/s390/configure.ac:
19938         Add check for gcc transactions support.
19939         * sysdeps/s390/configure: Regenerate.
19940         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19941         Build elision files if enabled.
19942         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19943         Add lock elision support for s390.
19944         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19945         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19946         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19947         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19948         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19949         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19950         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19951         Likewise.
19952         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19953         Likewise.
19954         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19955         Likewise.
19956         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19957         Likewise.
19958         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19959         (__lll_timedlock_elision, __lll_lock_elision)
19960         (__lll_unlock_elision, __lll_trylock_elision)
19961         (lll_timedlock_elision, lll_lock_elision)
19962         (lll_unlock_elision, lll_trylock_elision): Add.
19963         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19964         (pthread_mutex_t): Add lock elision support for s390.
19966 2014-05-14  Wilco  <wdijkstr@arm.com>
19968         * sysdeps/arm/fclrexcpt.c: Cleanup.
19969         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19970         * sysdeps/arm/feenablxcpt.c: Cleanup.
19971         * sysdeps/arm/fegetenv.c: Cleanup.
19972         * sysdeps/arm/fegetexcept.c: Cleanup.
19973         * sysdeps/arm/fegetround.c: Cleanup.
19974         * sysdeps/arm/feholdexcpt.c: Cleanup.
19975         * sysdeps/arm/fesetenv.c: Cleanup.
19976         * sysdeps/arm/fesetround.c: Cleanup.
19977         * sysdeps/arm/feupdateenv.c: Cleanup.
19978         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19979         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19980         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19981         * sysdeps/arm/ftestexcept.c: Cleanup.
19982         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19983         * sysdeps/arm/setfpucw.c: Cleanup.
19985 2014-05-09  Will Newton  <will.newton@linaro.org>
19987         * sysdeps/arm/armv7/strcmp.S: New file.
19988         * NEWS: Mention addition of ARMv7 optimized strcmp.
19990 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19992         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19993         look for %.ac rather than %.in.
19995         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19996         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19997         * sysdeps/mach/hurd/configure: Regenerated.
19998         * sysdeps/unix/sysv/linux/configure: Regenerated.
20000         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20002 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20004         [BZ# 16922]
20005         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20006         (LONG_SUB): Ditto.
20007         (PTR_SUB): Ditto.
20009 2014-05-07  Andreas Schwab  <schwab@suse.de>
20011         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20012         when skipping over non-matching result from nscd.
20014 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20016         [BZ #16876]
20017         * nptl/sockperf.c (client): Check socket return value.
20019         [BZ #16877]
20020         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20021         nscd security class.
20023 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20025         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20026         * sysdeps/arm/unwind.h: ... here.
20028 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20030         [BZ# 16916]
20031         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20032         Define.
20034 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20036         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20037         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20038         multiarch strncpy for PPC64.
20039         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20040         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20042         multiarch optimizations.
20043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20044         (__libc_ifunc_impl_list): Likewise.
20045         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20046         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20047         multiarch stpncpy for PPC64.
20048         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20049         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20051 2014-05-06  Andreas Schwab  <schwab@suse.de>
20053         [BZ #16912]
20054         * gmon/mcount.c (_MCOUNT_DECL): Use
20055         atomic_compare_and_exchange_bool_acq instead of
20056         catomic_compare_and_exchange_bool_acq.
20058 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20060         * elf/Makefile (others, install-bin): Remove pldd.
20061         (pldd-modules): Variable removed.
20062         ($(objpfx)pldd): Target removed.
20063         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20064         (others, install-bin): Append pldd here.
20065         ($(objpfx)pldd): New target.
20067         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20068         to 0, so the first #if test emitted later doesn't see it undefined.
20069         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20070         * sysdeps/gnu/errlist.c: Regenerated.
20072 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20074         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20075         [libc_hidden_builtin_def]: Define to empty value.
20076         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20077         [libc_hidden_builtin_def]: Likewise.
20078         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20079         [libc_hidden_builtin_def]: Likewise.
20080         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20081         [libc_hidden_builtin_def]: Likewise.
20082         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20083         __redirect_memcpy and define ifunc as default hidden symbol.
20084         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20085         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20087 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20089         * locale/iso-4217.def: Reintroduce XDR currency.
20091 2014-05-04  Allan McRae  <allan@archlinux.org>
20093         * po/eo.po: Update Esperanto translation from translation project.
20095 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20097         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20098         and FEATURE_INDEX_MAX to 1.
20099         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20101 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20103         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20104         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20105         * iconvdata/big5.c (ONE_DIRECTION): Define.
20106         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20107         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20108         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20109         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20110         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20111         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20112         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20113         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20114         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20115         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20116         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20117         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20118         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20119         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20120         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20121         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20122         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20123         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20124         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20125         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20126         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20127         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20128         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20129         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20130         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20131         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20132         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20133         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20134         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20135         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20136         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20137         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20138         * iconvdata/johab.c (ONE_DIRECTION): Define.
20139         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20140         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20141         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20142         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20143         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20144         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20145         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20146         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20147         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20148         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20150 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20152         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20153         (_IO_JUMPS_OFFSET): Define to 0.
20155         * nptl/sysdeps/pthread/bits/libc-lock.h
20156         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20157         (__libc_lock_define_initialized_recursive): Always define using
20158         initializer.  Modern compilers treat uninitialized (implicit zero) and
20159         explicit zero initializers the same (i.e. put the datum in bss).
20161 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20163         * nscd/nscd-client.h: Include <string.h>.
20165 2014-05-01  David S. Miller  <davem@davemloft.net>
20167         [BZ #16885]
20168         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20169         multiple zero bytes exist at the end of a string.
20170         Reported by Aurelien Jarno <aurelien@aurel32.net>
20172         * string/test-strcmp.c (check): Add explicit test for situations where
20173         there are multiple zero bytes after the first.
20175 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20177         [BZ #16890]
20178         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20179         when compiling wprintf.
20180         * stdio-common/tstdiomisc.c (t3): New function.
20181         (main): Call it.
20183 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20185         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20186         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20187         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20188         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20190 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20192         * stdlib/longlong.h: Updated from GCC.
20194 2014-05-01  Will Newton  <will.newton@linaro.org>
20195             Bernard Ogden  <bernie.ogden@linaro.org>
20197         * NEWS: Update fixed bug list.
20199         [BZ #15119]
20200         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20202 2014-04-30  David S. Miller  <davem@davemloft.net>
20204         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20205         (libc_feholdexcept_setround_sparc_ctx): New function.
20206         (libc_fesetenv_sparc_ctx): Likewise.
20207         (libc_feupdateenv_sparc_ctx): Likewise.
20208         (libc_feholdsetround_sparc_ctx): Likewise.
20209         (libc_feholdexcept_setround_ctx): Define.
20210         (libc_feholdexcept_setroundf_ctx): Likewise.
20211         (libc_feholdexcept_setroundl_ctx): Likewise.
20212         (libc_fesetenv_ctx): Likewise.
20213         (libc_fesetenvf_ctx): Likewise.
20214         (libc_fesetenvl_ctx): Likewise.
20215         (libc_feupdateenv_ctx): Likewise.
20216         (libc_feupdateenvf_ctx): Likewise.
20217         (libc_feupdateenvl_ctx): Likewise.
20218         (libc_feresetround_ctx): Likewise.
20219         (libc_feresetroundf_ctx): Likewise.
20220         (libc_feresetroundl_ctx): Likewise.
20221         (libc_feholdsetround_ctx): Likewise.
20222         (libc_feholdsetroundf_ctx): Likewise.
20223         (libc_feholdsetroundl_ctx): Likewise.
20225         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20226         with __USE_GNU instead of XOPEN cpp guards.
20228         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20229         0.
20231         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20232         with XOPEN cpp guards.
20234 2014-04-30  Julian Brown  <julian@codesourcery.com>
20236         [BZ #16888]
20237         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20238         handling.
20240 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20242         [BZ #9894]
20243         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20244         Change to 2.6.32.
20245         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20246         * sysdeps/unix/sysv/linux/configure: Regenerated.
20247         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20248         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20249         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20250         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20251         * README: Update reference to required Linux kernel version.
20252         * manual/install.texi (Linux): Update reference to required Linux
20253         kernel headers version.
20254         * INSTALL: Regenerated.
20256         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20257         header inclusion.
20258         [POSIX] (limits.h): Likewise.
20259         [POSIX] (math.h): Likewise.
20260         [POSIX] (sys/wait.h): Likewise.
20261         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20262         function.
20263         [POSIX] (stddef.h): Do not allow header inclusion.
20265 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20267         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20269 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20271         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20272         Return immediately after lll_futex_wake.
20274 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20276         [BZ #16791]
20277         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20278         structure.
20279         (datahead_init_pos): Call datahead_init_common early.
20280         (datahead_init_neg): Likewise.
20282         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20283         datahead_init_neg): New functions.
20284         * nscd/aicache.c (addhstaiX): Use them.
20285         * nscd/grpcache.c (cache_addgr): Likewise.
20286         * nscd/hstcache.c (cache_addhst): Likewise.
20287         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20288         * nscd/netgroupcache.c (do_notfound): Likewise.
20289         (addgetnetgrentX): Likewise.
20290         (addinnetgrX): Likewise.
20291         * nscd/pwdcache.c (cache_addpw): Likewise.
20292         * nscd/servicescache.c (cache_addserv): Likewise.
20294 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20295             Atsushi Onoe  <atsushi@onoe.org>
20297         [BZ #14308]
20298         [BZ #12994]
20299         [BZ #13651]
20300         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20301         one response is valid.
20302         * resolv/res_send.c (send_dg): Check for validity of other
20303         response if the current response is a referral.
20305 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20307         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20309 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20311         [BZ #16823]
20312         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20313         Always divide by positive zero when computing -Inf result.
20314         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20315         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20317 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20319         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20320         FPSCR if value do not change.
20321         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20322         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20323         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20324         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20325         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20326         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20327         function.
20329 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20331         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20332         * sysdeps/unix/sysv/linux/hppa: Move directory from
20333         ports/systeps/unix/sysv/linux/hppa.
20334         * README: Update listing for hppa-*-linux-gnu.
20336 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20338         [BZ #16754]
20339         * manual/stdio.texi (Hook functions): Fix types of stream hook
20340         functions.
20341         [BZ #16854]
20342         * socket/sys/socket.h: Fix typo in comment.
20344 2014-04-28  Wilco  <wdijkstr@arm.com>
20346         * sysdeps/arm/fenv_private.h: New file.
20347         * sysdeps/arm/math_private.h: New file.
20348         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20350 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20352         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20353         with __int128_t.
20354         (La_x86_64_retval): Likewise.
20356 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20358         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20359         fpsr if value didn't change.
20360         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20361         to fpcr if value didn't change.
20362         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20363         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20364         fpsr or fpcr if value didn't change.
20365         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20366         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20367         fpcr if value didn't change.
20368         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20369         to fpsr if value didn't change.
20371 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20373         * nptl/tst-sem3.c: Use test-skeleton.c
20374         (main): Rename to do_test.  Use return instead of
20375         exit.
20376         * nptl/tst-sem4.c: Use test-skeleton.c
20377         (main): Rename to do_test.
20379 2014-04-22  David S. Miller  <davem@davemloft.net>
20381         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20382         (struct sigaction): New struct member __glibc_reserved0, change
20383         type of sa_flags to int.
20385 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20387         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20388         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20390 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20392         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20393         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20395 2014-04-22  Will Newton  <will.newton@linaro.org>
20396             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20398         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20399         (__longjmp): Add longjmp and longjmp_target SystemTap
20400         probes.
20401         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20402         (__sigsetjmp): Add setjmp SystemTap probe.
20404 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20406         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20407         match manual order.
20409 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20411         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20413         * sysdeps/powerpc/fpu/fenv_private.h
20414         (libc_feholdexcept_setroundl_ctx): Define to
20415         libc_feholdexcept_setround_ppc_ctx.
20416         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20417         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20418         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20419         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20421 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20423         * sysdeps/aarch64/math-tests.h: New file.
20425 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20427         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20428         New.
20429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20430         Check and set bit_AVX2_Usable.
20431         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20432         macro.
20433         (bit_AVX2): Likewise.
20434         (index_AVX2_Usable): Likewise.
20435         (CPUID_AVX2): Likewise.
20436         (HAS_AVX2): Likewise.
20438 2014-04-17  Will Newton  <will.newton@linaro.org>
20440         * manual/setjmp.texi (System V contexts): Add note that
20441         calling setcontext on a context created by a call to a
20442         signal handler is undefined.  Update text to note that
20443         setcontext from a signal handler is possible but not
20444         recommended.
20446         [BZ #16629]
20447         * stdlib/tst-setcontext.c: Include signal.h.
20448         (main): Check that the signal stack before and
20449         after swapcontext is the same.
20451         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20452         Re-implement to restore registers in user code and avoid
20453         rt_sigreturn system call.
20455 2014-04-17  Wilco  <wdijkstr@arm.com>
20457         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20458         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20459         * math/test-fenv.c: Skip exception trap tests on targets which only
20460         support non-stop mode.
20462 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20463             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20465         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20466         (libc_feholdsetround_aarch64_ctx)
20467         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20468         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20469         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20470         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20471         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20472         (libc_feresetround_noexl_ctx): Define.
20474 2014-04-16  Richard Henderson  <rth@redhat.com>
20476         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20478         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20479         unwind tables.
20481         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20482         const from the non-libc, non-ldso copy.
20484         * sysdeps/alpha/libm-test-ulps: Regenerate.
20486 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20487             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20489         * sysdeps/aarch64/fpu/math_private.h: New file.
20491 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20493         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20495 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20497         [BZ #16275]
20498         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20499         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20500         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20501         Intel MPX bound registers before _dl_profile_fixup.
20502         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20503         registers after _dl_profile_fixup.  Save and restore bound
20504         registers bnd0/bnd1 when calling _dl_call_pltexit.
20505         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20506         (LR_BND_OFFSET): Likewise.
20507         (LRV_BND0_OFFSET): Likewise.
20508         (LRV_BND1_OFFSET): Likewise.
20510 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20512         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20513         to...
20514         * sysdeps/mach/hurd/i386/tls.h: ... here.
20515         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20516         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20517         fields.
20519 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20521         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20523 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20525         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20527 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20529         [BZ #14770]
20530         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20531         * sysdeps/s390/configure: Regenerate.
20533         [BZ #16824]
20534         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20535         Set round-to-nearest internally to reduce error accumulation.
20537 2014-04-16  Alan Modra  <amodra@gmail.com>
20539         [BZ #16740]
20540         [BZ #16619]
20541         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20542         * math/libm-test.inc (frexp_test_data): Add tests.
20543         * NEWS: Update fixed bug list.
20545 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20547         * benchtests/Makefile: Depend on libraries in build directory.
20548         (bench-math): Separate out math tests.
20549         (bench-pthread): Separate out pthread tests.
20550         (bench): Include math and pthread tests.
20552 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20554         [BZ #16831]
20555         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20556         _dl_debug_initialize.
20558         * configure.ac: Remove SELinux header check.
20559         * configure: Regenerate.
20560         * nscd/selinux.c (perms): Array of const char* to permission names.
20561         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20562         default policy. Call string_to_security_class and string_to_av_perm to
20563         translate strings. Enforce default policy and call avs_has_perm with
20564         results of translated strings.
20566 2014-04-13  David S. Miller  <davem@davemloft.net>
20568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20570 2014-04-12  Allan McRae  <allan@archlinux.org>
20572         [BZ #16838]
20573         * manual/string.texi (Collation Functions): Fix qsort argument
20574         order in example.
20575         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20577 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20579         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20580         Make the test a no-op if there are no exceptions defined.
20582 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20584         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20585         enable-hardcoded-path-in-tests
20587 2014-04-11  Will Newton  <will.newton@linaro.org>
20589         * benchtests/Makefile (extra-objs): Add json-lib.o.
20590         (bench-func): Tidy up JSON output.
20591         * benchtests/bench-skeleton.c: Include json-lib.h.
20592         (main): Use JSON library functions to do output of
20593         benchmark results.
20594         * benchtests/bench-timing-type.c (main): Output the
20595         timing type simply, leaving formatting to the user.
20596         * benchtests/json-lib.c: New file.
20597         * benchtests/json-lib.h: Likewise.
20599 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20601         [BZ #15215]
20602         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20603         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20604         memory barriers.  Add comments.
20605         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20606         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20607         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20608         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20609         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20610         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20612 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20614         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20615         * sysdeps/s390/s390-64/configure.ac: ... this ...
20616         * sysdeps/s390/configure.ac: ... to here.
20617         * sysdeps/s390/s390-32/configure: Delete file.
20618         * sysdeps/s390/s390-64/configure: Delete file.
20619         * sysdeps/s390/configure: Regenerate.
20621 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20623         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20625 2014-04-11  Will Newton  <will.newton@linaro.org>
20627         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20628         to zero if it is not defined elsewhere.  (mtrim): Test
20629         the value of MALLOC_DEBUG with #if rather than #ifdef.
20631 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20633         * benchtests/pthread_once-inputs: New file.
20634         * benchtests/pthread_once-source.c: New file.
20635         * benchtests/README: Update documentation.
20637 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20638             H.J. Lu  <hongjiu.lu@intel.com>
20640         [BZ #16275]
20641         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20642         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20643         * sysdeps/x86_64/configure: Regenerated.
20644         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20645         macro.
20646         (REGISTER_SAVE_RAX): Likewise.
20647         (REGISTER_SAVE_RCX): Likewise.
20648         (REGISTER_SAVE_RDX): Likewise.
20649         (REGISTER_SAVE_RSI): Likewise.
20650         (REGISTER_SAVE_RDI): Likewise.
20651         (REGISTER_SAVE_R8): Likewise.
20652         (REGISTER_SAVE_R9): Likewise.
20653         (REGISTER_SAVE_BND0): Likewise.
20654         (REGISTER_SAVE_BND1): Likewise.
20655         (REGISTER_SAVE_BND2): Likewise.
20656         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20657         bound registers when calling _dl_fixup.
20659 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20661         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20662         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20663         of its definition.
20664         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20665         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20666         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20667         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20668         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20669         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20670         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20672 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20674         [BZ #15514]
20675         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20676         pathconf(_PC_NAME_MAX).
20678 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20680         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20681         Remove macro usage.
20682         (__PTHREAD_SPINS): Move definition to ...
20683         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20684         (__PTHREAD_SPINS): ... here.
20685         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20686         (__PTHREAD_SPIN): Likewise.
20687         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20688         (__PTHREAD_SPIN): Likewise.
20689         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20690         (__PTHREAD_SPIN): Likewise.
20691         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20692         (__PTHREAD_SPIN): Likewise.
20693         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20694         (__PTHREAD_SPIN): Likewise.
20695         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20696         (__PTHREAD_SPIN): Likewise.
20697         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20698         (__PTHREAD_SPIN): Likewise.
20699         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20700         (__PTHREAD_SPIN): Likewise.
20701         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20702         (__PTHREAD_SPIN): Likewise.
20703         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20704         (__PTHREAD_SPIN): Likewise.
20705         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20706         (__PTHREAD_SPIN): Likewise.
20707         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20708         (__PTHREAD_SPIN): Likewise.
20710         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20711         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20712         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20713         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20714         imply folder.
20715         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20716         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20717         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20718         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20719         correct imply path.
20720         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20721         strlen symbol for non multi-arch builds.
20722         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20723         missing hidden_def and weak_alias.
20725 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
20727         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20729 2014-04-07  Will Newton  <will.newton@linaro.org>
20731         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20732         and contents.  [!_LIBC] Remove #ifndef and contents.
20733         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20734         * string/memccpy.c (__memccpy): Use ANSI prototype.
20735         * string/memfrob.c (memfrob): Likewise.
20736         * string/strcoll.c (STRCOLL): Likewise.
20737         * string/strlen.c (strlen): Likewise.
20738         * string/strtok.c (STRTOK): Likewise.
20739         * string/strcat.c: Remove unused #include of memcopy.h.
20740         (strcat): Use ANSI prototype.
20741         * string/strchr.c: Remove unused #include of memcopy.h.
20742         (strchr): Use ANSI prototype.
20743         * string/strcmp.c: Remove unused #include of memcopy.h.
20744         (strcmp): Use ANSI prototype.
20745         * string/strcpy.c: Remove unused #include of memcopy.h.
20746         (strcpy): Use ANSI prototype.
20748 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20750         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20751         * config.make.in (config-extra-cppflags): Set it from
20752         libc_extra_cppflags.
20753         * configure.ac (libc_extra_cflags): Make it accumulate over
20754         configure fragments.
20755         (libc_extra_cppflags): New flag.
20756         * configure. Regenerate.
20757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20758         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20759         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20762         [BZ #16815]
20763         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20764         result for FE_DOWNWARD rounding mode.
20765         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20766         Likewise.
20767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20769 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
20771         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20772         in function argument name.
20774 2014-04-03  David Svoboda  <svoboda@cert.org>
20776         [BZ #5666]
20777         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20778         explicitly.
20780 2014-04-03  Roland McGrath  <roland@hack.frob.com>
20782         * elf/dl-unmap-segments.h: New file.
20783         * sysdeps/generic/ldsodefs.h
20784         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20785         * elf/dl-close.c: Include <dl-unmap-segments.h>.
20786         * elf/dl-fptr.c: Likewise.
20787         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20788         * sysdeps/aarch64/tlsdesc.c: Likewise.
20789         * sysdeps/arm/tlsdesc.c: Likewise.
20790         * sysdeps/i386/tlsdesc.c: Likewise.
20791         * sysdeps/tile/dl-runtime.c: Likewise.
20792         * sysdeps/x86_64/tlsdesc.c: Likewise.
20793         * elf/dl-load.h: New file.
20794         * elf/dl-load.c: Include it.
20795         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20796         Macros moved to dl-load.h.
20797         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20798         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20799         Use _dl_unmap_segments in place of __munmap.
20800         Break out segment-mapping loop into ...
20801         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20803 2014-04-03  Will Newton  <will.newton@linaro.org>
20805         * elf/dl-lookup.c (do_lookup_x): Remove comment
20806         referring to nested function and move variable
20807         declarations down to before first use.
20809 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
20811         [BZ #16799]
20812         [BZ #16800]
20813         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20814         with 0 numerator.
20815         * math/s_catanf.c (__catanf): Likewise.
20816         * math/s_catanh.c (__catanh): Likewise.
20817         * math/s_catanhf.c (__catanhf): Likewise.
20818         * math/s_catanhl.c (__catanhl): Likewise.
20819         * math/s_catanl.c (__catanl): Likewise.
20820         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20821         by positive zero when computing -Inf result.
20822         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20823         (catanh_test): Likewise.
20824         * sysdeps/i386/fpu/libm-test-ulps: Update.
20825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20827         [BZ #16789]
20828         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20829         instead of using underflowing value in computing result.
20830         * math/s_clog10.c (__clog10): Likewise.
20831         * math/s_clog10f.c (__clog10f): Likewise.
20832         * math/s_clog10l.c (__clog10l): Likewise.
20833         * math/s_clogf.c (__clogf): Likewise.
20834         * math/s_clogl.c (__clogl): Likewise.
20835         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20836         (clog10_test): Likewise.
20837         * sysdeps/i386/fpu/libm-test-ulps: Update.
20838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20840 2014-04-02  Alan Modra  <amodra@gmail.com>
20842         [BZ #16739]
20843         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20844         output when value is near a power of two.  Use int64_t for lx and
20845         remove casts.  Use decimal rather than hex exponent constants.
20846         Don't use long double multiplication when double will suffice.
20847         * math/libm-test.inc (nextafter_test_data): Add tests.
20848         * NEWS: Add 16739 and 16786 to bug list.
20850         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20852         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20854 2014-04-01  Will Newton  <will.newton@linaro.org>
20856         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20857         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20859 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20861         [BZ #13347]
20862         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20863         * nptl/tst-setuid2.c: New file.
20864         * nptl/Makefile (xtests): Add tst-setuid2.
20866 2014-04-01  Alan Modra  <amodra@gmail.com>
20868         [BZ #16786]
20869         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20871 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20873         [BZ #6803]
20874         [BZ #6804]
20875         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20876         set errno as appropriate.
20877         * math/w_scalbf.c (__scalbf): Likewise.
20878         * math/w_scalbl.c (__scalbl): Likewise.
20879         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20880         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20881         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20882         Add more NaN tests.
20884         [BZ #16349]
20885         * math/w_atan2.c: Include <errno.h>.
20886         (__atan2): Set errno for result underflowing to zero.
20887         * math/w_atan2f.c: Include <errno.h>.
20888         (__atan2f): Set errno for result underflowing to zero.
20889         * math/w_atan2l.c: Include <errno.h>.
20890         (__atan2l): Set errno for result underflowing to zero.
20891         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20892         tests.
20893         * math/auto-libm-test-out: Regenerated.
20895 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20897         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20898         Encode instruction correctly in little endian.
20899         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20900         Likewise.
20901         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20902         Likewise.
20903         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20904         Likewise.
20905         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20906         Likewise.
20908 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20910         [BZ #9894]
20911         * sysdeps/unix/sysv/linux/kernel-features.h
20912         [__sparc__ && !__arch64__ && !__sparc_v9__]
20913         (__ASSUME_SET_ROBUST_LIST): Do not define.
20914         [__sparc__ && !__arch64__ && !__sparc_v9__]
20915         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20916         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20917         Likewise.
20918         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20919         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20920         (__ASSUME_REQUEUE_PI): Likewise.
20921         (__ASSUME_SET_ROBUST_LIST): Likewise.
20922         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20923         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20924         Undefine.
20925         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20926         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20927         Likewise.
20928         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20929         Likewise.
20930         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20931         Likewise.
20932         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20933         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20934         Undefine.
20935         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20936         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20937         Likewise.
20939         [BZ #16648]
20940         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20941         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20942         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20944 2014-03-31  Will Newton  <will.newton@linaro.org>
20946         * benchtests/Makefile (bench): Add ffs and ffsll to list
20947         of tests.
20948         * benchtests/ffs-inputs: New file.
20949         * benchtests/ffsll-inputs: Likewise.
20951 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20953         [BZ #16770]
20954         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20955         too large before casting to int.
20956         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20957         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20958         * math/libm-test.inc (scalb_test_data): Add more tests.
20960 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20962         * benchtests/Makefile (DETAILED_OPT): New make option.
20963         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20964         set.
20965         * benchtests/bench-skeleton.c: Include stdbool.h.
20966         (main): Store and print timings per input.
20967         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20968         member to each argument value.
20969         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20970         (_print_arg_data): Initialize per-input timing to 0.
20972         * benchtests/Makefile (timing-type): New binary.
20973         (bench-clean): Also remove bench-timing-type.
20974         (bench): New target for timing-type.
20975         (bench-func): Print output in JSON format.
20976         * benchtests/bench-skeleton.c (main): Print output in JSON
20977         format.
20978         * benchtests/bench-timing-type.c: New file.
20979         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20980         (TIMING_PRINT_STATS): Remove.
20981         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20982         name separately.
20984         * benchtests/bench-modf.c: Remove.
20985         * benchtests/modf-inputs: New inputs file.
20987 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20989         [BZ #16362]
20990         * math/s_clog10.c (M_PI_LOG10E): New macro.
20991         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20992         imaginary parts are 0.
20993         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20994         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20995         imaginary parts are 0.
20996         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20997         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20998         imaginary parts are 0.
20999         * math/libm-test.inc (clog10_test_data): Update expected results
21000         for when real and imaginary parts are 0.
21002 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21004         * elf/dl-load.c: Finish conversion of __builtin_expect into
21005         __glibc_{un}likely.
21007 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21009         [BZ #16348]
21010         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21011         1+x for argument with exponent below -67.
21012         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21013         Likewise.
21014         * math/auto-libm-test-in: Add more tests of exp.
21015         * math/auto-libm-test-out: Regenerated.
21017 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21019         [BZ #16759]
21020         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21021         (nscd_getnetgrent): Use it.
21023         [BZ #16760]
21024         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21025         of stpcpy.
21027 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21029         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21030         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21031         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21032         (lll_robust_unlock): Remove out of line section. Use cfi
21033         intrinsics.
21034         (LLL_STUB_UNWIND_INFO*): Remove.
21035         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21036         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21037         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21038         (lll_robust_unlock): Remove out of line section. Use cfi
21039         intrinsics.
21040         (LLL_STUB_UNWIND_INFO*): Remove.
21042 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21044         [BZ #16758]
21045         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21046         blank values.
21048 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21050         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21052 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21054         [BZ #16198]
21055         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21056         fnstenv.
21057         * math/test-fenv-preserve.c: New file.
21058         * math/Makefile (tests): Add test-fenv-preserve.
21060 2014-03-26  Will Newton <will.newton@linaro.org>
21062         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21064 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21066         * scripts/versionlist.awk: Partition the version sets and emit all
21067         GLIBC_* (sorted) before all others (sorted).
21069 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21071         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21072         GLIBC_2.2.5 version.
21074 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21076         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21077         calls.
21079         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21080         previous change.
21082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21084 2014-03-25  Andreas Schwab  <schwab@suse.de>
21086         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21087         label to be used after in6ailist is initialized.
21089 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21091         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21092         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21094 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21096         [BZ #16357]
21097         [BZ #16599]
21098         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21099         min_plus_half.
21100         (fp_formats): Update initializers.
21101         (init_fp_formats): Initialize new field.
21102         (output_for_one_input_case): Allow underflow for results up to
21103         min_plus_half.
21104         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21105         * math/auto-libm-test-in: Don't mark some underflows from asin and
21106         atanh as spurious.
21107         * math/auto-libm-test-out: Regenerated.
21108         * sysdeps/i386/fpu/libm-test-ulps: Update.
21109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21111 2014-03-25  Andreas Schwab  <schwab@suse.de>
21113         * libio/Makefile (tst-ftell-partial-wide-ENV)
21114         (tst-ftell-active-handler-ENV): Define.
21116 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21118         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21120 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21122         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21124 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21126         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21127         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21128         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21130 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21132         [BZ #16634]
21133         * elf/dl-load.c (open_verify): Add mode parameter.
21134         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21135         (open_path): Change from boolean 'secure' to complete flag 'mode'
21136         (_dl_map_object): Adjust.
21137         * elf/Makefile (tests): Add tst-dlopen-aout.
21138         * elf/tst-dlopen-aout.c: New test.
21140 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21142         [BZ #16714]
21143         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21144         (struct stat): Rename member pad0 to __glibc_reserved0.
21146         [BZ #16712]
21147         * sysdeps/s390/s390-32/bits/wordsize.h
21148         (__WORDSIZE32_SIZE_ULONG): New define.
21149         * sysdeps/s390/s390-64/bits/wordsize.h
21150         (__WORDSIZE32_SIZE_ULONG): Likewise.
21151         * sysdeps/generic/stdint.h (SIZE_MAX):
21152         Define as UL if __WORDSIZE32_SIZE_ULONG.
21154         [BZ #16713]
21155         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21156         (__glibc_reserved0): New variable.
21157         (sa_flags): Change type to int.
21159         * posix/Makefile (before-compile): Use += before-compile instead
21160         of a :=.
21162         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21163         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21165 2014-03-20  Andreas Schwab  <schwab@suse.de>
21167         [BZ #16743]
21168         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21169         non-matching result from nscd.
21171 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21173         * scripts/bench.py: Moved to ...
21174         * benchtests/scripts/bench.py: ... here.
21175         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21177 2014-03-24  Andreas Schwab  <schwab@suse.de>
21179         [BZ #16002]
21180         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21181         alloca_account and account alloca use for struct in6ailist.
21183 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21185         [BZ #16284]
21186         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21187         rounding mode to recompute results that overflow to infinity or
21188         underflow to zero.
21189         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21190         bug 16284.
21191         * math/auto-libm-test-out: Regenerated.
21192         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21193         (ccosh_test): Likewise.
21194         (csin_test_data): Use plus_oflow.
21195         (csin_test): Use ALL_RM_TEST.
21196         (csinh_test_data): Use plus_oflow.
21197         (csinh_test): Use ALL_RM_TEST.
21198         * sysdeps/i386/fpu/libm-test-ulps: Update.
21199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21201 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21203         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21204         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21205         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21207         [BZ #16731]
21208         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21209         when x - 1 is zero.
21210         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21211         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21212         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21213         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21214         argument is 1.
21215         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21216         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21217         zero.
21218         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21219         * sysdeps/i386/fpu/libm-test-ulps: Update.
21220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21222 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21224         * scripts/bench.pl: Remove file.
21225         * scripts/bench.py: New benchmark script.
21226         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21227         * benchtests/README: Mention python dependency.
21228         * scripts/pylintrc: New file.
21229         * scripts/pylint: New file.
21231         * bits/mathdef.h: Use #ifdef instead of #if.
21232         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21233         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21234         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21235         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21236         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21237         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21239 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21240             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21242         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21244         and strpbrk-ppc64 objects.
21245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21246         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21247         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21248         multiarch strpbrk for POWER7.
21249         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21250         multiarch strpbrk for PPC64.
21251         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21252         ifunc selector.
21253         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21254         strpbrk for POWER7.
21256 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21258         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21259         (atan_test): Likewise.
21260         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21261         (atanh_test): Use ALL_RM_TEST.
21262         (atan2_test_data): Likewise.
21263         (cabs_test): Likewise.
21264         (cacosh_test): Likewise.
21265         (carg_test): Likewise.
21266         (casin_test): Likewise.
21267         (casinh_test): Likewise.
21268         (cbrt_test): Likewise.
21269         (csqrt_test): Likewise.
21270         (erf_test): Likewise.
21271         (erfc_test): Likewise.
21272         (pow10_test): Likewise.
21273         (exp2_test): Likewise.
21274         (hypot_test): Likewise.
21275         (j0_test): Likewise.
21276         (j1_test): Likewise.
21277         (lgamma_test): Likewise.
21278         (gamma_test): Likewise.
21279         (sincos_test): Likewise.
21280         (tanh_test): Likewise.
21281         (y0_test): Likewise.
21282         (y1_test): Likewise.
21283         * sysdeps/i386/fpu/libm-test-ulps: Update.
21284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21286 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21288         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21289         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21290         and strcspn-ppc64 objects.
21291         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21292         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21293         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21294         multiarch strcspn for POWER7.
21295         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21296         multiarch strcspn for PPC64.
21297         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21298         ifunc selector.
21299         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21300         strcspn for POWER7.
21302 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21304         * math/gen-libm-test.pl (generate_testfile): Expect only function
21305         name as argument to AUTO_TESTS_* and pass results for all rounding
21306         modes to parse_args.
21307         (parse_auto_input): Separate inputs of automatic tests from
21308         outputs before storing in %auto_tests.
21309         * math/libm-test.inc (acos_test_data): Update call to
21310         AUTO_TESTS_f_f.
21311         (acos_test): Use ALL_RM_TEST.
21312         (acos_tonearest_test_data): Remove.
21313         (acos_test_tonearest): Likewise.
21314         (acos_towardzero_test_data): Likewise.
21315         (acos_test_towardzero): Likewise.
21316         (acos_downward_test_data): Likewise.
21317         (acos_test_downward): Likewise.
21318         (acos_upward_test_data): Likewise.
21319         (acos_test_upward): Likewise.
21320         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21321         (asin_test_data): Likewise.
21322         (asin_test): Use ALL_RM_TEST.
21323         (asin_tonearest_test_data): Remove.
21324         (asin_test_tonearest): Likewise.
21325         (asin_towardzero_test_data): Likewise.
21326         (asin_test_towardzero): Likewise.
21327         (asin_downward_test_data): Likewise.
21328         (asin_test_downward): Likewise.
21329         (asin_upward_test_data): Likewise.
21330         (asin_test_upward): Likewise.
21331         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21332         (atan_test_data): Likewise.
21333         (atanh_test_data): Likewise.
21334         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21335         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21336         (carg_test_data): Likewise.
21337         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21338         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21339         (ccosh_test_data): Likewise.
21340         (cexp_test_data): Likewise.
21341         (clog_test_data): Likewise.
21342         (clog10_test_data): Likewise.
21343         (cos_test_data): Update call to AUTO_TESTS_f_f.
21344         (cos_test): Use ALL_RM_TEST.
21345         (cos_tonearest_test_data): Remove.
21346         (cos_test_tonearest): Likewise.
21347         (cos_towardzero_test_data): Likewise.
21348         (cos_test_towardzero): Likewise.
21349         (cos_downward_test_data): Likewise.
21350         (cos_test_downward): Likewise.
21351         (cos_upward_test_data): Likewise.
21352         (cos_test_upward): Likewise.
21353         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21354         (cosh_test): Use ALL_RM_TEST.
21355         (cosh_tonearest_test_data): Remove.
21356         (cosh_test_tonearest): Likewise.
21357         (cosh_towardzero_test_data): Likewise.
21358         (cosh_test_towardzero): Likewise.
21359         (cosh_downward_test_data): Likewise.
21360         (cosh_test_downward): Likewise.
21361         (cosh_upward_test_data): Likewise.
21362         (cosh_test_upward): Likewise.
21363         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21364         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21365         (ctan_test_data): Likewise.
21366         (ctan_test): Use ALL_RM_TEST.
21367         (ctan_tonearest_test_data): Remove.
21368         (ctan_test_tonearest): Likewise.
21369         (ctan_towardzero_test_data): Likewise.
21370         (ctan_test_towardzero): Likewise.
21371         (ctan_downward_test_data): Likewise.
21372         (ctan_test_downward): Likewise.
21373         (ctan_upward_test_data): Likewise.
21374         (ctan_test_upward): Likewise.
21375         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21376         (ctanh_test): Use ALL_RM_TEST.
21377         (ctanh_tonearest_test_data): Remove.
21378         (ctanh_test_tonearest): Likewise.
21379         (ctanh_towardzero_test_data): Likewise.
21380         (ctanh_test_towardzero): Likewise.
21381         (ctanh_downward_test_data): Likewise.
21382         (ctanh_test_downward): Likewise.
21383         (ctanh_upward_test_data): Likewise.
21384         (ctanh_test_upward): Likewise.
21385         (erf_test_data): Update call to AUTO_TESTS_f_f.
21386         (erfc_test_data): Likewise.
21387         (exp_test_data): Likewise.
21388         (exp_test): Use ALL_RM_TEST.
21389         (exp_tonearest_test_data): Remove.
21390         (exp_test_tonearest): Likewise.
21391         (exp_towardzero_test_data): Likewise.
21392         (exp_test_towardzero): Likewise.
21393         (exp_downward_test_data): Likewise.
21394         (exp_test_downward): Likewise.
21395         (exp_upward_test_data): Likewise.
21396         (exp_test_upward): Likewise.
21397         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21398         (exp10_test): Use ALL_RM_TEST.
21399         (exp10_tonearest_test_data): Remove.
21400         (exp10_test_tonearest): Likewise.
21401         (exp10_towardzero_test_data): Likewise.
21402         (exp10_test_towardzero): Likewise.
21403         (exp10_downward_test_data): Likewise.
21404         (exp10_test_downward): Likewise.
21405         (exp10_upward_test_data): Likewise.
21406         (exp10_test_upward): Likewise.
21407         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21408         (expm1_test_data): Likewise.
21409         (expm1_test): Use ALL_RM_TEST.
21410         (expm1_tonearest_test_data): Remove.
21411         (expm1_test_tonearest): Likewise.
21412         (expm1_towardzero_test_data): Likewise.
21413         (expm1_test_towardzero): Likewise.
21414         (expm1_downward_test_data): Likewise.
21415         (expm1_test_downward): Likewise.
21416         (expm1_upward_test_data): Likewise.
21417         (expm1_test_upward): Likewise.
21418         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21419         (fma_test): Use ALL_RM_TEST.
21420         (fma_towardzero_test_data): Remove.
21421         (fma_test_towardzero): Likewise.
21422         (fma_downward_test_data): Likewise.
21423         (fma_test_downward): Likewise.
21424         (fma_upward_test_data): Likewise.
21425         (fma_test_upward): Likewise.
21426         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21427         (j0_test_data): Update call to AUTO_TESTS_f_f.
21428         (j1_test_data): Likewise.
21429         (jn_test_data): Update call to AUTO_TESTS_if_f.
21430         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21431         (log_test_data): Update call to AUTO_TESTS_f_f.
21432         (log10_test_data): Likewise.
21433         (log1p_test_data): Likewise.
21434         (log2_test_data): Likewise.
21435         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21436         (pow_tonearest_test_data): Likewise.
21437         (sin_test_data): Update call to AUTO_TESTS_f_f.
21438         (sin_test): Use ALL_RM_TEST.
21439         (sin_tonearest_test_data): Remove.
21440         (sin_test_tonearest): Likewise.
21441         (sin_towardzero_test_data): Likewise.
21442         (sin_test_towardzero): Likewise.
21443         (sin_downward_test_data): Likewise.
21444         (sin_test_downward): Likewise.
21445         (sin_upward_test_data): Likewise.
21446         (sin_test_upward): Likewise.
21447         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21448         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21449         (sinh_test): Use ALL_RM_TEST.
21450         (sinh_tonearest_test_data): Remove.
21451         (sinh_test_tonearest): Likewise.
21452         (sinh_towardzero_test_data): Likewise.
21453         (sinh_test_towardzero): Likewise.
21454         (sinh_downward_test_data): Likewise.
21455         (sinh_test_downward): Likewise.
21456         (sinh_upward_test_data): Likewise.
21457         (sinh_test_upward): Likewise.
21458         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21459         (sqrt_test): Use ALL_RM_TEST.
21460         (sqrt_tonearest_test_data): Remove.
21461         (sqrt_test_tonearest): Likewise.
21462         (sqrt_towardzero_test_data): Likewise.
21463         (sqrt_test_towardzero): Likewise.
21464         (sqrt_downward_test_data): Likewise.
21465         (sqrt_test_downward): Likewise.
21466         (sqrt_upward_test_data): Likewise.
21467         (sqrt_test_upward): Likewise.
21468         (tan_test_data): Update call to AUTO_TESTS_f_f.
21469         (tan_test): Use ALL_RM_TEST.
21470         (tan_tonearest_test_data): Remove.
21471         (tan_test_tonearest): Likewise.
21472         (tan_towardzero_test_data): Likewise.
21473         (tan_test_towardzero): Likewise.
21474         (tan_downward_test_data): Likewise.
21475         (tan_test_downward): Likewise.
21476         (tan_upward_test_data): Likewise.
21477         (tan_test_upward): Likewise.
21478         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21479         (tgamma_test_data): Likewise.
21480         (y0_test_data): Likewise.
21481         (y1_test_data): Likewise.
21482         (yn_test_data): Update call to AUTO_TESTS_if_f.
21483         (main): Do not call removed functions.
21485 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21487         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21488         (ldexp_test_data): Remove.
21489         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21490         scalbn_test_data.
21491         (scalb_test): Use ALL_RM_TEST.
21493 2014-03-19  Andreas Schwab  <schwab@suse.de>
21495         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21497 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21499         [BZ #16649]
21500         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21501         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21502         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21503         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21504         (__ASSUME_PREADV): Undefine.
21505         (__ASSUME_PWRITEV): Likewise.
21507 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21509         * bits/mman-linux.h: Add comment about non-Linux use.
21510         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21511         bits/mman-linux.h resting place.
21513         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21514         * bits/mman-linux.h: ... here.
21516 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21518         * conform/conformtest.pl: Add standard definition when calling C
21519         preprocessor on data files.
21520         (checknamespace): Remove unused variable.
21522 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21524         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21525         minus_oflow, plus_uflow and minus_uflow in expected results.
21526         * math/libm-test.inc (scalbn_test_data): Add more tests of
21527         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21528         minus_uflow.
21529         (scalbn_test): Use ALL_RM_TEST.
21530         (scalbln_test_data): Add more tests of negative arguments.  Use
21531         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21532         (scalbln_test): Use ALL_RM_TEST.
21534 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21536         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21538 2014-03-18  Will Newton  <will.newton@linaro.org>
21540         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21541         inaccurate comment.
21543 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21545         * Makerules [!subdir] (check-abi): Exit with error status if a
21546         test failed.
21548 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21550         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21551         for rint.  Include results for all rounding modes.
21552         (nearbyint_test): Use ALL_RM_TEST.
21553         (rint_test_data): Include all tests used for nearbyint.
21555 2014-03-17  Will Newton  <will.newton@linaro.org>
21557         * nptl/sysdeps/pthread/pthread.h: Revert previous
21558         change.
21560         * sysdeps/generic/ldsodefs.h: Revert previous
21561         change.
21563         * libio/genops.c: Revert previous change.
21564         * libio/libioP.h: Likewise.
21565         * stdio-common/vfprintf.c: Likewise.
21567         * sysdeps/generic/math_private.h: Revert previous
21568         change.
21570         * sysdeps/generic/math_private.h: Check whether
21571         HAVE_RM_CTX is defined with #ifdef rather
21572         than #if.
21574         * argp/argp-fmtstream.h: Check whether
21575         __STRICT_ANSI__ is defined with #ifdef rather
21576         than #if.
21577         * argp/argp.h: Likewise.
21579         * libio/genops.c: Check whether
21580         _IO_JUMPS_OFFSET is defined with #ifdef rather
21581         than #if.
21582         * libio/libioP.h: Likewise.
21583         * stdio-common/vfprintf.c: Likewise.
21585         * sysdeps/generic/ldsodefs.h: Check whether
21586         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21587         than #if.
21589         * nptl/sysdeps/pthread/pthread.h: Check
21590         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21591         its value.
21593 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21595         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21596         setting O_APPEND.
21597         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21598         test case.
21600         [BZ #16680]
21601         * libio/fileops.c (_IO_file_open): Seek to end of file but
21602         don't cache the offset.
21603         (get_file_offset): Remove function.
21604         (do_ftell): Use cached offset when available.
21605         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21606         don't cache the offset.
21607         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21608         case.
21609         (do_one_test): Call it.
21610         (do_ftell_test): Fix up expected old offset for a+ mode.
21611         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21612         available.
21614         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21615         up test status with function return status.
21616         (do_write_test): Likewise.
21617         (do_append_test): Likewise.
21619         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21620         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21621         Remove.
21623 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21625         * math/gen-libm-test.pl (parse_args): Handle results specified for
21626         each rounding mode separately.
21627         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21628         tests and results from lrint_tonearest_test_data,
21629         lrint_towardzero_test_data, lrint_downward_test_data and
21630         lrint_upward_test_data.
21631         (lrint_test): Use ALL_RM_TEST.
21632         (lrint_tonearest_test_data): Remove.
21633         (lrint_test_tonearest): Likewise.
21634         (lrint_towardzero_test_data): Likewise.
21635         (lrint_test_towardzero): Likewise.
21636         (lrint_downward_test_data): Likewise.
21637         (lrint_test_downward): Likewise.
21638         (lrint_upward_test_data): Likewise.
21639         (lrint_test_upward): Likewise.
21640         (llrint_test_data): Merge in per-rounding-mode tests and results
21641         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21642         llrint_downward_test_data and llrint_upward_test_data.
21643         (llrint_test): Use ALL_RM_TEST.
21644         (llrint_tonearest_test_data): Remove.
21645         (llrint_test_tonearest): Likewise.
21646         (llrint_towardzero_test_data): Likewise.
21647         (llrint_test_towardzero): Likewise.
21648         (llrint_downward_test_data): Likewise.
21649         (llrint_test_downward): Likewise.
21650         (llrint_upward_test_data): Likewise.
21651         (llrint_test_upward): Likewise.
21652         (rint_test_data): Merge in per-rounding-mode tests and results
21653         from rint_tonearest_test_data, rint_towardzero_test_data,
21654         rint_downward_test_data and rint_upward_test_data.  Add
21655         per-rounding-mode results for tests not in those arrays.
21656         (rint_test): Use ALL_RM_TEST.
21657         (rint_tonearest_test_data): Remove.
21658         (rint_test_tonearest): Likewise.
21659         (rint_towardzero_test_data): Likewise.
21660         (rint_test_towardzero): Likewise.
21661         (rint_downward_test_data): Likewise.
21662         (rint_test_downward): Likewise.
21663         (rint_upward_test_data): Likewise.
21664         (rint_test_upward): Likewise.
21665         (main): Don't call removed functions.
21667 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21669         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21670         "Compiled on ..." crapola.  It is anti-useful.
21672 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21674         * scripts/evaluate-test.sh: Handle fourth argument to determine
21675         whether test run should stop on failure.
21676         * Makeconfig (stop-on-test-failure): New variable.
21677         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21678         $(stop-on-test-failure).
21679         * Makefile (tests): Give a summary of results from testing and
21680         exit with failure status if they include an ERROR or FAIL.
21681         (xtests): Likewise.
21682         * manual/install.texi (Configuring and compiling): Mention
21683         stop-on-test-failure=y.
21684         * INSTALL: Regenerated.
21686 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21688         * scripts/versionlist.awk: New file.
21689         * Makerules [$(build-shared) = yes]
21690         (postclean-generated): Add Versions.def, not Versions.def.v and
21691         Versions.def.v.i.
21692         ($(common-objpfx)Versions.def.v.i): Target removed.
21693         ($(common-objpfx)Versions.def): New target.
21694         ($(common-objpfx)Versions.all): Depend on that rather that
21695         $(common-objpfx)Versions.def.v.
21696         * Versions.def: File removed.
21698         * Makeconfig (+gccwarn): Add -Wundef.
21699         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21700         a dl-sysdep.h breaking its contract.
21701         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21702         * include/stackinfo.h: New file.
21703         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21704         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21705         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21706         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21707         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21708         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21709         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21710         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21711         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21712         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21713         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21714         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21715         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21716         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21717         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21719 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21721         [BZ #16707]
21722         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21723         implementation.
21724         * math/libm-test.inc (round_test_data): Add more tests.
21726         [BZ #16706]
21727         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21728         implementation.
21729         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21731         [BZ #16701]
21732         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21733         implementation.
21734         * math/libm-test.inc (ceil_test_data): Add more tests.
21736         * math/libm-test.inc (trunc_test_data): Add more tests related to
21737         BZ#16414.
21739 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21741         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21742         with #if rather than #ifdef.
21743         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21745 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21747         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21748         first.  Disable AVX-512 GCC support if assembler doesn't support
21749         it.
21750         * sysdeps/x86_64/configure: Regenerated.
21752 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21754         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21755         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21756         (__old_pthread_attr_setstack): Likewise.
21757         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21758         [!_STACK_GROWS_DOWN]: Likewise.
21760 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21762         * config.make.in (have-bash2): Delete.
21763         * configure.ac (libc_cv_have_bash2): Delete.
21764         * configure: Regenerate.
21765         * elf/Makefile (common-ldd-rewrite): Rename to ...
21766         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21767         (sh-ldd-rewrite): Delete.
21768         (bash-ldd-rewrite): Delete.
21769         (have-bash2): Delete checks.
21770         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21771         ldd-rewrite.
21773         * config.make.in (have-ksh): Delete.
21774         (KSH): Delete.
21775         * configure.ac (libc_cv_have_ksh): Delete.
21776         * configure: Regenerate.
21778         * elf/Makefile: Delete $(have-ksh) check.
21779         ($(objpfx)sotruss): Change KSH to BASH.
21780         * elf/sotruss.ksh: Rename to ...
21781         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
21782         function style to match POSIX.  Drop ksh vim mode setting.
21784         * manual/time.texi (Specifying the Time Zone with TZ): Change
21785         Tuesday to Thursday.
21787         * debug/tst-longjmp_chk2.c: Update header comment.
21788         (stackoverflow_handler): Add comment.  Call assert on pass value.
21790 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21792         [BZ #16194]
21793         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21794         (HAVE_AVX512_ASM_SUPPORT): Likewise.
21795         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21796         (La_x86_64_vector): Add zmm.
21797         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21798         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21799         ($(objpfx)tst-audit10): New target.
21800         ($(objpfx)tst-audit10.out): Likewise.
21801         (tst-audit10-ENV): New.
21802         (AVX512-CFLAGS): Likewise.
21803         (CFLAGS-tst-audit10.c): Likewise.
21804         (CFLAGS-tst-auditmod10a.c): Likewise.
21805         (CFLAGS-tst-auditmod10b.c): Likewise.
21806         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21807         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21808         * sysdeps/x86_64/configure: Regenerated.
21809         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21810         AVX-512 zmm register support.
21811         (_dl_x86_64_save_sse): Likewise.
21812         (_dl_x86_64_restore_sse): Likewise.
21813         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21814         size vector registers.
21815         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21816         (ZMM_SIZE): Likewise.
21817         * sysdeps/x86_64/tst-audit10.c: New file.
21818         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21819         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21821 2014-03-13  Roland McGrath  <roland@hack.frob.com>
21823         * configure.ac (HAVE_EHDR_START): New check.
21824         * configure: Regenerated.
21825         * config.h.in (HAVE_EHDR_START): New #undef.
21826         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21827         assuming the lowest-addressed segment maps the start of the file.
21829 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
21831         * INSTALL: Regenerated.
21833 2014-03-13  Will Newton  <will.newton@linaro.org>
21835         * manual/setjmp.texi (System V contexts): Improve
21836         clarity and grammar of documentation.
21838 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21840         [BZ #16381]
21841         * elf/Makefile (tests): Add tst-pie2.
21842         (tests-pie): Add tst-pie2.
21843         * elf/tst-pie2.c: New file.
21844         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21845         for ET_EXEC.
21846         * elf/rtld.c (map_doit): Load executable as lt_executable.
21847         (dl_main): Likewise.
21849 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21851         [BZ #16642]
21852         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21853         (__ASSUME_PSELECT): Undefine.
21855 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21857         [BZ #16689]
21858         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21859         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21860         static build.
21861         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21862         selector for static builds.
21864 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21866         [BZ #16695]
21867         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21868         key in the buffer.
21870 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21872         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21873         IFUNC selector for static builds.
21875 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21877         * sysdeps/mips/math_private.h [__mips_hard_float]
21878         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21879         libc_feresetround_mips_ctx.
21880         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21881         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21882         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21884         [BZ #16677]
21885         * math/s_nextafter.c (__nextafter): Do not return value from
21886         overflowing computation.
21887         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21888         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21889         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21890         Likewise.
21891         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21892         Likewise.
21893         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21894         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21896 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21898         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21899         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21900         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21901         the new mov targetting sp.
21903 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21905         [BZ #16683]
21906         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21907         Define it for static builds as well.
21908         (NO_BZERO_IMPL): Likewise.
21910 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21912         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21913         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21914         multiarch strspn for PPC64.
21915         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21916         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21918         (__libc_ifunc_impl_list): Likewise.
21919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21920         multiarch optimizations
21921         * string/strspn.c (strspn): Using macro to redefine symbol name.
21923 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21924             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21926         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21927         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21928         multiarch strncat for PPC64.
21929         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21930         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21932         (__libc_ifunc_impl_list): Likewise.
21933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21934         multiarch optimizations
21936 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21938         [BZ #16639]
21939         * nscd/nscd.service: Make service type forking.
21941 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21943         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21944         sign in non default rounding modes.
21945         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21947 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21949         * math/libm-test.inc (ALL_RM_TEST): New macro.
21950         (ceil_test): Use ALL_RM_TEST.
21951         (cimag_test): Likewise.
21952         (conj_test): Likewise.
21953         (copysign_test): Likewise.
21954         (cproj_test): Likewise.
21955         (creal_test): Likewise.
21956         (fabs_test): Likewise.
21957         (floor_test): Likewise.
21958         (fmax_test): Likewise.
21959         (fmin_test): Likewise.
21960         (fmod_test): Likewise.
21961         (fpclassify_test): Likewise.
21962         (frexp_test): Likewise.
21963         (ilogb_test): Likewise.
21964         (isfinite_test): Likewise.
21965         (finite_test): Likewise.
21966         (isgreater_test): Likewise.
21967         (isgreaterequal_test): Likewise.
21968         (isinf_test): Likewise.
21969         (isless_test): Likewise.
21970         (islessequal_test): Likewise.
21971         (islessgreater_test): Likewise.
21972         (isnan_test): Likewise.
21973         (isnormal_test): Likewise.
21974         (issignaling_test): Likewise.
21975         (isunordered_test): Likewise.
21976         (logb_test): Likewise.
21977         (logb_downward_test_data): Remove.
21978         (logb_test_downward): Likewise.
21979         (lround_test): Use ALL_RM_TEST.
21980         (llround_test): Likewise.
21981         (modf_test): Likewise.
21982         (nexttoward_test): Likewise.
21983         (remainder_test): Likewise.
21984         (drem_test): Likewise.
21985         (remainder_tonearest_test_data): Likewise.
21986         (remainder_test_tonearest): Likewise.
21987         (drem_test_tonearest): Likewise.
21988         (remainder_towardzero_test_data): Likewise.
21989         (remainder_test_towardzero): Likewise.
21990         (drem_test_towardzero): Likewise.
21991         (remainder_downward_test_data): Likewise.
21992         (remainder_test_downward): Likewise.
21993         (drem_test_downward): Likewise.
21994         (remainder_upward_test_data): Likewise.
21995         (remainder_test_upward): Likewise.
21996         (drem_test_upward): Likewise.
21997         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21998         (round_test): Use ALL_RM_TEST.
21999         (signbit_test): Likewise.
22000         (trunc_test): Likewise.
22001         (significand_test): Likewise.
22002         (main): Don't call removed functions.
22004 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22006         [BZ #16674]
22007         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22008         || __USE_XOPEN2K8].
22009         (ILL_ILLOPN): Likewise.
22010         (ILL_ILLADR): Likewise.
22011         (ILL_ILLTRP): Likewise.
22012         (ILL_PRVOPC): Likewise.
22013         (ILL_PRVREG): Likewise.
22014         (ILL_COPROC): Likewise.
22015         (ILL_BADSTK): Likewise.
22016         (FPE_INTDIV): Likewise.
22017         (FPE_INTOVF): Likewise.
22018         (FPE_FLTDIV): Likewise.
22019         (FPE_FLTOVF): Likewise.
22020         (FPE_FLTUND): Likewise.
22021         (FPE_FLTRES): Likewise.
22022         (FPE_FLTINV): Likewise.
22023         (FPE_FLTSUB): Likewise.
22024         (SEGV_MAPERR): Likewise.
22025         (SEGV_ACCERR): Likewise.
22026         (BUS_ADRALN): Likewise.
22027         (BUS_ADRERR): Likewise.
22028         (BUS_OBJERR): Likewise.
22029         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22030         (TRAP_TRACE): Likewise.
22031         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22032         __USE_XOPEN2K8].
22033         (CLD_KILLED): Likewise.
22034         (CLD_DUMPED): Likewise.
22035         (CLD_TRAPPED): Likewise.
22036         (CLD_STOPPED): Likewise.
22037         (CLD_CONTINUED): Likewise.
22038         (POLL_IN): Likewise.
22039         (POLL_OUT): Likewise.
22040         (POLL_MSG): Likewise.
22041         (POLL_ERR): Likewise.
22042         (POLL_PRI): Likewise.
22043         (POLL_HUP): Likewise.
22044         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22045         Likewise.
22046         (ILL_ILLOPN): Likewise.
22047         (ILL_ILLADR): Likewise.
22048         (ILL_ILLTRP): Likewise.
22049         (ILL_PRVOPC): Likewise.
22050         (ILL_PRVREG): Likewise.
22051         (ILL_COPROC): Likewise.
22052         (ILL_BADSTK): Likewise.
22053         (FPE_INTDIV): Likewise.
22054         (FPE_INTOVF): Likewise.
22055         (FPE_FLTDIV): Likewise.
22056         (FPE_FLTOVF): Likewise.
22057         (FPE_FLTUND): Likewise.
22058         (FPE_FLTRES): Likewise.
22059         (FPE_FLTINV): Likewise.
22060         (FPE_FLTSUB): Likewise.
22061         (SEGV_MAPERR): Likewise.
22062         (SEGV_ACCERR): Likewise.
22063         (BUS_ADRALN): Likewise.
22064         (BUS_ADRERR): Likewise.
22065         (BUS_OBJERR): Likewise.
22066         (BUS_MCEERR_AR): Likewise.
22067         (BUS_MCEERR_AO): Likewise.
22068         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22069         (TRAP_TRACE): Likewise.
22070         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22071         __USE_XOPEN2K8].
22072         (CLD_KILLED): Likewise.
22073         (CLD_DUMPED): Likewise.
22074         (CLD_TRAPPED): Likewise.
22075         (CLD_STOPPED): Likewise.
22076         (CLD_CONTINUED): Likewise.
22077         (POLL_IN): Likewise.
22078         (POLL_OUT): Likewise.
22079         (POLL_MSG): Likewise.
22080         (POLL_ERR): Likewise.
22081         (POLL_PRI): Likewise.
22082         (POLL_HUP): Likewise.
22083         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22084         (ILL_ILLOPN): Likewise.
22085         (ILL_ILLADR): Likewise.
22086         (ILL_ILLTRP): Likewise.
22087         (ILL_PRVOPC): Likewise.
22088         (ILL_PRVREG): Likewise.
22089         (ILL_COPROC): Likewise.
22090         (ILL_BADSTK): Likewise.
22091         (FPE_INTDIV): Likewise.
22092         (FPE_INTOVF): Likewise.
22093         (FPE_FLTDIV): Likewise.
22094         (FPE_FLTOVF): Likewise.
22095         (FPE_FLTUND): Likewise.
22096         (FPE_FLTRES): Likewise.
22097         (FPE_FLTINV): Likewise.
22098         (FPE_FLTSUB): Likewise.
22099         (SEGV_MAPERR): Likewise.
22100         (SEGV_ACCERR): Likewise.
22101         (BUS_ADRALN): Likewise.
22102         (BUS_ADRERR): Likewise.
22103         (BUS_OBJERR): Likewise.
22104         (BUS_MCEERR_AR): Likewise.
22105         (BUS_MCEERR_AO): Likewise.
22106         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22107         (TRAP_TRACE): Likewise.
22108         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22109         __USE_XOPEN2K8].
22110         (CLD_KILLED): Likewise.
22111         (CLD_DUMPED): Likewise.
22112         (CLD_TRAPPED): Likewise.
22113         (CLD_STOPPED): Likewise.
22114         (CLD_CONTINUED): Likewise.
22115         (POLL_IN): Likewise.
22116         (POLL_OUT): Likewise.
22117         (POLL_MSG): Likewise.
22118         (POLL_ERR): Likewise.
22119         (POLL_PRI): Likewise.
22120         (POLL_HUP): Likewise.
22121         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22122         Likewise.
22123         (ILL_ILLOPN): Likewise.
22124         (ILL_ILLADR): Likewise.
22125         (ILL_ILLTRP): Likewise.
22126         (ILL_PRVOPC): Likewise.
22127         (ILL_PRVREG): Likewise.
22128         (ILL_COPROC): Likewise.
22129         (ILL_BADSTK): Likewise.
22130         (ILL_BADIADDR): Likewise.
22131         (ILL_BREAK): Likewise.
22132         (FPE_INTDIV): Likewise.
22133         (FPE_INTOVF): Likewise.
22134         (FPE_FLTDIV): Likewise.
22135         (FPE_FLTOVF): Likewise.
22136         (FPE_FLTUND): Likewise.
22137         (FPE_FLTRES): Likewise.
22138         (FPE_FLTINV): Likewise.
22139         (FPE_FLTSUB): Likewise.
22140         (FPE_DECOVF): Likewise.
22141         (FPE_DECDIV): Likewise.
22142         (FPE_DECERR): Likewise.
22143         (FPE_INVASC): Likewise.
22144         (FPE_INVDEC): Likewise.
22145         (SEGV_MAPERR): Likewise.
22146         (SEGV_ACCERR): Likewise.
22147         (SEGV_PSTKOVF): Likewise.
22148         (BUS_ADRALN): Likewise.
22149         (BUS_ADRERR): Likewise.
22150         (BUS_OBJERR): Likewise.
22151         (BUS_MCEERR_AR): Likewise.
22152         (BUS_MCEERR_AO): Likewise.
22153         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22154         (TRAP_TRACE): Likewise.
22155         (TRAP_BRANCH): Likewise.
22156         (TRAP_HWBKPT): Likewise.
22157         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22158         __USE_XOPEN2K8].
22159         (CLD_KILLED): Likewise.
22160         (CLD_DUMPED): Likewise.
22161         (CLD_TRAPPED): Likewise.
22162         (CLD_STOPPED): Likewise.
22163         (CLD_CONTINUED): Likewise.
22164         (POLL_IN): Likewise.
22165         (POLL_OUT): Likewise.
22166         (POLL_MSG): Likewise.
22167         (POLL_ERR): Likewise.
22168         (POLL_PRI): Likewise.
22169         (POLL_HUP): Likewise.
22170         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22171         (ILL_ILLOPN): Likewise.
22172         (ILL_ILLADR): Likewise.
22173         (ILL_ILLTRP): Likewise.
22174         (ILL_PRVOPC): Likewise.
22175         (ILL_PRVREG): Likewise.
22176         (ILL_COPROC): Likewise.
22177         (ILL_BADSTK): Likewise.
22178         (FPE_INTDIV): Likewise.
22179         (FPE_INTOVF): Likewise.
22180         (FPE_FLTDIV): Likewise.
22181         (FPE_FLTOVF): Likewise.
22182         (FPE_FLTUND): Likewise.
22183         (FPE_FLTRES): Likewise.
22184         (FPE_FLTINV): Likewise.
22185         (FPE_FLTSUB): Likewise.
22186         (SEGV_MAPERR): Likewise.
22187         (SEGV_ACCERR): Likewise.
22188         (BUS_ADRALN): Likewise.
22189         (BUS_ADRERR): Likewise.
22190         (BUS_OBJERR): Likewise.
22191         (BUS_MCEERR_AR): Likewise.
22192         (BUS_MCEERR_AO): Likewise.
22193         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22194         (TRAP_TRACE): Likewise.
22195         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22196         __USE_XOPEN2K8].
22197         (CLD_KILLED): Likewise.
22198         (CLD_DUMPED): Likewise.
22199         (CLD_TRAPPED): Likewise.
22200         (CLD_STOPPED): Likewise.
22201         (CLD_CONTINUED): Likewise.
22202         (POLL_IN): Likewise.
22203         (POLL_OUT): Likewise.
22204         (POLL_MSG): Likewise.
22205         (POLL_ERR): Likewise.
22206         (POLL_PRI): Likewise.
22207         (POLL_HUP): Likewise.
22208         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22209         (ILL_ILLOPN): Likewise.
22210         (ILL_ILLADR): Likewise.
22211         (ILL_ILLTRP): Likewise.
22212         (ILL_PRVOPC): Likewise.
22213         (ILL_PRVREG): Likewise.
22214         (ILL_COPROC): Likewise.
22215         (ILL_BADSTK): Likewise.
22216         (FPE_INTDIV): Likewise.
22217         (FPE_INTOVF): Likewise.
22218         (FPE_FLTDIV): Likewise.
22219         (FPE_FLTOVF): Likewise.
22220         (FPE_FLTUND): Likewise.
22221         (FPE_FLTRES): Likewise.
22222         (FPE_FLTINV): Likewise.
22223         (FPE_FLTSUB): Likewise.
22224         (SEGV_MAPERR): Likewise.
22225         (SEGV_ACCERR): Likewise.
22226         (BUS_ADRALN): Likewise.
22227         (BUS_ADRERR): Likewise.
22228         (BUS_OBJERR): Likewise.
22229         (BUS_MCEERR_AR): Likewise.
22230         (BUS_MCEERR_AO): Likewise.
22231         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22232         (TRAP_TRACE): Likewise.
22233         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22234         __USE_XOPEN2K8].
22235         (CLD_KILLED): Likewise.
22236         (CLD_DUMPED): Likewise.
22237         (CLD_TRAPPED): Likewise.
22238         (CLD_STOPPED): Likewise.
22239         (CLD_CONTINUED): Likewise.
22240         (POLL_IN): Likewise.
22241         (POLL_OUT): Likewise.
22242         (POLL_MSG): Likewise.
22243         (POLL_ERR): Likewise.
22244         (POLL_PRI): Likewise.
22245         (POLL_HUP): Likewise.
22246         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22247         (ILL_ILLOPN): Likewise.
22248         (ILL_ILLADR): Likewise.
22249         (ILL_ILLTRP): Likewise.
22250         (ILL_PRVOPC): Likewise.
22251         (ILL_PRVREG): Likewise.
22252         (ILL_COPROC): Likewise.
22253         (ILL_BADSTK): Likewise.
22254         (FPE_INTDIV): Likewise.
22255         (FPE_INTOVF): Likewise.
22256         (FPE_FLTDIV): Likewise.
22257         (FPE_FLTOVF): Likewise.
22258         (FPE_FLTUND): Likewise.
22259         (FPE_FLTRES): Likewise.
22260         (FPE_FLTINV): Likewise.
22261         (FPE_FLTSUB): Likewise.
22262         (SEGV_MAPERR): Likewise.
22263         (SEGV_ACCERR): Likewise.
22264         (BUS_ADRALN): Likewise.
22265         (BUS_ADRERR): Likewise.
22266         (BUS_OBJERR): Likewise.
22267         (BUS_MCEERR_AR): Likewise.
22268         (BUS_MCEERR_AO): Likewise.
22269         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22270         (TRAP_TRACE): Likewise.
22271         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22272         __USE_XOPEN2K8].
22273         (CLD_KILLED): Likewise.
22274         (CLD_DUMPED): Likewise.
22275         (CLD_TRAPPED): Likewise.
22276         (CLD_STOPPED): Likewise.
22277         (CLD_CONTINUED): Likewise.
22278         (POLL_IN): Likewise.
22279         (POLL_OUT): Likewise.
22280         (POLL_MSG): Likewise.
22281         (POLL_ERR): Likewise.
22282         (POLL_PRI): Likewise.
22283         (POLL_HUP): Likewise.
22284         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22285         (ILL_ILLOPN): Likewise.
22286         (ILL_ILLADR): Likewise.
22287         (ILL_ILLTRP): Likewise.
22288         (ILL_PRVOPC): Likewise.
22289         (ILL_PRVREG): Likewise.
22290         (ILL_COPROC): Likewise.
22291         (ILL_BADSTK): Likewise.
22292         (ILL_DBLFLT): Likewise.
22293         (ILL_HARDWALL): Likewise.
22294         (FPE_INTDIV): Likewise.
22295         (FPE_INTOVF): Likewise.
22296         (FPE_FLTDIV): Likewise.
22297         (FPE_FLTOVF): Likewise.
22298         (FPE_FLTUND): Likewise.
22299         (FPE_FLTRES): Likewise.
22300         (FPE_FLTINV): Likewise.
22301         (FPE_FLTSUB): Likewise.
22302         (SEGV_MAPERR): Likewise.
22303         (SEGV_ACCERR): Likewise.
22304         (BUS_ADRALN): Likewise.
22305         (BUS_ADRERR): Likewise.
22306         (BUS_OBJERR): Likewise.
22307         (BUS_MCEERR_AR): Likewise.
22308         (BUS_MCEERR_AO): Likewise.
22309         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22310         (TRAP_TRACE): 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/x86/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         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22363         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22365         [BZ #16670]
22366         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22367         before #include of <time.h>.
22368         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22369         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22370         (test-xfail-UNIX98/sched.h/conform): Likewise.
22372 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22374         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22375         error absence of trapping exception support.
22376         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22378 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22380         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22381         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22382         * timezone/Makefile (testdata): Move definition above include of
22383         Rules.
22384         (test-zones): New variable.
22385         (tests-special): Add zone files.
22386         (build-testdata): Use $(evaluate-test).
22388         * elf/Makefile (tests-special): Rename tests to end with .out.
22389         ($(objpfx)noload-mem): Likewise.
22390         ($(objpfx)tst-leaks1-mem): Likewise.
22391         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22392         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22393         $(objpfx)test-iconvconfig.out.
22394         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22395         set -e inside subshell and redirect output to file.
22396         * iconvdata/Makefile (generated): Rename tests to end with .out.
22397         Correct type.
22398         (tests-special): Rename tests to end with .out.
22399         ($(objpfx)mtrace-tst-loading): Likewise.
22400         * intl/Makefile (generated): Likewise.
22401         (tests-special): Likewise.
22402         ($(objpfx)mtrace-tst-gettext): Likewise.
22403         * misc/Makefile (generated): Likewise.
22404         (tests-special): Likewise.
22405         ($(objpfx)tst-error1-mem): Likewise.
22406         * nptl/Makefile (tests-special): Likewise.
22407         ($(objpfx)tst-stack3-mem): Likewise.
22408         (generated): Likewise.
22409         * posix/Makefile (generated): Likewise.
22410         (tests-special): Likewise.
22411         (xtests-special): Likewise.
22412         ($(objpfx)tst-fnmatch-mem): Likewise.
22413         ($(objpfx)bug-regex2-mem): Likewise.
22414         ($(objpfx)bug-regex14-mem): Likewise.
22415         ($(objpfx)bug-regex21-mem): Likewise.
22416         ($(objpfx)bug-regex31-mem): Likewise.
22417         ($(objpfx)tst-vfork3-mem): Likewise.
22418         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22419         ($(objpfx)tst-pcre-mem): Likewise.
22420         ($(objpfx)tst-boost-mem): Likewise.
22421         ($(objpfx)bug-ga2-mem): Likewise.
22422         ($(objpfx)bug-glob2-mem): Likewise.
22423         * resolv/Makefile (generate): Likewise.
22424         (tests-special): Likewise.
22425         (xtests-special): Likewise.
22426         (generated): Likewise.
22427         ($(objpfx)mtrace-tst-leaks): Likewise.
22428         ($(objpfx)mtrace-tst-leaks2): Likewise.
22430         * scripts/merge-test-results.sh: New file.
22431         * Makefile (tests-special-notdir): New variable.
22432         (tests): Run merge-test-results.sh.
22433         (xtests): Likewise.
22434         * Rules (tests-special-notdir): New variable.
22435         (xtests-special-notdir): Likewise.
22436         (tests): Run merge-test-results.sh
22437         (xtests): Likewise.
22439         * Makeconfig (test-xfail-name): New variable.
22440         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22441         compute variable name for expected failures.
22442         * conform/Makefile (conformtest-headers-data): New variable.
22443         (conformtest-standards): Likewise.
22444         (conformtest-headers-ISO): Likewise.
22445         (conformtest-headers-ISO99): Likewise.
22446         (conformtest-headers-ISO11): Likewise.
22447         (conformtest-headers-POSIX): Likewise.
22448         (conformtest-headers-XPG3): Likewise.
22449         (conformtest-headers-XPG4): Likewise.
22450         (conformtest-headers-UNIX98): Likewise.
22451         (conformtest-headers-XOPEN2K): Likewise.
22452         (conformtest-headers-POSIX2008): Likewise.
22453         (conformtest-headers-XOPEN2K8): Likewise.
22454         (conformtest-header-list-base): Likewise.
22455         (conformtest-header-list-tests): Likewise.
22456         (conformtest-header-base): Likewise.
22457         (conformtest-header-tests): Likewise.
22458         (tests-special): Add $(conformtest-header-list-tests).  If
22459         [$(fast-check) && !$(cross-compiling)], add
22460         $(conformtest-header-tests) instead of
22461         $(objpfx)run-conformtest.out.
22462         (generated): Add $(conformtest-header-list-base).  If
22463         [$(fast-check) && !$(cross-compiling)], add
22464         $(conformtest-header-base).  Remove previous setting.
22465         ($(conformtest-header-list-tests)): New target.
22466         (test-xfail-run-conformtest): Remove variable.
22467         ($(objpfx)run-conformtest.out): Remove target.
22468         (test-xfail-ISO11/complex.h/conform): New variable.
22469         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22470         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22471         (test-xfail-XPG3/varargs.h/conform): Likewise.
22472         (test-xfail-XPG4/varargs.h/conform): Likewise.
22473         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22474         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22475         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22476         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22477         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22478         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22479         (test-xfail-XPG3/ftw.h/conform): Likewise.
22480         (test-xfail-XPG3/grp.h/conform): Likewise.
22481         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22482         (test-xfail-XPG3/limits.h/conform): Likewise.
22483         (test-xfail-XPG3/pwd.h/conform): Likewise.
22484         (test-xfail-XPG3/search.h/conform): Likewise.
22485         (test-xfail-XPG3/signal.h/conform): Likewise.
22486         (test-xfail-XPG3/stdio.h/conform): Likewise.
22487         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22488         (test-xfail-XPG3/string.h/conform): Likewise.
22489         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22490         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22491         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22492         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22493         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22494         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22495         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22496         (test-xfail-XPG3/termios.h/conform): Likewise.
22497         (test-xfail-XPG3/time.h/conform): Likewise.
22498         (test-xfail-XPG3/unistd.h/conform): Likewise.
22499         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22500         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22501         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22502         (test-xfail-XPG4/netdb.h/conform): Likewise.
22503         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22504         (test-xfail-XPG4/signal.h/conform): Likewise.
22505         (test-xfail-XPG4/stdio.h/conform): Likewise.
22506         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22507         (test-xfail-XPG4/stropts.h/conform): Likewise.
22508         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22509         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22510         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22511         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22512         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22513         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22514         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22515         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22516         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22517         (test-xfail-XPG4/termios.h/conform): Likewise.
22518         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22519         (test-xfail-XPG4/unistd.h/conform): Likewise.
22520         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22521         (test-xfail-POSIX/sched.h/conform): Likewise.
22522         (test-xfail-POSIX/signal.h/conform): Likewise.
22523         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22524         (test-xfail-POSIX/tar.h/conform): Likewise.
22525         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22526         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22527         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22528         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22529         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22530         (test-xfail-UNIX98/sched.h/conform): Likewise.
22531         (test-xfail-UNIX98/signal.h/conform): Likewise.
22532         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22533         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22534         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22535         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22536         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22537         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22538         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22539         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22540         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22541         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22542         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22543         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22544         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22545         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22546         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22547         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22548         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22549         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22550         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22551         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22552         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22553         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22554         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22555         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22556         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22557         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22558         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22559         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22560         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22561         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22562         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22563         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22564         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22565         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22566         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22567         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22568         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22569         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22570         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22571         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22572         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22573         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22574         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22575         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22576         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22577         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22578         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22579         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22580         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22581         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22582         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22583         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22584         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22585         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22586         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22587         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22588         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22589         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22590         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22591         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22592         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22593         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22594         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22595         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22596         (conformtest-cc-flags): Likewise.
22597         ($(conformtest-header-tests): New target.
22598         * conform/check-header-lists.sh: New file.
22599         * conform/run-conformtest.sh: Remove.
22601         * conform/conformtest.pl: Allow ' and \ in values given for
22602         constants.
22603         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22604         inclusion.
22605         [POSIX] (sys/types.h): Likewise.
22606         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22607         inclusion.
22608         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22609         inclusion.
22610         * conform/data/signal.h-data (SIGIO): Remove expectation.
22611         [XPG3] (SIGBUS): Do not expect.
22612         [POSIX || XPG3] (SIGPOLL): Likewise.
22613         [POSIX || XPG3] (SIGPROF): Likewise.
22614         [POSIX || XPG3] (SIGSYS): Likewise.
22615         [XPG3] (SIGTRAP): Likewise.
22616         [POSIX || XPG3] (SIGURG): Likewise.
22617         [POSIX || XPG3] (SIGVTALRM): Likewise.
22618         [POSIX || XPG3] (SIGXCPU): Likewise.
22619         [POSIX || XPG3] (SIGXFSZ): Likewise.
22620         [POSIX] (SA_SIGINFO): Expect.
22621         [XPG3] (siginfo_t): Do not expect type or contents.
22622         [POSIX] (si_pid): Do not expect element.
22623         [POSIX] (si_uid): Likewise.
22624         [POSIX] (si_addr): Likewise.
22625         [POSIX] (si_status): Likewise.
22626         [POSIX] (si_band): Likewise.
22627         [XPG4] (si_value): Likewise.
22628         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22629         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22630         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22631         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22632         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22633         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22634         [POSIX || XPG3] (ILL_COPROC): Likewise.
22635         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22636         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22637         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22638         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22639         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22640         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22641         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22642         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22643         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22644         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22645         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22646         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22647         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22648         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22649         [POSIX || XPG3] (CLD_EXITED): Likewise.
22650         [POSIX || XPG3] (CLD_KILLED): Likewise.
22651         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22652         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22653         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22654         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22655         [POSIX || XPG3] (POLL_IN): Likewise.
22656         [POSIX || XPG3] (POLL_OUT): Likewise.
22657         [POSIX || XPG3] (POLL_MSG): Likewise.
22658         [POSIX || XPG3] (POLL_ERR): Likewise.
22659         [POSIX || XPG3] (POLL_PRI): Likewise.
22660         [POSIX || XPG3] (POLL_HUP): Likewise.
22661         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22662         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22663         (SIG*): Do not allow.
22664         [XPG3] (si_*): Likewise.
22665         [XPG3] (SI_*): Likewise.
22666         [XPG3 || XPG4] (sigev_*): Likewise.
22667         [XPG3 || XPG4] (SIGEV_*): Likewise.
22668         [XPG3 || XPG4] (sival_*): Likewise.
22669         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22670         [POSIX || XPG3] (BUS_*): Likewise.
22671         [POSIX || XPG3] (CLD_*): Likewise.
22672         [POSIX || XPG3] (FPE_*): Likewise.
22673         [POSIX || XPG3] (ILL_*): Likewise.
22674         [POSIX || XPG3] (POLL_*): Likewise.
22675         [POSIX || XPG3] (SEGV_*): Likewise.
22676         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22677         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22678         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22679         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22680         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22681         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22682         Specify type and value.
22683         (TVERSLEN): Likewise.
22684         (REGTYPE): Likewise.
22685         (AREGTYPE): Likewise.
22686         (LNKTYPE): Likewise.
22687         (SYMTYPE): Likewise.
22688         (CHRTYPE): Likewise.
22689         (BLKTYPE): Likewise.
22690         (DIRTYPE): Likewise.
22691         (FIFOTYPE): Likewise.
22692         (CONTTYPE): Likewise.
22693         (TSUID): Likewise.
22694         (TSGID): Likewise.
22695         (TSVTX): Likewise.
22696         (TUREAD): Likewise.
22697         (TUWRITE): Likewise.
22698         (TUEXEC): Likewise.
22699         (TGREAD): Likewise.
22700         (TGWRITE): Likewise.
22701         (TGEXEC): Likewise.
22702         (TOREAD): Likewise.
22703         (TOWRITE): Likewise.
22704         (TOEXEC): Likewise.
22705         [POSIX] (TSVTX): Expect constant.
22707 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22709         * Makefile (tests): Change dependencies to ....
22710         (tests-special): ... additions to this variable.
22711         (tests): Depend on $(tests-special).
22712         * Makerules (check-abi-list): New variable.
22713         (check-abi): Depend on $(check-abi-list).
22714         [$(subdir) = elf] (tests-special): Add
22715         $(objpfx)check-abi-libc.out.
22716         [$(build-shared) = yes && subdir] (tests-special): Add
22717         $(check-abi-list).
22718         [$(build-shared) = yes && subdir] (tests): Do not depend on
22719         check-abi.
22720         * Rules (tests): Depend on $(tests-special).
22721         (xtests): Depend on $(xtests-special).
22722         * catgets/Makefile (tests): Change dependencies to ....
22723         (tests-special): ... additions to this variable.
22724         * conform/Makefile (tests): Change dependencies to ....
22725         (tests-special): ... additions to this variable.
22726         * elf/Makefile (tests): Change dependencies to ....
22727         (tests-special): ... additions to this variable.
22728         * grp/Makefile (tests): Change dependencies to ....
22729         (tests-special): ... additions to this variable.
22730         * iconv/Makefile (xtests): Change dependencies to ....
22731         (xtests-special): ... additions to this variable.
22732         * iconvdata/Makefile (tests): Change dependencies to ....
22733         (tests-special): ... additions to this variable.
22734         * intl/Makefile (tests): Change dependencies to ....
22735         (tests-special): ... additions to this variable.  Also add
22736         $(objpfx)tst-gettext.out.
22737         * io/Makefile (tests): Change dependencies to ....
22738         (tests-special): ... additions to this variable.
22739         * libio/Makefile (tests): Change dependencies to ....
22740         (tests-special): ... additions to this variable.
22741         * malloc/Makefile (tests): Change dependencies to ....
22742         (tests-special): ... additions to this variable.
22743         * misc/Makefile (tests): Change dependencies to ....
22744         (tests-special): ... additions to this variable.
22745         * nptl/Makefile (tests): Change dependencies to ....
22746         (tests-special): ... additions to this variable.
22747         * nptl_db/Makefile (tests): Change dependencies to ....
22748         (tests-special): ... additions to this variable.
22749         * posix/Makefile (tests): Change dependencies to ....
22750         (tests-special): ... additions to this variable.
22751         (xtests): Change dependencies to ....
22752         (xtests-special): ... additions to this variable.
22753         * resolv/Makefile (tests): Change dependencies to ....
22754         (tests-special): ... additions to this variable.
22755         (xtests): Change dependencies to ....
22756         (xtests-special): ... additions to this variable.
22757         * stdio-common/Makefile (tests): Change dependencies to ....
22758         (tests-special): ... additions to this variable.
22759         (do-tst-unbputc): Remove target.
22760         (do-tst-printf): Likewise.
22761         * stdlib/Makefile (tests): Change dependencies to ....
22762         (tests-special): ... additions to this variable.
22763         * string/Makefile (tests): Change dependencies to ....
22764         (tests-special): ... additions to this variable.
22765         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22766         (tests-special): ... additions to this variable.
22768         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22769         whole file.
22770         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22771         whole file.
22772         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22773         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22775         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22776         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22777         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22778         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22779         * conform/data/libgen.h-data [XPG3]: Likewise.
22780         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22781         * conform/data/ndbm.h-data [XPG3]: Likewise.
22782         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22783         * conform/data/netdb.h-data [XPG3]: Likewise.
22784         * conform/data/netinet/in.h-data [XPG3]: Likewise.
22785         * conform/data/poll.h-data [XPG3]: Likewise.
22786         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22787         * conform/data/strings.h-data [XPG3]: Likewise.
22788         * conform/data/stropts.h-data [XPG3]: Likewise.
22789         * conform/data/sys/mman.h-data [XPG3]: Likewise.
22790         * conform/data/sys/resource.h-data [XPG3]: Likewise.
22791         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22792         Likewise.
22793         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22794         * conform/data/sys/time.h-data [XPG3]: Likewise.
22795         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22796         * conform/data/sys/uio.h-data [XPG3]: Likewise.
22797         * conform/data/sys/un.h-data [XPG3]: Likewise.
22798         * conform/data/syslog.h-data [XPG3]: Likewise.
22799         * conform/data/ucontext.h-data [XPG3]: Likewise.
22800         * conform/data/utmpx.h-data [XPG3]: Likewise.
22801         * conform/data/varargs.h-data [UNIX98]: Enable file.
22803         * manual/Makefile (INSTALL_INFO): Remove variable setting.
22805         * math/libm-test.inc (struct test_f_f_data): Move expected results
22806         into structure for each rounding mode.
22807         (struct test_ff_f_data): Likewise.
22808         (struct test_ff_f_data_nexttoward): Likewise.
22809         (struct test_fi_f_data): Likewise.
22810         (struct test_fl_f_data): Likewise.
22811         (struct test_if_f_data): Likewise.
22812         (struct test_fff_f_data): Likewise.
22813         (struct test_c_f_data): Likewise.
22814         (struct test_f_f1_data): Likewise.
22815         (struct test_fF_f1_data): Likewise.
22816         (struct test_ffI_f1_data): Likewise.
22817         (struct test_c_c_data): Likewise.
22818         (struct test_cc_c_data): Likewise.
22819         (struct test_f_i_data): Likewise.
22820         (struct test_ff_i_data): Likewise.
22821         (struct test_f_l_data): Likewise.
22822         (struct test_f_L_data): Likewise.
22823         (struct test_fFF_11_data): Likewise.
22824         (RM_): New macro.
22825         (RM_FE_DOWNWARD): Likewise.
22826         (RM_FE_TONEAREST): Likewise.
22827         (RM_FE_TOWARDZERO): Likewise.
22828         (RM_FE_UPWARD): Likewise.
22829         (RUN_TEST_LOOP_f_f): Update references to expected results.
22830         (RUN_TEST_LOOP_2_f): Likewise.
22831         (RUN_TEST_LOOP_fff_f): Likewise.
22832         (RUN_TEST_LOOP_c_f): Likewise.
22833         (RUN_TEST_LOOP_f_f1): Likewise.
22834         (RUN_TEST_LOOP_fF_f1): Likewise.
22835         (RUN_TEST_LOOP_fI_f1): Likewise.
22836         (RUN_TEST_LOOP_ffI_f1): Likewise.
22837         (RUN_TEST_LOOP_c_c): Likewise.
22838         (RUN_TEST_LOOP_cc_c): Likewise.
22839         (RUN_TEST_LOOP_f_i): Likewise.
22840         (RUN_TEST_LOOP_f_i_tg): Likewise.
22841         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22842         (RUN_TEST_LOOP_f_b): Likewise.
22843         (RUN_TEST_LOOP_f_b_tg): Likewise.
22844         (RUN_TEST_LOOP_f_l): Likewise.
22845         (RUN_TEST_LOOP_f_L): Likewise.
22846         (RUN_TEST_LOOP_fFF_11): Likewise.
22847         * math/gen-libm-test.pl (parse_args): Output four copies of
22848         expected results for each test.
22850         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22851         (__ASSUME_UTIMES): Remove.
22852         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22853         (__ASSUME_UTIMES): Likewise.
22855         * math/gen-auto-libm-tests.c: Update comment on output format.
22856         (output_for_one_input_case): Generate before-rounding and
22857         after-rounding information as conditions on output flags not
22858         floating-point format.
22859         * math/auto-libm-test-out: Regenerated.
22860         * math/gen-libm-test.pl (cond_value): New function.
22861         (or_cond_value): Use cond_value.
22862         (generate_testfile): Handle conditional exceptions.
22864 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22866         * math/libm-test.inc (max_valid_error): New variable.
22867         (init_max_error): Take new argument specifying whether function
22868         results are exactly determined.  Set max_valid_error and bound
22869         other variables for errors based on this argument.
22870         (set_max_error): Do not record results above max_valid_error.
22871         (check_float_internal): Only accept errors of up to 0.5ulps if
22872         also at most max_valid_error.
22873         (START): Take new argument EXACT and pass it to init_max_error.
22874         (acos_test): Update call to START.
22875         (acos_test_tonearest): Likewise.
22876         (acos_test_towardzero): Likewise.
22877         (acos_test_downward): Likewise.
22878         (acos_test_upward): Likewise.
22879         (acosh_test): Likewise.
22880         (asin_test): Likewise.
22881         (asin_test_tonearest): Likewise.
22882         (asin_test_towardzero): Likewise.
22883         (asin_test_downward): Likewise.
22884         (asin_test_upward): Likewise.
22885         (asinh_test): Likewise.
22886         (atan_test): Likewise.
22887         (atanh_test): Likewise.
22888         (atan2_test): Likewise.
22889         (cabs_test): Likewise.
22890         (cacos_test): Likewise.
22891         (cacosh_test): Likewise.
22892         (carg_test): Likewise.
22893         (casin_test): Likewise.
22894         (casinh_test): Likewise.
22895         (catan_test): Likewise.
22896         (catanh_test): Likewise.
22897         (cbrt_test): Likewise.
22898         (ccos_test): Likewise.
22899         (ccosh_test): Likewise.
22900         (ceil_test): Likewise.
22901         (cexp_test): Likewise.
22902         (cimag_test): Likewise.
22903         (clog_test): Likewise.
22904         (clog10_test): Likewise.
22905         (conj_test): Likewise.
22906         (copysign_test): Likewise.
22907         (cos_test): Likewise.
22908         (cos_test_tonearest): Likewise.
22909         (cos_test_towardzero): Likewise.
22910         (cos_test_downward): Likewise.
22911         (cos_test_upward): Likewise.
22912         (cosh_test): Likewise.
22913         (cosh_test_tonearest): Likewise.
22914         (cosh_test_towardzero): Likewise.
22915         (cosh_test_downward): Likewise.
22916         (cosh_test_upward): Likewise.
22917         (cpow_test): Likewise.
22918         (cproj_test): Likewise.
22919         (creal_test): Likewise.
22920         (csin_test): Likewise.
22921         (csinh_test): Likewise.
22922         (csqrt_test): Likewise.
22923         (ctan_test): Likewise.
22924         (ctan_test_tonearest): Likewise.
22925         (ctan_test_towardzero): Likewise.
22926         (ctan_test_downward): Likewise.
22927         (ctan_test_upward): Likewise.
22928         (ctanh_test): Likewise.
22929         (ctanh_test_tonearest): Likewise.
22930         (ctanh_test_towardzero): Likewise.
22931         (ctanh_test_downward): Likewise.
22932         (ctanh_test_upward): Likewise.
22933         (erf_test): Likewise.
22934         (erfc_test): Likewise.
22935         (exp_test): Likewise.
22936         (exp_test_tonearest): Likewise.
22937         (exp_test_towardzero): Likewise.
22938         (exp_test_downward): Likewise.
22939         (exp_test_upward): Likewise.
22940         (exp10_test): Likewise.
22941         (exp10_test_tonearest): Likewise.
22942         (exp10_test_towardzero): Likewise.
22943         (exp10_test_downward): Likewise.
22944         (exp10_test_upward): Likewise.
22945         (pow10_test): Likewise.
22946         (exp2_test): Likewise.
22947         (expm1_test): Likewise.
22948         (expm1_test_tonearest): Likewise.
22949         (expm1_test_towardzero): Likewise.
22950         (expm1_test_downward): Likewise.
22951         (expm1_test_upward): Likewise.
22952         (fabs_test): Likewise.
22953         (fdim_test): Likewise.
22954         (floor_test): Likewise.
22955         (fma_test): Likewise.
22956         (fma_test_towardzero): Likewise.
22957         (fma_test_downward): Likewise.
22958         (fma_test_upward): Likewise.
22959         (fmax_test): Likewise.
22960         (fmin_test): Likewise.
22961         (fmod_test): Likewise.
22962         (fpclassify_test): Likewise.
22963         (frexp_test): Likewise.
22964         (hypot_test): Likewise.
22965         (ilogb_test): Likewise.
22966         (isfinite_test): Likewise.
22967         (finite_test): Likewise.
22968         (isgreater_test): Likewise.
22969         (isgreaterequal_test): Likewise.
22970         (isinf_test): Likewise.
22971         (isless_test): Likewise.
22972         (islessequal_test): Likewise.
22973         (islessgreater_test): Likewise.
22974         (isnan_test): Likewise.
22975         (isnormal_test): Likewise.
22976         (issignaling_test): Likewise.
22977         (isunordered_test): Likewise.
22978         (j0_test): Likewise.
22979         (j1_test): Likewise.
22980         (jn_test): Likewise.
22981         (ldexp_test): Likewise.
22982         (lgamma_test): Likewise.
22983         (gamma_test): Likewise.
22984         (lrint_test): Likewise.
22985         (lrint_test_tonearest): Likewise.
22986         (lrint_test_towardzero): Likewise.
22987         (lrint_test_downward): Likewise.
22988         (lrint_test_upward): Likewise.
22989         (llrint_test): Likewise.
22990         (llrint_test_tonearest): Likewise.
22991         (llrint_test_towardzero): Likewise.
22992         (llrint_test_downward): Likewise.
22993         (llrint_test_upward): Likewise.
22994         (log_test): Likewise.
22995         (log10_test): Likewise.
22996         (log1p_test): Likewise.
22997         (log2_test): Likewise.
22998         (logb_test): Likewise.
22999         (logb_test_downward): Likewise.
23000         (lround_test): Likewise.
23001         (llround_test): Likewise.
23002         (modf_test): Likewise.
23003         (nearbyint_test): Likewise.
23004         (nextafter_test): Likewise.
23005         (nexttoward_test): Likewise.
23006         (pow_test): Likewise.
23007         (pow_test_tonearest): Likewise.
23008         (pow_test_towardzero): Likewise.
23009         (pow_test_downward): Likewise.
23010         (pow_test_upward): Likewise.
23011         (remainder_test): Likewise.
23012         (drem_test): Likewise.
23013         (remainder_test_tonearest): Likewise.
23014         (drem_test_tonearest): Likewise.
23015         (remainder_test_towardzero): Likewise.
23016         (drem_test_towardzero): Likewise.
23017         (remainder_test_downward): Likewise.
23018         (drem_test_downward): Likewise.
23019         (remainder_test_upward): Likewise.
23020         (drem_test_upward): Likewise.
23021         (remquo_test): Likewise.
23022         (rint_test): Likewise.
23023         (rint_test_tonearest): Likewise.
23024         (rint_test_towardzero): Likewise.
23025         (rint_test_downward): Likewise.
23026         (rint_test_upward): Likewise.
23027         (round_test): Likewise.
23028         (scalb_test): Likewise.
23029         (scalbn_test): Likewise.
23030         (scalbln_test): Likewise.
23031         (signbit_test): Likewise.
23032         (sin_test): Likewise.
23033         (sin_test_tonearest): Likewise.
23034         (sin_test_towardzero): Likewise.
23035         (sin_test_downward): Likewise.
23036         (sin_test_upward): Likewise.
23037         (sincos_test): Likewise.
23038         (sinh_test): Likewise.
23039         (sinh_test_tonearest): Likewise.
23040         (sinh_test_towardzero): Likewise.
23041         (sinh_test_downward): Likewise.
23042         (sinh_test_upward): Likewise.
23043         (sqrt_test): Likewise.
23044         (sqrt_test_tonearest): Likewise.
23045         (sqrt_test_towardzero): Likewise.
23046         (sqrt_test_downward): Likewise.
23047         (sqrt_test_upward): Likewise.
23048         (tan_test): Likewise.
23049         (tan_test_tonearest): Likewise.
23050         (tan_test_towardzero): Likewise.
23051         (tan_test_downward): Likewise.
23052         (tan_test_upward): Likewise.
23053         (tanh_test): Likewise.
23054         (tgamma_test): Likewise.
23055         (trunc_test): Likewise.
23056         (y0_test): Likewise.
23057         (y1_test): Likewise.
23058         (yn_test): Likewise.
23059         (significand_test): Likewise.
23061         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23062         individual tests in comment.
23063         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23064         (prev_max_error): New variable.
23065         (prev_real_max_error): Likewise.
23066         (prev_imag_max_error): Likewise.
23067         (compare_ulp_data): Don't refer to test names in comment.
23068         (find_test_ulps): Remove function.
23069         (find_function_ulps): Likewise.
23070         (find_complex_function_ulps): Likewise.
23071         (init_max_error): Take function name as argument.  Look up ulps
23072         for that function.
23073         (print_ulps): Remove function.
23074         (print_max_error): Use prev_max_error instead of calling
23075         find_function_ulps.
23076         (print_complex_max_error): Use prev_real_max_error and
23077         prev_imag_max_error instead of calling find_complex_function_ulps.
23078         (check_float_internal): Take max_ulp parameter instead of calling
23079         find_test_ulps.  Don't call print_ulps.
23080         (check_float): Update call to check_float_internal.
23081         (check_complex): Update calls to check_float_internal.
23082         (START): Pass argument to init_max_error.
23083         * math/gen-libm-test.pl (%results): Don't include "kind"
23084         information.
23085         (parse_ulps): Don't handle ulps of individual tests.
23086         (print_ulps_file): Likewise.
23087         (output_ulps): Likewise.
23088         * math/README.libm-test: Update.
23089         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23090         individual tests.
23091         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23092         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23093         * sysdeps/arm/libm-test-ulps: Likewise.
23094         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23095         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23096         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23097         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23098         * sysdeps/microblaze/libm-test-ulps: Likewise.
23099         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23100         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23101         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23102         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23103         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23104         * sysdeps/sh/libm-test-ulps: Likewise.
23105         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23106         * sysdeps/tile/libm-test-ulps: Likewise.
23107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23109 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23111         * math/libm-test.inc (print_complex_max_error): Check separately
23112         whether real and imaginary errors are within allowed range and
23113         pass 0 to print_complex_function_ulps instead of value within
23114         allowed range.
23116 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23118         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23119         formatting.
23120         (get_handles_fopen): Likewise.
23121         (do_write_test): Likewise.
23123         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23125         * libio/fileops.c (do_ftell): Use cached offset when
23126         available.
23127         * libio/iofwide.c (do_ftell_wide): Likewise.
23128         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23129         _IO_file_attach.
23130         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23132         [BZ #16532]
23133         * libio/libioP.h (get_file_offset): New function.
23134         * libio/fileops.c (get_file_offset): Likewise.
23135         (do_ftell): Likewise.
23136         (_IO_new_file_seekoff): Split out ftell logic.
23137         * libio/wfileops.c (do_ftell_wide): Likewise.
23138         (_IO_wfile_seekoff): Split out ftell logic.
23139         * libio/tst-ftell-active-handler.c: New test case.
23140         * libio/Makefile (tests): Add it.
23142 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23144         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23145         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23147 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23149         [BZ #16639]
23150         * nscd/connections.c (nscd_init): Call do_exit.
23151         (start_threads): Call do_exit and notify_parent.
23152         (begin_drop_privileges): Call do_exit.
23153         (finish_drop_privileges): Likewise.
23154         * nscd/selinux.c (preserve_capabilities): Likewise.
23155         (install_real_capabilities): Likewise.
23156         (nscd_selinux_enabled): Likewise.
23157         (avc_create_thread): Likewise.
23158         (avc_alloc_lock): Likewise.
23159         (nscd_avc_init): Likewise.
23160         * nscd/nscd.c (parent_fd): New static variable.
23161         (main): Create a pipe between parent and child processes.
23162         Skip closing parent_fd.
23163         (monitor_child): New function.
23164         (do_exit): Likewise.
23165         (notify_parent): Likewise.
23166         * nscd/nscd.h (notify_parent): Likewise.
23167         (do_exit): Likewise.
23169 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23171         * malloc/malloc.c (__libc_calloc): Revert last change.
23173 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23177 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23179         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23181         implementation.
23182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23183         (__libc_ifunc_impl_list): Likewise.
23184         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23185         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23186         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23187         * string/strrchr.c: Define STRRCHR.
23189 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23191         * benchtest/bench-strtok.c (simple_strtok): Delete.
23192         (strtok_string): Use as benchmark.
23193         * string/strtok (STRTOK): New macro.
23195 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23197         * manual/threads.texi: Add header and standard comments to all
23198         functions.
23200         * elf/dl-lookup.c (check_match): New function.
23201         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23202         (do_lookup_x): Remove nested function check_match. Use non-nested
23203         function check_match.
23205 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23207         * csu/Makefile (generated, before-compile): Use += rather than =.
23208         * catgets/Makefile (generated, generated-dirs): Likewise.
23209         * debug/Makefile (generated): Likewise.
23210         * dlfcn/Makefile (generated): Likewise.
23211         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23212         * iconvdata/Makefile (before-compile, generated): Likewise.
23213         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23214         * libio/Makefile (generated): Likewise.
23215         * malloc/Makefile (generated): Likewise.
23216         * manual/Makefile (generated, generated-dirs): Likewise.
23217         * misc/Makefile (generated): Likewise.
23218         * posix/Makefile (generated): Likewise.
23219         * resolv/Makefile (generated): Likewise.
23220         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23221         * timezone/Makefile (generated, generated-dirs): Likewise.
23223         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23225 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23228         power8 implementation.
23229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23230         file: POWER8 llround ifunc implementation.
23231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23232         (__lllround): Add POWER8 implementation.
23233         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23234         POWER8 llround implementation.
23236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23237         power8 implementation.
23238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23239         file: POWER8 llrint ifunc implementation.
23240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23241         Add POWER8 implementation.
23242         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23243         POWER8 llrint implementation.
23245         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23246         power8 implementation.
23247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23248         file: POWER8 finite ifunc implementation.
23249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23250         Add POWER8 implementation.
23251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23252         Likewise.
23253         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23254         POWER8 finite implementation.
23255         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23258         power8 implementation.
23259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23260         file: POWER8 isinf ifunc implementation.
23261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23262         POWER8 implementation.
23263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23264         Likewise.
23265         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23266         isinf implementation.
23267         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23269         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23270         (INIT_ARCH): Add hwcap2 initialization.
23271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23272         power8 implementation.
23273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23274         file: POWER8 isnan ifunc implementation.
23275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23276         POWER8 implementation.
23277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23278         Likewise.
23279         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23280         isnan implementation.
23281         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23283 2014-02-27  Joey Ye  <joey.ye@arm.com>
23285         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23286         (_FP_NANFRAC_Q): Set to zero.
23288 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23290         [BZ #16623]
23291         * math/auto-libm-test-in: New test inputs.
23292         * math/auto-libm-test-out: Regenerate.
23293         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23294         and DA.
23295         (__cos): Likewise.
23296         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23298 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23300         * scripts/evaluate-test.sh: Take new argument indicating whether
23301         failure is expected.
23302         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23303         indicating whether failure is expected.
23304         * conform/Makefile (test-xfail-run-conformtest): New variable.
23305         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23306         level.
23307         * posix/Makefile (test-xfail-annexc): New variable.
23308         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23310 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23312         * argp/Makefile: Include Makeconfig immediately after defining
23313         subdir.
23314         * assert/Makefile: Likewise.
23315         * benchtests/Makefile: Likewise.
23316         * catgets/Makefile: Likewise.
23317         * conform/Makefile: Likewise.
23318         * crypt/Makefile: Likewise.
23319         * csu/Makefile: Likewise.
23320         (all): Remove target.
23321         * ctype/Makefile: Include Makeconfig immediately after defining
23322         subdir.
23323         * debug/Makefile: Likewise.
23324         * dirent/Makefile: Likewise.
23325         * dlfcn/Makefile: Likewise.
23326         * gmon/Makefile: Likewise.
23327         * gnulib/Makefile: Likewise.
23328         * grp/Makefile: Likewise.
23329         * gshadow/Makefile: Likewise.
23330         * hesiod/Makefile: Likewise.
23331         * hurd/Makefile: Likewise.
23332         (all): Remove target.
23333         * iconvdata/Makefile: Include Makeconfig immediately after
23334         defining subdir.
23335         * inet/Makefile: Likewise.
23336         * intl/Makefile: Likewise.
23337         * io/Makefile: Likewise.
23338         * libio/Makefile: Likewise.
23339         (all): Remove target.
23340         * locale/Makefile: Include Makeconfig immediately after defining
23341         subdir.
23342         * login/Makefile: Likewise.
23343         * mach/Makefile: Likewise.
23344         (all): Remove target.
23345         * malloc/Makefile: Include Makeconfig immediately after defining
23346         subdir.
23347         (all): Remove target.
23348         * manual/Makefile: Include Makeconfig immediately after defining
23349         subdir.
23350         * math/Makefile: Likewise.
23351         * misc/Makefile: Likewise.
23352         * nis/Makefile: Likewise.
23353         * nss/Makefile: Likewise.
23354         * po/Makefile: Likewise.
23355         (all): Remove target.
23356         * posix/Makefile: Include Makeconfig immediately after defining
23357         subdir.
23358         * pwd/Makefile: Likewise.
23359         * resolv/Makefile: Likewise.
23360         * resource/Makefile: Likewise.
23361         * rt/Makefile: Likewise.
23362         * setjmp/Makefile: Likewise.
23363         * shadow/Makefile: Likewise.
23364         * signal/Makefile: Likewise.
23365         * socket/Makefile: Likewise.
23366         * soft-fp/Makefile: Likewise.
23367         * stdio-common/Makefile: Likewise.
23368         * stdlib/Makefile: Likewise.
23369         * streams/Makefile: Likewise.
23370         * string/Makefile: Likewise.
23371         * sunrpc/Makefile: Likewise.
23372         (all): Remove target.
23373         * sysvipc/Makefile: Include Makeconfig immediately after defining
23374         subdir.
23375         * termios/Makefile: Likewise.
23376         * time/Makefile: Likewise.
23377         * timezone/Makefile: Likewise.
23378         (all): Remove target.
23379         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23380         subdir.
23381         * wctype/Makefile: Likewise.
23383 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23385         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23386         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23387         (libc_feholdexcept_setround_mips): Ditto.
23388         (libc_feholdsetround): New.
23389         (libc_feholdsetroundf): New.
23390         (libc_feholdsetroundl): New.
23391         (libc_feupdateenv_test_mips): New.
23392         (libc_feupdateenv_test): New.
23393         (libc_feupdateenv_testf): New.
23394         (libc_feupdateenv_testl): New.
23395         (libc_feresetround): New.
23396         (libc_feresetroundf): New.
23397         (libc_feresetroundl): New.
23398         (libc_fetestexcept_mips): New.
23399         (libc_fetestexcept): New.
23400         (libc_fetestexceptf): New.
23401         (libc_fetestexceptl): New.
23402         (HAVE_RM_CTX): New.
23403         (libc_feholdexcept_setround_mips_ctx): New.
23404         (libc_feholdexcept_setround_ctx): New.
23405         (libc_feholdexcept_setroundf_ctx): New.
23406         (libc_feholdexcept_setroundl_ctx): New.
23407         (libc_fesetenv_mips_ctx): New.
23408         (libc_fesetenv_ctx): New.
23409         (libc_fesetenv_ctxf): New.
23410         (libc_fesetenv_ctxl): New.
23411         (libc_feupdateenv_mips_ctx): New.
23412         (libc_feupdateenv_ctx): New.
23413         (libc_feupdateenvf_ctx): New.
23414         (libc_feupdateenvl_ctx): New.
23415         (libc_feholdsetround_mips_ctx): New.
23416         (libc_feholdsetround_ctx): New.
23417         (libc_feholdsetroundf_ctx): New.
23418         (libc_feholdsetroundl_ctx): New.
23419         (libc_feresetround_mips_ctx): New.
23420         (libc_feresetround_ctx): New.
23421         (libc_feresetroundf_ctx): New.
23422         (libc_feresetroundl_ctx): New.
23424 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23426         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23428         * manual/ipc.texi: New file.
23429         * manual/Makefile (chapters): Add ipc.
23430         * manual/job.texi: Add "Inter-Process Communication" to next.
23431         * manual/process.texi: Add "Inter-Process Communication" to prev.
23433 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23437 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23439         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23441         * manual/arith.texi: Fix spaces after sentences.
23442         * manual/charset.texi: Likewise.
23443         * manual/errno.texi: Likewise.
23444         * manual/install.texi: Likewise.
23445         * manual/llio.texi: Likewise.
23446         * manual/locale.texi: Likewise.
23447         * manual/maint.texi: Likewise.
23448         * manual/math.texi: Likewise.
23449         * manual/memory.texi: Likewise.
23450         * manual/message.texi: Likewise.
23451         * manual/probes.texi: Likewise.
23452         * manual/resource.texi: Likewise.
23453         * manual/signal.texi: Likewise.
23454         * manual/socket.texi: Likewise.
23455         * manual/stdio.texi: Likewise.
23456         * manual/string.texi: Likewise.
23457         * manual/time.texi: Likewise.
23458         * manual/users.texi: Likewise.
23460 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23462         [BZ #16632]
23463         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23464         _DEFAULT_SOURCE is defined.
23466 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23467             Carlos O'Donell  <carlos@redhat.com>
23469         [BZ #16613]
23470         * elf/dl-tls.c (_dl_count_modids): New function.
23471         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23472         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23473         audit library and increment generation counter.
23474         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23475         * elf/tst-audit9.c: New file.
23476         * elf/tst-auditmod9a.c: New file.
23477         * elf/tst-auditmod9b.c: New file.
23478         * elf/Makefile: Add rules to build and run tst-audit9.
23480 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23482         [BZ #15347]
23483         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23485 2014-02-25  Will Newton  <will.newton@linaro.org>
23487         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23488         (__longjmp): Restore sp and lr before restoring callee
23489         saved registers.  Add longjmp and longjmp_target
23490         SystemTap probe point.
23491         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23492         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23493         Define to zero to match jmpbuf layout.
23494         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23495         (__sigsetjmp): Save sp and lr before saving callee
23496         saved registers.  Add setjmp SystemTap probe point.
23498 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23500         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23502 2014-02-24  Andreas Schwab  <schwab@suse.de>
23504         [BZ #15804]
23505         * elf/pldd.c (wait_for_ptrace_stop): New function.
23506         (main): Call it after attaching.
23508 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23510         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23511         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23512         Versions files is now verboten.
23513         * hurd/Versions (libc: GLIBC_2.0):
23514         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23515         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23516         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23517         * mach/Versions: Likewise.
23519         * csu/Versions: Remove unused %include.
23520         * resolv/Versions: Likewise.
23522 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23524         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23525         ($(objpfx)check-local-headers.out): Likewise.
23526         ($(objpfx)begin-end-check.out): Likewise.
23527         * Makerules (check-abi-%.out): Likewise.
23528         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23529         ($(objpfx)test2.cat): Likewise.
23530         ($(objpfx)de/libc.cat): Likewise.
23531         ($(objpfx)test-gencat.out): Likewise.
23532         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23533         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23534         ($(objpfx)noload-mem): Likewise.
23535         ($(objpfx)tst-pathopt.out): Likewise.
23536         ($(objpfx)tst-rtld-load-self.out): Likewise.
23537         ($(objpfx)tst-array1-cmp.out): Likewise.
23538         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23539         ($(objpfx)tst-array2-cmp.out): Likewise.
23540         ($(objpfx)tst-array3-cmp.out): Likewise.
23541         ($(objpfx)tst-array4-cmp.out): Likewise.
23542         ($(objpfx)tst-array5-cmp.out): Likewise.
23543         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23544         ($(objpfx)check-textrel.out): Likewise.
23545         ($(objpfx)check-execstack.out): Likewise.
23546         ($(objpfx)check-localplt.out): Likewise.
23547         ($(objpfx)order2-cmp.out): Likewise.
23548         ($(objpfx)tst-leaks1-mem): Likewise.
23549         ($(objpfx)tst-leaks1-static-mem): Likewise.
23550         ($(objpfx)tst-initorder-cmp.out): Likewise.
23551         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23552         ($(objpfx)tst-unused-dep.out): Likewise.
23553         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23554         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23555         * iconv/Makefile (test-iconvconfig): Likewise.
23556         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23557         ($(objpfx)iconv-test.out): Likewise.
23558         ($(objpfx)tst-tables.out): Likewise.
23559         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23560         ($(objpfx)tst-gettext.out): Likewise.
23561         ($(objpfx)tst-translit.out): Likewise.
23562         ($(objpfx)tst-gettext2.out): Likewise.
23563         ($(objpfx)tst-gettext4.out): Likewise.
23564         ($(objpfx)tst-gettext6.out): Likewise.
23565         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23566         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23567         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23568         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23569         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23570         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23571         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23572         ($(objpfx)wordexp-tst.out): Likewise.
23573         ($(objpfx)annexc.out): Likewise.
23574         ($(objpfx)tst-fnmatch-mem): Likewise.
23575         ($(objpfx)bug-regex2-mem): Likewise.
23576         ($(objpfx)bug-regex14-mem): Likewise.
23577         ($(objpfx)bug-regex21-mem): Likewise.
23578         ($(objpfx)bug-regex31-mem): Likewise.
23579         ($(objpfx)tst-vfork3-mem): Likewise.
23580         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23581         ($(objpfx)tst-pcre-mem): Likewise.
23582         ($(objpfx)tst-boost-mem): Likewise.
23583         ($(objpfx)tst-getconf.out): Likewise.
23584         ($(objpfx)bug-ga2-mem): Likewise.
23585         ($(objpfx)bug-glob2-mem): Likewise.
23586         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23587         ($(objpfx)mtrace-tst-leaks2): Likewise.
23588         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23589         ($(objpfx)tst-printf.out): Likewise.
23590         ($(objpfx)tst-setvbuf1.out): Likewise.
23591         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23592         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23593         ($(objpfx)tst-fmtmsg.out): Likewise.
23594         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23595         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23597         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23598         * bits/sigaction.h [__USE_MISC]: Likewise.
23599         * bits/waitstatus.h: Update #endif comments.
23600         * ctype/ctype.h: Likewise.
23601         * dirent/dirent.h: Likewise.
23602         [__USE_MISC]: Remove redundant conditionals.
23603         * grp/grp.h: Update #endif comments.
23604         [__USE_GNU]: Remove redundant conditionals.
23605         [__USE_MISC]: Likewise.
23606         * inet/netinet/in.h [__USE_GNU]: Likewise.
23607         * io/sys/stat.h [__USE_MISC]: Likewise.
23608         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23609         * libio/bits/stdio.h: Update #endif comments.
23610         [__USE_MISC]: Remove redundant conditionals.
23611         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23612         * libio/stdio.h: Update #endif comments.
23613         [__USE_MISC]: Remove redundant conditionals.
23614         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23615         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23616         * math/math.h: Update #else and #endif comments.
23617         [__USE_MISC]: Remove redundant conditionals.
23618         * misc/sys/uio.h: Update #endif comments.
23619         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23620         * posix/glob.h [__USE_MISC]: Likewise.
23621         * posix/sys/types.h: Update #endif comments.
23622         [__USE_MISC]: Remove redundant conditionals.
23623         * posix/sys/wait.h: Update #endif comments.
23624         [__USE_MISC]: Remove redundant conditionals.
23625         * posix/unistd.h: Update #endif comments.
23626         [__USE_MISC]: Remove redundant conditionals.
23627         * pwd/pwd.h [__USE_GNU]: Likewise.
23628         [__USE_MISC]: Likewise.
23629         * resolv/netdb.h [__USE_GNU]: Likewise.
23630         * signal/signal.h: Update #endif comments.
23631         [__USE_MISC]: Remove redundant conditionals.
23632         * stdlib/stdlib.h: Update #else and #endif comments.
23633         [__USE_MISC]: Remove redundant conditionals.
23634         [__USE_GNU]: Likewise.
23635         * string/bits/string2.h [__USE_MISC]: Likewise.
23636         * string/string.h: Update #endif comments.
23637         [__USE_MISC]: Remove redundant conditionals.
23638         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23639         Likewise.
23640         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23641         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23642         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23643         Likewise.
23644         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23645         Likewise.
23646         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23647         comments.
23648         [__USE_MISC]: Remove redundant conditionals.
23649         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23650         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23651         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23652         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23653         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23654         Likewise.
23655         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23656         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23657         Likewise.
23658         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23659         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23660         Likewise.
23661         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23662         Likewise.
23663         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23664         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23665         Likewise.
23666         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23667         Likewise.
23668         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23669         * sysdeps/x86/bits/string.h: Update #endif comments.
23670         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23671         conditionals.
23672         * time/sys/time.h: Update #endif comments.
23673         * time/time.h: Likewise.
23674         [__USE_MISC]: Remove redundant conditionals.
23676 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23678         [BZ #16600]
23679         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23681 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23683         * Versions.def (librt): Add GLIBC_2.17.
23685 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23687         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23688         synonym for _SYS_AUXV_H to allow direct inclusion.
23689         * sysdeps/sparc/bits/hwcap.h: Likewise.
23690         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23691         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23692         * sysdeps/sparc/sysdep.h: Likewise.
23694 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23696         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23698 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23700         * benchtests/bench-strrchr.c: Print length instead of position.
23702 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23704         [BZ #16611]
23705         * sysdeps/unix/sysv/linux/kernel-features.h
23706         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23707         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23708         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23709         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23710         Likewise.
23711         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23712         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23713         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23714         (__ASSUME_SENDMMSG): Define instead of using previous
23715         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23716         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23717         (__ASSUME_SENDMMSG_SYSCALL): Define.
23718         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23719         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23720         Likewise.
23721         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23722         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23723         Likewise.
23724         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23725         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23726         Likewise.
23727         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23728         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23729         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23730         [__ASSUME_SENDMMSG]: Change conditionals to
23731         [__ASSUME_SENDMMSG_SOCKETCALL].
23732         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23733         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23734         Define.
23735         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23736         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23737         Likewise.
23738         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23739         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23740         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23741         [!__ASSUME_SENDMMSG]: Change conditional to
23742         [!__ASSUME_SENDMMSG_SOCKETCALL].
23743         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23744         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23745         Define.
23747         [BZ #16610]
23748         * sysdeps/unix/sysv/linux/kernel-features.h
23749         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23750         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23751         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23752         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23753         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23754         [__i386__ || __sparc__]
23755         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23756         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23757         (__ASSUME_RECVMMSG): Define instead of using previous
23758         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23759         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23760         (__ASSUME_RECVMMSG_SYSCALL): Define.
23761         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23762         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23763         Likewise.
23764         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23765         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23766         Likewise.
23767         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23768         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23769         Likewise.
23770         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23771         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23772         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23773         [__ASSUME_RECVMMSG]: Change condition to
23774         [__ASSUME_RECVMMSG_SOCKETCALL].
23775         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23776         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23777         Define.
23778         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23779         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23780         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23781         Likewise.
23782         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23783         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23784         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23785         [!__ASSUME_RECVMMSG]: Change condition to
23786         [!__ASSUME_RECVMMSG_SOCKETCALL].
23787         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23788         (__ASSUME_RECVMMSG_SYSCALL): Define.
23790         [BZ #16609]
23791         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23792         __powerpc__ || __s390__ || __sh__ || __sparc__]
23793         (__ASSUME_SOCKETCALL): Define.
23794         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23795         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23796         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23797         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23798         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23799         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23800         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23801         (__ASSUME_ACCEPT4): Define instead of using previous
23802         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23803         __powerpc__ || __sparc__ || __s390__)] condition.
23804         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23805         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23806         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23807         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23808         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23809         [!__ASSUME_ACCEPT4]: Change condition to
23810         [!__ASSUME_ACCEPT4_SOCKETCALL].
23811         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23812         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
23813         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23814         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23815         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23816         __ASSUME_ACCEPT4_SYSCALL.
23817         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23818         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23819         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23820         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23821         __ASSUME_ACCEPT4_SYSCALL.
23822         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23823         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23824         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23825         [__ASSUME_ACCEPT4]: Change condition to
23826         [__ASSUME_ACCEPT4_SOCKETCALL].
23827         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23828         (__ASSUME_SOCKETCALL): Define.
23829         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23830         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23831         (__ASSUME_SOCKETCALL): Define.
23832         (__ASSUME_ACCEPT4): Remove.
23833         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23834         Define.
23835         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23836         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23837         Likewise.
23838         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23839         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23841         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23842         macro.
23843         (HWCAP_ARM_LPAE): Likewise.
23844         (HWCAP_ARM_EVTSTRM): Likewise.
23845         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23846         Add vpfd32, lpae and evtstrm.
23847         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23848         Increase to 22.
23850 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23852         * math/auto-libm-test-in: Add tests of clog10.
23853         * math/auto-libm-test-out: Regenerated.
23854         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23855         * sysdeps/i386/fpu/libm-test-ulps: Update.
23856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23858 2014-02-18  Andreas Schwab  <schwab@suse.de>
23860         [BZ #16574]
23861         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23862         Store non-zero if the second buffer was newly allocated.
23863         (send_dg): Likewise.
23864         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23865         to send_vc and send_dg.
23866         (res_nsend): Pass NULL for ansp2_malloced.
23867         * resolv/res_query.c (__libc_res_nquery): Add parameter
23868         answerp2_malloced and pass it down to __libc_res_nsend.
23869         (res_nquery): Pass additional NULL to __libc_res_nquery.
23870         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23871         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23872         second answer buffer if answerp2_malloced was set.
23873         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23874         (__libc_res_nquerydomain): Add parameter
23875         answerp2_malloced and pass it down to __libc_res_nquery.
23876         (res_nquerydomain): Pass additional NULL to
23877         __libc_res_nquerydomain.
23878         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23879         additional NULL to __libc_res_nsend and __libc_res_nquery.
23880         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23881         additional NULL to __libc_res_nsearch.
23882         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23883         parameter of __libc_res_nsearch to check for separately allocated
23884         second buffer.
23885         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23886         __libc_res_nquery.
23887         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23888         additional NULL to __libc_res_nquery.
23889         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23890         __libc_res_nsearch.
23891         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23892         * include/resolv.h: Update prototypes of __libc_res_nquery,
23893         __libc_res_nsearch, __libc_res_nsend.
23895 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23897         * math/auto-libm-test-in: Add tests of fma.
23898         * math/auto-libm-test-out: Regenerated.
23899         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23900         (fma_towardzero_test_data): Likewise.
23901         (fma_downward_test_data): Likewise.
23902         (fma_upward_test_data): Likewise.
23903         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23904         mpc_mode.
23905         (rounding_modes): Add values for new field.
23906         (func_calc_method): Add value mpfr_fff_f.
23907         (func_calc_desc): Add mpfr_fff_f union field.
23908         (test_function): Add field exact_args.
23909         (FUNC): Add macro argument EXACT_ARGS.
23910         (FUNC_mpfr_f_f): Update call to FUNC.
23911         (FUNC_mpfr_f_f): Likewise.
23912         (FUNC_mpfr_ff_f): Likewise.
23913         (FUNC_mpfr_if_f): Likewise.
23914         (FUNC_mpc_c_f): Likewise.
23915         (FUNC_mpc_c_c): Likewise.
23916         (test_functions): Add fma.  Update calls to FUNC.
23917         (handle_input_arg): Add argument exact_args.
23918         (add_test): Update call to handle_input_arg.
23919         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23920         (output_for_one_input_case): Update call to calc_generic_results.
23921         Recalculate exact zero results in each rounding mode.
23923         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23924         non-negative before setting low bit.
23925         * math/auto-libm-test-in: Mark one asin test possibly having
23926         spurious underflow.
23927         * math/auto-libm-test-out: Regenerated.
23928         * sysdeps/i386/fpu/libm-test-ulps: Update.
23929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23931 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23933         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23934         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23935         ports/sysdeps/unix/sysv/linux/microblaze.
23936         * README: Add missing listing for microblaze*-*-linux-gnu.
23938 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23940         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23941         duplicate code
23943 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23945         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23946         * sysdeps/unix/sysv/linux/ia64: Move directory from
23947         ports/sysdeps/unix/sysv/linux/ia64.
23948         * README: Update listing for ia64-*-linux-gnu.
23950 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23951             Joseph Myers  <joseph@codesourcery.com>
23953         * Makeconfig (test-name): New variable.
23954         (evaluate-test): Likewise.
23955         * Makerules (do-test-clean): Remove .test-result files.
23956         (common-mostlyclean): Likewise.
23957         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23958         * scripts/evaluate-test.sh: New file.
23960 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23962         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23963         separate $(objpfx)tst-fopenloc-cmp.out and
23964         $(objpfx)tst-fopenloc-mem.out targets.
23965         (tests): Update dependencies.
23966         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23967         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23968         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23969         (tst-rxspencer-no-utf8-ARGS): New variable.
23970         (tst-rxspencer-no-utf8-ENV): Likewise.
23971         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23972         instead of $(objpfx)tst-rxspencer-mem.
23973         ($(objpfx)tst-rxspencer-mem): Change target to
23974         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23975         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23976         * posix/tst-rxspencer-no-utf8.c: New file.
23978         * elf/Makefile ($(objpfx)order.out): Remove rule.
23979         [$(run-built-tests) = yes] (tests): Depend on
23980         $(objpfx)order-cmp.out.
23981         ($(objpfx)order-cmp.out): New rule.
23982         [$(run-built-tests) = yes] (tests): Depend on
23983         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23984         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23985         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23986         $(objpfx)tst-array5-static-cmp.out.
23987         ($(objpfx)tst-array1.out): Remove rule.
23988         ($(objpfx)tst-array1-cmp.out): New rule.
23989         ($(objpfx)tst-array1-static.out): Remove rule.
23990         ($(objpfx)tst-array1-static-cmp.out): New rule.
23991         ($(objpfx)tst-array2.out): Remove rule.
23992         ($(objpfx)tst-array2-cmp.out): New rule.
23993         ($(objpfx)tst-array3.out): Remove rule.
23994         ($(objpfx)tst-array3-cmp.out): New rule.
23995         ($(objpfx)tst-array4.out): Remove rule.
23996         ($(objpfx)tst-array4-cmp.out): New rule.
23997         ($(objpfx)tst-array5.out): Remove rule.
23998         ($(objpfx)tst-array5-cmp.out): New rule.
23999         ($(objpfx)tst-array5-static.out): Remove rule.
24000         ($(objpfx)tst-array5-static-cmp.out): New rule.
24001         [$(run-built-tests) = yes] (tests): Depend on
24002         $(objpfx)order2-cmp.out.
24003         ($(objpfx)order2.out): Remove rule.
24004         ($(objpfx)order2-cmp.out): New rule.
24005         ($(objpfx)tst-initorder.out): Remove rule.
24006         [$(run-built-tests) = yes] (tests): Depend on
24007         $(objpfx)tst-initorder-cmp.out.
24008         ($(objpfx)tst-initorder-cmp.out): New rule.
24009         ($(objpfx)tst-initorder2.out): Remove rule.
24010         [$(run-built-tests) = yes] (tests): Depend on
24011         $(objpfx)tst-initorder2-cmp.out.
24012         ($(objpfx)tst-initorder2-cmp.out): New rule.
24013         [$(run-built-tests) = yes] (tests): Depend on
24014         $(objpfx)tst-unused-dep-cmp.out.
24015         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24016         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24017         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24018         on $(objpfx)tst-setvbuf1-cmp.out.
24019         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24020         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24021         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24022         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24023         ($(objpfx)tst-svc.out): Remove rule.
24024         ($(objpfx)tst-svc-cmp.out): New rule.
24026 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24028         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24029         * ctype/ctype.h [__USE_MISC]: Likewise.
24030         * dirent/dirent.h [__USE_MISC]: Likewise.
24031         * grp/grp.h [__USE_MISC]: Likewise.
24032         * io/fcntl.h [__USE_MISC]: Likewise.
24033         * io/sys/stat.h [__USE_MISC]: Likewise.
24034         * libio/stdio.h [__USE_MISC]: Likewise.
24035         * posix/unistd.h [__USE_MISC]: Likewise.
24036         * pwd/pwd.h [__USE_MISC]: Likewise.
24037         * stdlib.h [__USE_MISC]: Likewise.
24038         * string/bits/string2.h [__USE_MISC]: Likewise.
24039         * string/string.h [__USE_MISC]: Likewise.
24040         * time/time.h [__USE_MISC]: Likewise.
24042 2014-02-13  Andreas Schwab  <schwab@suse.de>
24044         [BZ #16574]
24045         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24046         second answer buffer if it was separately allocated.
24048 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24050         * sysdeps/mips/math-tests.h: Include <features.h>.
24051         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24052         (ROUNDING_TESTS_long_double): Do not define.
24053         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24054         (EXCEPTION_TESTS_long_double): Likewise.
24055         * sysdeps/mips/mips64/libm-test-ulps: Update.
24057         * include/features.h (__USE_BSD): Remove macro definitions.
24058         (__USE_SVID): Likewise.
24059         (_BSD_SOURCE): Likewise.
24060         (_SVID_SOURCE): Likewise.
24061         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24062         from definition of _DEFAULT_SOURCE.
24063         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24064         [_DEFAULT_SOURCE].
24065         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24066         * bits/mman.h [__USE_BSD]: Likewise.
24067         * bits/termios.h [__USE_BSD]: Likewise.
24068         * bits/waitstatus.h [__USE_BSD]: Likewise.
24069         * ctype/ctype.h [__USE_SVID]: Likewise.
24070         * dirent/dirent.h [__USE_BSD]: Likewise.
24071         * grp/grp.h [__USE_SVID]: Likewise.
24072         [__USE_BSD]: Likewise.
24073         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24074         * io/fcntl.h [__USE_BSD]: Likewise.
24075         * io/ftw.h [__USE_BSD]: Likewise.
24076         * io/sys/stat.h [__USE_BSD]: Likewise.
24077         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24078         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24079         * libio/stdio.h [__USE_SVID]: Likewise.
24080         [__USE_BSD]: Likewise.
24081         * math/math.h [__USE_SVID]: Likewise.
24082         [__USE_BSD]: Likewise.
24083         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24084         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24085         * misc/search.h [__USE_SVID]: Likewise.
24086         * misc/sys/mman.h [__USE_BSD]: Likewise.
24087         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24088         * misc/sys/uio.h [__USE_BSD]: Likewise.
24089         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24090         * posix/glob.h [__USE_BSD]: Likewise.
24091         * posix/regex.h [__USE_BSD]: Likewise.
24092         * posix/sys/types.h [__USE_BSD]: Likewise.
24093         [__USE_SVID]: Likewise.
24094         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24095         * posix/sys/wait.h [__USE_BSD]: Likewise.
24096         [__USE_SVID]: Likewise.
24097         * posix/unistd.h [__USE_BSD]: Likewise.
24098         [__USE_SVID]: Likewise.
24099         * pwd/pwd.h [__USE_SVID]: Likewise.
24100         * resolv/netdb.h [__USE_BSD]: Likewise.
24101         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24102         * signal/signal.h [__USE_BSD]: Likewise.
24103         [__USE_SVID]: Likewise.
24104         * socket/sys/socket.h [__USE_BSD]: Likewise.
24105         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24106         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24107         [__USE_SVID]: Likewise.
24108         * string/bits/string2.h [__USE_BSD]: Likewise.
24109         [__USE_SVID]: Likewise.
24110         * string/bits/string3.h [__USE_BSD]: Likewise.
24111         * string/endian.h [__USE_BSD]: Likewise.
24112         * string/string.h [__USE_SVID]: Likewise.
24113         [__USE_BSD]: Likewise.
24114         * string/strings.h [__USE_BSD]: Likewise.
24115         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24116         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24117         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24118         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24119         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24120         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24121         Likewise.
24122         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24123         Likewise.
24124         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24125         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24126         Likewise.
24127         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24128         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24129         Likewise.
24130         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24131         Likewise.
24132         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24133         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24134         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24135         Likewise.
24136         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24137         Likewise.
24138         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24139         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24140         * termios/termios.h [__USE_BSD]: Likewise.
24141         * time/sys/time.h [__USE_BSD]: Likewise.
24142         * time/time.h [__USE_BSD]: Likewise.
24143         [__USE_SVID]: Likewise.
24145         * Makefile (subdir_targets): Remove subdir_lint.out.
24147         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24148         (do-tst-printf): Likewise.
24149         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24150         $(objpfx)tst-printf.out.
24152         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24154         * Makerules (check-abi-%): Change target to
24155         $(objpfx)check-abi-%.out.
24156         (check-abi target): Update dependencies.
24157         (check-abi-pattern variable): Redirect output of diff to $@.
24158         (check-abi variable): Likewise.
24159         * elf/Makefile (check-abi): Update dependencies.
24161         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24162         unused.
24163         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24164         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24165         subnormal range.
24166         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24167         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24168         value has largest subnormal exponent.
24169         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24170         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24171         * sysdeps/aarch64/soft-fp/sfp-machine.h
24172         (_FP_TININESS_AFTER_ROUNDING): New macro.
24173         * sysdeps/alpha/soft-fp/sfp-machine.h
24174         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24175         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24176         Likewise.
24177         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24178         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24179         * sysdeps/mips/soft-fp/sfp-machine.h
24180         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24181         * sysdeps/powerpc/soft-fp/sfp-machine.h
24182         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24183         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24184         Likewise.
24185         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24186         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24187         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24188         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24189         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24190         Likewise.
24192 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24194         [BZ #16545]
24195         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24196         model 1.
24198 2014-02-12  Richard Henderson  <rth@redhat.com>
24200         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24201         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24202         * sysdeps/unix/sysv/linux/alpha: Move directory from
24203         ports/sysdeps/unix/sysv/linux/alpha.
24204         * README: Update listing for alpha-*-linux-gnu.
24206 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24208         * include/features.h: Update comment documenting feature test
24209         macros.
24210         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24211         _DEFAULT_SOURCE.
24212         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24213         (_SVID_SOURCE): Likewise.
24214         (_DEFAULT_SOURCE): Update description of default features.
24215         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24216         with _GNU_SOURCE.
24217         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24218         (S_ISVTX): Likewise.
24219         * manual/math.texi (Mathematical Constants): Likewise.
24220         * manual/signal.texi (Interrupted Primitives): Likewise.
24221         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24222         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24223         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24224         Don't refer to _SVID_SOURCE in warning text.
24226         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24228         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24229         already defined.
24230         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24231         * sysdeps/mips/dl-lookup.c: Remove.
24232         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24234 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24236         [BZ #16447]
24237         * math/auto-libm-test-in: Add testcase for expl.
24238         * math/auto-libm-test-out: Regenerate.
24239         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24240         calculation of unsafe.
24241         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24243 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24245         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24246         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24247         ports/sysdeps/unix/sysv/linux/aarch64.
24248         * README: Update listing for aarch64*-*-linux-gnu.
24250 2014-02-11  Will Newton  <will.newton@linaro.org>
24252         * manual/probes.texi (Mathematical Function Probes): Use
24253         "triggered" instead of "hit".
24255         * manual/probes.texi (Internal Probes): Add documentation
24256         of setjmp, longjmp and longjmp_target probes.
24258         * include/stap-probe.h: Add comment about probe argument
24259         format.
24261         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24262         definition.  (tr_where, tr_freehook, tr_mallochook,
24263         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24265 2014-02-11  David S. Miller  <davem@davemloft.net>
24267         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24268         processing int_tests.
24270 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24272         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24273         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24274         * sysdeps/unix/sysv/linux/mips: Move directory from
24275         ports/sysdeps/unix/sysv/linux/mips.
24276         * README: Update listing for mips-*-linux-gnu and
24277         mips64-*-linux-gnu.
24279 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24281         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24282         * sysdeps/unix/sysv/linux/m68k: Move directory from
24283         ports/sysdeps/unix/sysv/linux/m68k.
24284         * README: Update listing for m68k-*-linux-gnu.
24286 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24288         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24289         * sysdeps/unix/sysv/linux/generic: Move directory from
24290         ports/sysdeps/unix/sysv/linux/generic.
24291         * sysdeps/unix/sysv/linux/tile: Move directory from
24292         ports/sysdeps/unix/sysv/linux/tile.
24293         * README: Update listing for tile*-*-linux-gnu.
24295 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24297         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24298         __builtin_expect.
24299         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24300         * catgets/open_catalog.c (__open_catalog): Likewise.
24301         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24302         * debug/confstr_chk.c: Likewise.
24303         * debug/fread_chk.c (__fread_chk): Likewise.
24304         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24305         * debug/getgroups_chk.c: Likewise.
24306         * debug/mbsnrtowcs_chk.c: Likewise.
24307         * debug/mbsrtowcs_chk.c: Likewise.
24308         * debug/mbstowcs_chk.c: Likewise.
24309         * debug/memcpy_chk.c: Likewise.
24310         * debug/memmove_chk.c: Likewise.
24311         * debug/mempcpy_chk.c: Likewise.
24312         * debug/memset_chk.c: Likewise.
24313         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24314         * debug/strcat_chk.c (__strcat_chk): Likewise.
24315         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24316         * debug/strncat_chk.c (__strncat_chk): Likewise.
24317         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24318         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24319         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24320         * debug/wcpncpy_chk.c: Likewise.
24321         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24322         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24323         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24324         * debug/wcsncpy_chk.c: Likewise.
24325         * debug/wcsnrtombs_chk.c: Likewise.
24326         * debug/wcsrtombs_chk.c: Likewise.
24327         * debug/wcstombs_chk.c: Likewise.
24328         * debug/wmemcpy_chk.c: Likewise.
24329         * debug/wmemmove_chk.c: Likewise.
24330         * debug/wmempcpy_chk.c: Likewise.
24331         * debug/wmemset_chk.c: Likewise.
24332         * dirent/scandirat.c (SCANDIRAT): Likewise.
24333         * dlfcn/dladdr1.c (dladdr1): Likewise.
24334         * dlfcn/dladdr.c (dladdr): Likewise.
24335         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24336         * dlfcn/dlerror.c (__dlerror): Likewise.
24337         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24338         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24339         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24340         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24341         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24342         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24343         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24344         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24345         Likewise.
24346         * elf/dl-conflict.c: Likewise.
24347         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24348         * elf/dl-dst.h: Likewise.
24349         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24350         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24351         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24352         * elf/dl-init.c (call_init, _dl_init): Likewise.
24353         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24354         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24355         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24356         Likewise.
24357         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24358         Likewise.
24359         * elf/dl-minimal.c (__libc_memalign): Likewise.
24360         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24361         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24362         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24363         * elf/dl-sym.c (do_sym): Likewise.
24364         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24365         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24366         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24367         * elf/dl-writev.h (_dl_writev): Likewise.
24368         * elf/ldconfig.c (search_dir): Likewise.
24369         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24370         (dl_main): Likewise.
24371         * elf/setup-vdso.h (setup_vdso): Likewise.
24372         * grp/compat-initgroups.c (compat_call): Likewise.
24373         * grp/fgetgrent.c (fgetgrent): Likewise.
24374         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24375         * grp/putgrent.c (putgrent): Likewise.
24376         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24377         Likewise.
24378         * hurd/hurdinit.c: Likewise.
24379         * iconvdata/8bit-gap.c (struct): Likewise.
24380         * iconvdata/ansi_x3.110.c : Likewise.
24381         * iconvdata/big5.c : Likewise.
24382         * iconvdata/big5hkscs.c : Likewise.
24383         * iconvdata/cp1255.c: Likewise.
24384         * iconvdata/cp1258.c : Likewise.
24385         * iconvdata/cp932.c : Likewise.
24386         * iconvdata/euc-cn.c: Likewise.
24387         * iconvdata/euc-jisx0213.c : Likewise.
24388         * iconvdata/euc-jp.c: Likewise.
24389         * iconvdata/euc-jp-ms.c : Likewise.
24390         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24391         * iconvdata/gb18030.c : Likewise.
24392         * iconvdata/gbbig5.c (const): Likewise.
24393         * iconvdata/gbgbk.c: Likewise.
24394         * iconvdata/gbk.c : Likewise.
24395         * iconvdata/ibm1364.c : Likewise.
24396         * iconvdata/ibm930.c : Likewise.
24397         * iconvdata/ibm932.c: Likewise.
24398         * iconvdata/ibm933.c : Likewise.
24399         * iconvdata/ibm935.c : Likewise.
24400         * iconvdata/ibm937.c : Likewise.
24401         * iconvdata/ibm939.c : Likewise.
24402         * iconvdata/ibm943.c: Likewise.
24403         * iconvdata/iso_11548-1.c: Likewise.
24404         * iconvdata/iso-2022-cn.c : Likewise.
24405         * iconvdata/iso-2022-cn-ext.c : Likewise.
24406         * iconvdata/iso-2022-jp-3.c: Likewise.
24407         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24408         * iconvdata/iso-2022-kr.c : Likewise.
24409         * iconvdata/iso646.c (gconv_end): Likewise.
24410         * iconvdata/iso_6937-2.c : Likewise.
24411         * iconvdata/iso_6937.c : Likewise.
24412         * iconvdata/iso8859-1.c: Likewise.
24413         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24414         * iconvdata/shift_jisx0213.c : Likewise.
24415         * iconvdata/sjis.c : Likewise.
24416         * iconvdata/t.61.c : Likewise.
24417         * iconvdata/tcvn5712-1.c : Likewise.
24418         * iconvdata/tscii.c: Likewise.
24419         * iconvdata/uhc.c : Likewise.
24420         * iconvdata/unicode.c (gconv_end): Likewise.
24421         * iconvdata/utf-16.c (gconv_end): Likewise.
24422         * iconvdata/utf-32.c (gconv_end): Likewise.
24423         * iconvdata/utf-7.c (base64): Likewise.
24424         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24425         * iconv/gconv_close.c (__gconv_close): Likewise.
24426         * iconv/gconv_open.c (__gconv_open): Likewise.
24427         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24428         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24429         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24430         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24431         (ucs4le_internal_loop_single): Likewise.
24432         * iconv/iconv.c (iconv): Likewise.
24433         * iconv/iconv_close.c: Likewise.
24434         * iconv/loop.c (SINGLE): Likewise.
24435         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24436         * include/atomic.h: Likewise.
24437         * inet/inet6_option.c (option_alloc): Likewise.
24438         * intl/bindtextdom.c (set_binding_values): Likewise.
24439         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24440         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24441         * intl/localealias.c (read_alias_file): Likewise.
24442         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24443         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24444         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24445         * libio/fmemopen.c (fmemopen): Likewise.
24446         * libio/iofgets.c (_IO_fgets): Likewise.
24447         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24448         * libio/iofgetws.c (fgetws): Likewise.
24449         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24450         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24451         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24452         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24453         * locale/findlocale.c (_nl_find_locale): Likewise.
24454         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24455         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24456         Likewise.
24457         * locale/setlocale.c (setlocale): Likewise.
24458         * login/programs/pt_chown.c (main): Likewise.
24459         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24460         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24461         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24462         (mmap, mmap64, mremap, munmap): Likewise.
24463         * math/e_exp2l.c: Likewise.
24464         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24465         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24466         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24467         * math/s_catan.c (__catan): Likewise.
24468         * math/s_catanf.c (__catanf): Likewise.
24469         * math/s_catanh.c (__catanh): Likewise.
24470         * math/s_catanhf.c (__catanhf): Likewise.
24471         * math/s_catanhl.c (__catanhl): Likewise.
24472         * math/s_catanl.c (__catanl): Likewise.
24473         * math/s_ccosh.c (__ccosh): Likewise.
24474         * math/s_ccoshf.c (__ccoshf): Likewise.
24475         * math/s_ccoshl.c (__ccoshl): Likewise.
24476         * math/s_cexp.c (__cexp): Likewise.
24477         * math/s_cexpf.c (__cexpf): Likewise.
24478         * math/s_cexpl.c (__cexpl): Likewise.
24479         * math/s_clog10.c (__clog10): Likewise.
24480         * math/s_clog10f.c (__clog10f): Likewise.
24481         * math/s_clog10l.c (__clog10l): Likewise.
24482         * math/s_clog.c (__clog): Likewise.
24483         * math/s_clogf.c (__clogf): Likewise.
24484         * math/s_clogl.c (__clogl): Likewise.
24485         * math/s_csin.c (__csin): Likewise.
24486         * math/s_csinf.c (__csinf): Likewise.
24487         * math/s_csinh.c (__csinh): Likewise.
24488         * math/s_csinhf.c (__csinhf): Likewise.
24489         * math/s_csinhl.c (__csinhl): Likewise.
24490         * math/s_csinl.c (__csinl): Likewise.
24491         * math/s_csqrt.c (__csqrt): Likewise.
24492         * math/s_csqrtf.c (__csqrtf): Likewise.
24493         * math/s_csqrtl.c (__csqrtl): Likewise.
24494         * math/s_ctan.c (__ctan): Likewise.
24495         * math/s_ctanf.c (__ctanf): Likewise.
24496         * math/s_ctanh.c (__ctanh): Likewise.
24497         * math/s_ctanhf.c (__ctanhf): Likewise.
24498         * math/s_ctanhl.c (__ctanhl): Likewise.
24499         * math/s_ctanl.c (__ctanl): Likewise.
24500         * math/w_pow.c: Likewise.
24501         * math/w_powf.c: Likewise.
24502         * math/w_powl.c: Likewise.
24503         * math/w_scalb.c (sysv_scalb): Likewise.
24504         * math/w_scalbf.c (sysv_scalbf): Likewise.
24505         * math/w_scalbl.c (sysv_scalbl): Likewise.
24506         * misc/error.c (error_tail): Likewise.
24507         * misc/pselect.c (__pselect): Likewise.
24508         * nis/nis_callback.c (__nis_create_callback): Likewise.
24509         * nis/nis_call.c (__nisfind_server): Likewise.
24510         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24511         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24512         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24513         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24514         * nis/nis_lookup.c (nis_lookup): Likewise.
24515         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24516         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24517         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24518         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24519         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24520         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24521         * nis/nss_compat/compat-initgroups.c (add_group)
24522         (internal_getgrent_r): Likewise.
24523         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24524         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24525         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24526         (internal_getspnam_r): Likewise.
24527         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24528         (_nss_nis_getaliasbyname_r): Likewise.
24529         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24530         (_nss_nis_getntohost_r): Likewise.
24531         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24532         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24533         (_nss_nis_getgrgid_r): Likewise.
24534         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24535         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24536         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24537         (_nss_nis_gethostbyname4_r): Likewise.
24538         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24539         (initgroups_netid): Likewise.
24540         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24541         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24542         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24543         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24544         (_nss_nis_getprotobynumber_r): Likewise.
24545         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24546         (_nss_nis_getsecretkey): Likewise.
24547         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24548         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24549         (_nss_nis_getpwuid_r): Likewise.
24550         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24551         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24552         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24553         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24554         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24555         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24556         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24557         Likewise.
24558         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24559         (_nss_nisplus_getntohost_r): Likewise.
24560         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24561         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24562         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24563         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24564         Likewise.
24565         * nis/nss_nisplus/nisplus-initgroups.c
24566         (_nss_nisplus_initgroups_dyn): Likewise.
24567         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24568         (_nss_nisplus_getnetbyaddr_r): Likewise.
24569         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24570         (_nss_nisplus_getprotobynumber_r): Likewise.
24571         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24572         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24573         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24574         Likewise.
24575         * nis/nss_nisplus/nisplus-service.c
24576         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24577         (_nss_nisplus_getservbyport_r): Likewise.
24578         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24579         (_nss_nisplus_getspnam_r): Likewise.
24580         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24581         Likewise.
24582         * nscd/aicache.c (addhstaiX): Likewise.
24583         * nscd/cache.c (cache_search, prune_cache): Likewise.
24584         * nscd/connections.c (register_traced_file, send_ro_fd)
24585         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24586         (main_loop_epoll): Likewise.
24587         * nscd/grpcache.c (addgrbyX): Likewise.
24588         * nscd/hstcache.c (addhstbyX): Likewise.
24589         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24590         * nscd/mem.c (gc, mempool_alloc): Likewise.
24591         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24592         (addinnetgrX): Likewise.
24593         * nscd/nscd-client.h (__nscd_acquire_maplock)
24594         (__nscd_drop_map_ref): Likewise.
24595         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24596         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24597         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24598         Likewise.
24599         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24600         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24601         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24602         (__nscd_get_map_ref): Likewise.
24603         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24604         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24605         Likewise.
24606         * nscd/pwdcache.c (addpwbyX): Likewise.
24607         * nscd/selinux.c (preserve_capabilities): Likewise.
24608         * nscd/servicescache.c (addservbyX): Likewise.
24609         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24610         * posix/fnmatch.c (fnmatch): Likewise.
24611         * posix/getopt.c (_getopt_internal_r): Likewise.
24612         * posix/glob.c (glob, glob_in_dir): Likewise.
24613         * posix/wordexp.c (exec_comm_child): Likewise.
24614         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24615         (getanswer_r, gaih_getanswer_slice): Likewise.
24616         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24617         * resolv/res_init.c: Likewise.
24618         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24619         * resolv/res_query.c (__libc_res_nquery): Likewise.
24620         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24621         Likewise.
24622         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24623         * stdio-common/perror.c (perror): Likewise.
24624         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24625         * stdio-common/tmpnam.c (tmpnam): Likewise.
24626         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24627         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24628         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24629         Likewise.
24630         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24631         * stdlib/putenv.c (putenv): Likewise.
24632         * stdlib/setenv.c (__add_to_environ): Likewise.
24633         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24634         * stdlib/strtol_l.c (INTERNAL): Likewise.
24635         * string/memmem.c (memmem): Likewise.
24636         * string/strerror.c (strerror): Likewise.
24637         * string/strnlen.c (__strnlen): Likewise.
24638         * string/test-memmem.c (simple_memmem): Likewise.
24639         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24640         * sunrpc/pm_getport.c (__get_socket): Likewise.
24641         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24642         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24643         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24644         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24645         Likewise.
24646         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24647         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24648         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24649         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24650         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24651         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24652         Likewise.
24653         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24654         Likewise.
24655         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24656         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24657         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24658         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24659         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24660         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24661         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24662         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24663         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24664         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24665         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24666         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24667         Likewise.
24668         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24669         Likewise.
24670         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24671         Likewise.
24672         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24673         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24674         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24675         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24676         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24677         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24678         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24679         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24680         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24681         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24682         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24683         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24684         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24685         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24686         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24687         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24688         Likewise.
24689         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24690         Likewise.
24691         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24692         Likewise.
24693         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24694         Likewise.
24695         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24696         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24697         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24698         Likewise.
24699         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24700         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24701         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24702         * sysdeps/posix/sleep.c: Likewise.
24703         * sysdeps/posix/tempname.c: Likewise.
24704         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24705         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24706         Likewise.
24707         * sysdeps/powerpc/powerpc32/dl-machine.h
24708         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24709         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24710         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24711         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24712         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24713         Likewise.
24714         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24715         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24716         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24717         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24718         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24719         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24720         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24721         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24722         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24723         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24724         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24725         (elf_machine_lazy_rel): Likewise.
24726         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24727         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24728         (elf_machine_lazy_rel): Likewise.
24729         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24730         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24731         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24732         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24733         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24734         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24735         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24736         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24737         Likewise.
24738         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24739         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24740         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24741         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24742         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24743         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24744         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24745         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24746         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24747         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24748         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24749         Likewise.
24750         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24751         (__posix_fallocate64_l64): Likewise.
24752         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24753         (posix_fallocate): Likewise.
24754         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24755         Likewise.
24756         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24757         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24758         (getifaddrs_internal): Likewise.
24759         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24760         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24761         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24762         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24763         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24764         (__posix_fallocate64_l64): Likewise.
24765         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24766         Likewise.
24767         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24768         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24769         (__get_clockfreq): Likewise.
24770         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24771         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24772         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24773         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24774         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24775         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24776         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24777         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24778         Likewise.
24779         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24780         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24781         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24782         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24783         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24784         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24785         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24786         Likewise.
24787         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24788         (posix_fallocate): Likewise.
24789         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24790         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24791         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24792         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24793         (elf_machine_rela, elf_machine_rela_relative)
24794         (elf_machine_lazy_rel): Likewise.
24795         * time/asctime.c (asctime_internal): Likewise.
24796         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24797         * time/tzset.c (__tzset_parse_tz): Likewise.
24798         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24799         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24800         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24801         * wcsmbs/wcsmbsload.h: Likewise.
24803         [BZ #15894]
24804         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24806         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24807         (arena_get2): Remove THREAD_STATS conditionals.
24808         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24809         (__malloc_stats, int): Likewise.
24811 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
24813         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24814         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
24816         * manual/setjmp.texi: Fix typos/grammar errors.
24818         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24819         Only return early when n is <= 0.  Delete unused return statement.
24821         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24822         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24823         * debug/tst-longjmp_chk3.c: New file.
24825         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24826         (test_main): Replace code with set_fortify_handler call.
24827         * debug/test-strcpy_chk.c: Likewise.
24828         * debug/tst-chk1.c: Likewise.
24829         * debug/tst-longjmp_chk.c: Likewise.
24830         * test-skeleton.c: Include fcntl.h & paths.h
24831         (set_fortify_handler): Define.
24833         * debug/tst-longjmp_chk.c: Add header comment and include
24834         ../test-skeleton.c.
24835         (do_test): Mark static.
24836         (TEST_FUNCTION): Define.
24838         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24839         (IP_PMTUDISC_INTERFACE): Likewise.
24840         (IP_MULTICAST_IF): Likewise.
24841         (IP_MULTICAST_TTL): Likewise.
24842         (IP_MULTICAST_LOOP): Likewise.
24843         (IP_ADD_MEMBERSHIP): Likewise.
24844         (IP_DROP_MEMBERSHIP): Likewise.
24845         (IP_UNBLOCK_SOURCE): Likewise.
24846         (IP_BLOCK_SOURCE): Likewise.
24847         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24848         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24849         (IP_MSFILTER): Likewise.
24850         (MCAST_JOIN_GROUP): Likewise.
24851         (MCAST_BLOCK_SOURCE): Likewise.
24852         (MCAST_UNBLOCK_SOURCE): Likewise.
24853         (MCAST_LEAVE_GROUP): Likewise.
24854         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24855         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24856         (MCAST_MSFILTER): Likewise.
24857         (IP_MULTICAST_ALL): Likewise.
24858         (IP_UNICAST_IF): Likewise.
24860         * timezone/Makefile: Delete $(have-ksh) check.
24861         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24862         * timezone/tzselect.ksh: Add +x mode bits.
24864         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24865         (ANON_INODE_FS_MAGIC): Likewise.
24866         (BDEVFS_MAGIC): Likewise.
24867         (BINFMTFS_MAGIC): Likewise.
24868         (BTRFS_TEST_MAGIC): Likewise.
24869         (CRAMFS_MAGIC_WEND): Likewise.
24870         (DEBUGFS_MAGIC): Likewise.
24871         (ECRYPTFS_SUPER_MAGIC): Likewise.
24872         (EXT3_SUPER_MAGIC): Likewise.
24873         (EXT4_SUPER_MAGIC): Likewise.
24874         (FUTEXFS_SUPER_MAGIC): Likewise.
24875         (HOSTFS_SUPER_MAGIC): Likewise.
24876         (HUGETLBFS_MAGIC): Likewise.
24877         (MINIX3_SUPER_MAGIC): Likewise.
24878         (MTD_INODE_FS_MAGIC): Likewise.
24879         (NILFS_SUPER_MAGIC): Likewise.
24880         (OPENPROM_SUPER_MAGIC): Likewise.
24881         (PIPEFS_MAGIC): Likewise.
24882         (PSTOREFS_MAGIC): Likewise.
24883         (QNX6_SUPER_MAGIC): Likewise.
24884         (RAMFS_MAGIC): Likewise.
24885         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24886         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24887         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24888         (SECURITYFS_MAGIC): Likewise.
24889         (SELINUX_MAGIC): Likewise.
24890         (SMACK_MAGIC): Likewise.
24891         (SOCKFS_MAGIC): Likewise.
24892         (SQUASHFS_MAGIC): Likewise.
24893         (STACK_END_MAGIC): Likewise.
24894         (TMPFS_MAGIC): Likewise.
24895         (USBDEVICE_SUPER_MAGIC): Likewise.
24896         (V9FS_MAGIC): Likewise.
24897         (XENFS_SUPER_MAGIC): Likewise.
24898         (CRAMFS_MAGIC): Fix typo in comment.
24899         (EXT2_SUPER_MAGIC): Update comment.
24900         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24902 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24904         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24905         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24906         * sysdeps/unix/sysv/linux/arm: Move directory from
24907         ports/sysdeps/unix/sysv/linux/arm.
24908         * README: Update listing for arm-*-linux-gnueabi.
24910         * README: Remove mention of am33.
24912 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24914         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24915         than the comma operator, to avoid "rhs of comma has no effect"
24916         compiler warnings.
24917         (__sigfillset, __sigandset, __sigorset): Likewise.
24918         * include/signal.h (__sigemptyset): Likewise.
24919         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24921 2014-02-07  Allan McRae  <allan@archlinux.org>
24923         * version.h (RELEASE): Set to "development".
24924         (VERSION): Set to "2.19.90"
24925         * NEWS: Add 2.20 section.
24927 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24929         [BZ #16529]
24930         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24932 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24934         * manual/contrib.texi: Update entry for Carlos O'Donell,
24935         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24937 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24939         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24941         * sysdeps/unix/sysv/linux/kernel-features.h
24942         [__LINUX_KERNEL_VERSION >= 0x020621]
24943         (__ASSUME_PROC_PID_TASK_COMM): Define.
24945 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24947         [BZ #16398]
24948         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24949         conversion when destination buffer does not have enough space.
24950         * libio/tst-ftell-partial-wide.c: New test case.
24951         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24953         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24954         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24955         Leonard and Allan McRae.
24957 2014-02-04  David S. Miller  <davem@davemloft.net>
24959         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24960         32-bit.
24962 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24965         New file
24966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24967         New file
24968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24969         New file.
24970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24971         New file.
24972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24973         New file.
24974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24975         New file.
24976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24977         New file.
24978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24979         New file.
24980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24981         New file.
24982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24983         New file.
24984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24985         New file.
24986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24987         New file.
24988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24989         New file.
24991 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24993         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24994         * shlib-versions: Likewise.
24996 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24997             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24999         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25000         (abilist-pattern): New variable, set to %-le.abilist.
25002         * Makerules (abilist-pattern): New variable.
25003         (vpath): Use $(abilist-pattern) in place of %.abilist.
25004         (check-abi-% pattern rule): Likewise.
25005         (check-abi, update-abi): Likewise.
25007 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25011 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25013         * manual/startup.texi: Add next, previous, and top entries for
25014         the `Program Arguments' and `Environment Variables' nodes.
25016 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25018         * manual/macros.texi: Add comments before MTASC-safety macros.
25020         * manual/users.texi: Document MTASC-safety properties.
25022         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25023         (pthread_getspecific, pthread_setspecific): Format with
25024         @deftypefun, and add @safety note.
25025         * manual/signal.texi: Move comments that analyze the above
25026         functions to their home place.
25028 2014-02-03  Allan McRae  <allan@archlinux.org>
25030         * po/sl.po: Update Slovenian translation from translation project.
25032 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25034         * manual/time.texi (timegm): Add missing blank after @c.
25035         Reported by Joseph Myers <joseph@codesourcery.com>.
25037 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25039         * manual/check-safety.sh: New.
25040         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25042         * manual/terminal.texi: Document MTASC-safety properties.
25044         * manual/filesys.texi: Document MTASC-safety properties.
25046         * manual/errno.texi: Document MTASC-safety properties.
25048         * manual/intro.texi: Document safety identifiers and
25049         conditionals.
25051         * manual/string.texi (wcstok): Fix prototype.
25052         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25054         * manual/time.texi: Document MTASC-safety properties.
25056         * manual/string.texi: Document MTASC-safety properties.
25058         * manual/threads.texi: Document MTASC-safety properties.
25060         * manual/stdio.texi: Document MTASC-safety properties.
25062         * manual/syslog.texi: Document MTASC-safety properties.
25064         * manual/sysinfo.texi: Document MTASC-safety properties.
25066         * manual/startup.texi: Document MTASC-safety properties.
25068         * manual/socket.texi: Document MTASC-safety properties.
25070         * manual/signal.texi: Document MTASC-safety properties.
25072 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25074         * manual/setjmp.texi: Document MTASC-safety properties.
25076         * manual/search.texi: Document MTASC-safety properties.
25078         * manual/resource.texi: Document MTASC-safety properties.
25080         * manual/process.texi: Document MTASC-safety properties.
25082         * manual/platform.texi: Document MTASC-safety properties.
25084         * manual/pipe.texi: Document MTASC-safety properties.
25086         * manual/pattern.texi: Document MTASC-safety properties.
25088         * manual/message.texi: Document MTASC-safety properties.
25090         [BZ #12751]
25091         * manual/memory.texi: Document MTASC-safety properties.
25093         * manual/math.texi: Document MTASC-safety properties.
25095         * manual/locale.texi: Document MTASC-safety properties.
25097         * manual/llio.texi: Document MTASC-safety properties.
25099         * manual/libdl.texi: New.
25101         * manual/lang.texi: Document MTASC-safety properties.
25103         * manual/job.texi: Document MTASC-safety properties.
25105         * manual/getopt.texi: Document MTASC-safety properties.
25107         * manual/ctype.texi: Document MTASC-safety properties.
25109 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25111         [BZ #16046]
25112         * csu/libc-tls.c (static_map): Remove variable.
25113         (__libc_setup_tls): Use main executable's link map for TLS data.
25114         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25115         casing for LM_ID_BASE and GL(dl_nns).
25116         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25117         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25118         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25119         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25120         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25121         member.
25122         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25123         l_phnum members.
25125 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25127         * manual/debug.texi: Document MTASC-safety properties.
25129 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25131         [BZ #16510]
25132         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25133         of __x86_64__ when disabling x87 inline functions.
25135 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25137         * manual/charset.texi: Document MTASC-safety properties.
25139         * manual/crypt.texi: Document MTASC-safety properties.
25141         * manual/conf.texi: Document MTASC-safety properties.
25143         * manual/arith.texi: Document MTASC-safety properties.
25145         * manual/argp.texi: Document MTASC-safety properties.
25147         * manual/macros.texi: Introduce macros to document multi
25148         thread, asynchronous signal and asynchronous cancellation
25149         safety properties.
25150         * manual/intro.texi: Introduce the properties themselves.
25152 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25154         * sysdeps/sh/sh4/Makefile: New file.
25156 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25158         * math/gen-libm-test.pl ($srcdir): New variable.
25159         ($auto_input): Use it.
25161 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25163         [BZ #16506]
25164         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25165         access beyond array bounds when parsing netgroups file.
25167         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25168         the old buffer before realloc.
25170 2014-01-27  Allan McRae  <allan@archlinux.org>
25172         * po/fr.po: Update French translation from translation project.
25174 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25176         * sysdeps/sh/libm-test-ulps: Regenerate.
25178 2014-01-24  David S. Miller  <davem@davemloft.net>
25180         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25182 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25184         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25185         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25187 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25189         [BZ #16474]
25190         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25191         string pointers after reallocation.
25193 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25195         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25196         __SH4A__ instead of __SH_FPU_ANY__.
25198 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25200         * sysdeps/sh/fpu_control.h: New file.
25201         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25202         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25203         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25204         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25205         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25206         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25207         * sysdeps/sh/sys/ucontext.h: Remove.
25208         * sysdeps/sh/sys: Remove directory.
25210 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25212         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25213         s390/sys/ucontext.h.
25214         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25215         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25217 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25219         [BZ #15605]
25220         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25222 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25224         [BZ#16431]
25225         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25226         Adjust the vDSO correctly for internal calls.
25227         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25229 2014-01-20  Allan McRae  <allan@archlinux.org>
25231         * po/ca.po: Update Catalan translation from translation project.
25233 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25235         * sysdeps/s390/sotruss-lib.c: New file.
25237 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25239         [BZ#16430]
25240         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25241         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25242         local calls issues by not having a PLT stub required for IFUNC calls.
25243         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25245 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25247         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25248         * math/test-fpucw-static.c: Likewise.
25250 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25252         [BZ #16453]
25253         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25255 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25257         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25258         implementation for powerpc.
25260 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25262         [BZ #14782]
25263         * sysdeps/posix/system.c (__libc_system): Do not enable
25264         asynchronous cancellation.
25266 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25268         [BZ #16427]
25269         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25270         handling only for numbers special also in the IEEE case.
25272 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25274         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25276 2014-01-11  Allan McRae  <allan@archlinux.org>
25278         * po/bg.po: Update Bulgarian translation from translation project.
25280         * po/de.po: Update German translation from translation project.
25282 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25284         * sysdeps/generic/gcc-compat.h: New file.
25286 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25288         * benchtests/asin-inputs: Correct slow inputs.
25289         * benchtests/acos-inputs: Likewise.
25291 2014-01-10  Allan McRae  <allan@archlinux.org>
25293         * po:sv.po: Update Swedish translation from translation project.
25295         * po/vi.po: Update Vietnamese translation from translation project.
25297         * po/eo.po: Update Esperanto translation from translation project.
25299         * po/cs.po: Update Czech translation from translation project.
25301         * po/nl.po: Update Dutch translation from translation project.
25303         * po/pl.po: Update Polish translation from translation project.
25305         * po/ru.po: Update Russian translation from translation project.
25307         * po/uk.po: Update Ukrainian translation from translation project.
25309 2014-01-08  Brooks Moses  <bmoses@google.com>
25311         * elf/dl-load.c: Fix comment typo.
25313 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25315         * po/header.pot: Rename to...
25316         * po/pot.header: ... this.
25317         * po/Makefile: Use pot.header.
25319 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25320             Maxim Kuvyrkov  <maxim@kugelworks.com>
25322         [BZ #16394]
25323         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25324         SRC and DEST against LEN.
25326 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25328         [BZ #16414]
25329         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25330         implementation.
25331         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25333 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25337 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25339         [BZ #16408]
25340         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25341         for large positive arguments.
25343 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25345         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25347         * math/auto-libm-test-in: Mark various tests with
25348         xfail-rounding:ldbl-128ibm.
25349         * math/auto-libm-test-out: Regenerated.
25351         [BZ #16407]
25352         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25353         Increase overflow threshold.
25355 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25357         [BZ #14286]
25358         * stdio-common/vfprintf.c: Check for integer overflow.
25360 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25362         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25363         the first argument and return value of __tls_get_addr_internal.
25365 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25367         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25368         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25370 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25372         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25373         * sysdeps/s390/rtld-global-offsets.sym: New file.
25374         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25375         GLIBC_2.19 symbol.
25376         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25377         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25378         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25379         ... this.
25380         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25381         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25382         ... this.
25383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25384         Regenerate.
25385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25386         Regenerate.
25387         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25388         halfs of GPRs for high_gprs contexts.
25389         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25390         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25391         field.
25392         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25393         uc_flags field.
25394         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25395         64 bit versions:
25396         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25397         for high GPRs (uc_high_gprs) and for future extensions
25398         (__reserved).
25399         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25400         for future extensions (__reserved).
25401         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25402         64 bit versions:
25403         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25404         SC_HIGHGPRS offset definition.
25405         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25406         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25408         * Versions.def: Add GLIBC_2.19 for libpthread.
25409         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25410         siglongjmp for libpthread with GLIBC_2.19 symver.
25411         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25412         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25413         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25414         * sysdeps/s390/__longjmp.c: New file.
25415         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25416         * sysdeps/s390/longjmp.c: New file.
25417         * sysdeps/s390/setjmp.S: New file.
25418         * sysdeps/s390/sigjmp.S: New file.
25419         * sysdeps/s390/v1-longjmp.c: New file.
25420         * sysdeps/s390/v1-setjmp.h: New file.
25421         * sysdeps/s390/v1-sigjmp.c: New file.
25422         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25423         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25424         GLIBC_2.19 version.
25425         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25426         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25427         versioned symbols for ____longjmp_chk.
25428         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25429         Likewise.
25430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25431         Regenerate.
25432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25433         Regenerate.
25434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25435         Regenerate.
25436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25437         Regenerate.
25438         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25439         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25440         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25441         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25442         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25443         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25444         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25445         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25446         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25447         * sysdeps/s390/rtld-__longjmp.c: New file.
25448         * sysdeps/s390/rtld-setjmp.S: New file.
25450 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25452         [BZ #16400]
25453         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25454         Return -__logl (x) for small positive arguments without evaluating
25455         a polynomial.
25457 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25459         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25460         Rename to ...
25461         (__ptrace_peeksiginfo_args): ... this.
25462         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25463         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25464         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25466 2014-01-06  Allan McRae  <allan@archlinux.org>
25468         * inet/netinet/in.h: Fix typo in comment.
25470 2014-01-05  Andreas Jaeger  <aj@suse.de>
25472         * sysdeps/i386/fpu/libm-test-ulps: Update.
25474 2014-01-05  Allan McRae  <allan@archlinux.org>
25476         * po/libc.pot: Regenerated.
25478         * malloc/memusagestat.c: Fix gettext call formatting.
25480 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25482         * nscd/nscd.c: Improve usage() output.
25484 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25486         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25487         * sysdeps/unix/sysv/linux/configure: Regenerated.
25488         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25489         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25491 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25493         [BZ #16390]
25494         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25495         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25497 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25499         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25500         extra tokens at end of #undef directive.
25501         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25502         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25503         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25505 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25507         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25509         * math/auto-libm-test-in: Mark various tests with
25510         xfail-rounding:ldbl-128ibm.
25511         * math/auto-libm-test-out: Regenerated.
25513 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25515         [BZ #16386]
25516         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25517         numbers with subnormal high part when calculating exponent.
25519         [BZ #16385]
25520         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25521         fabs.
25523         [BZ #16384]
25524         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25525         M_LN2l.
25526         (__ieee754_acoshl): Use __log1pl not __log1p.
25528 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25530         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25531         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25532         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25533         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25534         (reused_arena, arena_get2): Convert to GNU style.
25535         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25536         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25537         (memalign_check, __malloc_set_state): Likewise.
25538         * malloc/mallocbug.c (main): Likewise.
25539         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25540         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25541         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25542         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25543         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25544         (__posix_memalign, malloc_info): Likewise.
25545         * malloc/malloc.h: Likewise.
25546         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25547         (mallochook, memalignhook, reallochook, mabort): Likewise.
25548         * malloc/mcheck.h: Likewise.
25549         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25550         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25551         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25552         * malloc/morecore.c (__default_morecore): Likewise.
25553         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25554         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25555         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25556         (print_and_abort): Likewise.
25557         * malloc/obstack.h: Likewise.
25558         * malloc/set-freeres.c (__libc_freeres): Likewise.
25559         * malloc/tst-mallocstate.c (main): Likewise.
25560         * malloc/tst-mtrace.c (main): Likewise.
25561         * malloc/tst-realloc.c (do_test): Likewise.
25563 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25565         [BZ #16366]
25566         * nscd/netgroupcache.c (do_notfound): New function.
25567         (addgetnetgrentX): Use it.
25569         [BZ # 16365]
25570         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25571         NSS_STATUS_NOTFOUND.
25573 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25575         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25578 2014-01-01  Allan McRae  <allan@archlinux.org>
25580         * scripts/update-copyrights: Update configure input file suffix.
25582         * NEWS: Update copyright year.
25583         * catgets/gencat.c: Likewise.
25584         * csu/version.c: Likewise.
25585         * debug/catchsegv.sh: Likewise.
25586         * debug/pcprofiledump.c: Likewise.
25587         * debug/xtrace.sh: Likewise.
25588         * elf/ldconfig.c: Likewise.
25589         * elf/ldd.bash.in: Likewise.
25590         * elf/pldd.c: Likewise.
25591         * elf/sotruss.ksh: Likewise.
25592         * elf/sprof.c: Likewise.
25593         * iconv/iconv_prog.c: Likewise.
25594         * iconv/iconvconfig.c: Likewise.
25595         * locale/programs/locale.c: Likewise.
25596         * locale/programs/localedef.c: Likewise.
25597         * login/programs/pt_chown.c: Likewise.
25598         * malloc/memusage.sh: Likewise.
25599         * malloc/memusagestat.c: Likewise.
25600         * malloc/mtrace.pl: Likewise.
25601         * manual/libc.texinfo: Likewise.
25602         * nscd/nscd.c: Likewise.
25603         * nss/getent.c: Likewise.
25604         * nss/makedb.c: Likewise.
25605         * posix/getconf.c: Likewise.
25606         * scripts/test-installation.pl: Likewise.
25608         * All files with FSF copyright notices: Update copyright dates
25609         using scripts/update-copyrights.
25610         * intl/plural.c: Regenerated.
25611         * locale/programs/charmap-kw.h: Likewise.
25612         * locale/programs/locfile-kw.h: Likewise.
25614 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25616         * sysdeps/unix/sysv/linux/configure: Regenerated.
25617         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25618         the linux/fanotify.h header.
25619         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25620         HAVE_LINUX_FANOTIFY_H is defined.
25622 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25624         * benchtests/cos-inputs: New inputs.
25625         * benchtests/sin-inputs: Likewise.
25627         * benchtests/atan-inputs: New inputs. Fix name of multiple
25628         precision fallback inputs.
25630         * benchtests/atanh-inputs: New inputs.
25631         * benchtests/tanh-inputs: Likewise.
25633         * benchtests/acosh-inputs: New inputs.
25634         * benchtests/asinh-inputs: Likewise.
25636         * benchtests/cosh-inputs: New inputs.
25637         * benchtests/sinh-inputs: Likewise.
25639         * benchtests/acos-inputs: Add more inputs.
25640         * benchtests/asin-inputs: Likewise.
25642 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25644         [BZ #16375]
25645         * manual/arith.texi: Fix spelling.
25646         * manual/charset.texi: Likewise.
25647         * manual/errno.texi: Likewise.
25648         * manual/filesys.texi: Likewise.
25649         * manual/lang.texi: Likewise.
25650         * manual/llio.texi: Likewise.
25651         * manual/locale.texi: Likewise.
25652         * manual/message.texi: Likewise.
25653         * manual/resource.texi: Likewise.
25654         * manual/search.texi: Likewise.
25655         * manual/setjmp.texi: Likewise.
25656         * manual/stdio.texi: Likewise.
25657         * manual/string.texi: Likewise.
25658         * manual/sysinfo.texi: Likewise.
25659         * manual/time.texi: Likewise.
25661 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25663         * po/sl.po: New file.
25665 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25667         * .gitignore: Add core/.gdbinit/.gdb_history.
25669 2013-12-27  Allan McRae  <allan@archlinux.org>
25671         [BZ #16369]
25672         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25673         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25675 2013-12-24  Brooks Moses  <bmoses@google.com>
25677         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25678         all compilers that claim C++98 compliance, not just GCC.
25679         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25680         Likewise.
25682 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25684         * NEWS: Restore accidentally deleted bug-fix entries.
25686 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25687             Ondřej Bílka  <neleai@seznam.cz>
25689         [BZ #15073]
25690         * malloc/malloc.c (_int_free): Perform sanity check only if we
25691         have_lock.
25693 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25695         [BZ #12986]
25696         * manual/stdio.texi (String Input Conversions): Clarify that character
25697         classes are not supported.
25699 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25703 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25705         [BZ #16337]
25706         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25707         Calculate results for small negative arguments directly rather
25708         than using reflection formula with special underflow handling.
25710         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25711         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25712         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25713         (fchflags): Likewise.
25714         (revoke): Likewise.
25715         (setlogin): Likewise.
25716         (sigaltstack): Likewise.
25717         (wait4): Likewise.
25718         (sigblock): Remove.
25719         (sigsetmask): Likewise.
25720         (wait3): Likewise.
25721         (waitpid): Likewise.
25722         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25723         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25724         file.
25725         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25726         * sysdeps/unix/bsd/Makefile: ... here.
25727         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25728         * sysdeps/unix/bsd/Versions: ... here.
25729         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25730         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25731         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25732         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25733         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25734         * sysdeps/unix/bsd/sigblock.c: ... here.
25735         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25736         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25737         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25738         * sysdeps/unix/bsd/sigvec.c: ... here.
25739         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25740         * sysdeps/unix/bsd/tcdrain.c: ... here.
25741         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25742         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25743         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25744         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25745         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25746         * sysdeps/unix/bsd/wait.c: ... here.
25747         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25748         * sysdeps/unix/bsd/wait3.c: ... here.
25749         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25750         * sysdeps/unix/bsd/waitpid.c: ... here.
25752 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25754         [BZ #16356]
25755         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25756         round-to-nearest for [!USE_AS_EXPM1L].
25757         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25758         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25759         more tests of exp and exp10.  Expect some exp10 tests to miss
25760         exceptions or fail in directed rounding modes.
25761         * math/auto-libm-test-out: Regenerated.
25762         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25763         (exp10_test_tonearest): New function.
25764         (exp10_towardzero_test_data): New array.
25765         (exp10_test_towardzero): New function.
25766         (exp10_downward_test_data): New array.
25767         (exp10_test_downward): New function.
25768         (exp10_upward_test_data): New array.
25769         (exp10_test_upward): New function.
25770         (main): Call the new functions.
25771         * sysdeps/i386/fpu/libm-test-ulps: Update.
25772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25774 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
25776         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25777         asinh, atan, atan2, atanh, cbrt, cos and cosh.
25778         * math/auto-libm-test-out: Regenerated.
25779         * math/libm-test.inc (acosh_test_data): Add more tests.
25780         (atanh_test_data): Likewise.
25781         (ceil_test_data): Likewise.
25782         (copysign_test_data): Likewise.
25783         * sysdeps/i386/fpu/libm-test-ulps: Update.
25784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25786         * timezone/checktab.awk: Update from tzcode 2013i.
25787         * timezone/private.h: Likewise.
25788         * timezone/scheck.c: Likewise.
25789         * timezone/tzfile.h: Likewise.
25790         * timezone/tzselect.ksh: Likewise.
25791         * timezone/zdump.c: Likewise.
25792         * timezone/zic.c: Likewise.
25794         * math/auto-libm-test-in: Add tests of cpow.
25795         * math/auto-libm-test-out: Regenerated.
25796         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25797         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25798         mpc_cc_c.
25799         (func_calc_desc): Add mpc_cc_c union field.
25800         (test_functions): Add cpow.
25801         (special_fill_2pi): New function.
25802         (special_real_inputs): Add 2pi.
25803         (calc_generic_results): Handle mpc_cc_c.
25804         * sysdeps/i386/fpu/libm-test-ulps: Update.
25805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25807         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25808         csqrt, ctan and ctanh.
25809         * math/auto-libm-test-out: Regenerated.
25810         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25811         (TEST_COND_x86): Likewise.
25812         (ccos_test_data): Use AUTO_TESTS_c_c.
25813         (ccosh_test_data): Likewise.
25814         (cexp_test_data): Likewise.
25815         (clog_test_data): Likewise.
25816         (csqrt_test_data): Likewise.
25817         (ctan_test_data): Likewise.
25818         (ctan_tonearest_test_data): Likewise.
25819         (ctan_towardzero_test_data): Likewise.
25820         (ctan_downward_test_data): Likewise.
25821         (ctan_upward_test_data): Likewise.
25822         (ctanh_test_data): Likewise.
25823         (ctanh_tonearest_test_data): Likewise.
25824         (ctanh_towardzero_test_data): Likewise.
25825         (ctanh_downward_test_data): Likewise.
25826         (ctanh_upward_test_data): Likewise.
25827         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25828         mpc_c_c.
25829         (func_calc_desc): Add mpc_c_c union field.
25830         (FUNC_mpc_c_c): New macro.
25831         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25832         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25833         ctanh.
25834         (special_fill_min_subnorm_p120): New function.
25835         (special_real_inputs): Add min_subnorm_p120.
25836         (calc_generic_results): Handle mpc_c_c.
25837         * sysdeps/i386/fpu/libm-test-ulps: Update.
25838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25840 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25842         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25843         (do_sin_slow): New functions.
25844         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25845         (cslow2, csloww1, csloww2): Use the new functions.
25847         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25848         Use M to change sign of result instead of X.  Assume X is
25849         positive.
25850         (csloww1): Likewise.
25851         (__sin): Adjust.
25852         (__cos): Adjust.
25854         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25855         arguments A and DA.
25856         (__sin): Adjust.
25857         (__cos): Likewise.
25859         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25860         (__cos): Likewise.
25861         (sloww1): Don't adjust sign of DX.
25862         (csloww1): Likewise.
25863         (sloww2): Use X directly and don't adjust sign of DX.
25864         (csloww2): Likewise.
25866 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25868         * math/auto-libm-test-in: Add tests of cabs and carg.
25869         * math/auto-libm-test-out: Regenerated.
25870         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25871         (carg_test_data): Likewise.
25872         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25873         mpc_c_f.
25874         (func_calc_desc): Add mpc_c_f union field.
25875         (test_functions): Add cabs and carg.
25876         (calc_generic_results): Handle mpc_c_f.
25878         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25879         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25880         as a macro and a compat symbol.
25881         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25882         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25883         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25884         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25885         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25886         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25887         not use .hidden.
25888         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25889         Likewise.
25890         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25891         Likewise.
25892         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25893         Likewise.
25894         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25895         Likewise.
25896         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25897         Likewise.
25898         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25899         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25900         from GLIBC_2.3.2.
25902 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25906 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25908         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25909         trailing whitespace removed.
25910         * scripts/config.guess: Update to version 2013-11-29.
25911         * scripts/config.sub: Update to version 2013-10-01.
25913         * math/auto-libm-test-in: Add tests of sincos.
25914         * math/auto-libm-test-out: Regenerated.
25915         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25916         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25917         mpfr_f_11.
25918         (func_calc_desc): Add mpfr_f_11 union field.
25919         (test_functions): Add sincos.
25920         (calc_generic_results): Handle mpfr_f_11.
25921         * sysdeps/i386/fpu/libm-test-ulps: Update.
25922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25924 2013-12-19  Andreas Schwab  <schwab@suse.de>
25926         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25927         CALL_MCOUNT.
25928         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25929         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25930         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25932 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25934         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25935         * sysdeps/i386/fpu/libm-test-ulps: Update.
25936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25938         [BZ #16293]
25939         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25940         round-to-nearest mode when using frndint.
25941         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25942         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25943         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25944         Likewise.
25945         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25946         sinh test to fail.
25947         * math/auto-libm-test-out: Regenerated.
25948         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25949         (TEST_COND_x86): Likewise.
25950         (expm1_tonearest_test_data): New array.
25951         (expm1_test_tonearest): New function.
25952         (expm1_towardzero_test_data): New array.
25953         (expm1_test_towardzero): New function.
25954         (expm1_downward_test_data): New array.
25955         (expm1_test_downward): New function.
25956         (expm1_upward_test_data): New array.
25957         (expm1_test_upward): New function.
25958         (main): Run the new test functions.
25959         * sysdeps/i386/fpu/libm-test-ulps: Update.
25960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25962         * include/features.h: Update comment documenting feature test
25963         macros.  Mention _DEFAULT_SOURCE in comment.
25964         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25965         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25966         _BSD_SOURCE and _SVID_SOURCE.
25967         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25968         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25969         !_SVID_SOURCE]: Likewise.
25970         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25971         (__USE_POSIX_IMPLICITLY): Define.
25972         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25973         (_POSIX_SOURCE): Undefine and redefine.
25974         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25975         (_POSIX_C_SOURCE): Likewise.
25976         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25977         (Feature Test Macros): Update documentation of default features.
25979 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25981         * benchtests/Makefile: Add bench-strtok.
25982         * benchtests/bench-strtok.c: New file: strtok benchtest.
25984 2013-12-19  Allan McRae  <allan@archlinux.org>
25986         * manual/install.texi: Suppress menu for plain text output.
25987         * INSTALL: Regenerated.
25989 2013-12-18  Brooks Moses  <bmoses@google.com>
25991         [BZ #15846]
25992         * misc/getauxval.c: Include errno.h.
25993         (__getauxval): Set errno to ENOENT if the requested type is not
25994         found.
25995         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25996         don't declare with __attribute_const__.
25997         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25998         * manual/startup.texi: Document that getauxval sets errno.
26000 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26002         * math/auto-libm-test-in: Add tests of jn and yn.
26003         * math/auto-libm-test-out: Regenerated.
26004         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26005         (yn_test_data): Likewise.
26006         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26007         mpfr_if_f.
26008         (func_calc_desc): Add mpfr_if_f union field.
26009         (FUNC_mpfr_if_f): New macro.
26010         (test_functions): Add jn and yn.
26011         (calc_generic_results): Assert type of second input for
26012         mpfr_ff_f.  Handle mpfr_if_f.
26013         (output_for_one_input_case): Disable all checking for arguments
26014         fitting floating-point types in case of an integer argument.
26015         * sysdeps/i386/fpu/libm-test-ulps: Update.
26016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26019         Don't expect fegetround reference in libm.so.
26021 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26023         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26024         $(config-cflags-nofma).
26026 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26028         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26029         * math/auto-libm-test-out: Regenerated.
26031         [BZ #16338]
26032         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26033         to determine exponent and adjust argument to have exponent of -1.
26034         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26035         log2.
26036         * math/auto-libm-test-out: Regenerated.
26037         * sysdeps/i386/fpu/libm-test-ulps: Update.
26038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26040 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26042         * manual/probes.texi: Remove cases when per-thread arenas are
26043         disabled.
26045 2013-12-18  Andreas Schwab  <schwab@suse.de>
26047         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26048         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26049         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26050         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26051         * sysdeps/i386/i686/multiarch/Makefile: Update.
26052         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26054 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26056         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26057         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26059 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26061         [BZ #15968]
26062         Support TZ transition times < 00:00:00.
26063         This is needed for version-3 tz-format files; it supports time
26064         stamps past 2037 for America/Godthab (the only entry in the tz
26065         database for which this change is relevant).
26066         * manual/time.texi (TZ Variable): Document transition times
26067         from -167:59:59 through -00:00:01.
26068         * time/tzset.c (tz_rule): Time of day is now signed.
26069         (__tzset_parse_tz): Parse negative time of day.
26071         Document TZ transition times >= 25:00:00.
26072         * manual/time.texi (TZ Variable): Document transition times from
26073         25:00:00 through 167:59:59.  These are already supported, and this
26074         support will help with version-3 tz-format files.
26076         * manual/time.texi (TZ Variable): Modernize North America example
26077         to reflect current (i.e., 2007-and-later) daylight saving rules.
26079         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26081 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26083         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26084         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26085         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26086         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26087         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26088         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26089         * sysdeps/unix/bsd/clock.c: Likewise.
26090         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26091         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26092         * sysdeps/unix/bsd/init-posix.c: Likewise.
26093         * sysdeps/unix/bsd/poll.c: Likewise.
26094         * sysdeps/unix/bsd/ptsname.c: Likewise.
26095         * sysdeps/unix/bsd/seekdir.c: Likewise.
26096         * sysdeps/unix/bsd/setegid.c: Likewise.
26097         * sysdeps/unix/bsd/seteuid.c: Likewise.
26098         * sysdeps/unix/bsd/setgid.c: Likewise.
26099         * sysdeps/unix/bsd/setrgid.c: Likewise.
26100         * sysdeps/unix/bsd/setruid.c: Likewise.
26101         * sysdeps/unix/bsd/setsid.c: Likewise.
26102         * sysdeps/unix/bsd/setuid.c: Likewise.
26103         * sysdeps/unix/bsd/sigaction.c: Likewise.
26104         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26105         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26106         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26107         * sysdeps/unix/bsd/telldir.c: Likewise.
26108         * sysdeps/unix/bsd/times.c: Likewise.
26109         * sysdeps/unix/bsd/usleep.c: Likewise.
26111         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26112         ($(objpfx)libbsd-compat.a): Remove rule.
26114         * include/features.h (__FAVOR_BSD): Do not define.
26115         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26116         features conflicting with POSIX.
26117         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26118         (_BSD_SOURCE): Remove description of not being a subset of other
26119         feature test macros.
26120         * manual/job.texi (getpgrp): Do not document BSD version.
26121         (getpgid): Do not document by reference to BSD getpgrp.
26122         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26123         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26124         * signal/signal.h [__FAVOR_BSD]: Likewise.
26125         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26126         instead of making contents conditional on [__FAVOR_BSD].
26127         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26129 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26133 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26135         [BZ #16314]
26136         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26137         values below 2**-450, not 2**-500.
26138         * math/auto-libm-test-in: Don't allow spurious underflow from
26139         hypot.
26140         * math/auto-libm-test-out: Regenerated.
26142         [BZ #16316]
26143         [BZ #16330]
26144         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26145         values of ha and hb and sort them after adjusting subnormal
26146         arguments.
26147         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26148         Likewise.
26149         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26150         values of ea and eb and sort them after adjusting subnormal
26151         arguments.
26152         * math/auto-libm-test-in: Do not expect some hypot tests of
26153         subnormals to fail.  Add more hypot tests.
26154         * math/auto-libm-test-out: Regenerated.
26156 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26158         [BZ #13304]
26159         * sysdeps/sh/s_fma.c: New file.
26160         * sysdeps/sh/s_fmaf.c: New file.
26161         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26162         version.
26163         * sysdeps/sh/Implies: Add sh/soft-fp.
26165 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26167         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26168         level of indirection to members `objname', `errstring', `malloced'.
26169         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26170         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26171         it as the __longjmp argument (just pass 1 instead).
26172         (_dl_catch_error): Initialize C with argument pointers and address of
26173         volatile local ERRCODE rather than copying values out of C at return.
26175 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26177         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26178         * math/auto-libm-test-out: Regenerated.
26179         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26180         (hypot_test_data): Likewise.
26181         (pow_test_data): Likewise.
26182         (pow_tonearest_test_data): Likewise.
26183         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26184         mpfr_ff_f.
26185         (func_calc_desc): Add mpfr_ff_f union field.
26186         (FUNC_mpfr_ff_f): New macro.
26187         (test_functions): Add atan2, hypot and pow.
26188         (special_fill_min): New function.
26189         (special_fill_minus_min): Likewise.
26190         (special_fill_min_subnorm): Likewise.
26191         (special_fill_minus_min_subnorm): Likewise.
26192         (special_real_inputs): Add min, -min, min_subnorm and
26193         -min_subnorm.
26194         (calc_generic_results): Handle mpfr_ff_f.
26195         * sysdeps/i386/fpu/libm-test-ulps: Update.
26196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26198 2013-12-16  Will Newton  <will.newton@linaro.org>
26200         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26201         (Aligned Memory Blocks): Add documentation for aligned_alloc
26202         and suggest it as an alternative to posix_memalign.
26203         (Hooks for Malloc): Document __memalign_hook is also called
26204         for aligned_alloc.  (Summary of Malloc): Add summary for
26205         aligned alloc.  Document __memalign_hook is also called
26206         for aligned_alloc.
26208 2013-12-16  Will Newton  <will.newton@linaro.org>
26210         * manual/memory.texi (Malloc Examples): Clarify default
26211         alignment documentation.  Suggest posix_memalign rather
26212         than memalign or valloc.
26213         (Aligned Memory Blocks): Remove suggestion to use memalign
26214         or valloc.  Remove obsolete comment about BSD.
26215         Document memalign errno values and mark the function obsolete.
26216         Document posix_memalign returned error codes.  Mark valloc
26217         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26218         called for posix_memalign and valloc.
26219         (Summary of Malloc): Add posix_memalign to function summary.
26220         __memalign_hook is also called for posix_memalign and valloc.
26222 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26224         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26225         TAYLOR_SIN.
26226         (__sin): Adjust.
26227         (__cos): Likewise.
26228         (sloww): Use mynumber union.  Expand ternary operator into
26229         if-else statements.
26230         (cslow): use mynumber union.
26232 2013-12-16  Allan McRae  <allan@archlinux.org>
26234         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26235         * configure: Regenerated.
26237         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26239         [BZ #14120]
26240         * configure.ac: Added --enable-maintainer-mode. Check for
26241         autoconf when enabled.
26242         * configure: Regenerated.
26244         * nscd/nscd.service: New file.
26245         * nscd/nscd.tmpfiles: New file.
26247 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26249         [BZ #12100]
26250         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26251         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26252         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26253         (strstr): Add __strstr_sse2_unaligned ifunc.
26254         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26255         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26256         (strcasestr): Remove __strcasestr_sse42 ifunc.
26257         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26258         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26259         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26261 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26263         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26264         * sysdeps/sh/bits/fenv.h: ... here.
26265         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26267 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26269         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26272         hypotf multiarch implementations.
26273         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26274         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26275         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26276         multiarch hypot for PPC64.
26277         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26278         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26279         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26280         multiarch hypotf for PPC64.
26282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26283         modff multiarch implementations.
26284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26287         multiarch modf for PPC64.
26288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26291         multiarch modff for PPC64.
26293         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26294         and logl multiarch implementations.
26295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26298         multiarch logb for PPC64.
26299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26302         multiarch logb for PPC64.
26303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26306         multiarch logb for PPC64.
26308         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26309         isinff multiarch implementation.
26310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26311         file.
26312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26314         multiarch isinf for PPC64.
26315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26316         file.
26317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26318         multiarch isinff for PPC64.
26320         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26321         finitef multiarch implementation.
26322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26323         file.
26324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26326         multiarch finite for PPC64.
26327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26328         file.
26329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26330         multiarch finitef for PPC64.
26332         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26333         lrint multiarch implementation.
26334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26335         file.
26336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26338         multiarch llrint for PPC64.
26339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26340         multiarch lrint for PPC64.
26342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26343         copysignf multiarch implementation.
26344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26345         file.
26346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26347         file.
26348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26349         multiarch copysign for PPC64.
26350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26351         multiarch copysignf for PPC64.
26353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26354         multiarch implementation.
26355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26356         file.
26357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26358         file.
26359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26360         file.
26361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26362         file.
26363         multiarch llround for PPC64.
26364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26365         multiarch trunc for PPC64.
26366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26367         multiarch truncf for PPC64.
26369         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26370         multiarch implementation.
26371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26372         file.
26373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26374         file.
26375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26376         file.
26377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26378         file.
26379         multiarch llround for PPC64.
26380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26381         multiarch round for PPC64.
26382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26383         multiarch roundf for PPC64.
26385         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26386         multiarch implementation.
26387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26388         file.
26389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26390         file.
26391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26392         file.
26393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26394         file.
26395         multiarch llround for PPC64.
26396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26397         multiarch floor for PPC64.
26398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26399         multiarch floorf for PPC64.
26401         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26402         multiarch implementation.
26403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26404         file.
26405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26406         file.
26407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26408         file.
26409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26410         file.
26411         multiarch llround for PPC64.
26412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26413         multiarch ceil for PPC64.
26414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26415         multiarch ceilf for PPC64.
26417         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26418         multiarch implementation.
26419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26420         file.
26421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26422         file.
26423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26424         file.
26425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26426         multiarch llround for PPC64.
26427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26428         multiarch lround for PPC64.
26430         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26431         multiarch implementation.
26432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26435         file.
26436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26439         multiarch isnan for PPC64.
26440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26441         multiarch isnanf for PPC64.
26443         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26444         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26445         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26446         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26447         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26450         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26451         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26452         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26453         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26456         multiarch implementations.
26457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26458         (__libc_ifunc_impl_list): Likewise.
26459         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26460         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26461         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26462         multiarch stpcpy for PPC64.
26464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26465         multiarch implementations.
26466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26467         (__libc_ifunc_impl_list): Likewise.
26468         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26469         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26470         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26471         multiarch strcpy for PPC64.
26473         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26474         redefine function name.
26475         (_wordcopy_fwd_dest_aligned): Likewise.
26476         (_wordcopy_bwd_aligned): Likewise.
26477         (_wordcopy_bwd_dest_aligned): Likewise.
26478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26479         multiarch implementations.
26480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26481         (__libc_ifunc_impl_list): Likewise.
26482         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26483         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26484         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26485         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26486         multiarch wcscpy for PPC64.
26488         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26489         multiarch implementations.
26490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26491         (__libc_ifunc_impl_list): Likewise.
26492         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26493         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26494         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26495         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26496         multiarch wcscpy for PPC64.
26498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26499         multiarch implementations.
26500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26501         (__libc_ifunc_impl_list): Likewise.
26502         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26503         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26504         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26505         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26506         multiarch wcsrchr for PPC64.
26508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26509         multiarch implementations.
26510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26511         (__libc_ifunc_impl_list): Likewise.
26512         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26513         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26514         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26515         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26516         multiarch wcschr for PPC64.
26518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26519         multiarch implementations.
26520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26521         (__libc_ifunc_impl_list): Likewise.
26522         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26523         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26524         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26525         multiarch strchrnul for PPC64.
26527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26528         implementations.
26529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26530         (__libc_ifunc_impl_list): Likewise.
26531         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26532         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26533         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26534         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26535         strchr for PPC64.
26537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26538         implementations.
26539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26540         (__libc_ifunc_impl_list): Likewise.
26541         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26542         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26543         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26544         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26545         strncmp for PPC64.
26547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26548         multiarch implementations.
26549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26550         (__libc_ifunc_impl_list): Likewise.
26551         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26552         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26553         strncasecmp for PPC64.
26554         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26555         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26556         multiarch strncasecmp_l for PPC64.
26558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26559         multiarch implementations.
26560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26561         (__libc_ifunc_impl_list): Likewise.
26562         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26563         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26564         multiarch strcasecmp for PPC64.
26565         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26566         file.
26567         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26568         multiarch strcasecmp_l for PPC64.
26570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26571         implementations.
26572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26573         (__libc_ifunc_impl_list): Likewise.
26574         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26575         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26576         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26577         strnlen for PPC64.
26579         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26580         implementations.
26581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26582         (__libc_ifunc_impl_list): Likewise.
26583         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26584         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26585         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26586         strlen for PPC64.
26588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26589         implementations.
26590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26591         (__libc_ifunc_impl_list): Likewise.
26592         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26593         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26594         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26595         rawmemrchr for PPC64.
26597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26598         implementation.
26599         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26600         (__libc_ifunc_impl_list): Likewise.
26601         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26602         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26603         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26604         memrchr for PPC64.
26606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26607         implementation.
26608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26609         (__libc_ifunc_impl_list): Likewise.
26610         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26611         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26612         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26613         memchr for PPC64.
26615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26616         implementation.
26617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26618         (__libc_ifunc_impl_list): Likewise.
26619         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26620         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26621         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26622         mempcpy for PPC64.
26624         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26625         avoid cretion of __bzero symbol.
26626         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26627         Likewise.
26628         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26629         Likewise.
26630         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26631         Likewise.
26632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26633         multiarch implementations.
26634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26635         (__libc_ifunc_impl_list): Likewise.
26636         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26637         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26638         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26639         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26640         bzero for PPC32.
26641         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26642         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26643         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26644         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26645         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26646         memset for PPC64.
26647         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26649         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26651         implementations.
26652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26653         (__libc_ifunc_impl_list): Likewise.
26654         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26655         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26656         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26657         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26658         memcmp for PPC64.
26660         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26661         multiarch for POWER/PPC64.
26662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26663         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26664         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26665         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26666         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26667         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26668         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26669         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26670         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26671         memcpy for PPC64.
26673         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26674         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26675         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26676         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26677         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26678         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26679         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26680         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26681         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26682         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26683         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26684         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26685         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26686         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26687         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26696 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26698         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26700 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26702         * benchtests/Makefile (bench): Add exp2 and log2.
26703         (LDLIBS-bench-exp2): Add -lm.
26704         (LDLIBS-bench-log2): Likewise.
26705         * benchtests/exp2-inputs: New inputs file.
26706         * benchtests/log2-inputs: New inputs file.
26707         * benchtests/log-inputs: Add new inputs.
26708         * benchtests/tan-inputs: Likewise.
26710 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26712         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26713         definition...
26714         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26715         (csloww2): ... from here.
26717         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26718         instead of structures.
26719         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26720         (POLYNOMIAL): Likewise.
26721         (TAYLOR_SLOW): Likewise.
26722         (__sin): Likewise.
26723         (__cos): Likewise.
26724         (slow1): Likewise.
26725         (slow2): Likewise.
26726         (sloww): Likewise.
26727         (sloww1); Likewise.
26728         (sloww2): Likewise.
26729         (bsloww1): Likewise.
26730         (bsloww2): Likewise.
26731         (cslow2): Likewise.
26732         (csloww): Likewise.
26733         (csloww1): Likewise.
26734         (csloww2): Likewise.
26736 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26738         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26739         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26740         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26741         * malloc/hooks.c (realloc_check): Likewise.
26743         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26744         * malloc/arena.c: Remove PER_THREAD conditional.
26745         [!PER_THREAD]: Remove code.
26746         (ptmalloc_unlock_all2): Likewise.
26747         (ptmalloc_init): Likewise.
26748         (_int_new_arena): Likewise.
26749         (arena_get2): Likewise.
26750         * malloc/hooks.c (__malloc_get_state): Likewise.
26751         (__malloc_set_state): Likewise.
26752         * malloc/malloc.c: Likewise.
26753         (struct malloc_state): Likewise.
26754         (struct malloc_par): Likewise.
26755         (__libc_realloc): Likewise.
26756         (__libc_mallopt): Likewise.
26758 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26760         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26762 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26764         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26765         macro to a function.  Check for zero perturb_byte.
26766         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26768         * malloc/malloc.c: (force_reg): Remove.
26769         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26770         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26771         force_reg by atomic_forced_read.
26772         * malloc/arena.c (ptmalloc_init): Likewise.
26773         * malloc/hooks.c (top_check): Likewise.
26775 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26779 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
26781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26783 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
26785         * math/auto-libm-test-in: Add tests of lgamma.
26786         * math/auto-libm-test-out: Regenerated.
26787         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26788         (M_LOG_2_SQRT_PIl): Likewise.
26789         (lgamma_test_data): Use AUTO_TESTS_f_f1.
26790         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26791         mpfr_f_f1.
26792         (func_calc_desc): Add mpfr_f_f1 union field.
26793         (ARGS1): New macro.
26794         (ARGS2): Likewise.
26795         (ARGS3): Likewise.
26796         (ARGS4): Likewise.
26797         (RET1): Likewise.
26798         (RET2): Likewise.
26799         (CALC): Likewise.
26800         (FUNC): Likewise.
26801         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26802         (test_functions): Add lgamma.
26803         (calc_generic_results): Handle mpfr_f_f1.
26804         * sysdeps/i386/fpu/libm-test-ulps: Update.
26805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26807 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26809         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26810         __mpn_add_n for PowerPC64/POWER7.
26811         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26812         __mpn_sub_n for PowerPC64/POWER7.
26814         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26815         __mpn_addmul_1 for PowerPC64.
26816         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26817         __mpn_submul_1 for PowerPC64.
26818         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26819         for PowerPC64.
26820         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26821         for PowerPC64.
26823 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
26825         [BZ #15089]
26826         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26828 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26830         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26832         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26833         add multiarch folders.
26834         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26835         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26836         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26837         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26838         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26839         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26840         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26841         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26842         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26843         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26844         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26853         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26855         New file.
26856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26857         New file.
26858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26859         multiarch __ieee754_hypot for PowerPC32.
26860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26861         New file.
26862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26863         New file.
26864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26865         multiarch __ieee754_hypotf for PowerPC32.
26867         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26868         long_double_symbol only if __logbl is defined.
26869         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26870         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26871         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26872         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26873         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26874         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26875         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26876         path for implementation.
26877         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26878         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26880         logb, and logbl multiarch implementations for PowerPC32.
26881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26882         file.
26883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26884         file.
26885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26886         multiarch logb for PowerPC32.
26887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26888         file.
26889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26890         file.
26891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26892         multiarch logbf for PowerPC32.
26893         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26895         file.
26896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26897         multiarch logbl implementation for PowerPC32.
26899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26900         and modff multiarch implementations.
26901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26902         New file.
26903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26904         New file.
26905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26906         multiarch modf for PowerPC32.
26907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26908         New file.
26909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26910         New file.
26911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26912         multiarch modff for PowerPC32.
26914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26915         and lrintf multiarch implementations.
26916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26917         New file.
26918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26919         New file.
26920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26921         multiarch lrint for PowerPC32.
26922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26923         file: multiarch lrintf for PowerPC32.
26925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26926         and lroundf multiarch implementations.
26927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26928         New file.
26929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26930         New file.
26931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26932         New file.
26933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26934         multiarch lround for PowerPC32.
26935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26936         file: multiarch lroundf for PowerPC32.
26938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26939         copysign and copysignf multiarch implementations.
26940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26941         New file.
26942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26943         New file.
26944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26945         file: multiarch copysign for PowerPC32.
26946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26947         file: multiarch copysignf for PowerPC32.
26949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26950         and truncf multiarch implementations.
26951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26952         New file.
26953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26954         file.
26955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26956         multiarch trunc for PowerPC32.
26957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26958         New file.
26959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26960         New file.
26961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26962         multiarch truncf for PowerPC32.
26964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26965         and roundf multiarch implementations.
26966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26967         New file.
26968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26969         file.
26970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26971         multiarch round for PowerPC32.
26972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26973         New file.
26974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26975         New file.
26976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26977         multiarch roundf for PowerPC32.
26979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26980         and floorf multiarch implementations.
26981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26982         New file.
26983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26984         file.
26985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26986         multiarch floor for PowerPC32.
26987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26988         New file.
26989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26990         New file.
26991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26992         multiarch floorf for PowerPC32.
26994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26995         and ceilf multiarch implementations.
26996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26997         New file.
26998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26999         file.
27000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27001         multiarch ceil for PowerPC32.
27002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27003         New file.
27004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27005         file.
27006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27007         multiarch ceilf for PowerPC32.
27009         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27010         is defined.
27011         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27012         FINITEF is defined.
27013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27014         and finitef multiarch implementations.
27015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27016         New file.
27017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27018         file.
27019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27020         multiarch finite for PowerPC32.
27021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27022         New file.
27023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27024         file: multiarch finitef for PowerPC32.
27026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27027         and isinff multiarch implementations.
27028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27029         file.
27030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27031         file.
27032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27033         multiarch isinf for PowerPC32.
27034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27035         New file.
27036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27037         multiarch isinff for PowerPC32.
27039         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27040         alias when __isnan is defined.
27041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27042         and isnanf multiarch implementations.
27043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27044         file.
27045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27046         file.
27047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27048         file.
27049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27050         file.
27051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27052         multiarch isnan for PowerPC32.
27053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27054         New file.
27055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27056         New file.
27057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27058         multiarch isnanf for PowerPC32.
27060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27061         and sqrtf multiarch implementations.
27062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27063         file.
27064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27065         file.
27066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27067         multiarch sqrt for PowerPC32.
27068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27069         file.
27070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27071         file.
27072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27073         multiarch sqrtf for PowerPC32.
27075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27076         and llroundf multiarch implementations.
27077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27078         New file.
27079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27080         New file.
27081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27082         New file.
27083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27084         file: multiarch llround for PowerPC32.
27085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27086         file: multiarch llroundf for PowerPC32.
27088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27089         multiarch PowerPC32 fpu implementations.
27090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27091         New file.
27092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27093         New file.
27094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27095         multiarch llrint for PowerPC32.
27096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27097         New file.
27098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27099         New file.
27100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27101         file.
27103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27105         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27106         file.
27107         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27108         file.
27109         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27110         file.
27111         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27112         multiarch wordcopy for PPC32.
27113         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27114         wordcopy objects.
27115         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27116         (__libc_ifunc_impl_list): Likewise.
27117         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27118         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27119         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27120         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27121         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27122         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27124         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27126         file.
27127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27128         file.
27129         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27130         file.
27131         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27132         multiarch wcscpy for PPC32.
27133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27134         multiarch objects.
27135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27136         (__libc_ifunc_impl_list): Likewise.
27137         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27138         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27139         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27140         sysdeps/powerpc/power6/wcscpy.c.
27142         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27144         file.
27145         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27146         file.
27147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27148         file.
27149         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27150         multiarch wcsrchr for PPC32.
27151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27152         multiarch objects.
27153         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27154         (__libc_ifunc_impl_list): Likewise.
27155         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27156         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27157         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27158         sysdeps/powerpc/power6/wcsrchr.c.
27160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27161         file.
27162         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27163         file.
27164         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27165         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27166         multiarch wcschr for PPc32.
27167         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27168         multiarch objects.
27169         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27170         (__libc_ifunc_impl_list): Likewise.
27171         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27172         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27173         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27174         sysdeps/powerpc/power6/wcschr.c.
27176         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27177         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27178         file.
27179         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27180         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27181         file: multiarch strchr for PPC32.
27182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27183         multiarch objects.
27184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27185         (__libc_ifunc_impl_list): Likewise.
27187         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27188         name.
27189         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27190         file.
27191         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27192         file.
27193         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27194         multiarch strchrnul for PPC32.
27195         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27196         multiarch objects.
27197         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27198         (__libc_ifunc_impl_list): Likewise.
27200         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27201         file.
27202         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27203         multiarch strncasecmp for PPC32.
27204         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27205         file.
27206         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27207         multiarch strncasecmp_l for PPC32.
27208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27209         strncasecmp multiarch objects.
27210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27211         (__libc_ifunc_impl_list): Likewise.
27213         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27214         file.
27215         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27216         multiarch strncasecmp for PPC32.
27217         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27218         New file.
27219         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27220         multiarch strcasecmp_l for PPC32.
27221         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27222         multiarch objects.
27223         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27224         (__libc_ifunc_impl_list): Likewise.
27226         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27227         file.
27228         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27229         file.
27230         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27231         multiarch strncmp for PPC32.
27232         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27233         multiarch objects.
27234         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27235         (__libc_ifunc_impl_list): Likewise.
27237         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27238         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27239         file.
27240         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27241         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27243         multiarch objects.
27244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27245         (__libc_ifunc_impl_list): Likewise.
27247         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27248         file.
27249         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27250         file.
27251         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27252         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27253         multiarch objects.
27254         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27255         (__libc_ifunc_impl_list): Likewise.
27257         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27258         file.
27259         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27260         file.
27261         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27262         multiarch rawmemchr for PPC32.
27263         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27264         multiarch objects.
27265         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27266         (__libc_ifunc_impl_list): Likewise.
27268         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27269         file.
27270         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27271         file.
27272         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27273         file: memrchr multiarch for PPC32.
27274         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27275         multiarch objects.
27276         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27277         (__libc_ifunc_impl_list): Likewise.
27279         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27280         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27281         file.
27282         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27283         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27284         multiarch memchr for PPC32.
27285         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27286         multiarch objects.
27287         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27288         (__libc_ifunc_impl_list): Likewise.
27290         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27291         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27292         file.
27293         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27294         file.
27295         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27296         file: multiarch mempcpy for PPC32.
27297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27298         multiarch objects.
27299         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27300         (__libc_ifunc_impl_list): Likewise.
27302         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27303         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27304         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27305         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27306         multiarch bzero for PPC32.
27307         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27308         file.
27309         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27310         file.
27311         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27312         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27313         file: multiarch memset for PPC32.
27314         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27315         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27316         memset multiarch objects.
27317         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27318         (__libc_ifunc_impl_list): Likewise.
27320         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27321         file.
27322         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27323         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27324         memcmp for PPC32.
27325         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27327         multiarch objects.
27328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27329         (__libc_ifunc_impl_list): Likewise.
27331         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27332         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27333         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27334         file.
27335         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27336         file.
27337         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27338         file.
27339         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27340         multiarch memcpy for PPC32.
27341         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27342         multiarch objects.
27343         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27344         (__libc_ifunc_impl_list): Likewise.
27346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27347         support multiarch for POWER/PPC32.
27348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27349         Likewise.
27350         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27352         Implies file to make multiarch folder appers before the fpu and
27353         default folder for power4 configuration.
27355 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27357         * scripts/bench.pl: Append volatile keyword to type.
27359 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27361         * sysdeps/sh/sotruss-lib.c: New file.
27362         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27364 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27368 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27370         [BZ #6810]
27371         * math/w_tgamma.c: Include <errno.h>.
27372         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27373         * math/w_tgammaf.c: Include <errno.h>.
27374         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27375         * math/w_tgammal.c: Include <errno.h>.
27376         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27377         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27378         underflow.  Add more tgamma tests.
27379         * math/auto-libm-test-out: Regenerated.
27380         * sysdeps/i386/fpu/libm-test-ulps: Update.
27381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27383         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27384         sin, sinh, tan, tanh, tgamma, y0 and y1.
27385         * math/auto-libm-test-out: Regenerated.
27386         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27387         (TEST_COND_x86): Likewise.
27388         (M_E2l): Remove macro.
27389         (M_E3l): Likewise.
27390         (M_2_SQRT_PIl): Likewise.
27391         (M_SQRT_PIl): Likewise.
27392         (M_1_DIV_El): Likewise.
27393         (log_test_data): Use AUTO_TESTS_f_f.
27394         (log10_test_data): Likewise.
27395         (log1p_test_data): Likewise.
27396         (log2_test_data): Likewise.
27397         (sin_test_data): Likewise.
27398         (sin_tonearest_test_data): Likewise.
27399         (sin_towardzero_test_data): Likewise.
27400         (sin_downward_test_data): Likewise.
27401         (sin_upward_test_data): Likewise.
27402         (sinh_test_data): Likewise.
27403         (sinh_tonearest_test_data): Likewise.
27404         (sinh_towardzero_test_data): Likewise.
27405         (sinh_downward_test_data): Likewise.
27406         (sinh_upward_test_data): Likewise.
27407         (tan_test_data): Likewise.
27408         (tan_tonearest_test_data): Likewise.
27409         (tan_towardzero_test_data): Likewise.
27410         (tan_downward_test_data): Likewise.
27411         (tan_upward_test_data): Likewise.
27412         (tanh_test_data): Likewise.
27413         (tgamma_test_data): Likewise.
27414         (y0_test_data): Likewise.
27415         (y1_test_data): Likewise.
27416         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27417         (special_real_inputs): Add pi/4.
27418         * sysdeps/i386/fpu/libm-test-ulps: Update.
27419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27421 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27423         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27424         "longjmp_target" static probes.
27425         (__longjmp): Rename to __longjmp_symbol.
27426         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27427         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27428         on which longjmp to generate.
27429         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27430         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27431         probe.
27432         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27433         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27434         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27435         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27436         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27437         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27439         __longjmp_symbol based on which __longjmp to generate.
27440         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27441         probe.
27442         (setjmp): Rename to setjmp_symbol.
27443         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27444         (_setjmp): Rename to _setjmp_symbol.
27445         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27446         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27447         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27448         which setjmp to generate.
27449         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27450         "longjmp_target" static probes.
27452 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27454         * benchtests/README: Add note about output arguments.
27455         * benchtests/bench-sincos.c: Remove file.
27456         * benchtests/sincos-inputs: New file.
27457         * scripts/bench.pl: Identify output arguments and define
27458         static variables for them.
27460         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27462         [BZ #15941]
27463         * Makefile (INSTALL): Add install-plain.texi as the primary
27464         dependency.
27465         * manual/install-plain.texi: New file.
27466         * manual/install.texi: Include node directive only for
27467         non-plaintext output.
27469 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27471         * stdlib/longlong.h: Update from GCC.
27473         [BZ #6807]
27474         [BZ #15901]
27475         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27476         * math/w_j0f.c (y0f): Likewise.
27477         * math/w_j0l.c (__y0l): Likewise.
27478         * math/w_j1.c (y1): Likewise.
27479         * math/w_j1f.c (y1f): Likewise.
27480         * math/w_j1l.c (__y1l): Likewise
27481         * math/w_jn.c (yn): Likewise.
27482         * math/w_jnf.c (ynf): Likewise.
27483         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27484         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27485         value for Bessel function domain errors outside _SVID_ mode.
27486         Adjust sign of return value for yn (negative integer, 0).
27487         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27488         by zero in return for negative x and set sign appropriately for
27489         negative n.
27490         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27491         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27492         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27493         expectations in error cases.
27494         (y1_test_data): Likewise.
27495         (yn_test_data): Likewise.
27496         * sysdeps/i386/fpu/libm-test-ulps: Update.
27497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27499 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27501         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27502         "64" to "64-v1".  Add "64-v2".
27503         (abi-64-options): Rename to ...
27504         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27505         (abi-64-condition): Rename to ...
27506         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27507         (abi-64-ld-soname): Rename to ...
27508         (abi-64-v1-ld-soname): ... this.
27509         (abi-64-v2-options): Define.
27510         (abi-64-v2-condition): Likewise.
27511         (abi-64-v2-ld-soname): Likewise.
27512         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27513         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27518 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27519             Alan Modra  <amodra@gmail.com>
27521         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27522         New versions for use with the ELFv2 ABI.
27523         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27524         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27525         declaration.
27526         (struct La_ppc64v2_retval): Likewise.
27527         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27528         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27529         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27530         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27531         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27532         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27533         Do not save or restore CR.
27534         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27535         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27536         return values for ELFv2 ABI.  Fix location of FPR return registers.
27537         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27538         updated values for _CALL_ELF == 2.
27539         (La_regs, La_retval, int_retval): Likewise.
27541 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27543         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27544         (FRAME_MIN_SIZE_PARM): Likewise.
27545         (FRAME_BACKCHAIN): Likewise.
27546         (FRAME_CR_SAVE): Likewise.
27547         (FRAME_LR_SAVE): Likewise.
27548         (FRAME_TOC_SAVE): Likewise.
27549         (FRAME_PARM_SAVE): Likewise.
27550         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27551         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27552         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27553         (call_mcount_parm_offset): New macro.
27554         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27555         (PROF): Use symbolic stack frame offsets.
27556         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27557         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27558         Redefine in terms of FRAME_MIN_SIZE.
27559         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27560         (_dl_profile_resolve): Likewise.  Update comment.
27561         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27562         symbols stack frame offsets.
27563         (__sigsetjmp): Likewise.
27564         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27565         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27566         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27567         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27570         (FRAME_BACKCHAIN): Remove.
27571         (FRAME_CR_SAVE): Likewise.
27572         (FRAME_LR_SAVE): Likewise.
27573         (FRAME_COMPILER_DW): Likewise.
27574         (FRAME_LINKER_DW): Likewise.
27575         (FRAME_TOC_SAVE): Likewise.
27576         (FRAME_PARM_SAVE): Likewise.
27577         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27578         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27579         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27581         (CHECK_SP): Use symbolic stack frame offsets.
27582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27583         zone" instead of caller's parameter save area for temp storage.
27584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27585         Likewise.  Also, use symbolic stack frame offsets.
27586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27587         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27588         our own stack frame instead of the caller's.
27589         (__socket): Use symbolic stack frame offsets.
27591 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27592             Alan Modra  <amodra@gmail.com>
27594         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27595         Define.
27596         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27597         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27598         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27599         New function.
27600         (elf_machine_fixup_plt): Call it.
27601         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27602         reloc arguments.
27603         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27604         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27605         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27606         r2 before calling target.
27608 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27609             Alan Modra  <amodra@gmail.com>
27611         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27612         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27613         versions of macros to support ELFv2 ABI.
27614         (LOCALENTRY): New macro.
27615         (ENTRY, EALIGN): Use it.
27616         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27617         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27618         fall through into ENTRY entry point.
27619         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27620         Only define if _CALL_ELF != 2.
27622         (elf_machine_matches_host): Verify ABI version matches.
27623         (RTLD_START): Use LOCALENTRY.
27624         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27625         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27626         (PLT_ENTRY_WORDS): New macro.
27627         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27628         (elf_machine_runtime_setup): Support ELFv2 ABI.
27629         (elf_machine_fixup_plt): Likewise.
27630         (elf_machine_plt_conflict): Likewise.
27631         (resolve_ifunc): Likewise.
27632         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27633         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27634         Likewise.
27635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27636         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27638         (makecontext): Support ELFv2 ABI.
27639         * elf/elf.h (EF_PPC64_ABI): Define.
27641 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27643         * sysdeps/powerpc/powerpc64/sysdep.h
27644         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27645         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27646         (ENTRY) [ASSEMBLER]: ... but instead here ...
27647         (EALIGN) [ASSEMBLER]: ... and here.
27648         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27649         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27650         (ENTRY_2) [!ASSEMBLER]: Use it.
27651         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27652         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27653         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27654         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27655         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27657         Use PPC64_LOAD_FUNCPTR.
27659         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27661 2013-12-04  Alan Modra  <amodra@gmail.com>
27663         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27664         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27665         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27666         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27668         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27669         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27670         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27671         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27672         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27673         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27675 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27678         (__makecontext): Fix incorrect CFI when backtracing out of
27679         context created via makecontext.
27680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27681         (__setcontext): Fix incorrect CFI during switch to new context.
27682         (__novec_setcontext): Likewise.
27684 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27686         [BZ #4772]
27687         * time/strptime_l.c (__strptime_internal): Allow modifiers
27688         in strptime.
27689         * time/tst-strptime.c (day_tests): Add testcase.
27691 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27693         * scripts/bench.pl: Skip over blank lines.
27695 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27697         [BZ #926]
27698         * manual/time.texi (Calendar Time): Clarify what timezone functions
27699         use.
27701 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27705 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27707         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27708         implementation.
27709         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27710         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27711         * debug/memset_chk.c (__memset_chk): Likewise.
27712         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27713         * debug/strncpy_chk.c: Likewise.
27715 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27717         [BZ #15268]
27718         [BZ #15425]
27719         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27720         (__ieee754_exp): For possibly underflowing results, check size of
27721         result and force underflow exception if required.
27722         * math/auto-libm-test-in: Add more tests of exp.
27723         * math/auto-libm-test-out: Regenerated.
27724         * sysdeps/i386/fpu/libm-test-ulps: Update.
27725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27727         [BZ #16283]
27728         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27729         * math/w_exp2f.c (__exp2f): Likewise.
27730         * math/w_exp2l.c (__exp2l): Likewise.
27731         * math/auto-libm-test-in: Do not allow missing errno on exp2
27732         underflow.
27733         * math/auto-libm-test-out: Regenerated.
27735 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27737         [BZ #16274]
27738         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27739         handle filename validation.
27740         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27741         (do_open): Delete.
27743 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27745         [BZ #6786]
27746         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27747         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27748         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27749         <float.h>.
27750         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27751         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27752         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27753         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27754         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27755         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27756         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27757         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27758         Add more erfc tests.
27759         * math/auto-libm-test-out: Regenerated.
27760         * sysdeps/i386/fpu/libm-test-ulps: Update.
27761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27763         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27764         exp2, expm1, j0 and j1.
27765         * math/auto-libm-test-out: Regenerated.
27766         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27767         (erfc_test_data): Likewise.
27768         (exp_test_data): Likewise.
27769         (exp_tonearest_test_data): Likewise.
27770         (exp_towardzero_test_data): Likewise.
27771         (exp_downward_test_data): Likewise.
27772         (exp_upward_test_data): Likewise.
27773         (exp10_test_data): Likewise.
27774         (exp2_test_data): Likewise.
27775         (expm1_test_data): Likewise.
27776         (j0_test_data): Likewise.
27777         (j1_test_data): Likewise.
27778         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27779         (input_flag_type): Add flag_xfail_rounding.
27780         (input_flags): Add xfail-rounding.
27781         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27782         (output_for_one_input_case): Handle flag_xfail_rounding.
27783         * sysdeps/i386/fpu/libm-test-ulps: Update.
27784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27786 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
27788         [BZ #16289]
27789         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27790         division by 0.
27792 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27794         [BZ #16195]
27795         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27796         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27797         (STAP_PROBE0): New macro.
27798         (STAP_PROBE1): Likewise.
27799         (STAP_PROBE2): Likewise.
27800         (STAP_PROBE3): Likewise.
27801         (STAP_PROBE4): Likewise.
27803 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
27805         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27807 2013-12-02  Steve Ellcey  <sellcey@mips.com>
27809         * benchtests/Makefile (bench): Add sqrt.
27810         (LDLIBS-bench-sqrt): New.
27811         * benchtests/sqrt-input: New.
27813 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
27815         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27816         (GAIH_EAI): Likewise.
27817         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27818         (gaih_inet): Likewise.
27819         (getaddrinfo): Don't use GAIH_EAI.
27821         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27822         (struct gaih): Remove definition.
27824 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27826         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27827         Use HERRNOP directly.
27829 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27833 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
27835         * math/gen-auto-libm-tests.c (test_functions): Add more
27836         single-argument functions.
27837         (special_fill_pi_2): New function.
27838         (special_fill_minus_pi_2): Likewise.
27839         (special_fill_pi_6): Likewise.
27840         (special_fill_minus_pi_6): Likewise.
27841         (special_fill_pi_3): Likewise.
27842         (special_fill_2pi_3): Likewise.
27843         (special_fill_e): Likewise.
27844         (special_fill_1_e): Likewise.
27845         (special_fill_e_minus_1): Likewise.
27846         (special_real_inputs): Add more special inputs.
27847         (output_for_one_input_case): Do not require ERANGE on underflow to
27848         zero if round-to-nearest result does not underflow to zero, unless
27849         exact results required.
27850         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27851         atan, atanh, cbrt, cos and cosh.
27852         * math/auto-libm-test-out: Regenerated.
27853         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27854         (acos_tonearest_test_data): Likewise.
27855         (acos_towardzero_test_data): Likewise.
27856         (acos_downward_test_data): Likewise.
27857         (acos_upward_test_data): Likewise.
27858         (acosh_test_data): Likewise.
27859         (asin_test_data): Likewise.
27860         (asin_tonearest_test_data): Likewise.
27861         (asin_towardzero_test_data): Likewise.
27862         (asin_upward_test_data): Likewise.
27863         (asinh_test_data): Likewise.
27864         (atan_test_data): Likewise.
27865         (atanh_test_data): Likewise.
27866         (cbrt_test_data): Likewise.
27867         (cos_test_data): Likewise.
27868         (cos_tonearest_test_data): Likewise.
27869         (cos_towardzero_test_data): Likewise.
27870         (cos_downward_test_data): Likewise.
27871         (cos_upward_test_data): Likewise.
27872         (cosh_test_data): Likewise.
27873         (cosh_tonearest_test_data): Likewise.
27874         (cosh_towardzero_test_data): Likewise.
27875         (cosh_downward_test_data): Likewise.
27876         (cosh_upward_test_data): Likewise.
27877         * sysdeps/i386/fpu/libm-test-ulps: Update.
27878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27880 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27882         [BZ #6787]
27883         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27884         * math/w_exp10f.c (__exp10f): Likewise.
27885         * math/w_exp10l.c (__exp10l): Likewise.
27886         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27887         errno settings in existing tests.
27889         [BZ #14032]
27890         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27891         precision control set to double precision.
27892         * sysdeps/i386/fpu/w_sqrt.c: New file.
27893         * math/auto-libm-test-in: Add more tests.
27894         * math/auto-libm-test-out: Update.
27896         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27897         (sqrt_test_tonearest): New function.
27898         (sqrt_towardzero_test_data): New variable.
27899         (sqrt_test_towardzero): New function.
27900         (sqrt_downward_test_data): New variable.
27901         (sqrt_test_downward): New function.
27902         (sqrt_upward_test_data): New variable.
27903         (sqrt_test_upward): New function.
27904         (main): Call the new functions.
27906         * math/gen-auto-libm-tests.c: New file.
27907         * math/auto-libm-test-in: Likewise.
27908         * math/auto-libm-test-out: New generated file.
27909         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27910         variables.
27911         (%beautify): Add generated representations of zero.
27912         (top level): Set $auto_input and call parse_auto_input.
27913         (beautify): Remove trailing "f" from hex float constants.
27914         (parse_args): Handle XFAIL_TEST.
27915         (convert_condition): New function.
27916         (or_value): Likewise.
27917         (or_cond_value): Likewise.
27918         (generate_testfile): Handle AUTO_TESTS_* lines.
27919         (parse_auto_input): New function.
27920         * math/libm-test.inc (XFAIL_TEST): New macro.
27921         (ERRNO_UNCHANGED): Update value.
27922         (ERRNO_EDOM): Likewise.
27923         (ERRNO_ERANGE): Likewise.
27924         (IGNORE_RESULT): Likewise.
27925         (TEST_COND_flt_32): New macro.
27926         (TEST_COND_dbl_64): Likewise.
27927         (TEST_COND_ldbl_96_intel): Likewise.
27928         (TEST_COND_ldbl_96_m68k): Likewise.
27929         (TEST_COND_ldbl_128): Likewise.
27930         (TEST_COND_ldbl_128ibm): Likewise.
27931         (TEST_COND_long32): Likewise.
27932         (TEST_COND_long64): Likewise.
27933         (TEST_COND_before_rounding): Likewise.
27934         (TEST_COND_after_rounding): Likewise.
27935         (enable_test): Handle XFAIL_TEST flag.
27936         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27937         with finite results.
27938         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27939         auto-libm-test-out.
27941 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27942             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27944         [BZ #16214]
27945         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27946         __tls_get_addr_internal instead of __tls_get_offset in order to
27947         avoid GOT pointer dependency.  Make rtld export
27948         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27949         __tls_get_addr since we are a __tls_get_offset platform.
27950         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27951         GOT pointer being set up before.
27952         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27954 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27956         * manual/math.texi (Errors in Math Functions): Document accuracy
27957         goals.
27959         [BZ #15004]
27960         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27961         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27962         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27963         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27964         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27965         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27966         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27967         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27968         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27969         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27970         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27971         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27972         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27973         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27974         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27975         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27977         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27978         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27979         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27980         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27981         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27982         Likewise.
27983         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27984         Likewise.
27985         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27986         Likewise.
27987         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27988         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27989         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27990         atomic-feupdateenv and flt-rounds.
27991         * sysdeps/powerpc/nofpu/Versions (libc): Add
27992         __atomic_feholdexcept, __atomic_feclearexcept,
27993         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27994         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27995         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27996         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27997         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27998         here.
27999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28000         Update.
28002         * manual/arith.texi (FP Exceptions): Document that exceptions may
28003         not be raised when matherr is used.
28004         (Math Error Reporting): Document overflow in directed rounding
28005         modes.  Document that errno may not be set when finite values are
28006         returned on overflow.  Document intent to set errno on underflow
28007         only for underflow to zero.
28009         [BZ #16271]
28010         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28011         round-to-nearest then adjust result for other rounding modes.
28012         * include/fenv.h (fegetround): Use libm_hidden_proto.
28013         * math/fegetround.c (fegetround): Use libm_hidden_def.
28014         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28015         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28016         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28017         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28018         Likewise.
28019         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28020         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28021         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28022         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28024 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28026         [BZ #16077]
28027         * nss/Versions (libnss_files): Add
28028         _nss_files_gethostbyname3_r.
28029         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28030         New function.
28031         (HOST_DB_LOOKUP): Remove macro.
28032         (_nss_files_gethostbyname_r): Implement function without the
28033         HOST_DB_LOOKUP macro.
28034         (_nss_files_gethostbyname2_r): Likewise.
28036 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28038         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28040 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28042         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28043         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28044         warning.
28046 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28048         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28049         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28050         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28051         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28052         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28053         __fe_nomask_env_priv and attribute_hidden.
28054         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28055         (libc_feupdateenv_test_ppc): Likewise.
28056         (libc_feresetround_ppc): Likewise.
28057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28058         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28059         compat_symbol macro.
28060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28061         (__fe_nomask_env): Likewise.
28062         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28064 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28066         * string/Makefile: Remove ifunc tests.
28067         * string/test-string.h: Define TEST_IFUNC.
28068         * string/test-bcopy-ifunc.c: Remove.
28069         * string/test-bzero-ifunc.c: Likewise.
28070         * string/test-memccpy-ifunc.c: Likewise.
28071         * string/test-memchr-ifunc.c: Likewise.
28072         * string/test-memcmp-ifunc.c: Likewise.
28073         * string/test-memcpy-ifunc.c: Likewise.
28074         * string/test-memmem-ifunc.c: Likewise.
28075         * string/test-memmove-ifunc.c: Likewise.
28076         * string/test-mempcpy-ifunc.c: Likewise.
28077         * string/test-memrchr-ifunc.c: Likewise.
28078         * string/test-memset-ifunc.c: Likewise.
28079         * string/test-rawmemchr-ifunc.c: Likewise.
28080         * string/test-stpcpy-ifunc.c: Likewise.
28081         * string/test-stpncpy-ifunc.c: Likewise.
28082         * string/test-strcasecmp-ifunc.c: Likewise.
28083         * string/test-strcasestr-ifunc.c: Likewise.
28084         * string/test-strcat-ifunc.c: Likewise.
28085         * string/test-strchr-ifunc.c: Likewise.
28086         * string/test-strchrnul-ifunc.c: Likewise.
28087         * string/test-strcmp-ifunc.c: Likewise.
28088         * string/test-strcpy-ifunc.c: Likewise.
28089         * string/test-strcspn-ifunc.c: Likewise.
28090         * string/test-strlen-ifunc.c: Likewise.
28091         * string/test-strncasecmp-ifunc.c: Likewise.
28092         * string/test-strncat-ifunc.c: Likewise.
28093         * string/test-strncmp-ifunc.c: Likewise.
28094         * string/test-strncpy-ifunc.c: Likewise.
28095         * string/test-strnlen-ifunc.c: Likewise.
28096         * string/test-strpbrk-ifunc.c: Likewise.
28097         * string/test-strrchr-ifunc.c: Likewise.
28098         * string/test-strspn-ifunc.c: Likewise.
28099         * string/test-strstr-ifunc.c: Likewise.
28101 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28103         * benchtests/Makefile: Remove ifunc tests.
28104         * benchtests/bench-string.h: Define TEST_IFUNC.
28105         * benchtests/bench-bcopy-ifunc.c: Remove.
28106         * benchtests/bench-bzero-ifunc.c: Likewise.
28107         * benchtests/bench-memccpy-ifunc.c: Likewise.
28108         * benchtests/bench-memchr-ifunc.c: Likewise.
28109         * benchtests/bench-memcmp-ifunc.c: Likewise.
28110         * benchtests/bench-memcpy-ifunc.c: Likewise.
28111         * benchtests/bench-memmem-ifunc.c: Likewise.
28112         * benchtests/bench-memmove-ifunc.c: Likewise.
28113         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28114         * benchtests/bench-memrchr-ifunc.c: Likewise.
28115         * benchtests/bench-memset-ifunc.c: Likewise.
28116         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28117         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28118         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28119         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28120         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28121         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28122         * benchtests/bench-strcat-ifunc.c: Likewise.
28123         * benchtests/bench-strchr-ifunc.c: Likewise.
28124         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28125         * benchtests/bench-strcmp-ifunc.c: Likewise.
28126         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28127         * benchtests/bench-strcpy-ifunc.c: Likewise.
28128         * benchtests/bench-strcspn-ifunc.c: Likewise.
28129         * benchtests/bench-strlen-ifunc.c: Likewise.
28130         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28131         * benchtests/bench-strncat-ifunc.c: Likewise.
28132         * benchtests/bench-strncmp-ifunc.c: Likewise.
28133         * benchtests/bench-strncpy-ifunc.c: Likewise.
28134         * benchtests/bench-strnlen-ifunc.c: Likewise.
28135         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28136         * benchtests/bench-strrchr-ifunc.c: Likewise.
28137         * benchtests/bench-strsep-ifunc.c: Likewise.
28138         * benchtests/bench-strspn-ifunc.c: Likewise.
28139         * benchtests/bench-strstr-ifunc.c: Likewise.
28141 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28143         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28145 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28147         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28148         * rt/aio.h: Likewise.
28149         * sysdeps/gnu/bits/utmp.h: Likewise.
28150         * sysdeps/gnu/bits/utmpx.h: Likewise.
28151         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28152         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28153         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28154         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28155         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28156         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28157         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28158         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28159         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28160         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28161         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28162         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28163         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28165         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28166         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28167         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28168         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28169         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28170         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28171         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28172         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28173         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28174         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28175         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28176         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28177         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28178         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28179         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28180         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28181         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28182         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28183         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28184         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28185         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28186         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28187         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28188         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28189         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28190         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28191         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28192         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28194 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28196         [BZ #16245]
28197         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28198         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28200 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28202         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28203         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28204         Likewise.
28206 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28208         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28209         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28210         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28211         (__fesetround): Remove define.
28212         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28213         rounding and exceptions handling.
28214         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28215         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28216         (__fe_nomask_env): Likewise.
28217         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28218         __fegetround instead of fegetround.
28219         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28220         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28222 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28224         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28225         it's there.
28227         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28229 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28231         [BZ #11157]
28232         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28233         (encrypt_r): Likewise.
28234         * malloc/obstack.h (obstack_free): Likewise.
28235         * posix/unistd.h (encrypt): Likewise.
28237 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28239         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28240         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28241         DL_CALL_DT_FINI() that call the functions directly.
28242         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28243         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28244         * elf/dl-fini.c: Likewise.
28246 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28248         * malloc/hooks.c (memalign_check): Add alignment rounding.
28249         * malloc/malloc.c (_mid_memalign): New function.
28250         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28251         Implement by calling _mid_memalign.
28252         * manual/probes.texi (Memory Allocation Probes): Remove
28253         memory_valloc_retry and memory_pvalloc_retry.
28255 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28257         * locale/programs/locarchive.c (open_archive): Add const
28258         qualifier to ARCHIVEFNAME and copy default fname to
28259         DEFAULT_FNAME.
28261         [BZ #15601]
28262         * libio/tst-widetext.input: Rename Oriya to Odia.
28263         * locale/iso-639.def: Likewise.
28265         * manual/probes.texi (Mathematical Function Probes): Add
28266         documentation for sin, cos, asin and acos probes.
28267         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28268         (__sin32): Add slowasin probe.
28269         (__cos32): Add slowacos probe.
28270         (__mpsin): Add slowsin probe.
28271         (__mpcos): Add slowcos probe.
28273 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28275         [BZ #15483]
28276         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28277         thread-local __sim_exceptions_thread and global
28278         __sim_exceptions_global.
28279         (__sim_disabled_exceptions): Change to thread-local
28280         __sim_disabled_exceptions_thread and global
28281         __sim_disabled_exceptions_global.
28282         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28283         and global __sim_round_mode_global.
28284         (__simulate_exceptions): Use thread-local floating-point state and
28285         set global state from it as needed.
28286         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28287         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28288         __sim_round_mode_thread.
28289         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28290         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28291         and global __sim_exceptions_global.
28292         (__sim_disabled_exceptions): Change to thread-local
28293         __sim_disabled_exceptions_thread and global
28294         __sim_disabled_exceptions_global.
28295         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28296         and global __sim_round_mode_global.
28297         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28298         (SIM_SET_GLOBAL): Likewise.
28299         * sysdeps/powerpc/soft-fp/sfp-machine.h
28300         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28301         __sim_round_mode_thread.
28302         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28303         __sim_disabled_exceptions_thread.
28304         (__sim_exceptions): Change to __sim_exceptions_thread.
28305         (__sim_disabled_exceptions): Change to
28306         __sim_disabled_exceptions_thread.
28307         (__sim_round_mode): Change to __sim_round_mode_thread.
28308         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28309         thread-local floating-point state and set global state from it as
28310         needed.
28311         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28312         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28313         (__sim_disabled_exceptions): Remove extern declaration.
28314         (feenableexcept): Use thread-local floating-point state and set
28315         global state from it as needed.
28316         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28317         extern declaration.
28318         (__sim_disabled_exceptions): Likewise.
28319         (__sim_round_mode): Likewise.
28320         (__fegetenv): Use thread-local floating-point state.
28321         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28322         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28323         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28324         floating-point state and set global state from it as needed.
28325         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28326         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28327         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28328         Likewise.
28329         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28330         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28331         Likewise.
28332         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28333         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28334         Use __sim_round_mode_thread.
28335         * math/test-fenv-tls.c: New file.
28336         * math/Makefile (tests): Add test-fenv-tls.
28337         ($(objpfx)test-fenv-tls): Depend on
28338         $(common-objpfx)nptl/libpthread.so.
28340 2013-11-19  Andreas Schwab  <schwab@suse.de>
28342         * locale/programs/locale.c (show_info): Decode wordarray elements.
28343         * locale/categories.def (LC_MONETARY): Add element for
28344         _NL_MONETARY_CRNCYSTR.
28345         * locale/C-monetary.c (conversion_rate): New variable.
28346         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28347         element.
28349 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28351         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28352         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28354 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28356         * elf/Makefile (tst-auxv): New test.
28357         * elf/tst-auxv.c: New
28358         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28360 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28362         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28363         (hidden_proto): Caller changed.
28364         (hidden_tls_proto): New macro.
28365         (libc_hidden_tls_proto): Likewise.
28366         (rtld_hidden_tls_proto): Likewise.
28367         (libm_hidden_tls_proto): Likewise.
28368         (libresolv_hidden_tls_proto): Likewise.
28369         (librt_hidden_tls_proto): Likewise.
28370         (libdl_hidden_tls_proto): Likewise.
28371         (libnss_files_hidden_tls_proto): Likewise.
28372         (libnsl_hidden_tls_proto): Likewise.
28373         (libnss_nisplus_hidden_tls_proto): Likewise.
28374         (libutil_hidden_tls_proto): Likewise.
28376 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28378         [BZ #10253]
28379         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28380         (decompose_rpath): Defer expansion to fillin_rpath.
28381         (_dl_init_paths): Pass linkmap to fillin_rpath.
28383 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28385         * benchtests/Makefile: Add strsep.
28386         * benchtests/bench-strsep.c: New file: strsep benchtest.
28387         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28389 2013-11-18  Andreas Schwab  <schwab@suse.de>
28391         * locale/programs/locale.c (show_info) [case byte]: Check for
28392         '\377' instead of '\177'.
28393         * locale/C-monetary.c (not_available): Always use "\377".
28394         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28395         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28396         detect unavailable sign_posn locale elements.
28397         * locale/localeconv.c (__localeconv): For grouping and
28398         mon_grouping handle "\177" and "\377" like no grouping.
28399         (INT_ELEM): New macro.  Use it to set all numeric members.
28400         * locale/programs/ld-monetary.c (monetary_read)
28401         <tok_mon_grouping>: Normalize single -1 to the empty string.
28402         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28403         Likewise.
28405 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28407         [BZ #16055]
28408         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28409         when we match (nil).
28410         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28412 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28414         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28415         (NO_TEST_INLINE): Update value.
28416         (ERRNO_UNCHANGED): Likewise.
28417         (ERRNO_EDOM): Likewise.
28418         (ERRNO_ERANGE): Likewise.
28419         (IGNORE_RESULT): Likewise.
28420         (check_float_internal): Check signs of NaN results if
28421         TEST_NAN_SIGN used.
28422         (check_complex): Pass TEST_NAN_SIGN flag through to second
28423         check_float_internal call.
28424         (copysign_test_data): Add tests with quiet NaNs as second
28425         argument.  Use TEST_NAN_SIGN.
28426         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28427         TEST_NAN_SIGN.
28428         (signbit_test_data): Add tests of quiet NaN argument.
28429         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28431         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28432         $ignore_result.
28433         (parse_args): Handle function results specified as IGNORE.
28434         * math/libm-test.inc (IGNORE_RESULT): New macro.
28435         (check_float_internal): Do not check numerical result if flag
28436         IGNORE_RESULT set.
28437         (check_complex): Pass through IGNORE_RESULT to second
28438         check_float_internal call.
28439         (check_int): Do not check numerical result if flag IGNORE_RESULT
28440         set.
28441         (check_long): Likewise.
28442         (check_bool): Likewise.
28443         (check_longlong): Likewise.
28444         (lrint_test_data): Add tests of infinite and NaN arguments.
28445         (lrint_tonearest_test_data): Likewise.
28446         (lrint_towardzero_test_data): Likewise.
28447         (lrint_downward_test_data): Likewise.
28448         (lrint_upward_test_data): Likewise.
28449         (llrint_test_data): Likewise.
28450         (llrint_tonearest_test_data): Likewise.
28451         (llrint_towardzero_test_data): Likewise.
28452         (llrint_downward_test_data): Likewise.
28453         (llrint_upward_test_data): Likewise.
28454         (lround_test_data): Likewise.
28455         (llround_test_data): Likewise.
28457         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28458         (ERRNO_UNCHANGED): Update value.
28459         (ERRNO_EDOM): Likewise.
28460         (ERRNO_ERANGE): Likewise.
28461         (NO_TEST_INLINE_FLOAT): New macro.
28462         (NO_TEST_INLINE_DOUBLE): Likewise.
28463         (enable_test): New function.
28464         (RUN_TEST_f_f): Check enable_test before running test.
28465         (RUN_TEST_2_f): Likewise.
28466         (RUN_TEST_fff_f): Likewise.
28467         (RUN_TEST_c_f): Likewise.
28468         (RUN_TEST_f_f1): Likewise.
28469         (RUN_TEST_fF_f1): Likewise.
28470         (RUN_TEST_fI_f1): Likewise.
28471         (RUN_TEST_ffI_f1): Likewise.
28472         (RUN_TEST_c_c): Likewise.
28473         (RUN_TEST_cc_c): Likewise.
28474         (RUN_TEST_f_i): Likewise.
28475         (RUN_TEST_f_i_tg): Likewise.
28476         (RUN_TEST_ff_i_tg): Likewise.
28477         (RUN_TEST_f_b): Likewise.
28478         (RUN_TEST_f_b_tg): Likewise.
28479         (RUN_TEST_f_l): Likewise.
28480         (RUN_TEST_f_L): Likewise.
28481         (RUN_TEST_fFF_11): Likewise.
28482         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28483         conditionals.
28484         (cosh_test_data): Likewise.
28485         (exp_test_data): Likewise.
28486         (expm1_test_data): Likewise.
28487         (hypot_test_data): Likewise.
28488         (pow_test_data): Likewise.
28489         (sinh_test_data): Likewise.
28490         (tanh_test_data): Likewise.
28491         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28492         flags argument.
28494         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28495         tests with quiet NaN input and output.
28496         (acosh_test_data): Likewise.
28497         (asin_test_data): Likewise.
28498         (asinh_test_data): Likewise.
28499         (atan_test_data): Likewise.
28500         (atanh_test_data): Likewise.
28501         (atan2_test_data): Likewise.
28502         (cbrt_test_data): Likewise.
28503         (cos_test_data): Likewise.
28504         (cosh_test_data): Likewise.
28505         (erf_test_data): Likewise.
28506         (erfc_test_data): Likewise.
28507         (exp_test_data): Likewise.
28508         (exp10_test_data): Likewise.
28509         (exp2_test_data): Likewise.
28510         (expm1_test_data): Likewise.
28511         (hypot_test_data): Likewise.
28512         (j0_test_data): Likewise.
28513         (j1_test_data): Likewise.
28514         (jn_test_data): Likewise.
28515         (lgamma_test_data): Likewise.
28516         (log_test_data): Likewise.
28517         (log10_test_data): Likewise.
28518         (log1p_test_data): Likewise.
28519         (log2_test_data): Likewise.
28520         (pow_test_data): Likewise.
28521         (scalb_test_data): Likewise.
28522         (sin_test_data): Likewise.
28523         (sincos_test_data): Likewise.
28524         (sinh_test_data): Likewise.
28525         (tan_test_data): Likewise.
28526         (tanh_test_data): Likewise.
28527         (tgamma_test_data): Likewise.
28528         (y0_test_data): Likewise.
28529         (y1_test_data): Likewise.
28530         (yn_test_data): Likewise.
28532         [BZ #16167]
28533         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28534         argument being NaN and avoid computations with second argument in
28535         that case.
28536         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28537         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28538         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28540 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28542         * locale/iso-639.def: Add Chitwani Tharu (the).
28544 2013-11-14  Andreas Schwab  <schwab@suse.de>
28546         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28547         word instead of empty string.
28549 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28552         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28554         (__fe_nomask_env): Likewise.
28556 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28558         * benchtests/bench-timing.h: Include time.h.
28560 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28562         [BZ #15997]
28563         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28564         to 3.4.0 for x32.
28565         * sysdeps/unix/sysv/linux/configure: Regenerated.
28567 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28569         [BZ #16151]
28570         * stdlib/strtod_l.c (round_and_return): Do not consider
28571         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28572         exponent one less than half the least subnormal exponent.
28573         * stdlib/test-strtod-round-data: Add more tests.
28574         * stdlib/tst-strtod-round.c (tests): Regenerated.
28576 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28578         [BZ #14143]
28579         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28580         (__fe_mask_env): Likewise.
28581         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28582         libm_hidden_proto and add function prototype.
28583         (__fe_mask_env): Add function prototype.
28584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28585         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28587         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28589         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28591 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28593         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28594         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28596 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28598         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28599         of htab_find_slot().
28601 2013-11-11  David S. Miller  <davem@davemloft.net>
28603         [BZ #16150]
28604         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28605         symbol in the non-vis3 case in static builds.
28606         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28607         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28608         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28609         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28611 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28613         [BZ #387]
28614         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28615         it is empty.
28617 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28619         * benchtests/Makefile: Add bench-strtod.
28620         * benchtests/bench-strtod.c: New file: strtod benchtest
28622 2013-11-11  Andreas Schwab  <schwab@suse.de>
28624         [BZ #16153]
28625         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28626         terminating NUL in key length.
28628 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28630         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28631         Add artificial ODP entry for vDSO symbol for PPC64.
28632         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28633         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28635 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28637         [BZ #15374]
28638         * nss/getent.c (services_keys): Recognize services starting with digit.
28640 2013-11-06  David S. Miller  <davem@davemloft.net>
28642         [BZ #15985]
28643         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28644         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28646 2013-11-06  Will Newton  <will.newton@linaro.org>
28648         * manual/memory.texi (Malloc Examples): Remove register
28649         keyword from examples.
28651 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28653         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28655 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28657         [BZ #6981]
28658         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28659         depending on [__GCC_IEC_559 > 0].
28660         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28661         depending on [__GCC_IEC_559_COMPLEX > 0].
28663 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28665         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28666         to iso-639.def.
28668 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28670         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28672 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28674         [BZ #16112]
28675         * malloc/malloc (malloc_info): Do not handle first bin as
28676         special case.
28678 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28680         * locale/iso-639.def: Add Central Nahuatl (nhn).
28682 2013-11-01  Bruno Haible  <bruno@clisp.org>
28684         [BZ #7003]
28685         * manual/math.texi (BSD Random): Specify range upper bound as
28686         in POSIX.
28688 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28690         * locale/iso-639.def: Add Meadow Mari (mhr).
28692 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28694         [BZ #14752], [BZ #15763]
28695         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28696         Validate name.
28697         * rt/tst_shm.c: Add test for escaping directory.
28699 2013-10-31  Andreas Schwab  <schwab@suse.de>
28701         [BZ #15917]
28702         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28703         followed by 'x' as part of digit sequence.
28704         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28706 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28708         [BZ #16037]
28709         * configure.ac: allow GNU Make 4.0 and greater.
28710         * configure: Regenerated.
28712 2013-10-30  Will Newton  <will.newton@linaro.org>
28714         [BZ #16038]
28715         * malloc/hooks.c (memalign_check): Limit alignment to the
28716         maximum representable power of two.
28717         * malloc/malloc.c (__libc_memalign): Likewise.
28718         * malloc/tst-memalign.c (do_test): Add test for very
28719         large alignment values.
28720         * malloc/tst-posix_memalign.c (do_test): Likewise.
28722 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28724         [BZ #11087]
28725         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28726         (munmap_chunk): Likewise.
28727         (mremap_chunk): Likewise.
28729 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28731         [BZ #15799]
28732         * stdlib/div.c (div): Remove obsolete code.
28733         * stdlib/ldiv.c (ldiv): Likewise.
28734         * stdlib/lldiv.c (lldiv): Likewise.
28736 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28738         [BZ #16071]
28739         * nss/nss_files/files-XXX.c (get_contents_ret): New
28740         enumerator.
28741         (get_contents): New function.
28742         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28744 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28746         * configure.in: Moved to ...
28747         * configure.ac: ... here. Change reference to configure.in
28748         to configure.ac.
28749         * sysdeps/arm/preconfigure.ac: ... here.
28750         configure.in to configure.ac.
28751         * sysdeps/gnu/configure.in: Moved to ...
28752         * sysdeps/gnu/configure.ac: ... here.
28753         * sysdeps/i386/configure.in: Moved to ...
28754         * sysdeps/i386/configure.ac: ... here.
28755         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28756         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28757         * sysdeps/mach/configure.in: Moved to ...
28758         * sysdeps/mach/configure.ac: ... here.
28759         * sysdeps/mach/hurd/configure.in: Moved to ...
28760         * sysdeps/mach/hurd/configure.ac: ... here.
28761         * sysdeps/powerpc/configure.in: Moved to ...
28762         * sysdeps/powerpc/configure.ac: ... here.
28763         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28764         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28765         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28766         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28767         * sysdeps/s390/s390-32/configure.in: Moved to ...
28768         * sysdeps/s390/s390-32/configure.ac: ... here.
28769         * sysdeps/s390/s390-64/configure.in: Moved to ...
28770         * sysdeps/s390/s390-64/configure.ac: ... here.
28771         * sysdeps/sh/configure.in: Moved to ...
28772         * sysdeps/sh/configure.ac: ... here.
28773         * sysdeps/sparc/configure.in: Moved to ...
28774         * sysdeps/sparc/configure.ac: ... here.
28775         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28776         * sysdeps/unix/sysv/linux/configure.ac: ... here.
28777         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28778         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28779         * sysdeps/x86_64/configure.in: Moved to ...
28780         * sysdeps/x86_64/configure.ac: ... here.
28781         * sysdeps/x86_64/preconfigure.in: Moved to ...
28782         * sysdeps/x86_64/preconfigure.ac: ... here.
28783         * aclocal.m4: Change reference to configure.in to configure.ac.
28784         * config.h.in: Likewise.
28785         * manual/install.texi: Likewise.
28786         * manual/maint.texi: Likewise.
28787         * Makefile: Likewise.
28788         * malloc/Makefile: Likewise.
28789         * nscd/Makefile: Likewise.
28790         * Makeconfig: Change reference to configure.in and
28791         preconfigure.in to configure.ac and preconfigure.ac
28792         respectively.
28793         * INSTALL: Regenerated.
28794         * configure: Likewise.
28795         * sysdeps/gnu/configure: Likewise.
28796         * sysdeps/i386/configure: Likewise.
28797         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28798         * sysdeps/mach/configure: Likewise.
28799         * sysdeps/mach/hurd/configure: Likewise.
28800         * sysdeps/powerpc/configure: Likewise.
28801         * sysdeps/powerpc/powerpc32/configure: Likewise.
28802         * sysdeps/powerpc/powerpc64/configure: Likewise.
28803         * sysdeps/s390/s390-32/configure: Likewise.
28804         * sysdeps/s390/s390-64/configure: Likewise.
28805         * sysdeps/sh/configure: Likewise.
28806         * sysdeps/sparc/configure: Likewise.
28807         * sysdeps/unix/sysv/linux/configure: Likewise.
28808         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28809         * sysdeps/x86_64/configure: Likewise.
28810         * sysdeps/x86_64/preconfigure: Likewise.
28812 2013-10-29  Andreas Schwab  <schwab@suse.de>
28814         * stdio-common/Makefile (tst-swscanf-ENV): Define.
28816 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28818         * benchtests/pow-inputs: Add new inputs.
28820         * benchtests/exp-inputs: Add new inputs.
28822         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28823         conditional check for return value.
28824         (__cos32): Likewise.
28826 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28828         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28829         to provide a boost for large inputs with word alignment.
28830         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28831         implementation based on optimized PPC64 strcpy.
28832         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28833         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28834         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28835         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28837 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28839         [BZ #2801]
28840         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28842 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28844         [BZ #14876]
28845         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28846         * time/tst-strptime.c (day_tests): Add testcase.
28848 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28850         [BZ #14029]
28851         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28853 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28855         [BZ #16074]
28856         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28857         MAP_FAILED on error.
28859 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28861         [BZ #16072]
28862         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28863         heap for large requests.
28865 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28867         [BZ #9954]
28868         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28869         result if the result has no associated interface.
28870         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28871         interface for all 127.X.Y.Z addresses.
28873 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28875         * locale/iso-639.def: Add Ligurian (lij)
28877 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28879         [BZ #15825]
28880         * sunrpc/rpc_main.c: Document rpcgen -5.
28882 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28884         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28886 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28888         [BZ #10278]
28889         * posix/glob.c: Match only directories when trailing slash is present.
28890         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28891         (main): Add testcase.
28893 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28895         [BZ #15670]
28896         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28898 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28900         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28901         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28902         AUTH_DES and cindex for FIPS 140-2.
28903         (DES Encryption): Add cindex FIPS 46-3.
28905         * locale/locarchive.h (struct locarhandle): Add fname.
28906         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28907         if an optional argument was specified to --list-archive,
28908         otherwise NULL.
28909         * locale/programs/locarchive.c (show_archive_content): Take new
28910         argument fname and pass it via ah.fname to open_archive.
28911         * locale/programs/localedef.h: Update decl.
28912         (open_archive): If AH->fname is non-null, open that file
28913         rather than the default file name, and don't ignore ENOENT.
28914         (create_archive): Set AH.fname to NULL.
28915         (delete_locales_from_archive): Likewise.
28916         (add_locales_to_archive): Likewise.
28917         * locale/programs/locfile.c (write_all_categories): Likewise.
28919 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28920             Aldy Hernandez  <aldyh@redhat.com>
28922         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28923         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28924         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28925         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28926         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28927         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28928         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28929         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28930         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28931         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28932         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28933         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28934         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28935         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28936         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28937         Likewise.
28938         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28939         Likewise.
28940         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28941         Likewise.
28942         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28943         Likewise.
28944         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28945         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28946         Likewise.
28947         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28948         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28949         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28950         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28951         Likewise.
28952         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28953         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28954         * sysdeps/powerpc/preconfigure: Likewise.
28955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28956         Likewise.
28957         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28958         Replace contents of file by #include of <fenv_libc.h>.
28959         * sysdeps/powerpc/soft-fp/sfp-machine.h
28960         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28961         and <sys/prctl.h>.
28962         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28963         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28964         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28965         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28966         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28967         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28968         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28969         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28970         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28971         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28972         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28973         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28975         Allow copysignl PLT reference to be missing.
28977 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28978             Joseph Myers  <joseph@codesourcery.com
28980         [BZ #15948]
28981         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28982         single character.
28983         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28985 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28987         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28988         * elf/tst-tls1.c: Likewise.
28989         * elf/tst-tls10.h: Likewise.
28990         * elf/tst-tls14.c: Likewise.
28991         * elf/tst-tls2.c: Likewise.
28992         * elf/tst-tls3.c: Likewise.
28993         * elf/tst-tls4.c: Likewise.
28994         * elf/tst-tls5.c: Likewise.
28995         * elf/tst-tls6.c: Likewise.
28996         * elf/tst-tls7.c: Likewise.
28997         * elf/tst-tls8.c: Likewise.
28998         * elf/tst-tls9.c: Likewise.
28999         * elf/tst-tlsmod1.c: Likewise.
29000         * elf/tst-tlsmod13.c: Likewise.
29001         * elf/tst-tlsmod13a.c: Likewise.
29002         * elf/tst-tlsmod14a.c: Likewise.
29003         * elf/tst-tlsmod16a.c: Likewise.
29004         * elf/tst-tlsmod16b.c: Likewise.
29005         * elf/tst-tlsmod2.c: Likewise.
29006         * elf/tst-tlsmod3.c: Likewise.
29007         * elf/tst-tlsmod4.c: Likewise.
29008         * elf/tst-tlsmod5.c: Likewise.
29009         * elf/tst-tlsmod6.c: Likewise.
29011 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29013         [BZ #12486]
29014         * malloc/malloc.c: remove checks for statistics.
29016 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29018         [BZ #15277]
29019         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29020         * inet/tst-network.c: Add testcase.
29022 2013-10-17  Andreas Schwab  <schwab@suse.de>
29024         [BZ #15218]
29025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29026         to determine canonical name.
29028 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29030         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29031         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29032         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29033         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29034         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29035         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29036         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29037         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29038         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29039         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29040         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29041         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29042         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29043         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29044         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29045         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29046         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29047         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29048         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29049         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29050         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29051         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29052         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29053         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29054         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29055         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29056         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29057         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29058         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29059         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29060         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29061         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29062         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29063         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29064         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29065         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29066         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29067         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29068         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29069         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29070         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29071         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29072         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29073         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29074         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29075         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29076         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29077         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29078         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29079         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29080         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29081         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29082         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29083         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29084         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29085         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29086         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29087         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29089 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29091         [BZ #16041]
29092         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29093         make result into a quiet NaN.
29095 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29097         * soft-fp/adddf3.c: Fix horizontal whitespace.
29098         * soft-fp/addsf3.c: Likewise.
29099         * soft-fp/addtf3.c: Likewise.
29100         * soft-fp/divdf3.c: Likewise.
29101         * soft-fp/divsf3.c: Likewise.
29102         * soft-fp/divtf3.c: Likewise.
29103         * soft-fp/double.h: Likewise.
29104         * soft-fp/eqdf2.c: Likewise.
29105         * soft-fp/eqsf2.c: Likewise.
29106         * soft-fp/eqtf2.c: Likewise.
29107         * soft-fp/extenddftf2.c: Likewise.
29108         * soft-fp/extended.h: Likewise.
29109         * soft-fp/extendsfdf2.c: Likewise.
29110         * soft-fp/extendsftf2.c: Likewise.
29111         * soft-fp/extendxftf2.c: Likewise.
29112         * soft-fp/fixdfdi.c: Likewise.
29113         * soft-fp/fixdfsi.c: Likewise.
29114         * soft-fp/fixdfti.c: Likewise.
29115         * soft-fp/fixsfdi.c: Likewise.
29116         * soft-fp/fixsfsi.c: Likewise.
29117         * soft-fp/fixsfti.c: Likewise.
29118         * soft-fp/fixtfdi.c: Likewise.
29119         * soft-fp/fixtfsi.c: Likewise.
29120         * soft-fp/fixtfti.c: Likewise.
29121         * soft-fp/fixunsdfdi.c: Likewise.
29122         * soft-fp/fixunsdfsi.c: Likewise.
29123         * soft-fp/fixunsdfti.c: Likewise.
29124         * soft-fp/fixunssfdi.c: Likewise.
29125         * soft-fp/fixunssfsi.c: Likewise.
29126         * soft-fp/fixunssfti.c: Likewise.
29127         * soft-fp/fixunstfdi.c: Likewise.
29128         * soft-fp/fixunstfsi.c: Likewise.
29129         * soft-fp/fixunstfti.c: Likewise.
29130         * soft-fp/floatdidf.c: Likewise.
29131         * soft-fp/floatdisf.c: Likewise.
29132         * soft-fp/floatditf.c: Likewise.
29133         * soft-fp/floatsidf.c: Likewise.
29134         * soft-fp/floatsisf.c: Likewise.
29135         * soft-fp/floatsitf.c: Likewise.
29136         * soft-fp/floattidf.c: Likewise.
29137         * soft-fp/floattisf.c: Likewise.
29138         * soft-fp/floattitf.c: Likewise.
29139         * soft-fp/floatundidf.c: Likewise.
29140         * soft-fp/floatundisf.c: Likewise.
29141         * soft-fp/floatunditf.c: Likewise.
29142         * soft-fp/floatunsidf.c: Likewise.
29143         * soft-fp/floatunsisf.c: Likewise.
29144         * soft-fp/floatunsitf.c: Likewise.
29145         * soft-fp/floatuntidf.c: Likewise.
29146         * soft-fp/floatuntisf.c: Likewise.
29147         * soft-fp/floatuntitf.c: Likewise.
29148         * soft-fp/fmadf4.c: Likewise.
29149         * soft-fp/fmasf4.c: Likewise.
29150         * soft-fp/fmatf4.c: Likewise.
29151         * soft-fp/gedf2.c: Likewise.
29152         * soft-fp/gesf2.c: Likewise.
29153         * soft-fp/getf2.c: Likewise.
29154         * soft-fp/ledf2.c: Likewise.
29155         * soft-fp/lesf2.c: Likewise.
29156         * soft-fp/letf2.c: Likewise.
29157         * soft-fp/muldf3.c: Likewise.
29158         * soft-fp/mulsf3.c: Likewise.
29159         * soft-fp/multf3.c: Likewise.
29160         * soft-fp/negdf2.c: Likewise.
29161         * soft-fp/negsf2.c: Likewise.
29162         * soft-fp/negtf2.c: Likewise.
29163         * soft-fp/op-1.h: Likewise.
29164         * soft-fp/op-2.h: Likewise.
29165         * soft-fp/op-4.h: Likewise.
29166         * soft-fp/op-8.h: Likewise.
29167         * soft-fp/op-common.h: Likewise.
29168         * soft-fp/quad.h: Likewise.
29169         * soft-fp/single.h: Likewise.
29170         * soft-fp/soft-fp.h: Likewise.
29171         * soft-fp/sqrtdf2.c: Likewise.
29172         * soft-fp/sqrtsf2.c: Likewise.
29173         * soft-fp/sqrttf2.c: Likewise.
29174         * soft-fp/subdf3.c: Likewise.
29175         * soft-fp/subsf3.c: Likewise.
29176         * soft-fp/subtf3.c: Likewise.
29177         * soft-fp/truncdfsf2.c: Likewise.
29178         * soft-fp/trunctfdf2.c: Likewise.
29179         * soft-fp/trunctfsf2.c: Likewise.
29180         * soft-fp/trunctfxf2.c: Likewise.
29181         * soft-fp/unorddf2.c: Likewise.
29182         * soft-fp/unordsf2.c: Likewise.
29183         * soft-fp/unordtf2.c: Likewise.
29185 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29187         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29188         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29190 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29192         * elf/dl-libc.c: Clear initfini list after freeing.
29194 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29196         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29197         * soft-fp/addsf3.c: Likewise.
29198         * soft-fp/addtf3.c: Likewise.
29199         * soft-fp/divdf3.c: Likewise.
29200         * soft-fp/divsf3.c: Likewise.
29201         * soft-fp/divtf3.c: Likewise.
29202         * soft-fp/double.h: Likewise.
29203         * soft-fp/eqdf2.c: Likewise.
29204         * soft-fp/eqsf2.c: Likewise.
29205         * soft-fp/eqtf2.c: Likewise.
29206         * soft-fp/extenddftf2.c: Likewise.
29207         * soft-fp/extended.h: Likewise.
29208         * soft-fp/extendsfdf2.c: Likewise.
29209         * soft-fp/extendsftf2.c: Likewise.
29210         * soft-fp/extendxftf2.c: Likewise.
29211         * soft-fp/fixdfdi.c: Likewise.
29212         * soft-fp/fixdfsi.c: Likewise.
29213         * soft-fp/fixdfti.c: Likewise.
29214         * soft-fp/fixsfdi.c: Likewise.
29215         * soft-fp/fixsfsi.c: Likewise.
29216         * soft-fp/fixsfti.c: Likewise.
29217         * soft-fp/fixtfdi.c: Likewise.
29218         * soft-fp/fixtfsi.c: Likewise.
29219         * soft-fp/fixtfti.c: Likewise.
29220         * soft-fp/fixunsdfdi.c: Likewise.
29221         * soft-fp/fixunsdfsi.c: Likewise.
29222         * soft-fp/fixunsdfti.c: Likewise.
29223         * soft-fp/fixunssfdi.c: Likewise.
29224         * soft-fp/fixunssfsi.c: Likewise.
29225         * soft-fp/fixunssfti.c: Likewise.
29226         * soft-fp/fixunstfdi.c: Likewise.
29227         * soft-fp/fixunstfsi.c: Likewise.
29228         * soft-fp/fixunstfti.c: Likewise.
29229         * soft-fp/floatdidf.c: Likewise.
29230         * soft-fp/floatdisf.c: Likewise.
29231         * soft-fp/floatditf.c: Likewise.
29232         * soft-fp/floatsidf.c: Likewise.
29233         * soft-fp/floatsisf.c: Likewise.
29234         * soft-fp/floatsitf.c: Likewise.
29235         * soft-fp/floattidf.c: Likewise.
29236         * soft-fp/floattisf.c: Likewise.
29237         * soft-fp/floattitf.c: Likewise.
29238         * soft-fp/floatundidf.c: Likewise.
29239         * soft-fp/floatundisf.c: Likewise.
29240         * soft-fp/floatunsidf.c: Likewise.
29241         * soft-fp/floatunsisf.c: Likewise.
29242         * soft-fp/floatuntidf.c: Likewise.
29243         * soft-fp/floatuntisf.c: Likewise.
29244         * soft-fp/floatuntitf.c: Likewise.
29245         * soft-fp/fmadf4.c: Likewise.
29246         * soft-fp/fmasf4.c: Likewise.
29247         * soft-fp/fmatf4.c: Likewise.
29248         * soft-fp/gedf2.c: Likewise.
29249         * soft-fp/gesf2.c: Likewise.
29250         * soft-fp/getf2.c: Likewise.
29251         * soft-fp/ledf2.c: Likewise.
29252         * soft-fp/lesf2.c: Likewise.
29253         * soft-fp/letf2.c: Likewise.
29254         * soft-fp/muldf3.c: Likewise.
29255         * soft-fp/mulsf3.c: Likewise.
29256         * soft-fp/multf3.c: Likewise.
29257         * soft-fp/negdf2.c: Likewise.
29258         * soft-fp/negsf2.c: Likewise.
29259         * soft-fp/negtf2.c: Likewise.
29260         * soft-fp/op-1.h: Likewise.
29261         * soft-fp/op-2.h: Likewise.
29262         * soft-fp/op-4.h: Likewise.
29263         * soft-fp/op-8.h: Likewise.
29264         * soft-fp/op-common.h: Likewise.
29265         * soft-fp/quad.h: Likewise.
29266         * soft-fp/single.h: Likewise.
29267         * soft-fp/soft-fp.h: Likewise.
29268         * soft-fp/sqrtdf2.c: Likewise.
29269         * soft-fp/sqrtsf2.c: Likewise.
29270         * soft-fp/sqrttf2.c: Likewise.
29271         * soft-fp/subdf3.c: Likewise.
29272         * soft-fp/subsf3.c: Likewise.
29273         * soft-fp/subtf3.c: Likewise.
29274         * soft-fp/truncdfsf2.c: Likewise.
29275         * soft-fp/trunctfdf2.c: Likewise.
29276         * soft-fp/trunctfsf2.c: Likewise.
29277         * soft-fp/trunctfxf2.c: Likewise.
29278         * soft-fp/unorddf2.c: Likewise.
29279         * soft-fp/unordsf2.c: Likewise.
29280         * soft-fp/unordtf2.c: Likewise.
29282 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29284         [BZ #15672]
29285         * misc/error.c (error_tail): Fix possible buffer overflow.
29287 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29289         [BZ #13028]
29290         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29291         address.
29293 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29295         [BZ #832]
29296         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29297         testing pipefail option.
29299 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29301         * soft-fp/double.h: Indent preprocessor directives inside #if.
29302         * soft-fp/extended.h: Likewise.
29303         * soft-fp/op-2.h: Likewise.
29304         * soft-fp/op-4.h: Likewise.
29305         * soft-fp/op-common.h: Likewise.
29306         * soft-fp/quad.h: Likewise.
29307         * soft-fp/single.h: Likewise.
29308         * soft-fp/soft-fp.h: Likewise.
29310 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29312         * iconv/iconv_prog.c: Fix typos.
29313         * stdio-common/psiginfo-data.h: Likewise.
29315 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29317         [BZ #15764]
29318         * locale/setlocale.c: Fix typo.
29320 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29322         [BZ #16036]
29323         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29324         signaling NaN arguments.
29325         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29326         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29328         [BZ #14910]
29329         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29330         unordered operands.
29331         * soft-fp/gesf2.c (__gesf2): Likewise.
29332         * soft-fp/getf2.c (__getf2): Likewise.
29333         * soft-fp/ledf2.c (__ledf2): Likewise.
29334         * soft-fp/lesf2.c (__lesf2): Likewise.
29335         * soft-fp/letf2.c (__letf2): Likewise.
29337         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29338         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29339         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29340         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29341         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29342         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29343         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29344         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29345         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29346         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29347         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29348         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29349         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29350         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29351         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29352         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29353         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29354         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29355         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29356         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29357         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29358         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29359         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29360         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29361         * soft-fp/floattidf.c (__floattidf): Likewise.
29362         * soft-fp/floattisf.c (__floattisf): Likewise.
29363         * soft-fp/floattitf.c (__floattitf): Likewise.
29364         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29365         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29366         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29367         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29368         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29369         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29370         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29371         * soft-fp/gesf2.c (__gesf2): Likewise.
29372         * soft-fp/getf2.c (__getf2): Likewise.
29373         * soft-fp/ledf2.c (__ledf2): Likewise.
29374         * soft-fp/lesf2.c (__lesf2): Likewise.
29375         * soft-fp/letf2.c (__letf2): Likewise.
29377         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29378         Undefine and redefine.
29379         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29380         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29381         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29382         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29383         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29384         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29385         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29386         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29387         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29388         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29389         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29390         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29391         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29392         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29393         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29395         [BZ #16032]
29396         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29397         without decrementing exponent if mantissa >= that for the
29398         denominator, not >.
29399         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29400         denominator, not >.  Decrement exponent in < case instead of
29401         incrementing in >= case.
29402         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29403         without decrementing exponent if mantissa >= that for the
29404         denominator, not >.
29406         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29407         computing saturated result for unsigned overflow.
29409 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29410             Jeff Law  <law@redhat.com>
29412         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29413         (atan2Mp): Add systemtap probe marker.
29414         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29415         (__ieee754_log): Add systemtap probe marker.
29416         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29417         (atanMp): Add systemtap probe marker.
29418         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29419         (tanMp): Add systemtap probe marker.
29420         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29421         (__slowexp): Add systemtap probe marker.
29422         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29423         (__slowpow): Add systemtap probe marker.
29424         * manual/probes.texi: Document probes.
29426 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29428         [BZ #15362]
29429         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29430         written.
29431         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29432         written.
29433         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29434         written to buffer but not flushed.
29435         * libio/iofwrite_u.c:  Likewise.
29436         * libio/iopadn.c:  Return bytes returned even if EOF was
29437         encountered.
29438         * libio/iowpadn.c:  Likewise.
29439         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29440         if _IO_padn does not write the whole buffer.
29441         [!COMPILE_WPRINTF] (PAD): Likewise.
29443 2013-10-10  David S. Miller  <davem@davemloft.net>
29445         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29446         directory block.
29448 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29450         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29451         instead of FSF address.
29452         * soft-fp/fixdfti.c: Likewise.
29453         * soft-fp/fixsfti.c: Likewise.
29454         * soft-fp/fixtfti.c: Likewise.
29455         * soft-fp/fixunsdfti.c: Likewise.
29456         * soft-fp/fixunssfti.c: Likewise.
29457         * soft-fp/fixunstfti.c: Likewise.
29458         * soft-fp/floattidf.c: Likewise.
29459         * soft-fp/floattisf.c: Likewise.
29460         * soft-fp/floattitf.c: Likewise.
29461         * soft-fp/floatuntidf.c: Likewise.
29462         * soft-fp/floatuntisf.c: Likewise.
29463         * soft-fp/floatuntitf.c: Likewise.
29464         * soft-fp/trunctfxf2.c: Likewise.
29466         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29467         * soft-fp/fixdfti.c: Likewise.
29468         * soft-fp/fixsfti.c: Likewise.
29469         * soft-fp/fixtfti.c: Likewise.
29470         * soft-fp/fixunsdfti.c: Likewise.
29471         * soft-fp/fixunssfti.c: Likewise.
29472         * soft-fp/fixunstfti.c: Likewise.
29473         * soft-fp/floattidf.c: Likewise.
29474         * soft-fp/floattisf.c: Likewise.
29475         * soft-fp/floattitf.c: Likewise.
29476         * soft-fp/floatuntidf.c: Likewise.
29477         * soft-fp/floatuntisf.c: Likewise.
29478         * soft-fp/floatuntitf.c: Likewise.
29479         * soft-fp/trunctfxf2.c: Likewise.
29481 2013-10-10  David S. Miller  <davem@davemloft.net>
29483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29485 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29487         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29488         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29489         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29490         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29491         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29492         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29493         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29495         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29496         for NaNs before doing comparisons on argument.
29497         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29498         Likewise.
29500 2013-10-10  Will Newton  <will.newton@linaro.org>
29502         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29503         passed to _int_memalign does not overflow.
29505 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29507         * scripts/bench.pl: Add include-sources directive.
29508         * benchtests/README: Update documentation.
29510 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29512         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29513         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29514         instead of FP_INIT_ROUNDMODE.
29515         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29516         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29518         [BZ #16034]
29519         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29520         copy class of input value.
29521         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29522         not handle exceptions.
29523         * soft-fp/negsf2.c (__negsf2): Likewise.
29524         * soft-fp/negtf2.c (__negtf2): Likewise.
29525         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29527 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29529         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29530         semicolon.  From Linux kernel.
29532 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29534         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29536 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29538         [BZ #156]
29539         * manual/socket.texi: Added statement about buffer
29540         for gethostbyname2_r.
29542 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29544         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29545         Use .p2align directive instead, throughout.
29546         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29547         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29548         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29549         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29550         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29551         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29552         * sysdeps/x86_64/strchr.S: Likewise.
29553         * sysdeps/x86_64/strrchr.S: Likewise.
29555 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29557         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29559         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29561         * sysdeps/generic/math_private.h (__mpsin1): Remove
29562         declaration.
29563         (__mpcos1): Likewise.
29564         (__mpsin): New argument __range_reduce.
29565         (__mpcos): Likewise.
29566         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29567         (slow): Use __mpsin and __mpcos.
29568         (slow1): Likewise.
29569         (slow2): Likewise.
29570         (sloww): Likewise.
29571         (sloww1): Likewise.
29572         (sloww2): Likewise.
29573         (bsloww): Likewise.
29574         (bsloww1): Likewise.
29575         (bsloww2): Likewise.
29576         (cslow2): Likewise.
29577         (csloww): Likewise.
29578         (csloww1): Likewise.
29579         (csloww2): Likewise.
29580         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29581         range_reduce.  Merge in __mpsin1.
29582         (__mpcos): Likewise.
29583         (__mpsin1): Remove.
29584         (__mpcos1): Likewise.
29586 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29588         * locale/loadlocale.c (_nl_intern_locale_data): Use
29589         LOCFILE_ALIGNED_P.
29590         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29591         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29592         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29593         obstack data is appropriately aligned.
29594         (obstack_int32_grow_fast): Likewise.
29595         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29596         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29597         (add_locale_uint32_array): Likewise.
29599 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29601         * benchtests/Makefile: Remove ARGLIST and RET variables.
29602         ($(objpfx)bench-%.c): Pass only function name to the script.
29603         * benchtests/README: Update documentation.
29604         * benchtests/acos-inputs: Add new directives.
29605         * benchtests/acosh-inputs: Likewise.
29606         * benchtests/asin-inputs: Likewise.
29607         * benchtests/asinh-inputs: Likewise.
29608         * benchtests/atan-inputs: Likewise.
29609         * benchtests/atanh-inputs: Likewise.
29610         * benchtests/cos-inputs: Likewise.
29611         * benchtests/cosh-inputs: Likewise.
29612         * benchtests/exp-inputs: Likewise.
29613         * benchtests/log-inputs: Likewise.
29614         * benchtests/pow-inputs: Likewise.
29615         * benchtests/rint-inputs: Likewise.
29616         * benchtests/sin-inputs: Likewise.
29617         * benchtests/sinh-inputs: Likewise.
29618         * benchtests/tan-inputs: Likewise.
29619         * benchtests/tanh-inputs: Likewise.
29620         * scripts/bench.pl: Add support for new directives.
29622 2013-10-07  Alan Modra  <amodra@gmail.com>
29624         * README: Fix careless merge.
29626 2013-10-05  Alan Modra  <amodra@gmail.com>
29628         * NEWS: Mention powerpc64le support and bugs fixed.
29629         * README: Both big-endian and little-endian powerpc64 supported.
29631 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29633         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29634         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29635         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29636         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29638 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29640         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29641         match prototype.
29643 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29645         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29646         Move -mhard-float appending from
29647         ports/sysdeps/powerpc/powerpc32/Makefile.
29648         [$(with-fp) = yes] (ASFLAGS): Likewise.
29649         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29650         * sysdeps/powerpc/nofpu: Move directory from
29651         ports/sysdeps/powerpc/nofpu.
29652         * sysdeps/powerpc/soft-fp: Move directory from
29653         ports/sysdeps/powerpc/soft-fp.
29654         * sysdeps/powerpc/powerpc32/405: Move directory from
29655         ports/sysdeps/powerpc/powerpc32/405.
29656         * sysdeps/powerpc/powerpc32/440: Move directory from
29657         ports/sysdeps/powerpc/powerpc32/440.
29658         * sysdeps/powerpc/powerpc32/464: Move directory from
29659         ports/sysdeps/powerpc/powerpc32/464.
29660         * sysdeps/powerpc/powerpc32/476: Move directory from
29661         ports/sysdeps/powerpc/powerpc32/476.
29662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29663         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29665         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29667         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29669         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29671         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29672         * README: Update for powerpc-*-linux-gnu software floating point
29673         support in libc.
29675         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29676         case to powerpc/powerpc32*.
29677         * sysdeps/unix/sysv/linux/configure: Regenerated.
29679         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29680         (_FPU_MASK_OM): Define as 0x04.
29681         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29683         0x00c10080.
29684         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29685         0x0000003c.
29686         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29689         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29690         getcontext_e500.
29691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29692         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29693         setcontext_e500.
29694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29695         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29696         and setcontext_e500.
29698 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29700         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29702 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29704         * manual/threads.texi (Default Thread Attributes): Fix typo.
29706 2013-10-04  Will Newton  <will.newton@linaro.org>
29708         * malloc/Makefile: Add tst-memalign.
29709         * malloc/tst-memalign.c: New file.
29711         * malloc/tst-posix_memalign.c: Add comments.
29712         (do_test): Add comments and call free on all potentially
29713         allocated pointers. Add space after cast.
29715         * malloc/tst-pvalloc.c: Add comments.
29716         (do_test): Add comments and call free on all potentially
29717         allocated pointers. Remove duplicate check for NULL pointer.
29718         Add space after cast.
29720         * malloc/tst-valloc.c: Add comments.
29721         (do_test): Add comments and call free on all potentially
29722         allocated pointers. Remove duplicate check for NULL pointer.
29723         Add space after cast.
29725 2013-10-04  Alan Modra  <amodra@gmail.com>
29727         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29728         Use stdint types in rather than __attribute__((mode())).
29729         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29731 2013-10-04  Alan Modra  <amodra@gmail.com>
29733         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29734         Correct handling of unaligned relocs for little-endian.
29735         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29737 2013-10-04  Alan Modra  <amodra@gmail.com>
29739         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29740         * configure: Regenerate.
29741         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29742         * shlib-versions: Likewise.
29744 2013-10-04  Alan Modra  <amodra@gmail.com>
29746         * string/tester.c (test_memrchr): Increment reported test cycle.
29748 2013-10-04  Alan Modra  <amodra@gmail.com>
29750         * string/test-memcpy.c (do_one_test): When reporting errors, print
29751         string address and don't overrun end of string.
29753 2013-10-04  Alan Modra  <amodra@gmail.com>
29755         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29756         insrdi.  Make better use of reg selection to speed exit slightly.
29757         Schedule entry path a little better.  Remove useless "are we done"
29758         checks on entry to main loop.  Handle wrapping around zero address.
29759         Correct main loop count.  Handle single left-over word from main
29760         loop inline rather than by using loop_small.  Remove extra word
29761         case in loop_small caused by wrong loop count.  Add little-endian
29762         support.
29763         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29764         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29765         cache hint.
29766         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29767         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29768         support.  Avoid rlwimi.
29769         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29771 2013-10-04  Alan Modra  <amodra@gmail.com>
29773         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29774         insrdi.  Formatting.
29775         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29776         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29777         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29778         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29779         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29780         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29782 2013-10-04  Alan Modra  <amodra@gmail.com>
29784         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29785         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29786         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29787         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29788         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29789         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29790         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29791         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29792         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
29793         use of regs.  Use power7 mtocrf.  Tidy function tails.
29795 2013-10-04  Alan Modra  <amodra@gmail.com>
29797         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29798         Formatting.  Consistently use rXXX register defines or rN defines.
29799         Use early exit labels that avoid restoring unused non-volatile regs.
29800         Make cr field use more consistent with rWORDn compares.  Rename
29801         regs used as shift registers for unaligned loop, using rN defines
29802         for short lifetime/multiple use regs.
29803         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29804         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
29805         addi 1,1,64 to pop stack frame.  Simplify return value code.
29806         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29808 2013-10-04  Alan Modra  <amodra@gmail.com>
29810         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29811         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
29812         rather than rlwimi.
29813         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29814         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29815         little-endian support.  Correct typos.
29816         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
29817         rather than rlwimi.
29818         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
29819         in loop and entry code to keep "and." results.
29820         (strchr): Add little-endian support.  Comment.  Move cntlzd
29821         earlier in tail.
29822         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29824 2013-10-04  Alan Modra  <amodra@gmail.com>
29826         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29827         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29828         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29829         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29831 2013-10-04  Alan Modra  <amodra@gmail.com>
29833         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29834         (rTMP): Define as r11.
29835         (strcmp): Add little-endian support.  Optimise tail.
29836         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29837         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29838         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29839         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29840         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29841         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29842         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29844 2013-10-04  Alan Modra  <amodra@gmail.com>
29846         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29847         little-endian support.  Remove unnecessary "are we done" tests.
29848         Handle "s" wrapping around zero and extremely large "size".
29849         Correct main loop count.  Handle single left-over word from main
29850         loop inline rather than by using small_loop.  Correct comments.
29851         Delete "zero" tail, use "end_max" instead.
29852         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29854 2013-10-04  Alan Modra  <amodra@gmail.com>
29856         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29857         support.  Don't branch over align.
29858         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29859         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29860         support.  Rearrange tmp reg use to suit.  Comment.
29861         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29863 2013-10-04  Alan Modra  <amodra@gmail.com>
29865         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29867 2013-10-04  Alan Modra  <amodra@gmail.com>
29869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29870         conditional form of branch and link when obtaining pc.
29871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29873 2013-10-04  Alan Modra  <amodra@gmail.com>
29875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29876         HIWORD/LOWORD.
29877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29880 2013-10-04  Alan Modra  <amodra@gmail.com>
29882         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29883         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29884         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29885         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29886         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29887         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29888         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29889         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29890         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29891         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29893 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29894             Alistair Popple <alistair@ozlabs.au.ibm.com>
29895             Alan Modra <amodra@gmail.com>
29897         [BZ #15723]
29898         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29899         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29900         _dl_hwcap access for little-endian.
29901         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29902         destroy vmx regs when saving unaligned.
29903         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29904         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29905         destroy vmx regs when saving unaligned.
29907 2013-10-04  Alan Modra  <amodra@gmail.com>
29909         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29910         Don't use a union to pack hi/low value.
29912 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29914         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29915         for little-endian.
29916         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29917         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29918         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29919         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29920         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29922 2013-10-04  Alan Modra  <amodra@gmail.com>
29924         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29925         constants to usual value for .cst8 section, and remove redundant
29926         high address load.
29927         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29928         constant for 0x1p52.  Load little-endian words of double from
29929         correct stack offsets.
29931 2013-10-04  Alan Modra  <amodra@gmail.com>
29933         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29934         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29935         words of double from correct stack offsets.
29936         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29937         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29938         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29939         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29940         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29941         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29942         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29943         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29944         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29945         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29946         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29947         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29948         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29949         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29950         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29951         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29952         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29954 2013-10-04  Alan Modra  <amodra@gmail.com>
29956         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29957         64-bit int/double union.
29958         (_FPU_SETCW): Likewise.
29959         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29960         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29962 2013-10-04  Alan Modra  <amodra@gmail.com>
29964         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29965         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29967 2013-10-04  Alan Modra  <amodra@gmail.com>
29969         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29970         use vector int constants.
29971         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29973 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29975         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29976         array with long long.
29977         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29978         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29979         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29980         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29981         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29982         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29983         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29984         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29985         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29986         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29987         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29988         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29989         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29991 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29993         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29994         (__signbit): Likewise.  Correct for little-endian.
29995         (__signbitl): Call __signbit.
29996         (lrint): Correct for little-endian.
29997         (lrintf): Call lrint.
29999 2013-10-04  Alan Modra  <amodra@gmail.com>
30001         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30002         union 32-bit int array member with 64-bit int array.
30003         (t515, tm256): Double rather than long double.
30004         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30006 2013-10-04  Alan Modra  <amodra@gmail.com>
30008         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30009         Delete.
30010         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30011         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30012         version of math_ldbl.h.
30014 2013-10-04  Alan Modra  <amodra@gmail.com>
30016         [BZ #15734], [BZ #15735]
30017         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30018         all uses of ieee875 long double macros and unions.  Simplify test
30019         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30020         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30021         normalize after ldbl_extract_mantissa, and don't add hidden bit
30022         already handled.  Don't treat low word of ieee854 mantissa like
30023         low word of IBM long double and mask off bit when testing for
30024         zero.
30025         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30026         all uses of ieee875 long double macros and unions.  Simplify tests
30027         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30028         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30029         two1022, instead use their values.  Recognise that tests for large
30030         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30031         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30032         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30033         test for 0.0L and nan.  Correct negation.
30034         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30035         ieee875 long double macros and unions.  Correct output for large
30036         magnitude x.  Correct absolute value calculation.
30037         (__erfcl): Likewise.
30038         * math/libm-test.inc: Add tests for errors discovered in IBM long
30039         double versions of fmodl, remainderl, erfl and erfcl.
30041 2013-10-04  Alan Modra  <amodra@gmail.com>
30043         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30044         all uses of ieee854 long double macros and unions.  Simplify tests
30045         for long doubles that are fully specified by the high double.
30046         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30047         Likewise.
30048         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30049         Remove dead code too.
30050         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30051         (__ieee754_ynl): Likewise.
30052         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30053         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30054         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30055         Remove dead code too.
30056         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30057         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30058         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30059         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30060         Simplify.
30061         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30062         Simplify.
30063         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30064         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30065         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30066         Comment on variable precision.
30067         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30068         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30069         Likewise.
30070         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30071         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30072         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30073         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30074         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30076 2013-10-04  Alan Modra  <amodra@gmail.com>
30078         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30079         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30080         all uses of ieee854 long double macros and unions.
30081         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30082         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30083         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30084         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30085         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30086         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30087         Likewise.
30088         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30089         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30090         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30091         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30092         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30093         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30094         Simplify sign and nan test too.
30095         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30096         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30097         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30098         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30099         Likewise.
30100         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30101         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30102         Likewise.
30103         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30104         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30105         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30106         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30107         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30108         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30110 2013-10-04  Alan Modra  <amodra@gmail.com>
30112         * stdio-common/printf_size.c (__printf_size): Don't use
30113         union ieee854_long_double in fpnum union.
30114         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30115         signbit macro to retrieve sign from long double.
30116         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30117         retrieve sign from long double.
30118         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30119         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30120         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30121         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30122         * math/test-misc.c (main): Don't use union ieee854_long_double.
30124 2013-10-04  Alan Modra  <amodra@gmail.com>
30126         [BZ #15680]
30127         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30128         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30129         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30130         calculation.  Remove unnecessary test for denormal exponent.
30131         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30132         Correct handling of denormals.  Avoid undefined shift behaviour.
30133         Correct normalisation of low mantissa when low double is denormal.
30134         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30135         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30136         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30137         Correct normalisation of low mantissa.  Test for overflow of high
30138         mantissa and normalise.
30139         (ldbl_nearbyint): Use more readable constant for two52.
30140         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30141         (__mpn_construct_long_double): Fix test for overflow of high
30142         mantissa and correct normalisation.  Avoid undefined shift.
30144 2013-10-04  Alan Modra  <amodra@gmail.com>
30146         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30147         (union ibm_extended_long_double): Define as an array of ieee754_double.
30148         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30149         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30150         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30151         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30152         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30153         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30154         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30155         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30156         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30157         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30158         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30160 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30162         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30163         page size instead of calling getpagesize.
30165         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30166         (LOCFILE_ALIGN_MASK): Likewise.
30167         (LOCFILE_ALIGN_UP): Likewise.
30168         (LOCFILE_ALIGNED_P): Likewise.
30169         * locale/programs/ld-collate.c (collate_output): Use the new
30170         macros instead of __alignof__ (int32_t).
30171         * locale/weight.h (findidx): Likewise.
30173 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30175         [BZ #431]
30176         * manual/string.texi: Fix strncat and wcsncat.
30178 2013-10-03  Brooks Moses  <bmoses@google.com>
30180         [BZ #15915]
30181         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30182         * Makerules: ...here, and adjust associated comments.
30184 2013-10-02  Will Newton  <will.newton@linaro.org>
30186         * malloc/Makefile: Add tst-pvalloc.
30187         * malloc/tst-pvalloc.c: New file.
30189 2013-10-02  Will Newton  <will.newton@linaro.org>
30191         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30192         improve test coverage.
30194 2013-10-02  Will Newton  <will.newton@linaro.org>
30196         * malloc/Makefile: Add tst-posix_memalign.
30197         * malloc/tst-posix_memalign.c: New file.
30199 2013-10-01  Eric Blake  <eblake@redhat.com>
30201         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30202         Use __THROWNL rather than __THROW on static functions.
30204 2013-09-30  Petr Machata  <pmachata@redhat.com>
30206         * elf/elf.h (R_AARCH64_ABS16): New macro.
30207         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30208         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30209         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30210         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30211         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30212         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30213         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30214         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30215         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30216         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30217         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30218         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30219         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30220         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30221         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30222         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30223         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30224         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30225         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30226         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30227         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30228         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30229         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30230         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30231         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30232         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30233         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30234         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30235         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30236         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30237         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30238         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30239         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30240         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30241         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30242         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30243         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30244         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30245         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30246         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30247         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30248         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30249         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30250         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30251         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30252         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30253         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30254         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30255         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30256         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30257         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30258         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30259         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30260         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30261         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30262         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30263         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30264         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30265         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30266         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30267         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30268         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30269         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30270         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30271         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30272         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30273         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30274         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30275         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30276         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30277         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30278         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30279         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30280         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30281         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30282         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30283         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30284         (R_AARCH64_TLSDESC_LDR): Likewise.
30285         (R_AARCH64_TLSDESC_ADD): Likewise.
30286         (R_AARCH64_TLSDESC_CALL): Likewise.
30288 2013-09-30  Andreas Schwab  <schwab@suse.de>
30290         [BZ #15048]
30291         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30292         the nss database lookup.
30293         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30296 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30298         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30300 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30302         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30303         ${Bash-specific parameter/pattern/string} parameter expansion.
30304         * sysdeps/unix/make-syscalls.sh: Likewise.
30306 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30308         * sysdeps/sh/stackguard-macros.h: New file.
30310 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30313         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30314         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30315         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30316         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30317         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30319 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30321         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30322         Fix thread ID register.
30324 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30326         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30327         [POSIX || UNIX98]: Require rather than permitting all symbols from
30328         <time.h>.
30329         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30330         element of struct sched_param.
30331         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30332         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30333         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30334         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30335         constant.
30337 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30339         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30340         argument calculation.
30342 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30344         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30345         Expect macro.
30346         [POSIX] (pthread_attr_t): Do not require type.
30347         [POSIX] (pthread_cond_t): Likewise.
30348         [POSIX] (pthread_condattr_t): Likewise.
30349         [POSIX] (pthread_key_t): Likewise.
30350         [POSIX] (pthread_mutex_t): Likewise.
30351         [POSIX] (pthread_mutexattr_t): Likewise.
30352         [POSIX] (pthread_once_t): Likewise.
30353         [POSIX] (pthread_t): Likewise.
30354         [POSIX-based standards] (pthread_atfork): Expect function.
30356 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30357             Richard Sandiford  <richard@codesourcery.com>
30359         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30360         (swap_endianness_p): New extern variable.
30361         (set_big_endian): New inline function.
30362         (maybe_swap_uint32): Likewise.
30363         (maybe_swap_uint32_array): Likewise.
30364         (maybe_swap_uint32_obstack): Likewise.
30365         * locale/programs/locfile.c: Include <stdbool.h>.
30366         (swap_endianness_p): New variable.
30367         (add_locale_uint32): Call maybe_swap_uint32.
30368         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30369         (write_locale_data): Call maybe_swap_uint32_array.
30370         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30371         maybe_swap_uint32.
30372         (obstack_int32_grow_fast): Likewise.
30373         (output_weightwc): Call maybe_swap_uint32_obstack.
30374         (collate_output): Likewise.
30375         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30376         (OPT_LITTLE_ENDIAN): Likewise.
30377         (options): Add --little-endian and --big-endian options.
30378         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30379         * locale/programs/locarchive.c: Include "locfile.h".
30380         (GET): New macro.
30381         (SET): Likewise.
30382         (INC): Likewise.
30383         (create_archive): Use the new macros to access fields of
30384         structures directly mapped from or written to locale archives.
30385         (oldlocrecentcmp): Likewise.
30386         (enlarge_archive): Likewise.
30387         (insert_name): Likewise.
30388         (add_alias): Likewise.
30389         (add_locale): Likewise.
30390         (delete_locales_from_archive): Likewise.
30391         (show_archive_content): Likewise.
30392         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30393         locale data.
30395 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30397         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30398         http://www.gnu.org/doc/freemanuals.texi.
30399         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30401 2013-09-24  Will Newton  <will.newton@linaro.org>
30403         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30404         macro.
30406 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30408         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30409         unsigned char.
30411 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30413         * manual/threads.texi (POSIX Threads): Fix a typo.
30415 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30417         [BZ #14547]
30418         * string/tst-strcoll-overflow.c: New test case.
30419         * string/Makefile (xtests): Add tst-strcoll-overflow.
30420         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30421         cache if string sizes may cause integer overflow.
30423         [BZ #14547]
30424         * string/strcoll_l.c (coll_seq): New members rule, idx,
30425         save_idx and back_us.
30426         (get_next_seq_nocache): New function.
30427         (do_compare_nocache): New function.
30428         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30429         when malloc fails.
30431 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30433         [BZ #15754]
30434         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30435         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30436         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30438         [BZ #15754]
30439         * elf/Makefile (tests): Add tst-ptrguard1.
30440         (tests-static): Add tst-ptrguard1-static.
30441         (tst-ptrguard1-ARGS): Define.
30442         (tst-ptrguard1-static-ARGS): Define.
30443         * elf/tst-ptrguard1.c: New file.
30444         * elf/tst-ptrguard1-static.c: New file.
30445         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30446         * sysdeps/i386/stackguard-macros.h: Likewise.
30447         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30448         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30449         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30450         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30451         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30452         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30454 2013-09-23  Hector Marco  <hecmargi@upv.es>
30455             Ismael Ripoll  <iripoll@disca.upv.es>
30456             Carlos O'Donell  <carlos@redhat.com>
30458         [BZ #15754]
30459         * sysdeps/generic/stackguard-macros.h: Define
30460         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30461         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30462         Define __pointer_chk_guard_local.
30463         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30464         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30466 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30468         [BZ #15859]
30469         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30471 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30473         * include/string.h (__ffs): Declare as hidden.
30474         * string/ffs.c (__ffs): Define as hidden.
30475         * sysdeps/i386/ffs.c (__ffs): Likewise.
30476         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30477         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30478         * sysdeps/s390/ffs.c (__ffs): Likewise.
30479         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30481 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30483         * NEWS: Mention malloc probes.
30485         * malloc/arena.c (new_heap): New memory_heap_new probe.
30486         (grow_heap): New memory_heap_more probe.
30487         (shrink_heap): New memory_heap_less probe.
30488         (heap_trim): New memory_heap_free probe.
30489         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30490         (systrim): New memory_sbrk_less probe.
30491         * manual/probes.texi: Document them.
30493         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30494         * manual/probes.texi: Document it.
30496         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30497         (__libc_realloc): Add memory_realloc_retry probe.
30498         (__libc_memalign): Add memory_memalign_retry probe.
30499         (__libc_valloc): Add memory_valloc_retry probe.
30500         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30501         (__libc_calloc): Add memory_calloc_retry probe.
30502         * manual/probes.texi: Document them.
30504         * malloc/arena.c (get_free_list): Add probe
30505         memory_arena_reuse_free_list.
30506         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30507         and memory_arena_reuse.
30508         (arena_get2) [!PER_THREAD]: Likewise.
30509         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30510         memory_arena_reuse_realloc.
30511         * manual/probes.texi: Document them.
30513         * malloc/malloc.c (__libc_free): Add
30514         memory_mallopt_free_dyn_thresholds probe.
30515         (__libc_mallopt): Add multiple memory_mallopt probes.
30516         * manual/probes.texi: Document them.
30518         * malloc/malloc.c: Include stap-probe.h.
30519         (__libc_mallopt): Add memory_mallopt probe.
30520         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30521         * manual/probes.texi: New.
30522         * manual/Makefile (chapters): Add probes.
30523         * manual/threads.texi: Set next node.
30525 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30527         [BZ #15963, #13985]
30528         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30529         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30530         Add `Chinese' to `nan' entry name.
30532 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30534         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30535         (POLYNOMIAL): Likewise.
30536         (TAYLOR_SINCOS): Likewise.
30537         (TAYLOR_SLOW): Likewise.
30538         (__sin): Use TAYLOR_SINCOS.
30539         (__cos): Likewise.
30540         (slow): Use TAYLOR_SLOW.
30541         (sloww): Likewise.
30542         (bsloww): Likewise.
30543         (csloww): Likewise.
30545 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30547         * stdlib/strtod_l.c: Fix buffer overrun.
30549 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30551         * benchtests/Makefile (bench): Add sincos.
30552         * benchtests/bench-sincos.c: New file.
30554         * math/libm-test.inc (cos_test_data): New test inputs.
30555         (sin_test_data): Likewise.
30557         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30558         macro.
30559         (__sin): Use it.
30560         (__cos): Likewise.
30561         (slow1): Likewise.
30562         (slow2): Likewise.
30563         (sloww1): Likewise.
30564         (sloww2): Likewise.
30565         (bsloww1): Likewise.
30566         (bsloww2): Likewise.
30567         (cslow2): Likewise.
30568         (csloww1): Likewise.
30569         (csloww2): Likewise.
30571         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30572         function.
30573         (__sin): Use it.
30574         (__cos): Likewise.
30576         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30577         gotos.
30578         (__cos): Likewise.
30580 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30582         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30583         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30584         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30585         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30586         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30587         * elf/cache.c (print_entry): Handle the new cache flags.
30589 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30590             Aldy Hernandez  <aldyh@redhat.com>
30592         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30593         Change condition to [_SOFT_FLOAT].
30594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30597         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30599         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30604         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30606         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30608         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30609         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30610         declaration.
30612 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30614         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30615         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30616         (__longjmp): Use LOAD_GP to load saved GPRs.
30617         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30618         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30619         (__sigsetjmp): Use SAVE_GP to save GPRs.
30621         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30622         Do not append -msoft-float.
30623         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30625 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30627         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30629 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30631         [BZ #15966]
30632         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30633         (_FPU_GETCW): Use initial "__" on variable and field names but not
30634         on macro parameter name.
30635         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30636         parentheses around reference to macro parameter.
30638 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30640         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30641         prototype.
30642         (ctype_startup): Use uint32_t in cast and sizeof for
30643         ctype->charnames.
30645 2013-09-11  Jia Liu  <proljc@gmail.com>
30647         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30648         __daddr_t_defined.
30649         [__FreeBSD__]: Likewise.
30651 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30653         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30654         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30655         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30656         (strchr): Remove __strchr_sse42 ifunc selection.
30657         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30658         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30660 2013-09-11  Will Newton  <will.newton@linaro.org>
30662         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30663         parameter to RES. Remove hardcoded 1000 value.
30664         * benchtests/bench-skeleton.c (main): Pass RES parameter
30665         to TIMING_INIT and multiply result by 1000.
30667 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30671 2013-09-11  Andreas Schwab  <schwab@suse.de>
30673         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30674         if not defined.
30675         (O_TMPFILE) [__USE_GNU]: Define.
30676         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30677         Define.
30679 2013-09-11  Will Newton  <will.newton@linaro.org>
30681         [BZ #15857]
30682         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30683         does not overflow.
30685 2013-09-11  Will Newton  <will.newton@linaro.org>
30687         [BZ #15856]
30688         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30689         does not overflow.
30691 2013-09-11  Will Newton  <will.newton@linaro.org>
30693         [BZ #15855]
30694         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30695         does not overflow.
30697 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30699         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30700         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30701         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30702         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30703         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30705 2013-09-10  Allan McRae  <allan@archlinux.org>
30707         [BZ #15748]
30708         * manual/arith.texi (Parsing of Floats): Clarify
30709         cross-reference.
30711         [BZ #15849]
30712         * manual/install.texi (Running make install): Mention
30713         --enable-pt-chown.
30714         * INSTALL: Regenerated.
30716 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30718         * csu/init-first.c (_init): Remove the !SHARED condition around
30719         FPU control word initialization.
30720         * elf/dl-support.c (_dl_fpu_control): New variable.
30721         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30722         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30723         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30724         * math/test-fpucw-static.c: New file.
30725         * math/test-fpucw-ieee.c: New file.
30726         * math/test-fpucw-ieee-static.c: New file.
30727         * math/Makefile (tests): Add `test-fpucw-ieee' and
30728         `$(tests-static)'.
30729         (tests-static): New variable.
30730         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30731         dependency to...
30732         [($(build-shared),yes)]
30733         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30734         ... this.
30735         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30736         New dependency.
30738 2013-09-09  Allan McRae  <allan@archlinux.org>
30740         [BZ #15939]
30741         * manual/string.texi (Collation Functions): Fix typo in
30742         strcoll example.
30743         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30745         [BZ #15893]
30746         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30748         [BZ #15892]
30749         * libio/memstream.c (open_memstream): Fix memory leak.
30750         * libio/wmemstream.c (open_wmemstream): Likewise.
30752         [BZ #15895]
30753         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30755 2013-09-09  Will Newton  <will.newton@linaro.org>
30757         * malloc/Makefile: Add tst-realloc to tests.
30758         * malloc/tst-realloc.c: New file.
30760 2013-09-09  Allan McRae  <allan@archlinux.org>
30762         [BZ #15844]
30763         * COPYING: Update from GNU website to fix FSF address.
30764         * COPYING.LIB: Likewise.
30766 2013-09-06  David S. Miller  <davem@davemloft.net>
30768         * po/zh_TW.po: Update Chinese (traditional) translation from
30769         translation project.
30771 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
30772             Joseph Myers  <joseph@codesourcery.com>
30774         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30775         "localeinfo.h".
30776         (obstack_chunk_alloc): New macro.
30777         (obstack_chunk_free): Likewise.
30778         (record_offset): New function.
30779         (init_locale_data): Likewise.
30780         (align_locale_data): Likewise.
30781         (add_locale_empty): Likewise.
30782         (add_locale_raw_data): Likewise.
30783         (add_locale_raw_obstack): Likewise.
30784         (add_locale_string): Likewise.
30785         (add_locale_wstring): Likewise.
30786         (add_locale_uint32): Likewise.
30787         (add_locale_uint32_array): Likewise.
30788         (add_locale_char): Likewise.
30789         (start_locale_structure): Likewise.
30790         (end_locale_structure): Likewise.
30791         (start_locale_prelude): Likewise.
30792         (end_locale_prelude): Likewise.
30793         (write_locale_data): Take locale_file structure rather than an
30794         iovec.
30795         * locale/programs/locfile.h: Include "obstack.h".
30796         (struct locale_file): Change to store locale file contents instead
30797         of header.
30798         (init_locale_data): New prototype.
30799         (align_locale_data): Likewise.
30800         (add_locale_empty): Likewise.
30801         (add_locale_raw_data): Likewise.
30802         (add_locale_raw_obstack): Likewise.
30803         (add_locale_string): Likewise.
30804         (add_locale_wstring): Likewise.
30805         (add_locale_uint32): Likewise.
30806         (add_locale_uint32_array): Likewise.
30807         (add_locale_char): Likewise.
30808         (start_locale_structure): Likewise.
30809         (end_locale_structure): Likewise.
30810         (start_locale_prelude): Likewise.
30811         (end_locale_prelude): Likewise.
30812         (write_locale_data): Update prototype.
30813         * locale/programs/3level.h (struct TABLE): Remove result field.
30814         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30815         Use new locale_file interface.
30816         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30817         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30818         * locale/programs/ld-address.c (address_output): Use new
30819         locale_file interface.
30820         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30821         NO_ADD_LOCALE.
30822         (collate_finish): Don't call collseq_table_finalize.
30823         (collate_output): Use new locale_file interface.
30824         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30825         in file.
30826         (NO_FINALIZE): Change to NO_ADD_LOCALE.
30827         (TABLE): Move defines earlier in file.
30828         (ELEMENT): Likewise.
30829         (DEFAULT): Likewise.
30830         (wctrans_table_add): Move macro and inline function earlier in
30831         file.
30832         (struct wctype_table): Move type earlier in file.
30833         (add_locale_wctype_table): New static prototype.
30834         (struct locale_ctype_t): Use logical types instead of struct iovec
30835         pointers for members.
30836         (ctype_output): Use new locale_file interface.
30837         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30838         new locale_file interface.
30839         (allocate_arrays): Update for use of new locale_file interface.
30840         * locale/programs/ld-identification.c (identification_output): Use
30841         new locale_file interface.
30842         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30843         * locale/programs/ld-messages.c (messages_output): Likewise.
30844         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30845         * locale/programs/ld-name.c (name_output): Likewise.
30846         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30847         * locale/programs/ld-paper.c (paper_output): Likewise.
30848         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30849         * locale/programs/ld-time.c (time_output): Likewise.
30851 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30853         * benchtests/Makefile: Add memrchr benchmark.
30854         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30855         benchmark as memrchr.
30856         * benchtests/bench-memrchr-ifunc.c: New file.
30857         * benchtests/bench-memrchr.c: New file.
30859 2013-09-06   Will Newton  <will.newton@linaro.org>
30861         * benchtests/Makefile (string-bench): Add memcpy.
30863 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30864             Cong Wang  <amwang@redhat.com>
30866         [BZ #15850]
30867         * sysdeps/unix/sysv/linux/bits/in.h
30868         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30869         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30870         before __USE_KERNEL_IPV6_DEFS uses.
30871         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30872         IPPROTO_BEETPH.
30873         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30874         sockaddr_in6, or ipv6_mreq.
30876 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30878         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30879         memory access for final bytes in some large inputs.
30880         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30882 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30884         * string/test-memrchr.c: New file.
30885         * string/test-memrchr-ifunc.c: New file.
30886         * string/Makefile: Add new memrchr testcase.
30888 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30890         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30891         fanotify_init returns EPERM.
30893 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30895         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30896         errors.
30897         (top level): Treat second token from macro or constant entries for
30898         allowed headers as allowed.
30899         * include/complex.h: Condition internal declarations on
30900         [!_ISOMAC].
30901         * include/fenv.h: Condition include of <stdbool.h> and internal
30902         declarations on [!_ISOMAC].
30904 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30906         [BZ #15923]
30907         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30909 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30911         * configure.in (--enable-versioning): Remove configure option.
30912         (libc_cv_asm_symver_directive): Remove configure test.
30913         (libc_cv_ld_version_script_option): Likewise.
30914         (VERSIONING): Remove variable and AC_SUBST.
30915         (DO_VERSIONING): Remove AC_DEFINE.
30916         * configure: Regenerated.
30917         * config.h.in (DO_VERSIONING): Remove macro.
30918         * Makerules [$(versioning) = yes]: Change conditionals to
30919         [$(build-shared) = yes].
30920         * config.make.in (versioning): Remove variable.
30921         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30922         [$(build-shared) = yes].
30923         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30924         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30925         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30926         [$(build-shared) = yes].
30927         * extra-lib.mk [$(versioning) = yes]: Likewise.
30928         * hurd/Makefile [$(versioning) = yes]: Likewise.
30929         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30930         [SHARED].
30931         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30932         [SHARED].
30933         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30934         [SHARED && !NO_HIDDEN].
30935         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30936         [SHARED].
30937         [SHARED && DO_VERSIONING]: Likewise..
30938         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30939         [$(build-shared) = yes].
30940         * manual/install.texi (--disable-versioning): Remove
30941         documentation.
30942         * INSTALL: Regenerated.
30943         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30944         to [SHARED].
30945         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30946         [$(build-shared) = yes].
30947         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30948         * sysdeps/i386/i686/multiarch/strstr-c.c
30949         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30950         [SHARED && !NO_HIDDEN].
30951         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30952         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30953         * sysdeps/powerpc/powerpc32/dl-machine.c
30954         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30955         * sysdeps/powerpc/powerpc32/sysdep.h
30956         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30957         to [SHARED && PIC && !NO_HIDDEN].
30958         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30959         conditional to [SHARED].
30961 2013-09-04   Will Newton  <will.newton@linaro.org>
30963         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30964         * benchtests/bench-string.h: Include bench-timing.h instead
30965         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30966         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30967         call to HP_TIMING_DIFF_INIT.
30968         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30969         instead of hp-timing.h macros.
30970         * benchtests/bench-memchr.c: Likewise.
30971         * benchtests/bench-memcmp.c: Likewise.
30972         * benchtests/bench-memcpy.c: Likewise.
30973         * benchtests/bench-memmem.c: Likewise.
30974         * benchtests/bench-memmove.c: Likewise.
30975         * benchtests/bench-memset.c: Likewise.
30976         * benchtests/bench-rawmemchr.c: Likewise.
30977         * benchtests/bench-strcasecmp.c: Likewise.
30978         * benchtests/bench-strcasestr.c: Likewise.
30979         * benchtests/bench-strcat.c: Likewise.
30980         * benchtests/bench-strchr.c: Likewise.
30981         * benchtests/bench-strcmp.c: Likewise.
30982         * benchtests/bench-strcpy.c: Likewise.
30983         * benchtests/bench-strcpy_chk.c: Likewise.
30984         * benchtests/bench-strlen.c: Likewise.
30985         * benchtests/bench-strncasecmp.c: Likewise.
30986         * benchtests/bench-strncat.c: Likewise.
30987         * benchtests/bench-strncmp.c: Likewise.
30988         * benchtests/bench-strncpy.c: Likewise.
30989         * benchtests/bench-strnlen.c: Likewise.
30990         * benchtests/bench-strpbrk.c: Likewise.
30991         * benchtests/bench-strrchr.c: Likewise.
30992         * benchtests/bench-strspn.c: Likewise.
30993         * benchtests/bench-strstr.c: Likewise.
30995 2013-09-04  Will Newton  <will.newton@linaro.org>
30997         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30999 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31001         [BZ #15427]
31002         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31003         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31004         * math/libm-test.inc (lgamma_test_data): Add more tests.
31005         * sysdeps/i386/fpu/libm-test-ulps: Update.
31006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31008 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31010         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31011         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31012         Add ifunc.
31013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31014         Add strcmp-sse2-unaligned
31015         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31017 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31019         * Versions.def (libc): Add GLIBC_2.19.
31021 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31023         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31024         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31026 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31028         [BZ #14155]
31029         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31030         intermediate calculations in recurrence.
31031         (__ieee754_ynf): Likewise.
31032         * math/libm-test.inc (jn_test_data): Do not allow spurious
31033         underflow exception.  Add more tests.
31034         (yn_test_data): Add more tests.
31035         * sysdeps/i386/fpu/libm-test-ulps: Update.
31036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31038 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31040         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31042 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31044         * csu/init-first.c: Fix then/than typos.
31045         * locale/programs/ld-collate.c: Likewise.
31046         * locale/programs/linereader.h: Likewise.
31047         * manual/charset.texi: Likewise.
31048         * manual/filesys.texi: Likewise.
31049         * manual/stdio.texi: Likewise.
31050         * manual/string.texi: Likewise.
31051         * stdlib/fmtmsg.c: Likewise.
31052         * sysdeps/i386/stpncpy.S: Likewise.
31053         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31054         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31055         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31056         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31058 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31060         * elf/dl-open.c: Fix typos.
31061         * iconvdata/gbbig5.c: Likewise.
31062         * iconvdata/iso-2022-jp.c: Likewise.
31063         * iconv/gconv_int.h: Likewise.
31064         * iconv/loop.c: Likewise.
31065         * nis/rpcsvc/nis.h: Likewise.
31066         * resolv/ns_name.c: Likewise.
31067         * stdio-common/vfscanf.c: Likewise.
31068         * streams/stropts.h: Likewise.
31069         * sunrpc/rpc_thread.c: Likewise.
31070         * sysdeps/i386/strpbrk.S: Likewise.
31071         * sysdeps/ieee754/k_standard.c: Likewise.
31072         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31073         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31074         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31075         * sysdeps/mach/hurd/profil.c: Likewise.
31076         * sysdeps/s390/dl-procinfo.h: Likewise.
31077         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31078         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31079         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31080         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31081         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31083 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31085         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31086         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31088 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31090         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31091         aix specific files.
31092         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31093         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31094         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31095         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31096         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31097         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31098         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31099         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31101 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31102             Roland McGrath  <roland@hack.frob.com>
31104         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31105         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31107 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31109         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31110         __executable_start symbol instead of _start.
31112 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31114         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31115         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31116         Move macros to...
31117         * sysdeps/gnu/ldsodefs.h: ... this new file.
31119         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31120         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31121         instead of ELFOSABI_LINUX.
31123         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31124         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31125         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31126         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31127         Likewise.
31128         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31129         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31130         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31131         Likewise.
31132         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31133         (ibm_extended_long_double): Add ieee_nan member.
31134         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31135         (do_test): New function.
31137         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31138         TEST_TRUNC.
31139         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31140         functions, renamed from truncdfsf_test, trunctfsf_test,
31141         trunctfdf_test.
31142         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31143         functions.
31144         (do_test): Run all these.
31146 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31148         * argp/argp-help.c: Fix typos.
31149         * argp/argp-parse.c: Likewise.
31150         * debug/backtracesyms.c: Likewise.
31151         * elf/elf.h: Likewise.
31152         * malloc/malloc.c: Likewise.
31153         * nis/nis_print.c: Likewise.
31154         * resolv/res_comp.c: Likewise.
31155         * stdlib/stdlib.h: Likewise.
31156         * sunrpc/clnt_tcp.c: Likewise.
31157         * sunrpc/clnt_udp.c: Likewise.
31158         * sunrpc/clnt_unix.c: Likewise.
31159         * sysdeps/unix/bsd/ptsname.c: Likewise.
31160         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31161         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31163         Likewise.
31164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31165         Likewise.
31166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31167         Likewise.
31168         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31170 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31172         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31175 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31177         [BZ #15897]
31178         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31179         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31180         ($(objpfx)bug-dl-leaf): New rule.
31181         ($(objpfx)bug-dl-leaf.so): Likewise.
31182         ($(objpfx)bug-dl-leaf.out): Likewise.
31183         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31184         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31185         * dlfcn/bug-dl-leaf.c: New test.
31186         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31187         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31188         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31189         (dlclose): Likewise.
31190         (dlmopen): Likewise.
31192 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31194         * include/netdb.h [!_ISOMAC]:
31195         Don't include <tls.h>.
31196         (h_errno, __libc_h_errno): Move declaration and macros out of
31197         [_LIBC_REENTRANT].
31199         * include/resolv.h [_RESOLV_H_]:
31200         Don't include <tls.h>.
31201         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31202         * resolv/res_libc.c: Don't include <tls.h>.
31203         (_res): Use __attribute__ ((nocommon)) in place of
31204         __attribute__ ((section (".bss"))).
31206         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31207         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31209         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31211         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31212         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31214         * resolv/res_mkquery.c: Include <sys/time.h>.
31216         * inet/ifreq.c: Moved to ...
31217         * sysdeps/unix/ifreq.c: ... here.
31218         * inet/ifreq.c: New file, true stub version.
31220         * socket/sa_len.c: New file.
31221         * socket/Makefile (aux): Add it.
31222         * sysdeps/unix/sysv/linux/Makefile
31223         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31224         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31225         and #include <socket/sa_len.c>.
31226         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31227         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31229         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31230         * bits/socket.h: ... here.
31232         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31233         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31234         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31236 2013-08-27  Andreas Schwab  <schwab@suse.de>
31238         [BZ #15736]
31239         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31240         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31241         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31242         * string/test-strcasecmp.c (test_main): Run tests in several
31243         locales.
31244         * string/test-strncasecmp.c (test_main): Likewise.
31246         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31247         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31248         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31249         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31250         (__strncasecmp_ssse3) [PIC]: Likewise.
31252 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31254         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31256         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31257         instead of explicitly declaring xdecrypt.
31258         * nis/nss_nis/nis-publickey.c: Likewise.
31260 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31262         [BZ #15890]
31263         * nscd/aicache.c: Include res_hconf.h.
31264         (addhstaiX): Initialize res_hconf.
31266 2013-08-26  Andreas Schwab  <schwab@suse.de>
31268         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31269         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31271 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31273         * nscd/aicache.c (addhstaiX): Fix indentation.
31275 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31277         * configure.ac: Quote $build_pt_chown test.
31278         * configure: Regenerated.
31280 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31282         [BZ #15532]
31283         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31284         * math/s_cexpf.c (__cexpf): Likewise.
31285         * math/s_cexpl.c (__cexpl): Likewise.
31286         * math/libm-test.inc (cexp_test_data): Correct expected return
31287         value for NaN + i0.  Add another test.
31289 2013-08-22  David S. Miller  <davem@davemloft.net>
31291         * po/ca.po: Update Catalan translation from translation project.
31292         * po/uk.po: Add Ukrainian translations from translation project.
31294 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31296         [BZ #15797]
31297         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31298         is infinite, not alongside NaN test.
31299         * math/s_fdimf.c (__fdimf): Likewise.
31300         * math/s_fdiml.c (__fdiml): Likewise.
31301         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31302         errno is unchanged.
31304 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31306         * argp/argp-help.c: Fix typos.
31307         * crypt/speeds.c: Likewise.
31308         * csu/check_fds.c: Likewise.
31309         * elf/dl-load.c: Likewise.
31310         * elf/dl-open.c: Likewise.
31311         * elf/reldep3.c: Likewise.
31312         * elf/reldep.c: Likewise.
31313         * elf/sprof.c: Likewise.
31314         * iconv/iconv_charmap.c: Likewise.
31315         * iconv/skeleton.c: Likewise.
31316         * iconv/strtab.c: Likewise.
31317         * io/lockf64.c: Likewise.
31318         * libio/libioP.h: Likewise.
31319         * resolv/gai_notify.c: Likewise.
31320         * resolv/ns_name.c: Likewise.
31321         * resolv/ns_samedomain.c: Likewise.
31322         * resolv/res_send.c: Likewise.
31323         * stdlib/random.c: Likewise.
31324         * sunrpc/rpc/xdr.h: Likewise.
31325         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31326         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31327         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31328         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31329         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31330         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31331         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31332         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31333         * sysdeps/mach/hurd/check_fds.c: Likewise.
31334         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31335         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31336         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31337         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31338         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31339         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31340         * sysdeps/pthread/aio_notify.c: Likewise.
31341         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31342         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31343         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31344         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31345         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31347 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31349         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31350         version if bit_Slow_SSE4_2 is set.
31351         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31352         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31354 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31356         [BZ #15867]
31357         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31358         trampoline stack frame information.
31359         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31360         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31361         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31362         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31363         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31364         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31365         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31366         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31367         sa_flags value.
31368         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31369         interrupting a syscall and set with option SA_SIGINFO.
31371 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31373         [BZ #15531]
31374         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31375         argument is infinite.
31376         * math/s_cprojf.c (__cprojf): Likewise.
31377         * math/s_cprojl.c (__cprojl): Likewise.
31378         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31379         * math/libm-test.inc (cproj_test_data): Add more tests.
31381         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31383         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31384         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31385         size.  Use __ffs to determine corresponding shift.
31387 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31388             Roland McGrath  <roland@hack.frob.com>
31390         * Makefile (INSTALL): Remove trailing blank lines from output of
31391         makeinfo.
31393 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31395         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31396         Align 32 bit compat elf_greg to 8 bytes.
31398 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31400         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31402 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31404         * string/strcoll_l.c (coll_seq): New structure.
31405         (get_next_seq_cached): New function.
31406         (get_next_seq): New function.
31407         (do_compare): New function.
31408         (STRCOLL): Use GNU style definition.  Simplify implementation
31409         by using get_next_seq, get_next_seq_cached and do_compare.
31411 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31413         [BZ #14699]
31414         CVE-2013-4237
31415         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31416         member.
31417         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31418         member.
31419         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31420         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31421         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31422         conditional.
31423         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31424         GETDENTS_64BIT_ALIGNED.
31425         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31426         * manual/filesys.texi (Reading/Closing Directory): Document
31427         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31428         strongly.
31429         * manual/conf.texi (Limits for Files): Add portability note to
31430         NAME_MAX, PATH_MAX.
31431         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31433 2013-08-13  Andreas Schwab  <schwab@suse.de>
31435         [BZ #15749]
31436         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31437         of fabs.
31438         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31439         LDBL_MAX_EXP >= 16384]: Add tests for it.
31441 2013-08-12  David S. Miller  <davem@davemloft.net>
31443         * version.h (RELEASE): Set to "development".
31444         (VERSION): Set to "2.18.90".
31445         * NEWS: Add 2.19 section.
31447 2013-08-03  David S. Miller  <davem@davemloft.net>
31449         * po/ko.po: Update Korean translation from translation project.
31451 2013-08-01  David S. Miller  <davem@davemloft.net>
31453         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31454         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31455         Bilka.
31457 2013-07-30  David S. Miller  <davem@davemloft.net>
31459         * po/fr.po: Update French translation from translation project.
31461 2013-07-28  David S. Miller  <davem@davemloft.net>
31463         * po/cs.po: Update Czech translation from translation project.
31465         * po/sv.po: Update Swedish translation from translation project.
31467 2013-07-27  David S. Miller  <davem@davemloft.net>
31469         * po/eo.po: Update Esperanto translation from translation project.
31471         * po/vi.po: Update Vietnamese translation from translation project.
31473         * po/de.po: Update German translation from translation project.
31475 2013-07-26  David S. Miller  <davem@davemloft.net>
31477         * po/bg.po: Update Bulgarian translation from translation project.
31479         * po/nl.po: Update Dutch translation from translation project.
31480         * po/pl.po: Update Polish translation from translation project.
31481         * po/ru.po: Update Russian translation from translation project.
31483 2013-07-24  David S. Miller  <davem@davemloft.net>
31485         * po/libc.pot: Update.
31487 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31489         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31490         variable page size.
31491         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31492         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31493         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31495 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31497         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31499 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31500             Andreas Schwab  <schwab@suse.de>
31501             Roland McGrath  <roland@hack.frob.com>
31502             Joseph Myers  <joseph@codesourcery.com>
31503             Carlos O'Donell  <carlos@redhat.com>
31505         [BZ #15755]
31506         * config.h.in: Define HAVE_PT_CHOWN.
31507         * config.make.in (build-pt-chown): New variable.
31508         * configure.in (--enable-pt_chown): New configure option.
31509         * configure: Regenerate.
31510         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31511         build-pt-chown is enabled.
31512         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31513         pt_chown to fix pty ownership.
31514         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31515         CLOSE_ALL_FDS.
31516         * manual/install.texi (Configuring and compiling): Mention
31517         --enable-pt_chown. Add @findex for grantpt.
31518         * INSTALL: Regenerate.
31520 2013-07-20  David S. Miller  <davem@davemloft.net>
31522         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31523         difference between 32-bit and 64-bit.
31525 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31527         [BZ #15711]
31528         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31529         Avoid system header dependency with -ffreestanding.
31530         ($(objpfx)bits/syscall%d): Likewise.
31532 2013-07-13  David S. Miller  <davem@davemloft.net>
31534         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31535         underflows from atanl/atan2l due to bug 15319.
31536         (casinh_test_data): Likewise.
31538 2013-07-07  David S. Miller  <davem@davemloft.net>
31540         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31542 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31544         * sysdeps/i386/fpu/libm-test-ulps: Update.
31545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31547 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31549         * configure.in (--enable-lock-elision): Fix message text.
31550         * INSTALL: Regenerate.
31551         * configure: Regenerate.
31553 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31557 2013-07-03  Andreas Jaeger  <aj@suse.de>
31559         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31560         define.
31561         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31562         (ptrace_peeksiginfo_args): Add.
31563         (__ptrace_peeksiginfo_flags): Add.
31564         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31565         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31566         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31568 2013-07-03  Allan McRae  <allan@archlinux.org>
31570         * sysdeps/i386/fpu/libm-test-ulps: Update.
31572 2013-07-02  David S. Miller  <davem@davemloft.net>
31574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31576 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31578         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31580 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31582         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31585 2013-07-02  Andi Kleen <ak@linux.intel.com>
31587         * config.h.in (ENABLE_LOCK_ELISION): Add.
31588         * configure.in (--enable-lock-elision): Add option.
31589         * manual/install.texi: Document --enable lock elision.
31590         * configure: Regenerate
31591         * INSTALL: Regenerate.
31593 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31595         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31596         SSE4.2 strcasecmp for libc.a.
31597         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31599 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31601         [BZ #13304]
31602         * soft-fp/op-common.h (_FP_FMA): New macro.
31603         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31604         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31605         (_FP_MUL_MEAT_1_imm): ... here.
31606         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31607         (_FP_MUL_MEAT_1_wide): ... here.
31608         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31609         (_FP_MUL_MEAT_1_hard): ... here.
31610         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31611         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31612         (_FP_MUL_MEAT_2_wide): ... here.
31613         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31614         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31615         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31616         (_FP_MUL_MEAT_2_gmp): ... here.
31617         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31618         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31619         (_FP_MUL_MEAT_4_wide): ... here.
31620         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31621         (_FP_MUL_MEAT_4_gmp): ... here.
31622         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31623         (_FP_WFRACBITS_DW_S): Likewise.
31624         (_FP_WFRACXBITS_DW_S): Likewise.
31625         (_FP_HIGHBIT_DW_S): Likewise.
31626         (FP_FMA_S): Likewise.
31627         (_FP_FRAC_HIGH_DW_S): Likewise.
31628         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31629         (_FP_WFRACBITS_DW_D): Likewise.
31630         (_FP_WFRACXBITS_DW_D): Likewise.
31631         (_FP_HIGHBIT_DW_D): Likewise.
31632         (FP_FMA_D): Likewise.
31633         (_FP_FRAC_HIGH_DW_D): Likewise.
31634         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31635         (_FP_WFRACBITS_DW_E): Likewise.
31636         (_FP_WFRACXBITS_DW_E): Likewise.
31637         (_FP_HIGHBIT_DW_E): Likewise.
31638         (FP_FMA_E): Likewise.
31639         (_FP_FRAC_HIGH_DW_E): Likewise.
31640         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31641         (_FP_WFRACBITS_DW_Q): Likewise.
31642         (_FP_WFRACXBITS_DW_Q): Likewise.
31643         (_FP_HIGHBIT_DW_Q): Likewise.
31644         (FP_FMA_Q): Likewise.
31645         (_FP_FRAC_HIGH_DW_Q): Likewise.
31646         * soft-fp/fmasf4.c: New file.
31647         * soft-fp/fmadf4.c: Likewise.
31648         * soft-fp/fmatf4.c: Likewise.
31650 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31653         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31654         Silvermont.
31655         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31656         macro.
31657         (index_Slow_SSE4_2): Likewise.
31658         (index_Prefer_PMINUB_for_stringop): Likewise.
31659         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31660         bit_Slow_SSE4_2 is set.
31661         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31662         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31664 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31666         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31667         rtld_global._dl_hwcap2.
31668         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31669         POWER8.
31670         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31671         POWER8 feature descriptions defined in _dl_hwcap2.
31672         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31673         string handling for POWER8 feature bits.
31674         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31675         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31676         _dl_powerpc_cap_flags.
31677         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31678         * sysdeps/powerpc/rtld-global-offsets.sym
31679         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31680         _dl_hwcap2 in the rtld_global_ro structure.
31682 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31684         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31685         hardware capabilities in support of AT_HWCAP2.
31686         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31687         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31688         GLRO(dl_hwcap2).
31689         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31690         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31691         explicitly the unknown a_type display mechanism is used.
31692         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31693         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31694         struct member.
31695         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31696         to macro prototype for AT_HWCAP2 support.
31697         * sysdeps/i386/dl-procinfo.h: Likewise.
31698         * sysdeps/s390/dl-procinfo.h: Likewise.
31699         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31700         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31701         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31702         return -1 for unknown a_type display fallback.
31703         * sysdeps/sparc/dl-procinfo.h: Likewise.
31704         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31705         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31707 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31709         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31710         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31712 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31714         [BZ #12492]
31715         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31716         mprotect making __stack_prot writable.
31718 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31719             Joseph Myers  <joseph@codesourcery.com>
31721         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31722         as being properly aligned.
31724 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
31726         * dlfcn/modstatic5.c: New file.
31727         * dlfcn/tststatic5.c: New file.
31728         * dlfcn/Makefile (tests): Add tststatic5.
31729         (tests-static): Likewise.
31730         (modules-names): Add modstatic5.
31731         (tststatic5-ENV): New variable.
31732         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31734         [BZ #15022]
31735         * elf/dl-support.c (_dl_main_map): New variable.
31736         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31737         (_dl_nns, _dl_load_adds): Set to 1.
31738         (_dl_initial_searchlist): Refer to _dl_main_map.
31739         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31740         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31741         call to _dl_get_origin.
31742         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31743         around call_map.
31744         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31745         * dlfcn/modstatic3.c: New file.
31746         * dlfcn/tststatic3.c: New file.
31747         * dlfcn/tststatic4.c: New file.
31748         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31749         (tests-static): Likewise.
31750         (modules-names): Add modstatic3.
31751         (tststatic3-ENV, tststatic4-ENV): New variables.
31752         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31753         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31755 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31757         * configure.in (CC): Require GCC version 4.4 or later.
31758         * configure: Regenerated.
31759         * manual/install.texi (Tools for Compilation): Update GCC version
31760         requirement.
31761         * INSTALL: Regenerated.
31763 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31765         [BZ #15674]
31766         * string/test-memcmp.c (check2): New.
31767         (main): Call check2.
31769         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31771 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
31773         [BZ #15022]
31774         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31775         over to...
31776         (dl_open_worker) [!SHARED]: ... here.
31778 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31780         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31782 2013-06-25  Richard Henderson  <rth@redhat.com>
31784         * locale/programs/locarchive.c: Include <libc-internal.h>
31786 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
31788         * manual/texinfo.tex: Update to version 2013-06-21.17, with
31789         trailing whitespace removed.
31791 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31793         [BZ #10283]
31794         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31795         * locale/programs/locarchive.c: Include libc-mmap.h.
31796         (prepare_address_space): Take two new outputs (the mmap base and len).
31797         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
31798         values.
31799         (create_archive): Declare new mmap base and len values for
31800         prepare_address_space, and store the result in ah.
31801         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31802         (enlarge_archive): If ah->mmap_base is not NULL, use that and
31803         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31804         Declare new mmap base and len values for
31805         prepare_address_space, and store the result in new_ah.
31806         (open_archive): Declare new mmap base and len values for
31807         prepare_address_space, and store the result in ah.
31808         (close_archive): If ah->mmap_base is not NULL, use that and
31809         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31810         * sysdeps/generic/libc-mmap.h: New file.
31812 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31814         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31815         (ALIGN_UP): Likewise.
31816         (PTR_ALIGN_DOWN): Likewise.
31817         (PTR_ALIGN_UP): Likewise.
31819 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31821         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31822         entry mapped to PPC_PLATFORM_POWER8.
31823         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31824         POWER8.
31825         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31826         (_dl_string_platform): Add case for exporting platform position for
31827         POWER8.
31828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31829         search path to sysdeps/powerpc/powerpc32/power8 directory.
31830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31831         search path to sysdeps/powerpc/powerpc64/power8 directory.
31832         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31833         power7 directories.
31834         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31835         power7 directories.
31837 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31839         * INSTALL: Regenerate.
31841         * nscd/connections.c (nscd_init): Fix comment.
31843 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31845         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31847         [BZ #15667]
31848         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31849         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31851 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31853         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31854         DL_DST_REQ_STATIC.
31855         (DL_DST_REQ_STATIC): Remove macro.
31857 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31859         [BZ #7006]
31860         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31861         with a shift of 0 bits.
31863 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31865         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31866         $(tststatic-ENV).
31868 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31870         [BZ #15655]
31871         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31873 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31875         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31876         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31877         accepts -fno-tree-loop-distribute-patterns.
31878         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31879         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31880         recursive call.
31881         * string/memset.c (memset): Likewise.
31882         * string/test-memmove.c (simple_memmove): Disable loop transformation
31883         to library calls.
31884         * string/test-memset.c (simple_memset): Likewise.
31885         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31886         * benchtests/bench-memset.c (simple_memset): Likewise.
31887         * configure: Regenerated.
31889 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31891         * math/test-misc.c (main): Ignore fesetround failure when failures
31892         of subsequent rounding tests would be ignored.
31894         [BZ #15654]
31895         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31896         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31897         * math/fegetenv.c (__fegetenv): Return 0.
31898         * math/fegetexcept.c (fegetexcept): Return 0.
31899         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31900         FE_TONEAREST.
31901         * math/feholdexcpt.c (feholdexcept): Return 0.
31902         * math/fesetenv.c (__fesetenv): Return 0.
31903         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31904         argument FE_TONEAREST.
31905         * math/feupdateenv.c (__feupdateenv): Return 0.
31906         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31908 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31910         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31911         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31912         ($(objpfx)rtld-%.os rules): Use them.
31914 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31916         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31917         fields.
31919 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31921         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31922         length of target pattern, then descending length of dependency pattern.
31923         * configure.in (AWK): Require gawk 3.1.2 or newer.
31924         * manual/install.texi (Tools for Compilation): Say that we do.
31925         * configure: Regenerated.
31927         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31928         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31929         * scripts/sysd-rules.awk: ... this new script.
31930         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31931         than a glob-style pattern.
31933 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31935         * math/test-misc.c (main): Do not treat incorrectly rounded
31936         conversions as failure unless ROUNDING_TESTS passes.
31938 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31940         [BZ #15631]
31941         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31942         restore exception state around main square root computation, then
31943         check for inexactness explicitly.
31945         * math/libm-test.inc (fma_test_data): Add another test.
31947 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31949         * manual/threads.texi (Non-POSIX Extensions): New document
31950         node.  Document pthread_getattr_default_np and
31951         pthread_setattr_default_np.
31953         * Versions.def (libpthread): Add GLIBC_2.18.
31954         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31956         Likewise.
31957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31958         Likewise.
31959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31960         Likewise.
31961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31962         Likewise.
31963         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31964         Likewise.
31965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31966         Likewise.
31967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31968         Likewise.
31969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31970         Likewise.
31971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31972         Likewise.
31974 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31976         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31977         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31979 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31980             H.J. Lu  <hjl.tools@gmail.com>
31982         [BZ #15627]
31983         * sysdeps/x86_64/rtld-memset.c: Remove file.
31984         * sysdeps/x86_64/rtld-memset.S: New file.
31986 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31988         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31989         (test_in_one_mode): Take arguments for whether the rounding mode
31990         is supported for each floating-point type.
31991         (do_test): Pass new arguments to test_in_one_mode using
31992         ROUNDING_TESTS.
31994 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31996         * posix/tst-waitid.c (do_test): Distinguish different instances of
31997         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31998         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31999         before entering the kernel for waitpid.
32001 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32003         * NEWS: Fix note on clock function precision.  Text by Roland
32004         McGrath.
32006 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32008         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32009         it into place only when and if the sanity check passes.
32011 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32013         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32014         output for whether conversion result is exact.  Take argument
32015         indicating whether type is IBM long double.
32016         (round_for_all): Change need_exact field to ibm_ld.
32017         * stdlib/tst-strtod-round.c (struct exactness): New type.
32018         (struct test): Change bool ld_ok field to struct exactness exact.
32019         (TEST): Update all definitions for change to field.
32020         (tests): Regenerate array contents.
32021         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32022         field value.  Check for IBM long double here.
32023         (do_test): Update calls to test_in_one_mode.
32025 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32027         [BZ #12515]
32028         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32029         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32031 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32033         [BZ #15605]
32034         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32035         generated by the compiler on loop optimizations.
32036         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32037         general definitions.
32039 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32041         * math/bug-nextafter.c: Include <math-tests.h>.
32042         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32043         the relevant type.
32044         * math/bug-nexttoward.c: Include <math-tests.h>.
32045         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32046         the relevant type.
32047         * math/test-misc.c: Include <math-tests.h>.
32048         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32049         the relevant type.
32051 2013-06-12  Andreas Jaeger  <aj@suse.de>
32053         * po/ia.po: Update Interlingua translation from translation
32054         project.
32056 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32058         * include/fenv.h: Include stdbool.h.
32059         (struct rm_ctx): New structure.
32060         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32061         Define macro.
32062         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32063         (SET_RESTORE_ROUNDF): Likewise.
32064         (SET_RESTORE_ROUNDL): Likewise.
32065         (SET_RESTORE_ROUND_NOEX): Likewise.
32066         (SET_RESTORE_ROUND_NOEXF): Likewise.
32067         (SET_RESTORE_ROUND_NOEXL): Likewise.
32068         (SET_RESTORE_ROUND_53BIT): Likewise.
32069         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32070         (libc_feresetround_noexf_ctx): Likewise.
32071         (libc_feresetround_noexl_ctx): Likewise.
32072         (libc_feholdsetround_53bit_ctx): Likewise.
32073         (libc_feresetround_53bit_ctx): Likewise.
32074         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32075         (libc_feholdexcept_setround_sse_ctx): New function.
32076         (libc_fesetenv_sse_ctx): Likewise.
32077         (libc_feupdateenv_sse_ctx): Likewise.
32078         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32079         (libc_feholdexcept_setround_387_ctx): Likewise.
32080         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32081         (libc_feholdsetround_387_prec_ctx): Likewise.
32082         (libc_feholdsetround_387_ctx): Likewise.
32083         (libc_feholdsetround_387_53bit_ctx): Likewise.
32084         (libc_feholdsetround_sse_ctx): Likewise.
32085         (libc_feresetround_sse_ctx): Likewise.
32086         (libc_feresetround_387_ctx): Likewise.
32087         (libc_feupdateenv_387_ctx): Likewise.
32088         (libc_feholdexcept_setroundf_ctx): Define macro.
32089         (libc_fesetenvf_ctx): Likewise.
32090         (libc_feupdateenvf_ctx): Likewise.
32091         (libc_feholdsetroundf_ctx): Likewise.
32092         (libc_feresetroundf_ctx): Likewise.
32093         (libc_feholdexcept_setround_ctx): Likewise.
32094         (libc_fesetenv_ctx): Likewise.
32095         (libc_feupdateenv_ctx): Likewise.
32096         (libc_feholdsetround_ctx): Likewise.
32097         (libc_feresetround_ctx): Likewise.
32098         (libc_feholdexcept_setroundl_ctx): Likewise.
32099         (libc_feupdateenvl_ctx): Likewise.
32100         (libc_feholdsetroundl_ctx): Likewise.
32101         (libc_feresetroundl_ctx): Likewise.
32102         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32103         (libc_feresetround_53bit_ctx): Likewise.
32105 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32107         * locale/iso-639.def: Convert to UTF-8.
32109 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32111         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32112         (EXCEPTION_TESTS_double): Likewise.
32113         (EXCEPTION_TESTS_long_double): Likewise.
32114         (EXCEPTION_TESTS): Likewise.
32115         * math/libm-test.inc (test_exceptions): Only test exceptions if
32116         EXCEPTION_TESTS (FLOAT).
32118 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32120         * benchtests/Makefile (string-bench): Add strcpy_chk and
32121         stpcpy_chk.
32122         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32123         * benchtests/bench-stpcpy_chk.c: New file.
32124         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32125         * benchtests/bench-strcpy_chk.c: New file.
32126         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32127         code.
32128         (do_test): Likewise.
32130 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32132         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32133         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32134         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32135         with tabs where appropriate.
32136         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32137         dl-procinfo.h.
32138         [PPC_PLATFORM_PPC440]: Likewise.
32139         [PPC_PLATFORM_PPC464]: Likewise.
32140         [PPC_PLATFORM_PPC476]: Likewise.
32141         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32142         ppc464, and ppc476 platform strings merging from ports/
32143         dl-procinfo.h.
32145 2013-06-11  Andreas Schwab  <schwab@suse.de>
32147         [BZ #14991]
32148         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32149         (from_ucs4_idx): Regenerate.
32150         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32151         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32152         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32153         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32154         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32155         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32156         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32157         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32158         from FROM_LOOP and TO_LOOP specific macros.
32159         (BODY): Handle combining characters.
32160         * iconvdata/BIG5HKSCS.irreversible: Update.
32161         * iconvdata/BIG5HKSCS.precomposed: New file.
32162         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32163         characters.
32164         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32166 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32168         * include/sys/time.h: Fix indentation and add copyright header.
32170         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32171         (do_test): Likewise.
32172         * string/test-memchr.c (do_one_test): Likewise.
32173         (do_test): Likewise.
32174         * string/test-memcmp.c (do_one_test): Likewise.
32175         (do_test): Likewise.
32176         * string/test-memcpy.c (do_one_test): Likewise.
32177         (do_test): Likewise.
32178         * string/test-memmem.c (do_one_test): Likewise.
32179         (do_test): Likewise.
32180         (do_random_tests): Likewise.
32181         * string/test-memmove.c (do_one_test): Likewise.
32182         (do_test): Likewise.
32183         * string/test-memset.c (do_one_test): Likewise.
32184         (do_test): Likewise.
32185         * string/test-rawmemchr.c (do_one_test): Likewise.
32186         (do_test): Likewise.
32187         * string/test-strcasecmp.c (do_one_test): Likewise.
32188         (do_test): Likewise.
32189         * string/test-strcasestr.c (do_one_test): Likewise.
32190         (do_test): Likewise.
32191         * string/test-strcat.c (do_one_test): Likewise.
32192         (do_test): Likewise.
32193         * string/test-strchr.c (do_one_test): Likewise.
32194         (do_test): Likewise.
32195         * string/test-strcmp.c (do_one_test): Likewise.
32196         (do_test): Likewise.
32197         * string/test-strcpy.c (do_one_test): Likewise.
32198         (do_test): Likewise.
32199         * string/test-string.h: Likewise.
32200         (test_init): Likewise.
32201         * string/test-strlen.c (do_one_test): Likewise.
32202         (do_test): Likewise.
32203         * string/test-strncasecmp.c (do_one_test): Likewise.
32204         (do_test): Likewise.
32205         * string/test-strncat.c (do_one_test): Likewise.
32206         (do_test): Likewise.
32207         * string/test-strncmp.c (do_one_test): Likewise.
32208         (do_test_limit): Likewise.
32209         (do_test): Likewise.
32210         * string/test-strncpy.c (do_one_test): Likewise.
32211         (do_test): Likewise.
32212         * string/test-strnlen.c (do_one_test): Likewise.
32213         (do_test): Likewise.
32214         * string/test-strpbrk.c (do_one_test): Likewise.
32215         (do_test): Likewise.
32216         * string/test-strrchr.c (do_one_test): Likewise.
32217         (do_test): Likewise.
32218         * string/test-strspn.c (do_one_test): Likewise.
32219         (do_test): Likewise.
32220         * string/test-strstr.c (do_one_test): Likewise.
32221         (do_test): Likewise.
32223         * benchtests/Makefile (string-bench): Add string benchmarks.
32224         * benchtests/bench-bcopy-ifunc.c: New file.
32225         * benchtests/bench-bcopy.c: New file.
32226         * benchtests/bench-bzero-ifunc.c: New file.
32227         * benchtests/bench-bzero.c: New file.
32228         * benchtests/bench-memccpy-ifunc.c: New file.
32229         * benchtests/bench-memccpy.c: New file.
32230         * benchtests/bench-memchr-ifunc.c: New file.
32231         * benchtests/bench-memchr.c: New file.
32232         * benchtests/bench-memcmp-ifunc.c: New file.
32233         * benchtests/bench-memcmp.c: New file.
32234         * benchtests/bench-memmem-ifunc.c: New file.
32235         * benchtests/bench-memmem.c: New file.
32236         * benchtests/bench-memmove-ifunc.c: New file.
32237         * benchtests/bench-memmove.c: New file.
32238         * benchtests/bench-mempcpy-ifunc.c: New file.
32239         * benchtests/bench-mempcpy.c: New file.
32240         * benchtests/bench-memset-ifunc.c: New file.
32241         * benchtests/bench-memset.c: New file.
32242         * benchtests/bench-rawmemchr-ifunc.c: New file.
32243         * benchtests/bench-rawmemchr.c: New file.
32244         * benchtests/bench-stpcpy-ifunc.c: New file.
32245         * benchtests/bench-stpcpy.c: New file.
32246         * benchtests/bench-stpncpy-ifunc.c: New file.
32247         * benchtests/bench-stpncpy.c: New file.
32248         * benchtests/bench-strcasecmp-ifunc.c: New file.
32249         * benchtests/bench-strcasecmp.c: New file.
32250         * benchtests/bench-strcasestr-ifunc.c: New file.
32251         * benchtests/bench-strcasestr.c: New file.
32252         * benchtests/bench-strcat-ifunc.c: New file.
32253         * benchtests/bench-strcat.c: New file.
32254         * benchtests/bench-strchr-ifunc.c: New file.
32255         * benchtests/bench-strchr.c: New file.
32256         * benchtests/bench-strchrnul-ifunc.c: New file.
32257         * benchtests/bench-strchrnul.c: New file.
32258         * benchtests/bench-strcmp-ifunc.c: New file.
32259         * benchtests/bench-strcmp.c: New file.
32260         * benchtests/bench-strcpy-ifunc.c: New file.
32261         * benchtests/bench-strcpy.c: New file.
32262         * benchtests/bench-strcspn-ifunc.c: New file.
32263         * benchtests/bench-strcspn.c: New file.
32264         * benchtests/bench-strlen-ifunc.c: New file.
32265         * benchtests/bench-strlen.c: New file.
32266         * benchtests/bench-strncasecmp-ifunc.c: New file.
32267         * benchtests/bench-strncasecmp.c: New file.
32268         * benchtests/bench-strncat-ifunc.c: New file.
32269         * benchtests/bench-strncat.c: New file.
32270         * benchtests/bench-strncmp-ifunc.c: New file.
32271         * benchtests/bench-strncmp.c: New file.
32272         * benchtests/bench-strncpy-ifunc.c: New file.
32273         * benchtests/bench-strncpy.c: New file.
32274         * benchtests/bench-strnlen-ifunc.c: New file.
32275         * benchtests/bench-strnlen.c: New file.
32276         * benchtests/bench-strpbrk-ifunc.c: New file.
32277         * benchtests/bench-strpbrk.c: New file.
32278         * benchtests/bench-strrchr-ifunc.c: New file.
32279         * benchtests/bench-strrchr.c: New file.
32280         * benchtests/bench-strspn-ifunc.c: New file.
32281         * benchtests/bench-strspn.c: New file.
32282         * benchtests/bench-strstr-ifunc.c: New file.
32283         * benchtests/bench-strstr.c: New file.
32285         * benchtests/Makefile: Disable parallel execution of targets.
32286         (string-bench): Add memcpy.
32287         (benchset): New variable to store a list of benchmark sets.
32288         (bench-func): Renamed from bench.
32289         (bench-set): New target.
32290         (bench): Depend on bench-func and bench-set.
32291         * benchtests/README: Add section on benchmark sets.
32292         * benchtests/bench-memcpy-ifunc.c: New file.
32293         * benchtests/bench-memcpy.c: New file.
32294         * benchtests/bench-string.h: New file.
32296 2013-06-11  Andreas Schwab  <schwab@suse.de>
32298         [BZ #15577]
32299         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32300         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32301         values in the triple.
32302         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32303         terminator in the group key.
32305 2013-06-11  Andreas Jaeger  <aj@suse.de>
32307         * po/zh_TW.po: Update Chinese (traditional) translation from
32308         translation project.
32310 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32312         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32313         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32314         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32315         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32316         (clock_getcpuclockid): Likewise.
32317         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32318         Add weak_alias and libc_hidden_def.
32319         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32320         * rt/clock_gettime.c (clock_gettime): Rename to
32321         __clock_gettime.  Add weak_alias and libc_hidden_def.
32322         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32323         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32324         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32325         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32326         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32327         Likewise.
32328         * rt/clock_settime.c (clock_settime): Rename to
32329         __clock_settime.  Add weak_alias and libc_hidden_def.
32330         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32332 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32334         * mach/err_boot.sub: Remove trailing whitespace.
32335         * mach/err_ipc.sub: Likewise.
32336         * mach/err_mach.sub: Likewise.
32338         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32339         (ROUNDING_TESTS_double): Likewise.
32340         (ROUNDING_TESTS_long_double): Likewise.
32341         (ROUNDING_TESTS): Likewise.
32342         * math/libm-test.inc: Include <math-tests.h>.
32343         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32344         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32345         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32346         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32348 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32350         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32351         of assigning.
32353 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32355         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32356         otherwise empty TRANS lines.
32357         * sysdeps/gnu/errlist.c: Regenerated.
32359         * catgets/gencat.c (error_print): Use (void) in function
32360         definition.
32361         * crypt/crypt_util.c (__init_des): Likewise.
32362         * crypt/speeds.c (Stop): Likewise.
32363         (main): Likewise.
32364         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32365         * inet/ruserpass.c (token): Likewise.
32366         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32367         * intl/localealias.c (extend_alias_table): Likewise.
32368         * intl/plural-exp.c (init_germanic_plural): Likewise.
32369         * libio/fcloseall.c (__fcloseall): Likewise.
32370         * libio/genops.c (_IO_flush_all): Likewise.
32371         (_IO_flush_all_linebuffered): Likewise.
32372         (_IO_cleanup): Likewise.
32373         (_IO_iter_begin): Likewise.
32374         (_IO_iter_end): Likewise.
32375         (_IO_list_lock): Likewise.
32376         (_IO_list_unlock): Likewise.
32377         (_IO_list_resetlock): Likewise.
32378         * libio/getchar.c (getchar): Likewise.
32379         * libio/getchar_u.c (getchar_unlocked): Likewise.
32380         * libio/getwchar.c (getwchar): Likewise.
32381         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32382         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32383         * login/getpt.c (__getpt): Likewise.
32384         * login/tst-utmp.c (main): Likewise.
32385         * malloc/hooks.c (__malloc_check_init): Likewise.
32386         * malloc/malloc.c (__malloc_stats): Likewise.
32387         * malloc/mtrace.c (tr_break): Likewise.
32388         (mtrace): Likewise.
32389         (muntrace): Likewise.
32390         * misc/fstab.c (endfsent): Likewise.
32391         * misc/getclktck.c (__getclktck): Likewise.
32392         * misc/getdtsz.c (__getdtablesize): Likewise.
32393         * misc/gethostid.c (gethostid): Likewise.
32394         * misc/getpagesize.c (__getpagesize): Likewise.
32395         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32396         (__get_nprocs): Likewise.
32397         (__get_phys_pages): Likewise.
32398         (__get_avphys_pages): Likewise.
32399         * misc/getttyent.c (getttyent): Likewise.
32400         (setttyent): Likewise.
32401         (endttyent): Likewise.
32402         * misc/getusershell.c (getusershell): Likewise.
32403         (endusershell): Likewise.
32404         (setusershell): Likewise.
32405         (initshells): Likewise.
32406         * misc/hsearch.c (__hdestroy): Likewise.
32407         * misc/sync.c (sync): Likewise.
32408         * misc/syslog.c (closelog_internal): Likewise.
32409         (closelog): Likewise.
32410         * misc/ttyslot.c (ttyslot): Likewise.
32411         * misc/vhangup.c (vhangup): Likewise.
32412         * posix/fork.c (__fork): Likewise.
32413         * posix/getegid.c (__getegid): Likewise.
32414         * posix/geteuid.c (__geteuid): Likewise.
32415         * posix/getgid.c (__getgid): Likewise.
32416         * posix/getpid.c (__getpid): Likewise.
32417         * posix/getppid.c (__getppid): Likewise.
32418         * posix/getuid.c (__getuid): Likewise.
32419         * posix/pause.c (pause): Likewise.
32420         * posix/setpgrp.c (setpgrp): Likewise.
32421         * posix/setsid.c (__setsid): Likewise.
32422         * posix/test-vfork.c (noop): Likewise.
32423         * resolv/gethnamaddr.c (_endhtent): Likewise.
32424         (_gethtent): Likewise.
32425         (ht_endhostent): Likewise.
32426         (gethostent): Likewise.
32427         (dns_service): Likewise.
32428         * stdlib/drand48.c (drand48): Likewise.
32429         * stdlib/lrand48.c (lrand48): Likewise.
32430         * stdlib/mrand48.c (mrand48): Likewise.
32431         * stdlib/rand.c (rand): Likewise.
32432         * stdlib/random.c (__random): Likewise.
32433         * stdlib/setenv.c (clearenv): Likewise.
32434         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32435         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32436         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32437         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32438         (__get_nprocs): Likewise.
32439         (__get_phys_pages): Likewise.
32440         (__get_avphys_pages): Likewise.
32441         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32442         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32443         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32444         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32445         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32446         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32447         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32448         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32449         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32450         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32451         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32452         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32453         * sysdeps/posix/clock.c (clock): Likewise.
32454         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32455         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32456         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32457         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32458         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32459         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32460         (__get_nprocs_conf): Likewise.
32461         (__get_phys_pages): Likewise.
32462         (__get_avphys_pages): Likewise.
32463         * time/clock.c (clock): Likewise.
32464         * time/tzset.c (__tzname_max): Likewise.
32466 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32468         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32469         (__bswap_32): Do not use "register".
32470         * crypt/crypt.c (_ufc_doit_r): Likewise.
32471         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32472         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32473         * gmon/gmon.c (__monstartup): Likewise.
32474         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32475         * hurd/hurdmalloc.c (more_memory): Likewise.
32476         (malloc): Likewise.
32477         (free): Likewise.
32478         (realloc): Likewise.
32479         (malloc_fork_prepare): Likewise.
32480         (malloc_fork_parent): Likewise.
32481         (malloc_fork_child): Likewise.
32482         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32483         (_svcauth_des): Likewise.
32484         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32485         * inet/inet_net.c (inet_network): Likewise.
32486         * inet/inet_netof.c (inet_netof): Likewise.
32487         * inet/rcmd.c (__validuser2_sa): Likewise.
32488         * io/fts.c (fts_open): Likewise.
32489         (fts_load): Likewise.
32490         (fts_close): Likewise.
32491         (fts_read): Likewise.
32492         (fts_children): Likewise.
32493         (fts_build): Likewise.
32494         (fts_stat): Likewise.
32495         (fts_sort): Likewise.
32496         (fts_alloc): Likewise.
32497         (fts_lfree): Likewise.
32498         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32499         (_IO_file_xsgetn): Likewise.
32500         (_IO_file_xsgetn_mmap): Likewise.
32501         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32502         (_IO_cookie_write): Likewise.
32503         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32504         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32505         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32506         * malloc/obstack.c (_obstack_begin): Likewise.
32507         (_obstack_begin_1): Likewise.
32508         (_obstack_newchunk): Likewise.
32509         (_obstack_allocated_p): Likewise.
32510         (obstack_free): Likewise.
32511         (_obstack_memory_used): Likewise.
32512         * misc/getttyent.c (getttynam): Likewise.
32513         (getttyent): Likewise.
32514         (skip): Likewise.
32515         (value): Likewise.
32516         * misc/getusershell.c (initshells): Likewise.
32517         * misc/syslog.c (__vsyslog_chk): Likewise.
32518         * misc/ttyslot.c (ttyslot): Likewise.
32519         * nis/nis_hash.c (__nis_hash): Likewise.
32520         * posix/fnmatch_loop.c (FCT): Likewise.
32521         * posix/getconf.c (print_all): Likewise.
32522         (main): Likewise.
32523         * posix/getopt.c (exchange): Likewise.
32524         * posix/glob.c (globfree): Likewise.
32525         (prefix_array): Likewise.
32526         (__glob_pattern_type): Likewise.
32527         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32528         (NS_GET32): Likewise.
32529         (NS_PUT16): Likewise.
32530         (NS_PUT32): Likewise.
32531         * resolv/gethnamaddr.c (getanswer): Likewise.
32532         (gethostbyname2): Likewise.
32533         (gethostbyaddr): Likewise.
32534         (_gethtent): Likewise.
32535         (_gethtbyname2): Likewise.
32536         (_gethtbyaddr): Likewise.
32537         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32538         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32539         * resolv/res_init.c (__res_vinit): Likewise.
32540         (net_mask): Likewise.
32541         * resolv/res_mkquery.c (outchar): Likewise.
32542         (PRINT): Likewise.
32543         * stdio-common/printf_fp.c (outchar): Likewise.
32544         (PRINT): Likewise.
32545         * stdio-common/printf_fphex.c (outchar): Likewise.
32546         (PRINT): Likewise.
32547         * stdio-common/printf_size.c (outchar): Likewise.
32548         (PRINT): Likewise.
32549         * stdio-common/test_rdwr.c (main): Likewise.
32550         * stdio-common/tfformat.c (matches): Likewise.
32551         * stdio-common/vfprintf.c (outchar): Likewise.
32552         (printf_unknown): Likewise.
32553         (buffered_vfprintf): Likewise.
32554         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32555         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32556         (ReadFile): Likewise.
32557         * stdlib/qsort.c (SWAP): Likewise.
32558         (_quicksort): Likewise.
32559         * stdlib/setenv.c (__add_to_environ): Likewise.
32560         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32561         * stdlib/strtol_l.c (__strtol_l): Likewise.
32562         * stdlib/tst-strtod.c (main): Likewise.
32563         * stdlib/tst-strtol.c (main): Likewise.
32564         * stdlib/tst-strtoll.c (main): Likewise.
32565         * string/bits/string2.h (__strcmp_cc): Likewise.
32566         (__strcmp_cg): Likewise.
32567         (__strcspn_c1): Likewise.
32568         (__strcspn_c2): Likewise.
32569         (__strcspn_c3): Likewise.
32570         (__strspn_c1): Likewise.
32571         (__strspn_c2): Likewise.
32572         (__strspn_c3): Likewise.
32573         (__strsep_1c): Likewise.
32574         (__strsep_2c): Likewise.
32575         (__strsep_3c): Likewise.
32576         * string/memccpy.c (__memccpy): Likewise.
32577         * string/stpcpy.c (__stpcpy): Likewise.
32578         * string/strcmp.c (strcmp): Likewise.
32579         * string/strrchr.c (strrchr): Likewise.
32580         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32581         Likewise.
32582         * sysdeps/mach/hurd/getcwd.c
32583         (_hurd_canonicalize_directory_name_internal): Likewise.
32584         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32585         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32586         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32587         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32588         Likewise, in both definitions.
32589         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32590         definitions.
32591         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32592         64] (__bswap_64): Likewise.
32593         * time/test_time.c (main): Likewise.
32594         * time/tzfile.c (__tzfile_read): Likewise.
32595         (__tzfile_compute): Likewise.
32596         * time/tzset.c (__tzset_parse_tz): Likewise.
32597         (tzset_internal): Likewise.
32598         (compute_change): Likewise.
32599         * wcsmbs/wcscat.c (__wcscat): Likewise.
32600         * wcsmbs/wcschr.c (wcschr): Likewise.
32601         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32602         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32603         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32604         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32605         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32606         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32607         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32608         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32609         * wcsmbs/wmemset.c (wmemset): Likewise.
32611 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32613         * scripts/config.guess: Update to version 2013-05-16.
32614         * scripts/config.sub: Update to version 2013-04-24.
32615         * scripts/install-sh: Update to version 2011-11-20.07.
32616         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32617         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32619 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32621         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32622         * elf/sln.c: Likewise.
32623         * hurd/hurd/ioctl.h: Likewise.
32624         * hurd/hurdmalloc.c: Likewise.
32625         * hurd/xattr.c: Likewise.
32626         * include/shlib-compat.h: Likewise.
32627         * inet/ruserpass.c: Likewise.
32628         * libio/iofgets_u.c: Likewise.
32629         * libio/iofgetws_u.c: Likewise.
32630         * locale/programs/ld-identification.c: Likewise.
32631         * locale/programs/ld-time.c: Likewise.
32632         * mach/msg-destroy.c: Likewise.
32633         * nss/nss_files/files-netgrp.c: Likewise.
32634         * resolv/res_data.c: Likewise.
32635         * soft-fp/op-1.h: Likewise.
32636         * soft-fp/op-2.h: Likewise.
32637         * soft-fp/op-4.h: Likewise.
32638         * soft-fp/op-common.h: Likewise.
32639         * stdio-common/printf_fphex.c: Likewise.
32640         * stdlib/strtod_l.c: Likewise.
32641         * sunrpc/rpc/clnt.h: Likewise.
32642         * sysdeps/generic/framestate.c: Likewise.
32643         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32644         * sysdeps/i386/bsd-setjmp.S: Likewise.
32645         * sysdeps/i386/__longjmp.S: Likewise.
32646         * sysdeps/i386/setjmp.S: Likewise.
32647         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32648         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32649         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32650         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32651         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32652         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32653         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32654         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32655         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32656         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32657         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32658         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32659         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32660         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32661         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32662         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32663         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32664         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32665         * sysdeps/ieee754/support.c: Likewise.
32666         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32667         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32668         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32669         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32670         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32671         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32672         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32673         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32674         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32675         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32676         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32677         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32678         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32679         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32680         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32681         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32682         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32685 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32687         * posix/transbug.c: Remove executable mode.
32689 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32691         * crypt/speeds.c: Remove trailing whitespace.
32692         * dlfcn/default.c: Likewise.
32693         * elf/ifuncdep2.c: Likewise.
32694         * elf/ifuncmain1.c: Likewise.
32695         * elf/ifuncmain1vis.c: Likewise.
32696         * elf/testobj.h: Likewise.
32697         * elf/tst-stackguard1.c: Likewise.
32698         * gmon/sys/gmon.h: Likewise.
32699         * hurd/hurdmsg.c: Likewise.
32700         * hurd/new-fd.c: Likewise.
32701         * hurd/ports-get.c: Likewise.
32702         * iconvdata/ibm1008_420.c: Likewise.
32703         * inet/tst-getni1.c: Likewise.
32704         * inet/tst-getni2.c: Likewise.
32705         * libio/ioungetc.c: Likewise.
32706         * libio/wfiledoalloc.c: Likewise.
32707         * manual/libm-err-tab.pl: Likewise.
32708         * math/w_dremf.c: Likewise.
32709         * misc/ftruncate.c: Likewise.
32710         * posix/bug-glob2.c: Likewise.
32711         * posix/tst-pcre.c: Likewise.
32712         * posix/wait4.c: Likewise.
32713         * resolv/README: Likewise.
32714         * resolv/res_debug.h: Likewise.
32715         * resolv/tst-inet_ntop.c: Likewise.
32716         * setjmp/bug269-setjmp.c: Likewise.
32717         * soft-fp/extended.h: Likewise.
32718         * soft-fp/op-1.h: Likewise.
32719         * soft-fp/op-2.h: Likewise.
32720         * soft-fp/op-4.h: Likewise.
32721         * soft-fp/op-8.h: Likewise.
32722         * soft-fp/testit.c: Likewise.
32723         * stdio-common/bug16.c: Likewise.
32724         * stdlib/random.c: Likewise.
32725         * sunrpc/rpcsvc/rquota.x: Likewise.
32726         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32727         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32728         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32729         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32730         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32731         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32732         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32733         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32734         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32735         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32736         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32737         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32738         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32739         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32740         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32741         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32742         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32743         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32744         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32745         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32746         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32747         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32748         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32749         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32750         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32751         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32752         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32753         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32754         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32755         * sysdeps/ieee754/s_lib_version.c: Likewise.
32756         * sysdeps/mach/hurd/check_fds.c: Likewise.
32757         * sysdeps/mach/hurd/getsockname.c: Likewise.
32758         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32759         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32760         * sysdeps/powerpc/bits/link.h: Likewise.
32761         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32762         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32763         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32764         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32765         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32766         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32767         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32768         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32769         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32770         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32771         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32772         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32773         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32774         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32775         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32776         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32777         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32778         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32779         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32780         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32781         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32782         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32783         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32784         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32785         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32786         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32787         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32788         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32789         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32790         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32791         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32792         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32793         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32794         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32795         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32796         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32797         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32798         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32799         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32800         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32801         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32802         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32803         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32804         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32805         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32806         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32807         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32808         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32809         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32810         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32811         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32812         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32813         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32814         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32815         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32816         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32817         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32818         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32819         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32820         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32821         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32822         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32823         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32824         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32825         * sysdeps/powerpc/sysdep.h: Likewise.
32826         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32827         * sysdeps/s390/s390-64/sub_n.S: Likewise.
32828         * sysdeps/sh/dl-trampoline.S: Likewise.
32829         * sysdeps/sh/memset.S: Likewise.
32830         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32831         * sysdeps/sh/strlen.S: Likewise.
32832         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32833         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32834         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32835         * sysdeps/sparc/sparc32/rem.S: Likewise.
32836         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32837         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32838         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32839         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32840         * sysdeps/sparc/sparc32/urem.S: Likewise.
32841         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32842         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32843         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32844         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32845         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32846         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32847         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32848         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32849         * sysdeps/unix/bsd/times.c: Likewise.
32850         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32851         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32855         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32856         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32857         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32858         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32859         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32860         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32861         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32862         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32863         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32864         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32865         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32866         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32867         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32868         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32869         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32870         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32871         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32872         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32873         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32874         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32875         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32876         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32877         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32878         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32879         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32880         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32881         * sysdeps/x86_64/strcspn.S: Likewise.
32883 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32885         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32886         generated file.  Regenerate properly from gen-translit.pl.
32887         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32888         locale/C-translit.h.
32890 2013-06-05  Andreas Schwab  <schwab@suse.de>
32892         [BZ #15100]
32893         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32894         week as 6 instead of -1.
32895         * time/tst-strptime.c (day_tests): Add test case.
32897 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32899         * sysdeps/generic/math_private.h
32900         (libc_feholdexcept_setround_53bit): Replace with
32901         libc_feholdsetround_53bit.
32902         (libc_feupdateenv_53bit): Replace with
32903         libc_feresetround_53bit.
32904         (SET_RESTORE_ROUND_53BIT): Adjust.
32906 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32908         * string/test-strchrnul.c: Add copyright header.
32910         * posix/tst-getaddrinfo4.c: Increase test timeout.
32912 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32914         [BZ #15536]
32915         * math/libm-test.inc (MAX_EXP): Remove
32916         (MIN_EXP): Define.
32917         (ulp): Use MIN_EXP - MANT_DIG.
32918         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32920 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32922         * po/be.po: Revert last change.
32923         * po/zh_CN.po: Likewise.
32924         * po/header.pot: Likewise.
32926 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32928         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32929         link-libc-deps to empty as target-specific variable.
32930         * Makerules (link-libc-args): New variable.
32931         (libc-for-link): Likewise.
32932         (link-libc-deps): Likewise.
32933         (lib%.so): Depend on $(link-libc-deps).  Link with
32934         $(link-libc-args).
32935         (build-module): Link with $(link-libc-args).
32936         (build-module-asneeded): Likewise.
32937         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32938         list of objects.
32939         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32940         target-specific variable.
32941         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32942         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32943         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32944         libc.
32945         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32946         libc and ld.so.
32947         ($(objpfx)libpcprofile.so): Likewise.
32948         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32949         libc_nonshared.a.
32950         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32951         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32952         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32953         $(link-libc-deps).
32954         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32955         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32956         * login/Makefile ($(objpfx)libutil.so): Likewise.
32957         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32958         * math/Makefile ($(objpfx)libm.so): Likewise.
32959         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32960         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32961         variable instead of depending directly on libc.
32962         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32963         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32964         $(link-libc-deps).
32965         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32966         libc.
32967         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32968         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32969         ($(objpfx)libanl.so): Likewise.
32970         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32971         ld.so.
32972         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32973         $(link-libc-deps).
32974         * sysdeps/i386/fpu/Makefile: Remove file.
32975         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32976         ($(objpfx)libm.so): Remove dependency on ld.so.
32978 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32980         [BZ # 15553]
32981         * nis/yp_xdr.c (XDRMAXNAME): Define.
32982         (XDRMAXRECORD): Define.
32983         (xdr_domainname): Use XDRMAXNAME.
32984         (xdr_mapname): Likewise.
32985         (xdr_peername): Likewise.
32986         (xdr_keydat): Use XDRMAXRECORD.
32987         (xdr_valdat): Likewise.
32989 2013-05-30  Jeff Law  <law@redhat.com>
32991         [BZ #14256]
32992         * manual/errno.texi (ESTALE): Update to account for more than
32993         just NFS file systems.
32994         * sysdeps/gnu/errlist.c: Regenerated.
32996 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32998         [BZ #15465]
32999         * elf/Makefile (tests): Add tst-null-argv.
33000         (modules-names):  Add tst-null-argv-lib.
33001         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33002         (tst-null-argv-ENV): Set environment for tst-null-argv.
33003         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33004         (RTLD_PROGNAME): New macro.
33005         * elf/tst-null-argv.c: New test case.
33006         * elf/tst-null-argv-lib.c: Library for test case.
33007         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33008         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33009         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33010         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33011         * elf/dl-init.c (call_init): Likewise.
33012         (_dl_init): Likewise.
33013         * elf/dl-load.c (print_search_path): Likewise.
33014         (_dl_map_object): Likewise.
33015         * elf/dl-lookup.c (do_lookup_x): Likewise.
33016         (add_dependency): Likewise.
33017         (_dl_lookup_symbol_x): Likewise.
33018         (_dl_debug_bindings): Likewise.
33019         * elf/dl-open.c (_dl_show_scope): Likewise.
33020         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33021         * elf/dl-version.c (match_symbol): Likewise.
33022         (_dl_check_map_versions): Likewise.
33023         * elf/rtld.c (dl_main): Likewise.
33024         (print_unresolved): Use RTLD_PROGNAME.
33025         (print_missing_version): Likewise.
33026         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33027         (elf_machine_rela): Likewise.
33028         * sysdeps/powerpc/powerpc32/dl-machine.c
33029         (__process_machine_rela): Likewise.
33030         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33031         Likewise.
33032         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33033         Likewise.
33034         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33035         Likewise.
33036         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33037         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33038         Likewise.
33039         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33040         Likewise.
33041         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33043 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33045         * po/be.po: Add descriptive title.
33046         * po/zh_CN.po: Likewise.
33047         * po/header.pot: Likewise.
33049 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33051         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33052         error message.
33053         (enlarge_archive): Likewise.
33055 2013-05-28  Ben North  <ben@redfrontdoor.org>
33057         * manual/arith.texi (frexp): It is the magnitude of the return
33058         value which lies in [0.5, 1), not the return value itself.
33060 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33064 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33066         * stdio-common/bug26.c (main): Correct fscanf template.
33068         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33069         declare _dl_skip_args.
33071         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33072         Don't declare.
33074         * manual/platform.texi: Add missing @end deftypefun.
33076 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33078         [BZ #15529]
33079         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33080         bit of mantissa of 2^16382.
33081         * math/libm-test.inc (hypot_test_data): Add more tests.
33083         * math/libm-test.inc: Add drem and pow10 to list of tested
33084         functions.
33085         (pow10_test): New function.
33086         (drem_test): Likewise.
33087         (drem_test_tonearest): Likewise.
33088         (drem_test_towardzero): Likewise.
33089         (drem_test_downward): Likewise.
33090         (drem_test_upward): Likewise.
33091         (main): Call the new functions.
33093         * math/libm-test.inc (finite_test_data): Remove.
33094         (finite_test): Run tests from isfinite_test_data.
33095         (gamma_test_data): Remove.
33096         (gamma_test): Run tests from lgamma_test_data.
33097         * sysdeps/i386/fpu/libm-test-ulps: Update.
33098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33100 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33102         * manual/platform.texi: Add PowerPC PPR function set documentation.
33103         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33104         implementation.
33106 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33108         * math/libm-test.inc (MAX_EXP): Define.
33109         (ULPDIFF): Define.
33110         (ulp): New function.
33111         (check_float_internal): Use ULPDIFF.
33112         (cpow_test): Disable failing test.
33113         (check_ulp): Test ulp() implemetnation.
33114         (main): Call check_ulp before starting tests.
33116 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33118         * math/gen-libm-test.pl (generate_testfile): Do not handle
33119         START_DATA and END_DATA.
33120         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33121         END_DATA.
33122         (acos_tonearest_test_data): Likewise.
33123         (acos_towardzero_test_data): Likewise.
33124         (acos_downward_test_data): Likewise.
33125         (acos_upward_test_data): Likewise.
33126         (acosh_test_data): Likewise.
33127         (asin_test_data): Likewise.
33128         (asin_tonearest_test_data): Likewise.
33129         (asin_towardzero_test_data): Likewise.
33130         (asin_downward_test_data): Likewise.
33131         (asin_upward_test_data): Likewise.
33132         (asinh_test_data): Likewise.
33133         (atan_test_data): Likewise.
33134         (atanh_test_data): Likewise.
33135         (atan2_test_data): Likewise.
33136         (cabs_test_data): Likewise.
33137         (cacos_test_data): Likewise.
33138         (cacosh_test_data): Likewise.
33139         (carg_test_data): Likewise.
33140         (casin_test_data): Likewise.
33141         (casinh_test_data): Likewise.
33142         (catan_test_data): Likewise.
33143         (catanh_test_data): Likewise.
33144         (cbrt_test_data): Likewise.
33145         (ccos_test_data): Likewise.
33146         (ccosh_test_data): Likewise.
33147         (ceil_test_data): Likewise.
33148         (cexp_test_data): Likewise.
33149         (cimag_test_data): Likewise.
33150         (clog_test_data): Likewise.
33151         (clog10_test_data): Likewise.
33152         (conj_test_data): Likewise.
33153         (copysign_test_data): Likewise.
33154         (cos_test_data): Likewise.
33155         (cos_tonearest_test_data): Likewise.
33156         (cos_towardzero_test_data): Likewise.
33157         (cos_downward_test_data): Likewise.
33158         (cos_upward_test_data): Likewise.
33159         (cosh_test_data): Likewise.
33160         (cosh_tonearest_test_data): Likewise.
33161         (cosh_towardzero_test_data): Likewise.
33162         (cosh_downward_test_data): Likewise.
33163         (cosh_upward_test_data): Likewise.
33164         (cpow_test_data): Likewise.
33165         (cproj_test_data): Likewise.
33166         (creal_test_data): Likewise.
33167         (csin_test_data): Likewise.
33168         (csinh_test_data): Likewise.
33169         (csqrt_test_data): Likewise.
33170         (ctan_test_data): Likewise.
33171         (ctan_tonearest_test_data): Likewise.
33172         (ctan_towardzero_test_data): Likewise.
33173         (ctan_downward_test_data): Likewise.
33174         (ctan_upward_test_data): Likewise.
33175         (ctanh_test_data): Likewise.
33176         (ctanh_tonearest_test_data): Likewise.
33177         (ctanh_towardzero_test_data): Likewise.
33178         (ctanh_downward_test_data): Likewise.
33179         (ctanh_upward_test_data): Likewise.
33180         (erf_test_data): Likewise.
33181         (erfc_test_data): Likewise.
33182         (exp_test_data): Likewise.
33183         (exp_tonearest_test_data): Likewise.
33184         (exp_towardzero_test_data): Likewise.
33185         (exp_downward_test_data): Likewise.
33186         (exp_upward_test_data): Likewise.
33187         (exp10_test_data): Likewise.
33188         (exp2_test_data): Likewise.
33189         (expm1_test_data): Likewise.
33190         (fabs_test_data): Likewise.
33191         (fdim_test_data): Likewise.
33192         (finite_test_data): Likewise.
33193         (floor_test_data): Likewise.
33194         (fma_test_data): Likewise.
33195         (fma_towardzero_test_data): Likewise.
33196         (fma_downward_test_data): Likewise.
33197         (fma_upward_test_data): Likewise.
33198         (fmax_test_data): Likewise.
33199         (fmin_test_data): Likewise.
33200         (fmod_test_data): Likewise.
33201         (fpclassify_test_data): Likewise.
33202         (frexp_test_data): Likewise.
33203         (gamma_test_data): Likewise.
33204         (hypot_test_data): Likewise.
33205         (ilogb_test_data): Likewise.
33206         (isfinite_test_data): Likewise.
33207         (isgreater_test_data): Likewise.
33208         (isgreaterequal_test_data): Likewise.
33209         (isinf_test_data): Likewise.
33210         (isless_test_data): Likewise.
33211         (islessequal_test_data): Likewise.
33212         (islessgreater_test_data): Likewise.
33213         (isnan_test_data): Likewise.
33214         (isnormal_test_data): Likewise.
33215         (issignaling_test_data): Likewise.
33216         (isunordered_test_data): Likewise.
33217         (j0_test_data): Likewise.
33218         (j1_test_data): Likewise.
33219         (jn_test_data): Likewise.
33220         (ldexp_test_data): Likewise.
33221         (lgamma_test_data): Likewise.
33222         (lrint_test_data): Likewise.
33223         (lrint_tonearest_test_data): Likewise.
33224         (lrint_towardzero_test_data): Likewise.
33225         (lrint_downward_test_data): Likewise.
33226         (lrint_upward_test_data): Likewise.
33227         (llrint_test_data): Likewise.
33228         (llrint_tonearest_test_data): Likewise.
33229         (llrint_towardzero_test_data): Likewise.
33230         (llrint_downward_test_data): Likewise.
33231         (llrint_upward_test_data): Likewise.
33232         (log_test_data): Likewise.
33233         (log10_test_data): Likewise.
33234         (log1p_test_data): Likewise.
33235         (log2_test_data): Likewise.
33236         (logb_test_data): Likewise.
33237         (logb_downward_test_data): Likewise.
33238         (lround_test_data): Likewise.
33239         (llround_test_data): Likewise.
33240         (modf_test_data): Likewise.
33241         (nearbyint_test_data): Likewise.
33242         (nextafter_test_data): Likewise.
33243         (nexttoward_test_data): Likewise.
33244         (pow_test_data): Likewise.
33245         (pow_tonearest_test_data): Likewise.
33246         (pow_towardzero_test_data): Likewise.
33247         (pow_downward_test_data): Likewise.
33248         (pow_upward_test_data): Likewise.
33249         (remainder_test_data): Likewise.
33250         (remainder_tonearest_test_data): Likewise.
33251         (remainder_towardzero_test_data): Likewise.
33252         (remainder_downward_test_data): Likewise.
33253         (remainder_upward_test_data): Likewise.
33254         (remquo_test_data): Likewise.
33255         (rint_test_data): Likewise.
33256         (rint_tonearest_test_data): Likewise.
33257         (rint_towardzero_test_data): Likewise.
33258         (rint_downward_test_data): Likewise.
33259         (rint_upward_test_data): Likewise.
33260         (round_test_data): Likewise.
33261         (scalb_test_data): Likewise.
33262         (scalbn_test_data): Likewise.
33263         (scalbln_test_data): Likewise.
33264         (signbit_test_data): Likewise.
33265         (sin_test_data): Likewise.
33266         (sin_tonearest_test_data): Likewise.
33267         (sin_towardzero_test_data): Likewise.
33268         (sin_downward_test_data): Likewise.
33269         (sin_upward_test_data): Likewise.
33270         (sincos_test_data): Likewise.
33271         (sinh_test_data): Likewise.
33272         (sinh_tonearest_test_data): Likewise.
33273         (sinh_towardzero_test_data): Likewise.
33274         (sinh_downward_test_data): Likewise.
33275         (sinh_upward_test_data): Likewise.
33276         (sqrt_test_data): Likewise.
33277         (tan_test_data): Likewise.
33278         (tan_tonearest_test_data): Likewise.
33279         (tan_towardzero_test_data): Likewise.
33280         (tan_downward_test_data): Likewise.
33281         (tan_upward_test_data): Likewise.
33282         (tanh_test_data): Likewise.
33283         (tgamma_test_data): Likewise.
33284         (trunc_test_data): Likewise.
33285         (y0_test_data): Likewise.
33286         (y1_test_data): Likewise.
33287         (yn_test_data): Likewise.
33288         (significand_test_data): Likewise.
33290         * math/gen-libm-test.pl (@functions): Remove variable.
33291         (generate_testfile): Don't handle START and END lines.
33292         * math/libm-test.inc (START): New macro.
33293         (END): Likewise.
33294         (END_COMPLEX): Likewise.
33295         (acos_test): Use END macro without arguments.
33296         (acos_test_tonearest): Likewise.
33297         (acos_test_towardzero): Likewise.
33298         (acos_test_downward): Likewise.
33299         (acos_test_upward): Likewise.
33300         (acosh_test): Likewise.
33301         (asin_test): Likewise.
33302         (asin_test_tonearest): Likewise.
33303         (asin_test_towardzero): Likewise.
33304         (asin_test_downward): Likewise.
33305         (asin_test_upward): Likewise.
33306         (asinh_test): Likewise.
33307         (atan_test): Likewise.
33308         (atanh_test): Likewise.
33309         (atan2_test): Likewise.
33310         (cabs_test): Likewise.
33311         (cacos_test): Use END_COMPLEX macro without arguments.
33312         (cacosh_test): Likewise.
33313         (carg_test): Use END macro without arguments.
33314         (casin_test): Use END_COMPLEX macro without arguments.
33315         (casinh_test): Likewise.
33316         (catan_test): Likewise.
33317         (catanh_test): Likewise.
33318         (cbrt_test): Use END macro without arguments.
33319         (ccos_test): Use END_COMPLEX macro without arguments.
33320         (ccosh_test): Likewise.
33321         (ceil_test): Use END macro without arguments.
33322         (cexp_test): Use END_COMPLEX macro without arguments.
33323         (cimag_test): Use END macro without arguments.
33324         (clog_test): Use END_COMPLEX macro without arguments.
33325         (clog10_test): Likewise.
33326         (conj_test): Likewise.
33327         (copysign_test): Use END macro without arguments.
33328         (cos_test): Likewise.
33329         (cos_test_tonearest): Likewise.
33330         (cos_test_towardzero): Likewise.
33331         (cos_test_downward): Likewise.
33332         (cos_test_upward): Likewise.
33333         (cosh_test): Likewise.
33334         (cosh_test_tonearest): Likewise.
33335         (cosh_test_towardzero): Likewise.
33336         (cosh_test_downward): Likewise.
33337         (cosh_test_upward): Likewise.
33338         (cpow_test): Use END_COMPLEX macro without arguments.
33339         (cproj_test): Likewise.
33340         (creal_test): Use END macro without arguments.
33341         (csin_test): Use END_COMPLEX macro without arguments.
33342         (csinh_test): Likewise.
33343         (csqrt_test): Likewise.
33344         (ctan_test): Likewise.
33345         (ctan_test_tonearest): Likewise.
33346         (ctan_test_towardzero): Likewise.
33347         (ctan_test_downward): Likewise.
33348         (ctan_test_upward): Likewise.
33349         (ctanh_test): Likewise.
33350         (ctanh_test_tonearest): Likewise.
33351         (ctanh_test_towardzero): Likewise.
33352         (ctanh_test_downward): Likewise.
33353         (ctanh_test_upward): Likewise.
33354         (erf_test): Use END macro without arguments.
33355         (erfc_test): Likewise.
33356         (exp_test): Likewise.
33357         (exp_test_tonearest): Likewise.
33358         (exp_test_towardzero): Likewise.
33359         (exp_test_downward): Likewise.
33360         (exp_test_upward): Likewise.
33361         (exp10_test): Likewise.
33362         (exp2_test): Likewise.
33363         (expm1_test): Likewise.
33364         (fabs_test): Likewise.
33365         (fdim_test): Likewise.
33366         (finite_test): Likewise.
33367         (floor_test): Likewise.
33368         (fma_test): Likewise.
33369         (fma_test_towardzero): Likewise.
33370         (fma_test_downward): Likewise.
33371         (fma_test_upward): Likewise.
33372         (fmax_test): Likewise.
33373         (fmin_test): Likewise.
33374         (fmod_test): Likewise.
33375         (fpclassify_test): Likewise.
33376         (frexp_test): Likewise.
33377         (gamma_test): Likewise.
33378         (hypot_test): Likewise.
33379         (ilogb_test): Likewise.
33380         (isfinite_test): Likewise.
33381         (isgreater_test): Likewise.
33382         (isgreaterequal_test): Likewise.
33383         (isinf_test): Likewise.
33384         (isless_test): Likewise.
33385         (islessequal_test): Likewise.
33386         (islessgreater_test): Likewise.
33387         (isnan_test): Likewise.
33388         (isnormal_test): Likewise.
33389         (issignaling_test): Likewise.
33390         (isunordered_test): Likewise.
33391         (j0_test): Likewise.
33392         (j1_test): Likewise.
33393         (jn_test): Likewise.
33394         (ldexp_test): Likewise.
33395         (lgamma_test): Likewise.
33396         (lrint_test): Likewise.
33397         (lrint_test_tonearest): Likewise.
33398         (lrint_test_towardzero): Likewise.
33399         (lrint_test_downward): Likewise.
33400         (lrint_test_upward): Likewise.
33401         (llrint_test): Likewise.
33402         (llrint_test_tonearest): Likewise.
33403         (llrint_test_towardzero): Likewise.
33404         (llrint_test_downward): Likewise.
33405         (llrint_test_upward): Likewise.
33406         (log_test): Likewise.
33407         (log10_test): Likewise.
33408         (log1p_test): Likewise.
33409         (log2_test): Likewise.
33410         (logb_test): Likewise.
33411         (logb_test_downward): Likewise.
33412         (lround_test): Likewise.
33413         (llround_test): Likewise.
33414         (modf_test): Likewise.
33415         (nearbyint_test): Likewise.
33416         (nextafter_test): Likewise.
33417         (nexttoward_test): Likewise.
33418         (pow_test): Likewise.
33419         (pow_test_tonearest): Likewise.
33420         (pow_test_towardzero): Likewise.
33421         (pow_test_downward): Likewise.
33422         (pow_test_upward): Likewise.
33423         (remainder_test): Likewise.
33424         (remainder_test_tonearest): Likewise.
33425         (remainder_test_towardzero): Likewise.
33426         (remainder_test_downward): Likewise.
33427         (remainder_test_upward): Likewise.
33428         (remquo_test): Likewise.
33429         (rint_test): Likewise.
33430         (rint_test_tonearest): Likewise.
33431         (rint_test_towardzero): Likewise.
33432         (rint_test_downward): Likewise.
33433         (rint_test_upward): Likewise.
33434         (round_test): Likewise.
33435         (scalb_test): Likewise.
33436         (scalbn_test): Likewise.
33437         (scalbln_test): Likewise.
33438         (signbit_test): Likewise.
33439         (sin_test): Likewise.
33440         (sin_test_tonearest): Likewise.
33441         (sin_test_towardzero): Likewise.
33442         (sin_test_downward): Likewise.
33443         (sin_test_upward): Likewise.
33444         (sincos_test): Likewise.
33445         (sinh_test): Likewise.
33446         (sinh_test_tonearest): Likewise.
33447         (sinh_test_towardzero): Likewise.
33448         (sinh_test_downward): Likewise.
33449         (sinh_test_upward): Likewise.
33450         (sqrt_test): Likewise.
33451         (tan_test): Likewise.
33452         (tan_test_tonearest): Likewise.
33453         (tan_test_towardzero): Likewise.
33454         (tan_test_downward): Likewise.
33455         (tan_test_upward): Likewise.
33456         (tanh_test): Likewise.
33457         (tgamma_test): Likewise.
33458         (trunc_test): Likewise.
33459         (y0_test): Likewise.
33460         (y1_test): Likewise.
33461         (yn_test): Likewise.
33462         (significand_test): Likewise.
33464 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33466         [BZ #15381]
33467         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33469 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33471         [BZ #14894]
33472         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33473         __ppc_mdoio and __ppc_mdoom.
33474         * manual/platform.texi: Document new functions __ppc_yield,
33475         __ppc_mdoio and __ppc_mdoom.
33477 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33479         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33480         (main): Mention "tls" pseudo-hwcap is legacy.
33481         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33483 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33485         * math/gen-libm-test.pl (parse_args): Output only string of
33486         arguments as text for test name, not full call or descriptions of
33487         tests for extra outputs.
33488         (generate_testfile): Do not pass function name to parse_args.
33489         Generate this_func variable from START.
33490         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33491         field to arg_str.
33492         (struct test_ff_f_data): Likewise.
33493         (test_ff_f_data_nexttoward): Likewise.
33494         (struct test_fi_f_data): Likewise.
33495         (struct test_fl_f_data): Likewise.
33496         (struct test_if_f_data): Likewise.
33497         (struct test_fff_f_data): Likewise.
33498         (struct test_c_f_data): Likewise.
33499         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33500         (struct test_fF_f1_data): Likewise.
33501         (struct test_ffI_f1_data): Likewise.
33502         (struct test_c_c_data): Rename test_name field to arg_str.
33503         (struct test_cc_c_data): Likewise.
33504         (struct test_f_i_data): Likewise.
33505         (struct test_ff_i_data): Likewise.
33506         (struct test_f_l_data): Likewise.
33507         (struct test_f_L_data): Likewise.
33508         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33509         and extra2_name.
33510         (COMMON_TEST_SETUP): New macro.
33511         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33512         (COMMON_TEST_CLEANUP): Likewise.
33513         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33514         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33515         macros.
33516         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33517         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33518         macros.
33519         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33520         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33521         cleanup macros.
33522         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33523         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33524         macros.
33525         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33526         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33527         macros.
33528         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33529         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33530         cleanup macros.
33531         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33532         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33533         cleanup macros.
33534         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33535         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33536         cleanup macros.
33537         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33538         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33539         macros.
33540         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33541         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33542         macros.
33543         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33544         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33545         macros.
33546         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33547         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33548         cleanup macros.
33549         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33550         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33551         cleanup macros.
33552         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33553         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33554         macros.
33555         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33556         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33557         cleanup macros.
33558         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33559         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33560         macros.
33561         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33562         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33563         macros.
33564         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33565         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33566         cleanup macros.
33567         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33569 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33571         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33572         to _sifields.sigfault.
33573         (si_addr_lsb): Define new macro.
33574         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33575         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33576         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33578 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33580         [BZ #15441]
33581         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33582         returns -1.
33583         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33584         null return -1.
33585         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33586         loading the domain.
33588 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33590         * math/gen-libm-test.pl (parse_args): Do not include expected
33591         result in test name.
33592         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33593         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33594         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33595         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33596         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33599 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33601         * benchtests/Makefile: Sort function entries.
33603         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33604         tanh, asinh, acosh, atanh.
33605         * benchtests/acos-inputs: New file.
33606         * benchtests/acosh-inputs: New file.
33607         * benchtests/asin-inputs: New file.
33608         * benchtests/asinh-inputs: New file.
33609         * benchtests/atanh-inputs: New file.
33610         * benchtests/cosh-inputs: New file.
33611         * benchtests/log-inputs: New file.
33612         * benchtests/sinh-inputs: New file.
33613         * benchtests/tanh-inputs: New file.
33615 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33617         [BZ #15339]
33618         * posix/tst-getaddrinfo4.c: New test.
33619         * posix/Makefile (tests): Add it.
33621 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33623         [BZ #15339]
33624         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33625         when no services were used.
33626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33627         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33629 2013-05-21  Andreas Schwab  <schwab@suse.de>
33631         [BZ #15014]
33632         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33633         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33634         successful.
33635         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33636         redundant variable declarations and reallocation of buffer when
33637         parsing as IPv6 address.  Always set NSS status when called from
33638         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33639         buffer too small.  Correct computation of needed size.
33640         * nss/Makefile (tests): Add test-digits-dots.
33641         * nss/test-digits-dots.c: New test.
33643 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33645         * benchtests/Makefile: Remove instructions for adding
33646         benchmark tests.
33647         * benchtests/README: New file to explain how to execute and
33648         enhance the benchmark tests.
33650 2013-05-21  Andreas Schwab  <schwab@suse.de>
33652         [BZ #15493]
33653         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33654         * setjmp/tst-sigsetjmp.c: New test.
33656 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33658         * sysdeps/x86_64/memset.S (memset): New implementation.
33659         (__bzero): Likewise.
33660         (__memset_tail): New function.
33662 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33664         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33665         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33666         __memcpy_sse2_unaligned ifunc selection.
33667         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33668         Add memcpy-sse2-unaligned.S.
33669         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33670         Add: __memcpy_sse2_unaligned.
33672 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33674         [BZ #15490]
33675         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33676         math_force_eval before restoring floating-point envrionment.
33677         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33678         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33679         Likewise.
33680         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33681         <math_private.h>.
33682         (__nearbyintl): Use math_force_eval before restoring
33683         floating-point environment.
33684         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33686         * math/gen-libm-test.pl (special_functions): Remove.
33687         (parse_args): Don't handle TEST_extra.  Handle functions with no
33688         return value.
33689         * math/libm-test.inc (struct test_sincos_data): Replace with
33690         struct test_fFF_11_data.
33691         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33692         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33693         (sincos_test_data): Change element type to struct
33694         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33695         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33696         RUN_TEST_LOOP_sincos.
33697         * math/README.libm-test: Don't mention special handling of
33698         individual functions.
33699         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33700         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33701         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33702         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33703         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33706         * math/gen-libm-test.pl (get_variable): Remove function.
33707         (parse_args): Don't show pointer parameters to call in test
33708         names.  Use "extra output N" in test names for extra outputs
33709         rather than naming variables.
33711 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33713         [BZ #15488]
33714         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33715         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33716         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33717         double tests.
33718         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33719         disable.
33720         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33721         check_long_double.
33723         * math/gen-libm-test.pl (@tests): Remove variable.
33724         ($count): Likewise.
33725         (new_test): Remove function.
33726         (show_exceptions): New function.
33727         (special_functions): Use show_exceptions instead of new_test.
33728         (parse_args): Likewise.
33729         (generate_testfile): Pass only function name in generated call to
33730         print_max_error or print_complex_max_error.
33731         (get_ulps): Do not handle complex tests specially.
33732         (output_test): Rename to ...
33733         (get_all_ulps_for_test): ... this.  Return a string rather than
33734         printing to a file.  Require ulps to be present.
33735         (output_ulps): Generate arrays rather than #defines.
33736         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33737         (struct ulp_data): New type.
33738         (BUILD_COMPLEX_ULP): Remove macro.
33739         (compare_ulp_data): New function.
33740         (find_ulps): Likewise.
33741         (find_test_ulps): Likewise.
33742         (find_function_ulps): Likewise.
33743         (find_complex_function_ulps): Likewise.
33744         (print_max_error): Determine allowed ulps using
33745         find_function_ulps.
33746         (print_complex_max_error): Determine allowed ulps using
33747         find_complex_function_ulps.
33748         (check_float_internal): Determine max ulps using find_test_ulps.
33749         (check_float): Do not take max_ulp parameter.  Update call to
33750         check_float_internal.
33751         (check_complex): Likewise.
33752         (check_int): Do not take max_ulp parameter.
33753         (check_long): Likewise.
33754         (check_bool): Likewise.
33755         (check_longlong): Likewise.
33756         (struct test_f_f_data): Remove max_ulp field.
33757         (struct test_ff_f_data): Likewise.
33758         (struct test_ff_f_data_nexttoward): Likewise.
33759         (struct test_fi_f_data): Likewise.
33760         (struct test_fl_f_data): Likewise.
33761         (struct test_if_f_data): Likewise.
33762         (struct test_fff_f_data): Likewise.
33763         (struct test_c_f_data): Likewise.
33764         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33765         (struct test_fF_f1_data): Likewise.
33766         (struct test_ffI_f1_data): Likewise.
33767         (struct test_c_c_data): Remove max_ulp field.
33768         (struct test_cc_c_data): Likewise.
33769         (struct test_f_i_data): Likewise.
33770         (struct test_ff_i_data): Likewise.
33771         (struct test_f_l_data): Likewise.
33772         (struct test_f_L_data): Likewise.
33773         (struct test_sincos_data): Likewise.
33774         (RUN_TEST_f_f): Do not handle ulps.
33775         (RUN_TEST_LOOP_f_f): Likewise.
33776         (RUN_TEST_2_f): Likewise.
33777         (RUN_TEST_LOOP_2_f): Likewise.
33778         (RUN_TEST_fff_f): Likewise.
33779         (RUN_TEST_LOOP_fff_f): Likewise.
33780         (RUN_TEST_c_f): Likewise.
33781         (RUN_TEST_LOOP_c_f): Likewise.
33782         (RUN_TEST_f_f1): Likewise.
33783         (RUN_TEST_LOOP_f_f1): Likewise.
33784         (RUN_TEST_fF_f1): Likewise.
33785         (RUN_TEST_LOOP_fF_f1): Likewise.
33786         (RUN_TEST_fI_f1): Likewise.
33787         (RUN_TEST_LOOP_fI_f1): Likewise.
33788         (RUN_TEST_ffI_f1): Likewise.
33789         (RUN_TEST_LOOP_ffI_f1): Likewise.
33790         (RUN_TEST_c_c): Likewise.
33791         (RUN_TEST_LOOP_c_c): Likewise.
33792         (RUN_TEST_cc_c): Likewise.
33793         (RUN_TEST_LOOP_cc_c): Likewise.
33794         (RUN_TEST_f_i): Likewise.
33795         (RUN_TEST_LOOP_f_i): Likewise.
33796         (RUN_TEST_f_i_tg): Likewise.
33797         (RUN_TEST_LOOP_f_i_tg): Likewise.
33798         (RUN_TEST_ff_i_tg): Likewise.
33799         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33800         (RUN_TEST_f_b): Likewise.
33801         (RUN_TEST_LOOP_f_b): Likewise.
33802         (RUN_TEST_f_b_tg): Likewise.
33803         (RUN_TEST_LOOP_f_b_tg): Likewise.
33804         (RUN_TEST_f_l): Likewise.
33805         (RUN_TEST_LOOP_f_l): Likewise.
33806         (RUN_TEST_f_L): Likewise.
33807         (RUN_TEST_LOOP_f_L): Likewise.
33808         (RUN_TEST_sincos): Likewise.
33809         (RUN_TEST_LOOP_sincos): Likewise.
33811 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
33813         [BZ #15480]
33814         [BZ #15485]
33815         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33816         main case of finite arguments, set rounding mode to FE_TONEAREST
33817         and discard exceptions.
33818         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33819         exceptions.
33820         (remainder_tonearest_test_data): New variable.
33821         (remainder_test_tonearest): New function.
33822         (remainder_towardzero_test_data): New variable.
33823         (remainder_test_towardzero): New function.
33824         (remainder_downward_test_data): New variable.
33825         (remainder_test_downward): New function.
33826         (remainder_upward_test_data): New variable.
33827         (remainder_test_upward): New function.
33828         (main): Call the new test functions.
33830         * math/libm-test.inc (struct test_f_f1_data): Remove field
33831         extra_init.
33832         (struct test_fF_f1_data): Likewise.
33833         (struct test_ffI_f1_data): Likewise.
33834         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
33835         based on value of EXTRA_EXPECTED.
33836         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33837         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33838         EXTRA_VAR based on value of EXTRA_EXPECTED.
33839         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33840         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33841         EXTRA_VAR based on value of EXTRA_EXPECTED.
33842         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33843         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33844         EXTRA_VAR based on value of EXTRA_EXPECTED.
33845         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33846         * math/gen-libm-test.pl (parse_args): Don't output initializers
33847         for extra output values.
33849         * math/libm-test.inc (check_int): Expect result to be exactly
33850         equal to expected value and do not handle ulps.
33851         (check_long): Likewise.
33852         (check_longlong): Likewise.
33854         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33855         exceptions.
33856         (cimag_test_data): Likewise.
33857         (conj_test_data): Likewise.
33858         (copysign_test_data): Likewise.
33859         (cproj_test_data): Likewise.
33860         (creal_test_data): Likewise.
33861         (fabs_test_data): Likewise.
33862         (fdim_test_data): Likewise.
33863         (finite_test_data): Likewise.
33864         (floor_test_data): Likewise.
33865         (fmax_test_data): Likewise.
33866         (fmin_test_data): Likewise.
33867         (fmod_test_data): Likewise.
33868         (fpclassify_test_data): Likewise.
33869         (frexp_test_data): Likewise.
33870         (ilogb_test_data): Likewise.
33871         (isfinite_test_data): Likewise.
33872         (isgreater_test_data): Likewise.
33873         (isgreaterequal_test_data): Likewise.
33874         (isinf_test_data): Likewise.
33875         (isless_test_data): Likewise.
33876         (islessequal_test_data): Likewise.
33877         (islessgreater_test_data): Likewise.
33878         (isnan_test_data): Likewise.
33879         (isnormal_test_data): Likewise.
33880         (issignaling_test_data): Likewise.
33881         (isunordered_test_data): Likewise.
33882         (ldexp_test_data): Likewise.
33883         (lrint_test_data): Likewise.
33884         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33885         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33886         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33887         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33888         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33889         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33890         test input.
33891         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33892         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33893         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33894         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33895         that test input.
33896         (lrint_downward_test_data): Test for "inexact" exceptions.
33897         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33898         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33899         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33900         test input.
33901         (lrint_upward_test_data): Test for "inexact" exceptions.
33902         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33903         test input.
33904         (llrint_test_data): Test for "inexact" exceptions.
33905         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33906         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33907         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33908         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33909         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33910         (llrint_downward_test_data): Test for "inexact" exceptions.
33911         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33912         (llrint_upward_test_data): Test for "inexact" exceptions.
33913         (logb_test_data): Likewise.
33914         (logb_downward_test_data): Likewise.
33915         (nextafter_test_data): Likewise.
33916         (nexttoward_test_data): Likewise.
33917         (remainder_test_data): Likewise.
33918         (remquo_test_data): Likewise.
33919         (scalbn_test_data): Likewise.
33920         (scalbln_test_data): Likewise.
33921         (signbit_test_data): Likewise.
33922         (sqrt_test_data): Likewise.
33923         (significand_test_data): Likewise.
33925 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33927         [BZ #15424]
33928         * benchtests/bench-modf.c (struct args): Mark arg0 as
33929         volatile.
33930         * scripts/bench.pl: Mark members of struct args as volatile.
33932 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33934         [BZ # 15497]
33935         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33936         negative infinity on POWER6 or lower.
33937         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33939 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33941         [BZ #15442]
33942         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33943         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33944         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33945         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33946         (_FP_SETQNAN): New macro.
33947         (_FP_SETQNAN_SEMIRAW): Likewise.
33948         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33949         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33950         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33951         (FP_EXTEND): Use _FP_FRAC_SNANP.
33952         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33953         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33954         into account.
33955         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33956         New macro.
33957         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33958         Likewise.
33960 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33962         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33963         with DIVIDE_BY_ZERO_EXCEPTION.
33964         (gamma_test_data): Likewise.
33965         (lgamma_test_data): Likewise.
33966         (log_test_data): Likewise.
33967         (log10_test_data): Likewise.
33968         (log2_test_data): Likewise.
33969         (tgamma_test_data): Likewise.
33971         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33972         (acos_test_tonearest): Likewise.
33973         (acos_test_towardzero): Likewise.
33974         (acos_test_downward): Likewise.
33975         (acos_test_upward): Likewise.
33976         (acosh_test): Likewise.
33977         (asin_test): Likewise.
33978         (asin_test_tonearest): Likewise.
33979         (asin_test_towardzero): Likewise.
33980         (asin_test_downward): Likewise.
33981         (asin_test_upward): Likewise.
33982         (asinh_test): Likewise.
33983         (atan_test): Likewise.
33984         (atanh_test): Likewise.
33985         (atan2_test): Likewise.
33986         (cabs_test): Likewise.
33987         (cacos_test): Likewise.
33988         (cacosh_test): Likewise.
33989         (casin_test): Likewise.
33990         (casinh_test): Likewise.
33991         (catan_test): Likewise.
33992         (catanh_test): Likewise.
33993         (cbrt_test): Likewise.
33994         (ccos_test): Likewise.
33995         (ccosh_test): Likewise.
33996         (cexp_test): Likewise.
33997         (clog_test): Likewise.
33998         (clog10_test): Likewise.
33999         (cos_test): Likewise.
34000         (cos_test_tonearest): Likewise.
34001         (cos_test_towardzero): Likewise.
34002         (cos_test_downward): Likewise.
34003         (cos_test_upward): Likewise.
34004         (cosh_test): Likewise.
34005         (cosh_test_tonearest): Likewise.
34006         (cosh_test_towardzero): Likewise.
34007         (cosh_test_downward): Likewise.
34008         (cosh_test_upward): Likewise.
34009         (cpow_test): Likewise.
34010         (csin_test): Likewise.
34011         (csinh_test): Likewise.
34012         (csqrt_test): Likewise.
34013         (ctan_test): Likewise.
34014         (ctan_test_tonearest): Likewise.
34015         (ctan_test_towardzero): Likewise.
34016         (ctan_test_downward): Likewise.
34017         (ctan_test_upward): Likewise.
34018         (ctanh_test): Likewise.
34019         (ctanh_test_tonearest): Likewise.
34020         (ctanh_test_towardzero): Likewise.
34021         (ctanh_test_downward): Likewise.
34022         (ctanh_test_upward): Likewise.
34023         (erf_test): Likewise.
34024         (erfc_test): Likewise.
34025         (exp_test): Likewise.
34026         (exp_test_tonearest): Likewise.
34027         (exp_test_towardzero): Likewise.
34028         (exp_test_downward): Likewise.
34029         (exp_test_upward): Likewise.
34030         (exp10_test): Likewise.
34031         (exp2_test): Likewise.
34032         (expm1_test): Likewise.
34033         (fmod_test): Likewise.
34034         (gamma_test): Likewise.
34035         (hypot_test): Likewise.
34036         (j0_test): Likewise.
34037         (j1_test): Likewise.
34038         (jn_test): Likewise.
34039         (lgamma_test): Likewise.
34040         (log_test): Likewise.
34041         (log10_test): Likewise.
34042         (log1p_test): Likewise.
34043         (log2_test): Likewise.
34044         (logb_test_downward): Likewise.
34045         (pow_test): Likewise.
34046         (pow_test_tonearest): Likewise.
34047         (pow_test_towardzero): Likewise.
34048         (pow_test_downward): Likewise.
34049         (pow_test_upward): Likewise.
34050         (remainder_test): Likewise.
34051         (remquo_test): Likewise.
34052         (sin_test): Likewise.
34053         (sin_test_tonearest): Likewise.
34054         (sin_test_towardzero): Likewise.
34055         (sin_test_downward): Likewise.
34056         (sin_test_upward): Likewise.
34057         (sincos_test): Likewise.
34058         (sinh_test): Likewise.
34059         (sinh_test_tonearest): Likewise.
34060         (sinh_test_towardzero): Likewise.
34061         (sinh_test_downward): Likewise.
34062         (sinh_test_upward): Likewise.
34063         (sqrt_test): Likewise.
34064         (tan_test): Likewise.
34065         (tan_test_tonearest): Likewise.
34066         (tan_test_towardzero): Likewise.
34067         (tan_test_downward): Likewise.
34068         (tan_test_upward): Likewise.
34069         (tanh_test): Likewise.
34070         (tgamma_test): Likewise.
34071         (y0_test): Likewise.
34072         (y1_test): Likewise.
34073         (yn_test): Likewise.
34075         * math/gen-libm-test.pl (adjust_arg): Remove function.
34076         (special_function): Remove argument $in_func.  Only handle
34077         generating output for tables of tests, not inside functions.
34078         (parse_args): Likewise.
34079         (generate_testfile): Remove variable $in_func.  Update call to
34080         parse_args.
34081         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34082         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34083         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34084         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34085         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34086         (MAX_VALUE_INIT): Rename macro to max_value.
34087         (MIN_VALUE_INIT): Rename macro to min_value.
34088         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34089         (plus_zero): Remove variable.
34090         (minus_zero): Likewise.
34091         (plus_infty): Likewise.
34092         (minus_infty): Likewise.
34093         (qnan_value): Likewise.
34094         (max_value): Likewise.
34095         (min_value): Likewise.
34096         (min_subnorm_value): Likewise.
34098 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34100         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34101         uint64_t or uint32_t usage.
34102         * crypt/sha256-block.c: Likewise.
34103         * crypt/sha256-crypt.c: Likewise.
34104         * crypt/sha256.c: Likewise.
34105         * crypt/sha512-block.c: Likewise.
34106         * crypt/sha512-crypt.c: Likewise.
34107         * crypt/sha512.c: Likewise.
34108         * debug/backtrace-tst.c: Likewise.
34109         * debug/pcprofiledump.c: Likewise.
34110         * elf/cache.c: Likewise.
34111         * elf/dl-cache.c: Likewise.
34112         * elf/dl-misc.c: Likewise.
34113         * elf/dl-profile.c: Likewise.
34114         * elf/dl-support.c: Likewise.
34115         * elf/ldconfig.c: Likewise.
34116         * elf/sprof.c: Likewise.
34117         * iconv/dummy-repertoire.c: Likewise.
34118         * iconv/iconv_charmap.c: Likewise.
34119         * iconv/skeleton.c: Likewise.
34120         * iconvdata/8bit-generic.c: Likewise.
34121         * iconvdata/cp737.h: Likewise.
34122         * iconvdata/cp775.h: Likewise.
34123         * iconvdata/ibm1008.h: Likewise.
34124         * iconvdata/ibm1025.h: Likewise.
34125         * iconvdata/ibm1046.h: Likewise.
34126         * iconvdata/ibm1097.h: Likewise.
34127         * iconvdata/ibm1112.h: Likewise.
34128         * iconvdata/ibm1122.h: Likewise.
34129         * iconvdata/ibm1123.h: Likewise.
34130         * iconvdata/ibm1124.h: Likewise.
34131         * iconvdata/ibm1129.h: Likewise.
34132         * iconvdata/ibm1130.h: Likewise.
34133         * iconvdata/ibm1132.h: Likewise.
34134         * iconvdata/ibm1133.h: Likewise.
34135         * iconvdata/ibm1137.h: Likewise.
34136         * iconvdata/ibm1140.h: Likewise.
34137         * iconvdata/ibm1141.h: Likewise.
34138         * iconvdata/ibm1142.h: Likewise.
34139         * iconvdata/ibm1143.h: Likewise.
34140         * iconvdata/ibm1144.h: Likewise.
34141         * iconvdata/ibm1145.h: Likewise.
34142         * iconvdata/ibm1146.h: Likewise.
34143         * iconvdata/ibm1147.h: Likewise.
34144         * iconvdata/ibm1148.h: Likewise.
34145         * iconvdata/ibm1149.h: Likewise.
34146         * iconvdata/ibm1153.h: Likewise.
34147         * iconvdata/ibm1154.h: Likewise.
34148         * iconvdata/ibm1155.h: Likewise.
34149         * iconvdata/ibm1156.h: Likewise.
34150         * iconvdata/ibm1157.h: Likewise.
34151         * iconvdata/ibm1158.h: Likewise.
34152         * iconvdata/ibm1160.h: Likewise.
34153         * iconvdata/ibm1161.h: Likewise.
34154         * iconvdata/ibm1162.h: Likewise.
34155         * iconvdata/ibm1163.h: Likewise.
34156         * iconvdata/ibm1164.h: Likewise.
34157         * iconvdata/ibm1166.h: Likewise.
34158         * iconvdata/ibm1167.h: Likewise.
34159         * iconvdata/ibm12712.h: Likewise.
34160         * iconvdata/ibm1390.h: Likewise.
34161         * iconvdata/ibm1399.h: Likewise.
34162         * iconvdata/ibm16804.h: Likewise.
34163         * iconvdata/ibm4517.h: Likewise.
34164         * iconvdata/ibm4899.h: Likewise.
34165         * iconvdata/ibm4909.h: Likewise.
34166         * iconvdata/ibm4971.h: Likewise.
34167         * iconvdata/ibm5347.h: Likewise.
34168         * iconvdata/ibm803.h: Likewise.
34169         * iconvdata/ibm856.h: Likewise.
34170         * iconvdata/ibm901.h: Likewise.
34171         * iconvdata/ibm902.h: Likewise.
34172         * iconvdata/ibm9030.h: Likewise.
34173         * iconvdata/ibm9066.h: Likewise.
34174         * iconvdata/ibm921.h: Likewise.
34175         * iconvdata/ibm922.h: Likewise.
34176         * iconvdata/ibm9448.h: Likewise.
34177         * iconvdata/isiri-3342.h: Likewise.
34178         * iconvdata/jis0201.h: Likewise.
34179         * include/link.h: Likewise.
34180         * include/netdb.h: Likewise.
34181         * inet/check_native.c: Likewise.
34182         * inet/check_pf.c: Likewise.
34183         * inet/getipv4sourcefilter.c: Likewise.
34184         * inet/getnameinfo.c: Likewise.
34185         * inet/getsourcefilter.c: Likewise.
34186         * inet/htonl.c: Likewise.
34187         * inet/setipv4sourcefilter.c: Likewise.
34188         * inet/setsourcefilter.c: Likewise.
34189         * inet/test-inet6_opt.c: Likewise.
34190         * inet/tst-network.c: Likewise.
34191         * locale/C-collate.c: Likewise.
34192         * locale/C-ctype.c: Likewise.
34193         * locale/C-time.c: Likewise.
34194         * locale/C-translit.h: Likewise.
34195         * locale/loadarchive.c: Likewise.
34196         * locale/programs/3level.h: Likewise.
34197         * locale/programs/charmap.c: Likewise.
34198         * locale/programs/charmap.h: Likewise.
34199         * locale/programs/ld-address.c: Likewise.
34200         * locale/programs/ld-collate.c: Likewise.
34201         * locale/programs/ld-ctype.c: Likewise.
34202         * locale/programs/ld-identification.c: Likewise.
34203         * locale/programs/ld-measurement.c: Likewise.
34204         * locale/programs/ld-messages.c: Likewise.
34205         * locale/programs/ld-monetary.c: Likewise.
34206         * locale/programs/ld-name.c: Likewise.
34207         * locale/programs/ld-numeric.c: Likewise.
34208         * locale/programs/ld-paper.c: Likewise.
34209         * locale/programs/ld-telephone.c: Likewise.
34210         * locale/programs/ld-time.c: Likewise.
34211         * locale/programs/linereader.c: Likewise.
34212         * locale/programs/locale.c: Likewise.
34213         * locale/programs/locarchive.c: Likewise.
34214         * locale/programs/locfile.h: Likewise.
34215         * locale/programs/repertoire.c: Likewise.
34216         * locale/programs/simple-hash.c: Likewise.
34217         * locale/programs/simple-hash.h: Likewise.
34218         * malloc/memusage.c: Likewise.
34219         * malloc/memusagestat.c: Likewise.
34220         * nis/nis_defaults.c: Likewise.
34221         * nis/nis_hash.c: Likewise.
34222         * nis/nis_print.c: Likewise.
34223         * nis/nis_xdr.c: Likewise.
34224         * nscd/connections.c: Likewise.
34225         * nscd/hstcache.c: Likewise.
34226         * nscd/nscd_gethst_r.c: Likewise.
34227         * nscd/nscd_getserv_r.c: Likewise.
34228         * nscd/nscd_helper.c: Likewise.
34229         * nscd/servicescache.c: Likewise.
34230         * nss/makedb.c: Likewise.
34231         * nss/nss_db/db-XXX.c: Likewise.
34232         * nss/nss_db/db-initgroups.c: Likewise.
34233         * nss/nss_db/db-netgrp.c: Likewise.
34234         * nss/nss_files/files-network.c: Likewise.
34235         * nss/nss_files/files-parse.c: Likewise.
34236         * posix/bug-regex5.c: Likewise.
34237         * posix/fnmatch_loop.c: Likewise.
34238         * posix/regcomp.c: Likewise.
34239         * posix/regexec.c: Likewise.
34240         * posix/tst-rfc3484-2.c: Likewise.
34241         * posix/tst-rfc3484-3.c: Likewise.
34242         * posix/tst-rfc3484.c: Likewise.
34243         * resolv/nss_dns/dns-canon.c: Likewise.
34244         * resolv/nss_dns/dns-network.c: Likewise.
34245         * resolv/res_init.c: Likewise.
34246         * resolv/res_mkquery.c: Likewise.
34247         * resolv/tst-aton.c: Likewise.
34248         * stdlib/cxa_atexit.c: Likewise.
34249         * stdlib/cxa_finalize.c: Likewise.
34250         * stdlib/gen-fpioconst.c: Likewise.
34251         * stdlib/strtol_l.c: Likewise.
34252         * string/tst-endian.c: Likewise.
34253         * sunrpc/auth_des.c: Likewise.
34254         * sunrpc/clnt_udp.c: Likewise.
34255         * sunrpc/rtime.c: Likewise.
34256         * sunrpc/svcauth_des.c: Likewise.
34257         * sunrpc/xdr.c: Likewise.
34258         * sunrpc/xdr_intXX_t.c: Likewise.
34259         * sunrpc/xdr_rec.c: Likewise.
34260         * sysdeps/generic/ldconfig.h: Likewise.
34261         * sysdeps/generic/ldsodefs.h: Likewise.
34262         * sysdeps/generic/memusage.h: Likewise.
34263         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34264         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34265         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34266         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34267         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34268         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34269         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34270         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34271         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34272         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34273         * sysdeps/posix/getaddrinfo.c: Likewise.
34274         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34275         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34276         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34277         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34278         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34279         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34280         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34281         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34282         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34283         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34284         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34285         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34286         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34287         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34288         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34289         * sysdeps/x86_64/dl-tls.h: Likewise.
34290         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34291         * time/alt_digit.c: Likewise.
34292         * time/era.c: Likewise.
34293         * wcsmbs/tst-c16c32-1.c: Likewise.
34295 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34297         * math/libm-test.inc (struct test_sincos_data): New type.
34298         (RUN_TEST_LOOP_sincos): New macro.
34299         (sincos_test_data): New variable.
34300         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34302 2013-05-16  Richard Henderson  <rth@redhat.com>
34304         * math/atest-exp2.c (LIMB64): New macro.
34305         (CONSTSZ): New macro.
34306         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34307         (hexdig): Move ...
34308         (print_mpn_fp): ... to function scope.
34309         (read_mpn_hex): Remove.
34310         (get_log2): Remove.
34311         (exp2_mpn): Use mp_log2.
34312         (main): Use mp_exp1.
34314 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34316         * math/libm-test.inc: Remove comment about not testing "inexact"
34317         exceptions.
34318         (INEXACT_EXCEPTION): New macro.
34319         (NO_INEXACT_EXCEPTION): Likewise.
34320         (INVALID_EXCEPTION_OK): Update value.
34321         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34322         (OVERFLOW_EXCEPTION_OK): Likewise.
34323         (UNDERFLOW_EXCEPTION_OK): Likewise.
34324         (IGNORE_ZERO_INF_SIGN): Likewise.
34325         (ERRNO_UNCHANGED): Likewise.
34326         (ERRNO_EDOM): Likewise.
34327         (ERRNO_ERANGE): Likewise.
34328         (test_exceptions): Handle testing "inexact" exceptions.
34329         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34330         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34331         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34332         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34333         INEXACT_EXCEPTION.
34334         (rint_towardzero_test_data): Likewise.
34335         (rint_downward_test_data): Likewise.
34336         (rint_upward_test_data): Likewise.
34338         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34339         with OVERFLOW_EXCEPTION.
34340         (exp10_test_data): Likewise.
34341         (exp2_test_data): Likewise.
34342         (expm1_test_data): Likewise.
34343         (lgamma_test_data): Likewise.
34344         (pow_test_data): Likewise.
34345         (tgamma_test_data): Likewise.
34346         (yn_test_data): Remove duplicate test of overflow.
34348         * math/libm-test.inc (struct test_cc_c_data): New type.
34349         (RUN_TEST_LOOP_cc_c): New macro.
34350         (cpow_test_data): New variable.
34351         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34353         * math/libm-test.inc (struct test_f_L_data): New type.
34354         (RUN_TEST_LOOP_f_L): New macro.
34355         (llrint_test_data): New variable.
34356         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34357         (llrint_tonearest_test_data): New variable.
34358         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34359         (llrint_towardzero_test_data): New variable.
34360         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34361         (llrint_downward_test_data): New variable.
34362         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34363         (llrint_upward_test_data): New variable.
34364         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34365         (llround_test_data): New variable.
34366         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34368 2013-05-13  Peter Collingbourne  <pcc@google.com>
34370         * math/atest-exp2.c (get_log2): Remove const attribute.
34372 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34374         * math/libm-test.inc (struct test_f_l_data): New type.
34375         (RUN_TEST_LOOP_f_l): New macro.
34376         (lrint_test_data): New variable.
34377         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34378         (lrint_tonearest_test_data): New variable.
34379         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34380         (lrint_towardzero_test_data): New variable.
34381         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34382         (lrint_downward_test_data): New variable.
34383         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34384         (lrint_upward_test_data): New variable.
34385         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34386         (lround_test_data): New variable.
34387         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34389 2013-05-15  Peter Collingbourne  <pcc@google.com>
34391         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34392         (EXTRACT_WORDS64) Use where appropriate.
34393         (INSERT_WORDS64) Likewise.
34395         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34396         constraints with x constraints.
34397         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34399         * malloc/obstack.c (_obstack_compat): Add initializer.
34401 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34403         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34404         si_trapno and add si_addr_lsb to _sifields.sigfault.
34405         (si_trapno): Remove macro.
34406         (si_addr_lsb): Define new macro.
34407         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34409 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34411         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34412         instead of TEST_f_l.
34413         (llrint_test_tonearest): Likewise.
34414         (llrint_test_towardzero): Likewise.
34415         (llrint_test_downward): Likewise.
34416         (llrint_test_upward): Likewise.
34417         (llround_test): Likewise.
34419         * math/libm-test.inc (struct test_f_i_data): Add comment.
34420         (RUN_TEST_LOOP_f_b): New macro.
34421         (RUN_TEST_LOOP_f_b_tg): Likewise.
34422         (finite_test_data): New variable.
34423         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34424         (isfinite_test_data): New variable.
34425         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34426         (isinf_test_data): New variable.
34427         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34428         (isnan_test_data): New variable.
34429         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34430         (isnormal_test_data): New variable.
34431         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34432         (issignaling_test_data): New variable.
34433         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34434         (signbit_test_data): New variable.
34435         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34437         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34438         with INVALID_EXCEPTION.
34439         (acosh_test_data): Likewise.
34440         (asin_test_data): Likewise.
34441         (atanh_test_data): Likewise.
34442         (fmod_test_data): Likewise.
34443         (log_test_data): Likewise.
34444         (log10_test_data): Likewise.
34445         (log2_test_data): Likewise.
34446         (pow_test_data): Likewise.
34447         (sqrt_test_data): Likewise.
34448         (y0_test_data): Likewise.
34449         (y1_test_data): Likewise.
34450         (yn_test_data): Likewise.
34452         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34453         function contents.
34455         * math/libm-test.inc (struct test_ff_i_data): New type.
34456         (RUN_TEST_LOOP_ff_i_tg): New macro.
34457         (isgreater_test_data): New variable.
34458         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34459         (isgreaterequal_test_data): New variable.
34460         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34461         (isless_test_data): New variable.
34462         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34463         (islessequal_test_data): New variable.
34464         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34465         (islessgreater_test_data): New variable.
34466         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34467         (isunordered_test_data): New variable.
34468         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34470 2013-05-14  David S. Miller  <davem@davemloft.net>
34472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34474 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34476         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34478         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34479         extra_test to int.
34480         (struct test_f_i_data): Change type of max_ulp to int.
34482         * math/libm-test.inc (test_ffI_f1_data): New type.
34483         (RUN_TEST_LOOP_ffI_f1): New macro.
34484         (remquo_test_data): New variable.
34485         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34487         * setjmp/tst-setjmp-fp.c: New file.
34488         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34489         (link-libm): New variable.
34490         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34492         * math/libm-test.inc (struct test_f_i_data): New type.
34493         (RUN_TEST_LOOP_f_i): New macro.
34494         (RUN_TEST_LOOP_f_i_tg): Likewise.
34495         (fpclassify_test_data): New variable.
34496         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34497         (ilogb_test_data): New variable.
34498         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34500         * math/libm-test.inc (scalbln_test): Correct function name in END
34501         call.
34503         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34504         (RUN_TEST_LOOP_fI_f1): New macro.
34505         (frexp_test_data): New variable.
34506         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34508         * math/libm-test.inc (struct test_fF_f1_data): New type.
34509         (RUN_TEST_LOOP_fF_f1): New macro.
34510         (modf_test_data): New variable.
34511         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34513         * math/libm-test.inc (struct test_f_f1_data): New type.
34514         (RUN_TEST_LOOP_f_f1): New macro.
34515         (gamma_test_data): New variable.
34516         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34517         (lgamma_test_data): New variable.
34518         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34520 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34522         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34523         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34524         (main): Comment "tls" pseudo-hwcap.
34526 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34528         * math/libm-test.inc (struct test_fl_f_data): New type.
34529         (RUN_TEST_LOOP_fl_f): New variable.
34530         (scalbln_test_data): New variable.
34531         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34533         * math/libm-test.inc (struct test_fi_f_data): New type.
34534         (RUN_TEST_LOOP_fi_f): New macro.
34535         (ldexp_test_data): New variable.
34536         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34537         (scalbn_test_data): New variable.
34538         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34540         * math/libm-test.inc (struct test_c_f_data): New type.
34541         (RUN_TEST_LOOP_c_f): New macro.
34542         (cabs_test_data): New variable.
34543         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34544         (carg_test_data): New variable.
34545         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34546         (cimag_test_data): New variable.
34547         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34548         (creal_test_data): New variable.
34549         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34551         * math/libm-test.inc (struct test_if_f_data): New type.
34552         (RUN_TEST_LOOP_if_f): New macro.
34553         (jn_test_data): New variable.
34554         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34555         (yn_test_data): New variable.
34556         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34558         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34560 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34562         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34563         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34565 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34567         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34568         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34569         (bench-deps): Add bench-timing.h.
34570         * benchtests-bench-skeleton.c: Include bench-timing.h.
34571         (main): Use TIMING_* macros instead of clock_gettime.
34572         * benchtests/bench-timing.h: New file.
34574         [BZ #14582]
34575         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34576         Renamed from _LIB_VERSION.
34577         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34579 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34581         * math/libm-test.inc (struct test_fff_f_data): New type.
34582         (RUN_TEST_LOOP_fff_f): New macro.
34583         (fma_test_data): New variable.
34584         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34585         (fma_towardzero_test_data): New variable.
34586         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34587         (fma_downward_test_data): New variable.
34588         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34589         (fma_upward_test_data): New variable.
34590         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34592         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34593         (struct test_c_c_data): New type.
34594         (RUN_TEST_LOOP_c_c): New macro.
34595         (cacos_test_data): New variable.
34596         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34597         (cacosh_test_data): New variable.
34598         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34599         (casin_test_data): New variable.
34600         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34601         (casinh_test_data): New variable.
34602         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34603         (catan_test_data): New variable.
34604         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34605         (catanh_test_data): New variable.
34606         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34607         (ccos_test_data): New variable.
34608         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34609         (ccosh_test_data): New variable.
34610         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34611         (cexp_test_data): New variable.
34612         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34613         (clog_test_data): New variable.
34614         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34615         (clog10_test_data): New variable.
34616         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34617         (conj_test_data): New variable.
34618         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34619         (cproj_test_data): New variable.
34620         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34621         (csin_test_data): New variable.
34622         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34623         (csinh_test_data): New variable.
34624         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34625         (csqrt_test_data): New variable.
34626         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34627         (ctan_test_data): New variable.
34628         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34629         (ctan_tonearest_test_data): New variable.
34630         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34631         (ctan_towardzero_test_data): New variable.
34632         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34633         (ctan_downward_test_data): New variable.
34634         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34635         (ctan_upward_test_data): New variable.
34636         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34637         (ctanh_test_data): New variable.
34638         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34639         (ctanh_tonearest_test_data): New variable.
34640         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34641         (ctanh_towardzero_test_data): New variable.
34642         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34643         (ctanh_downward_test_data): New variable.
34644         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34645         (ctanh_upward_test_data): New variable.
34646         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34647         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34648         of BUILD_COMPLEX.
34650         * math/libm-test.inc (struct test_ff_f_data): New type.
34651         (struct test_ff_f_data_nexttoward): Likewise.
34652         (RUN_TEST_LOOP_2_f): New macro.
34653         (RUN_TEST_LOOP_ff_f): Likewise.
34654         (atan2_test_data): New variable.
34655         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34656         (copysign_test_data): New variable.
34657         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34658         (fdim_test_data): New variable.
34659         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34660         (fmax_test_data): New variable.
34661         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34662         (fmin_test_data): New variable.
34663         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34664         (fmod_test_data): New variable.
34665         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34666         (hypot_test_data): New variable.
34667         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34668         (nextafter_test_data): New variable.
34669         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34670         (nexttoward_test_data): New variable.
34671         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34672         (pow_test_data): New variable.
34673         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34674         (pow_tonearest_test_data): New variable.
34675         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34676         (pow_towardzero_test_data): New variable.
34677         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34678         (pow_downward_test_data): New variable.
34679         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34680         (pow_upward_test_data): New variable.
34681         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34682         (remainder_test_data): New variable.
34683         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34684         (scalb_test_data): New variable.
34685         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34686         * sysdeps/i386/fpu/libm-test-ulps: Update.
34688 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34690         * math/libm-test.inc (fma_test): Use max_value instead of local
34691         variable fltmax.
34692         (nextafter_test): Likewise.
34694         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34695         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34696         (acos_downward_test_data): New variable.
34697         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34698         (acos_upward_test_data): New variable.
34699         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34700         (acosh_test_data): New variable.
34701         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34702         (asin_test_data): New variable.
34703         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34704         (asin_tonearest_test_data): New variable.
34705         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34706         (asin_towardzero_test_data): New variable.
34707         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34708         (asin_downward_test_data): New variable.
34709         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34710         (asin_upward_test_data): New variable.
34711         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34712         (asinh_test_data): New variable.
34713         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34714         (atan_test_data): New variable.
34715         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34716         (atanh_test_data): New variable.
34717         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34718         (cbrt_test_data): New variable.
34719         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34720         (ceil_test_data): New variable.
34721         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34722         (cos_test_data): New variable.
34723         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34724         (cos_tonearest_test_data): New variable.
34725         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34726         (cos_towardzero_test_data): New variable.
34727         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34728         (cos_downward_test_data): New variable.
34729         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34730         (cos_upward_test_data): New variable.
34731         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34732         (cosh_test_data): New variable.
34733         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34734         (cosh_tonearest_test_data): New variable.
34735         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34736         (cosh_towardzero_test_data): New variable.
34737         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34738         (cosh_downward_test_data): New variable.
34739         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34740         (cosh_upward_test_data): New variable.
34741         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34742         (erf_test_data): New variable.
34743         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34744         (erfc_test_data): New variable.
34745         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34746         (exp_test_data): New variable.
34747         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34748         (exp_tonearest_test_data): New variable.
34749         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34750         (exp_towardzero_test_data): New variable.
34751         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34752         (exp_downward_test_data): New variable.
34753         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34754         (exp_upward_test_data): New variable.
34755         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34756         (exp10_test_data): New variable.
34757         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34758         (exp2_test_data): New variable.
34759         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34760         (expm1_test_data): New variable.
34761         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34762         (fabs_test_data): New variable.
34763         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34764         (floor_test_data): New variable.
34765         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34766         (j0_test_data): New variable.
34767         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34768         (j1_test_data): New variable.
34769         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34770         (log_test_data): New variable.
34771         (log_test): Run tests with RUN_TEST_LOOP_f_f.
34772         (log10_test_data): New variable.
34773         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34774         (log1p_test_data): New variable.
34775         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34776         (log2_test_data): New variable.
34777         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34778         (logb_test_data): New variable.
34779         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34780         (logb_downward_test_data): New variable.
34781         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34782         (nearbyint_test_data): New variable.
34783         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34784         (rint_test_data): New variable.
34785         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34786         (rint_tonearest_test_data): New variable.
34787         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34788         (rint_towardzero_test_data): New variable.
34789         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34790         (rint_downward_test_data): New variable.
34791         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34792         (rint_upward_test_data): New variable.
34793         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34794         (round_test_data): New variable.
34795         (round_test): Run tests with RUN_TEST_LOOP_f_f.
34796         (sin_test_data): New variable.
34797         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34798         (sin_tonearest_test_data): New variable.
34799         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34800         (sin_towardzero_test_data): New variable.
34801         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34802         (sin_downward_test_data): New variable.
34803         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34804         (sin_upward_test_data): New variable.
34805         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34806         (sinh_test_data): New variable.
34807         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34808         (sinh_tonearest_test_data): New variable.
34809         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34810         (sinh_towardzero_test_data): New variable.
34811         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34812         (sinh_downward_test_data): New variable.
34813         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34814         (sinh_upward_test_data): New variable.
34815         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34816         (sqrt_test_data): New variable.
34817         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34818         (tan_test_data): New variable.
34819         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34820         (tan_tonearest_test_data): New variable.
34821         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34822         (tan_towardzero_test_data): New variable.
34823         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34824         (tan_downward_test_data): New variable.
34825         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34826         (tan_upward_test_data): New variable.
34827         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34828         (tanh_test_data): New variable.
34829         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34830         (tgamma_test_data): New variable.
34831         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34832         (trunc_test_data): New variable.
34833         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34834         (y0_test_data): New variable.
34835         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34836         (y1_test_data): New variable.
34837         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34838         (significand_test_data): New variable.
34839         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34841 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34843         [BZ #12387]
34844         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34846 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34848         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34850 2013-05-10  Andreas Jaeger  <aj@suse.de>
34852         [BZ #15448]
34853         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34854         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34856 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34858         * math/gen-libm-test.pl (adjust_arg): New function.
34859         (special_functions): Handle generating output in both functions
34860         and arrays.
34861         (parse_args): Likewise.
34862         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34863         $in_func argument to parse_args.
34864         * math/libm-test.inc (struct test_f_f_data): New type.
34865         (IF_ROUND_INIT_): New macro.
34866         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34867         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34868         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34869         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34870         (ROUND_RESTORE_): Likewise.
34871         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34872         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34873         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34874         (ROUND_RESTORE_FE_UPWARD): Likewise.
34875         (RUN_TEST_LOOP_f_f): New macro.
34876         (acos_test_data): New variable.
34877         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34878         (acos_tonearest_test_data): New variable.
34879         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34881 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34883         * benchtests/bench-skeleton.c (startup): Fix coding style.
34885 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34887         [BZ #6809]
34888         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34889         negative infinity argument.
34890         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34891         negative infinity argument.
34892         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34893         negative infinity argument.
34894         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34895         domain errors.
34897 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34899         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34900         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34901         * iconv/iconv_prog.c (main): Likewise.
34902         * locale/programs/charmap-dir.c (charmap_readdir)
34903         (fopen_uncompressed): Likewise.
34904         * locale/programs/locfile.c (siblings_uncached)
34905         (write_locale_data): Use lstat64 instead of lstat.
34906         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34907         stat.
34909 2013-05-10  Andreas Jaeger  <aj@suse.de>
34911         [BZ #15395]
34912         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34913         localization.
34914         Include <locale.h>.
34916 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34918         * elf/dl-close.c (_dl_close_worker): Add comments.
34920 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34922         [BZ #15359]
34923         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34924         high part of pi/2.
34925         (__ieee754_rem_pio2l): Update comments.
34927         [BZ #15429]
34928         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34929         high part of pi/2.
34930         (__ieee754_rem_pio2l): Update comments.
34932         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34933         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34935         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34936         M_PI_4l.
34938         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34939         (M_PI_34_LOG10El): Likewise.
34940         (M_PI2_LOG10El): Likewise.
34941         (M_PI4_LOG10El): Likewise.
34942         (M_PI_LOG10El): Likewise.
34944 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34948 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34950         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34951         (MINUS_ZERO_INIT): Likewise.
34952         (PLUS_INFTY_INIT): Likewise.
34953         (MINUS_INFTY_INIT): Likewise.
34954         (QNAN_VALUE_INIT): Likewise.
34955         (MAX_VALUE_INIT): Likewise.
34956         (MIN_VALUE_INIT): Likewise.
34957         (MIN_SUBNORM_VALUE_INIT): Likewise.
34958         (plus_zero): Initialize with PLUS_ZERO_INIT.
34959         (minus_zero): Initialize with MINUS_ZERO_INIT.
34960         (plus_infty): Initialize with PLUS_INFTY_INIT.
34961         (minus_infty): Initialize with MINUS_INFTY_INIT.
34962         (qnan_value): Initialize with QNAN_VALUE_INIT.
34963         (max_value): Initialize with MAX_VALUE_INIT.
34964         (min_value): Initialize with MIN_VALUE_INIT.
34965         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34967         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34968         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34969         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34970         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34972         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34973         (RUN_TEST_2_f): Likewise.
34974         (RUN_TEST_ff_f): Likewise.
34975         (RUN_TEST_fi_f): Likewise.
34976         (RUN_TEST_fl_f): Likewise.
34977         (RUN_TEST_fff_f): Likewise.
34978         (RUN_TEST_c_f): Likewise.
34979         (RUN_TEST_f_f1): Likewise.
34980         (RUN_TEST_fF_f1): Likewise.
34981         (RUN_TEST_fI_f1): Likewise.
34982         (RUN_TEST_ffI_f1): Likewise.
34983         (RUN_TEST_c_c): Likewise.
34984         (RUN_TEST_cc_c): Likewise.
34985         (RUN_TEST_f_i): Likewise.
34986         (RUN_TEST_f_i_tg): Likewise.
34987         (RUN_TEST_ff_i_tg): Likewise.
34988         (RUN_TEST_f_b): Likewise.
34989         (RUN_TEST_f_b_tg): Likewise.
34990         (RUN_TEST_f_l): Likewise.
34991         (RUN_TEST_f_L): Likewise.
34992         (RUN_TEST_sincos): Likewise.
34993         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34994         whether to show exceptions.  Do not include ");\n" in return
34995         value.
34996         (special_functions): Output call to RUN_TEST_sincos instead of
34997         check_float calls.  Update calls to new_test.
34998         (parse_args): Output call to single RUN_TEST_* macro instead of
34999         check_* calls and other assignments.  Update calls to new_test.
35001         [BZ #2546]
35002         [BZ #2560]
35003         [BZ #5159]
35004         [BZ #15426]
35005         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35006         input to result for tgamma overflow.
35007         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35008         (gamma_coeff): New variable.
35009         (NCOEFF): New macro.
35010         (gamma_positive): New function.
35011         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35012         underflow here.  Use gamma_positive instead of exp (lgamma) for
35013         other arguments.
35014         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35015         (gamma_coeff): New variable.
35016         (NCOEFF): New macro.
35017         (gammaf_positive): New function.
35018         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35019         underflow here.  Use gamma_positive instead of exp (lgamma) for
35020         other arguments.
35021         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35022         (gamma_coeff): New variable.
35023         (NCOEFF): New macro.
35024         (gammal_positive): New function.
35025         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35026         underflow here.  Use gamma_positive instead of exp (lgamma) for
35027         other arguments.
35028         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35029         (gamma_coeff): New variable.
35030         (NCOEFF): New macro.
35031         (gammal_positive): New function.
35032         (__ieee754_gammal_r): Handle positive infinity, overflow and
35033         underflow here.  Handle NaN the same as positive infinity.  Remove
35034         check x < 0xffffffff for negative integers.  Use gamma_positive
35035         instead of exp (lgamma) for other arguments.
35036         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35037         (gamma_coeff): New variable.
35038         (NCOEFF): New macro.
35039         (gammal_positive): New function.
35040         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35041         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35042         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35043         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35044         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35045         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35046         * sysdeps/generic/math_private.h (__gamma_productf): New
35047         prototype.
35048         (__gamma_product): Likewise.
35049         (__gamma_productl): Likewise.
35050         * math/Makefile (libm-calls): Add gamma_product.
35051         * math/libm-test.inc (tgamma_test): Add more tests.
35052         * sysdeps/i386/fpu/libm-test-ulps: Update.
35053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35055 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35057         * benchtests/bench-skeleton.c (main): Preheat CPU.
35059 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35061         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35063 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35065         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35066         and _dl_skip_args_internal.
35068 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35070         * manual/message.texi (Message Translation): Talk about users.
35071         Message to key mapping impacts design.
35073 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35075         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35077         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35079         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35080         * sysdeps/wordsize-64/glob64.c: ... here.
35082         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35083         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35084         New macros.
35086         * debug/getlogin_r_chk.c: Moved to ...
35087         * login/getlogin_r_chk.c: ... here.
35088         * debug/Makefile (routines): Move getlogin_r_chk to ...
35089         * login/Makefile (routines): ... here.
35090         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35091         * login/Versions (libc: GLIBC_2.4): ... here.
35093         * io/poll.c (__poll): Renamed from poll.
35094         Add libc_hidden_def.
35095         (poll): Define as weak alias.
35097         * debug/ptsname_r_chk.c: Moved to ...
35098         * login/ptsname_r_chk.c: ... here.
35099         * debug/Makefile (routines): Move ptsname_r_chk to ...
35100         * login/Makefile (routines): ... here.
35101         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35102         * login/Versions (libc: GLIBC_2.4): ... here.
35104         * posix/getlogin.c: Moved to ...
35105         * login/getlogin.c: ... here.
35106         * posix/getlogin_r.c: Moved to ...
35107         * login/getlogin_r.c: ... here.
35108         * posix/getlogin_r.c: Moved to ...
35109         * login/getlogin_r.c: ... here.
35110         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35111         * login/Makefile (routines): ... here.
35112         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35113         * login/Versions (libc: GLIBC_2.0): ... here.
35115         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35116         (setrlimit): Define as weak alias.
35118         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35119         Call __ names for open, ftruncate, and close.
35120         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35121         (truncate): Define as weak alias.
35123 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35125         * math/gen-libm-test.pl (parse_args): Initialize x before each
35126         test of frexp, modf and remquo.
35128         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35129         test signgam value.
35131 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35133         [BZ #15418]
35134         [BZ #15419]
35135         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35136         internal tests.
35137         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35139 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35141         * elf/dl-writev.h: New file.
35142         * elf/dl-misc.c: Include it.
35143         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35144         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35146 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35148         * math/libm-test.inc (noXFails): Remove variable.
35149         (noXPasses): Likewise.
35150         (BUILD_COMPLEX_INT): Remove macro.
35151         (print_screen): Remove xfail argument.
35152         (print_screen_max_error): Likewise.
35153         (update_stats): Likewise.
35154         (print_max_error): Likewise.  Update calls to other affected
35155         functions.
35156         (print_complex_max_error): Likewise.
35157         (test_single_exception): Update calls to print_screen.
35158         (test_single_errno): Likewise.
35159         (check_float_internal): Remove xfail argument.  Update calls to
35160         other affected functions.
35161         (check_float): Likewise.
35162         (check_complex): Likewise.
35163         (check_int): Likewise.
35164         (check_long): Likewise.
35165         (check_bool): Likewise.
35166         (check_longlong): Likewise.
35167         (main): Don't print noXFails and noXPasses.
35168         * math/gen-libm-test.pl (top level): Don't mention expected
35169         failure handling in comment.
35170         (new_test): Don't handle expected failures.
35171         (parse_args): Don't mention expected failure handling in comment.
35172         (generate_testfile): Don't handle expected failures.
35173         (parse_ulps): Likewise.
35174         (print_ulps_file): Likewise.
35175         (get_failure): Remove function.
35176         (output_test): Don't handle expected failures.
35177         * make/README.libm-test: Don't mention expected failure handling.
35179         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35180         (minus_zero): Likewise.
35181         (plus_infty): Likewise.
35182         (minus_infty): Likewise.
35183         (qnan_value): Likewise.
35184         (max_value): Likewise.
35185         (min_value): Likewise.
35186         (min_subnorm_value): Likewise.
35187         (initialize): Do not initialize those variables dynamically.
35189 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35191         * io/open.c (__open_2): Moved to ...
35192         * io/open_2.c: ... this new file.
35193         * io/open64.c (__open64_2): Moved to ...
35194         * io/open64_2.c: ... this new file.
35195         * io/openat.c (__openat_2): Moved to ...
35196         * io/openat_2.c: ... this new file.
35197         * io/openat64.c (__openat64_2): Moved to ...
35198         * io/openat64_2.c: ... this new file.
35199         * io/Makefile (routines): Add them.
35200         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35201         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35202         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35203         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35204         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35205         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35206         (__openat64): Add hidden_ver.
35207         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35208         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35210         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35211         Separately conditionalize setting of GLRO(dl_sysinfo) so
35212         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35213         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35215 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35217         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35218         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35219         definition.
35220         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35221         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35222         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35223         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35224         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35226 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35228         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35229         test signgam value.
35231         * math/libm-test.inc (hypot_test): Do not use
35232         IGNORE_ZERO_INF_SIGN.
35234 2013-05-03  Andreas Jaeger  <aj@suse.de>
35236         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35237         Linux 3.9.
35238         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35239         (PF_MAX): Adjust for VSOCK change.
35241 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35245 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35247         [BZ #15264]
35248         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35249         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35250         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35252 2013-05-02  David S. Miller  <davem@davemloft.net>
35254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35256 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35258         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35260 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35262         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35264 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35266         [BZ #14952]
35267         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35268         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35269         Use __attribute__ ((__gnu_inline__)).
35270         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35271         Don't use __attribute__ ((__gnu_inline__)).
35273 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35275         [BZ #15423]
35276         * math/s_catan.c (__catan): Handle small real or imaginary part of
35277         input specially to avoid spurious underflow.
35278         * math/s_catanf.c (__catanf): Likewise.
35279         * math/s_catanh.c (__catanh): Likewise.
35280         * math/s_catanhf.c (__catanhf): Likewise.
35281         * math/s_catanhl.c (__catanhl): Likewise.
35282         * math/s_catanl.c (__catanl): Likewise.
35283         * math/libm-test.inc (catan_test): Add more tests.
35284         (catanh_test): Likewise.
35285         * sysdeps/i386/fpu/libm-test-ulps: Update.
35286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35288 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35292 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35294         [BZ #15416]
35295         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35296         accurately for denominator in atan2.
35297         * math/s_catanf.c (__catanf): Likewise.
35298         * math/s_catanh.c (__catanh): Likewise.
35299         * math/s_catanhf.c (__catanhf): Likewise.
35300         * math/s_catanhl.c (__catanhl): Likewise.
35301         * math/s_catanl.c (__catanl): Likewise.
35302         * math/libm-test.inc (catan_test): Add more tests.
35303         (catanh_test): Likewise.
35304         * sysdeps/i386/fpu/libm-test-ulps: Update.
35305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35307 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35309         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35311         * benchtests/Makefile (bench): Remove slow benchmarks.
35312         * benchtests/atan-inputs: Add slow benchmark inputs.
35313         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35314         (BENCH_FUNC): Accept variant offset.
35315         (VARIANT): Define.
35316         * benchtests/bench-skeleton.c (main): Run benchmark for each
35317         variant.
35318         * benchtests/cos-inputs: Add slow benchmark inputs.
35319         * benchtests/exp-inputs: Likewise.
35320         * benchtests/pow-inputs: Likewise.
35321         * benchtests/sin-inputs: Likewise.
35322         * benchtests/slowatan-inputs: Remove.
35323         * benchtests/slowatan.c: Remove.
35324         * benchtests/slowcos-inputs: Remove.
35325         * benchtests/slowcos.c: Remove.
35326         * benchtests/slowexp-inputs: Remove.
35327         * benchtests/slowexp.c: Remove.
35328         * benchtests/slowpow-inputs: Remove.
35329         * benchtests/slowpow.c: Remove.
35330         * benchtests/slowsin-inputs: Remove.
35331         * benchtests/slowsin.c: Remove.
35332         * benchtests/slowtan-inputs: Remove.
35333         * benchtests/slowtan.c: Remove.
35334         * benchtests/tan-inputs: Add slow benchmark inputs.
35335         * scripts/bench.pl: Parse comments and directives.
35337         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35338         in CPPFLAGS.
35339         ($(objpfx)bench-%.c): Remove *-ITER.
35340         * benchtests/bench-modf.c: Remove definition of ITER.
35341         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35342         (main): Loop for DURATION seconds instead of fixed number of
35343         iterations.
35344         * scripts/bench.pl: Don't expect iterations in parameters.
35346 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35348         * io/fchdir.c (__fchdir): Renamed from fchdir.
35349         (fchdir): Define as weak alias.
35351 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35353         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35354         (ERRNO_EDOM): Likewise.
35355         (ERRNO_ERANGE): Likewise.
35356         (noErrnoTests): New variable.
35357         (init_max_error): Set errno to 0.
35358         (test_single_errno): New function.
35359         (test_errno): Likewise.
35360         (check_float_internal): Call test_errno.  Set errno to 0.
35361         (check_complex): Refer to errno tests in comment.
35362         (check_int): Call test_errno.  Set errno to 0.
35363         (check_long): Likewise.
35364         (check_bool): Likewise.
35365         (check_longlong): Likewise.
35366         (cos_test): Use ERRNO_* flags for errno tests instead of
35367         check_int.
35368         (expm1_test): Likewise.
35369         (fmod_test): Likewise.
35370         (ilogb_test): Likewise.
35371         (lgamma_test): Likewise.
35372         (pow_test): Likewise.
35373         (remainder_test): Likewise.
35374         (sin_test): Likewise.
35375         (tan_test): Likewise.
35376         (yn_test): Likewise.
35377         (initialize): Set errno to 0.
35378         (main): Print number of errno tests.
35379         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35381 2013-04-29  Andreas Jaeger  <aj@suse.de>
35383         [BZ #15084]
35384         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35385         and RES_USEVC.
35387         [BZ #15085]
35388         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35389         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35390         unimplemented.
35392         [BZ #15380]
35393         * stdlib/random.c (__initstate): Return NULL if
35394         __initstate fails.
35396         [BZ #15086]
35397         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35398         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35399         RES_SNGLKUPREOP.
35401 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35405 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35407         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35408         of individual tests.
35409         (casin_test): Likewise.
35410         (casinh_test): Likewise.
35412 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35414         [BZ #15409]
35415         * math/s_catan.c (__catan): Handle arguments with large real or
35416         imaginary part separately without squaring.
35417         * math/s_catanf.c (__catanf): Likewise.
35418         * math/s_catanh.c (__catanh): Likewise.
35419         * math/s_catanhf.c (__catanhf): Likewise.
35420         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35421         and redefine.
35422         (__catanhl): Handle arguments with large real or imaginary part
35423         separately without squaring.
35424         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35425         and redefine.
35426         (__catanl): Handle arguments with large real or imaginary part
35427         separately without squaring.
35428         * math/libm-test.inc (catan_test): Add more tests.
35429         (catanh_test): Likewise.
35430         * sysdeps/i386/fpu/libm-test-ulps: Update.
35431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35433 2013-04-27  Andreas Jaeger  <aj@suse.de>
35435         [BZ #15007]
35436         * stdlib/stdlib.h: Update guards for qecvt.
35437         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35438         <stdlib.h>.
35440 2013-04-27  Allan McRae  <allan@archlinux.org>
35442         * sysdeps/i386/fpu/libm-test-ulps: Update.
35444 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35446         [BZ #15406]
35447         * math/s_catan.c: Include <float.h>.
35448         (__catan): Ensure underflow exception occurs for underflowed
35449         result.
35450         * math/s_catanf.c: Include <float.h>.
35451         (__catanf): Ensure underflow exception occurs for underflowed
35452         result.
35453         * math/s_catanh.c: Include <float.h>.
35454         (__catanh): Ensure underflow exception occurs for underflowed
35455         result.
35456         * math/s_catanhf.c: Include <float.h>.
35457         (__catanhf): Ensure underflow exception occurs for underflowed
35458         result.
35459         * math/s_catanhl.c: Include <float.h>.
35460         (__catanhl): Ensure underflow exception occurs for underflowed
35461         result.
35462         * math/s_catanl.c: Include <float.h>.
35463         (__catanl): Ensure underflow exception occurs for underflowed
35464         result.
35465         * math/libm-test.inc (catan_test): Add more tests.
35466         (catanh_test): Likewise.
35468         [BZ #15405]
35469         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35470         underflowed result.
35471         * math/s_ccoshf.c (__ccoshf): Likewise.
35472         * math/s_ccoshl.c (__ccoshl): Likewise.
35473         * math/s_csin.c (__csin): Likewise.
35474         * math/s_csinf.c (__csinf): Likewise.
35475         * math/s_csinh.c (__csinh): Likewise.
35476         * math/s_csinhf.c (__csinhf): Likewise.
35477         * math/s_csinhl.c (__csinhl): Likewise.
35478         * math/s_csinl.c (__csinl): Likewise.
35479         * math/libm-test.inc (ccos_test): Add more tests.
35480         (ccosh_test): Likewise.
35481         (csin_test): Likewise.
35482         (csinh_test): Likewise.
35484 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35486         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35487         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35488         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35489         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35490         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35491         powerpc/power5+/fpu folders.
35492         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35495 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35499 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35501         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35502         additions to variable.
35503         [$(config-machine) = x86_64] (modules-names): Likewise.
35504         ($(objpfx)tst-audit3): Remove dependency.
35505         ($(objpfx)tst-audit3.out): Likewise.
35506         ($(objpfx)tst-audit4): Likewise.
35507         ($(objpfx)tst-audit4.out): Likewise.
35508         ($(objpfx)tst-audit5): Likewise.
35509         ($(objpfx)tst-audit5.out): Likewise.
35510         ($(objpfx)tst-audit6): Likewise.
35511         ($(objpfx)tst-audit6.out): Likewise.
35512         ($(objpfx)tst-audit7): Likewise.
35513         ($(objpfx)tst-audit7.out): Likewise.
35514         (tst-audit3-ENV): Remove variable.
35515         (tst-audit4-ENV): Likewise.
35516         (tst-audit5-ENV): Likewise.
35517         (tst-audit6-ENV): Likewise.
35518         (tst-audit7-ENV): Likewise.
35519         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35520         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35521         addition to variable.
35522         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35523         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35524         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35525         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35526         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35527         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35528         tst-audit3, tst-audit4 and tst-audit5.
35529         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35530         tst-audit6 and tst-audit7.
35531         [$(subdir) = elf] (modules-names): Add audit modules for those
35532         tests.
35533         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35534         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35535         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35536         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35537         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35538         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35539         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35540         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35541         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35542         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35543         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35544         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35545         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35546         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35547         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35548         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35549         Likewise.
35550         [$(subdir) = elf && $(config-cflags-avx) = yes]
35551         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35552         [$(subdir) = elf && $(config-cflags-avx) = yes]
35553         (CFLAGS-tst-auditmod4a.c): Likewise.
35554         [$(subdir) = elf && $(config-cflags-avx) = yes]
35555         (CFLAGS-tst-auditmod4b.c): Likewise.
35556         [$(subdir) = elf && $(config-cflags-avx) = yes]
35557         (CFLAGS-tst-auditmod6b.c): Likewise.
35558         [$(subdir) = elf && $(config-cflags-avx) = yes]
35559         (CFLAGS-tst-auditmod6c.c): Likewise.
35560         [$(subdir) = elf && $(config-cflags-avx) = yes]
35561         (CFLAGS-tst-auditmod7b.c): Likewise.
35562         * elf/tst-audit3.c: Move to ...
35563         * sysdeps/x86_64/tst-audit3.c: ... here.
35564         * elf/tst-audit4.c: Move to ...
35565         * sysdeps/x86_64/tst-audit4.c: ... here.
35566         * elf/tst-audit5.c: Move to ...
35567         * sysdeps/x86_64/tst-audit5.c: ... here.
35568         * elf/tst-audit6.c: Move to ...
35569         * sysdeps/x86_64/tst-audit6.c: ... here.
35570         * elf/tst-audit7.c: Move to ...
35571         * sysdeps/x86_64/tst-audit7.c: ... here.
35572         * elf/tst-auditmod3a.c: Move to ...
35573         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35574         * elf/tst-auditmod3b.c: Move to ...
35575         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35576         * elf/tst-auditmod4a.c: Move to ...
35577         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35578         * elf/tst-auditmod4b.c: Move to ...
35579         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35580         * elf/tst-auditmod5a.c: Move to ...
35581         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35582         * elf/tst-auditmod5b.c: Move to ...
35583         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35584         * elf/tst-auditmod6a.c: Move to ...
35585         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35586         * elf/tst-auditmod6b.c: Move to ...
35587         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35588         * elf/tst-auditmod6c.c: Move to ...
35589         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35590         * elf/tst-auditmod7a.c: Move to ...
35591         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35592         * elf/tst-auditmod7b.c: Move to ...
35593         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35595 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35597         [BZ #15366]
35598         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35599         define unconditionally.
35600         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35601         define unconditionally.
35602         (INT8_C, INT16_C, etc.): Likewise.
35604 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35606         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35607         __ehdr_start with hidden visibility.
35609         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35611 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35613         * math/libm-test.inc (cos_test): Use accurate hex constants.
35614         (sincost_test): Likewise.
35616 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35618         * math/libm-test.inc (catan_test): Add more tests.
35619         (catanh_test): Likewise.
35621         * math/s_catanf.c (__catanf): Use suffixed floating-point
35622         constants.
35623         * math/s_catanhf.c (__catanhf): Likewise.
35624         * math/s_catanhl.c (__catanhl): Likewise.
35625         * math/s_catanl.c (__catanl): Likewise.
35627         [BZ #15394]
35628         * math/s_catan.c (__catan): Calculate imaginary part of result
35629         with log1p not log unless computing log of number close to 0.
35630         * math/s_catanf.c (__catanf): Likewise.
35631         * math/s_catanl.c (__catanl): Likewise.
35632         * math/s_catanh.c (__catanh): Calculate real part of result with
35633         log1p not log unless computing log of number close to 0.
35634         * math/s_catanhf.c (__catanhf): Likewise.
35635         * math/s_catanhl.c (__catanhl): Likewise.
35636         * math/libm-test.inc (catan_test): Add more tests.
35637         (catanh_test): Likewise.
35638         * sysdeps/i386/fpu/libm-test-ulps: Update.
35639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35641 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35643         * benchtests/Makefile: Mention files in which fast and slow
35644         paths of math functions are implemented.
35646 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35648         * sysdeps/posix/timespec_get.c: New file.
35650 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35652         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35653         POWER.
35654         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35655         for POWER.
35656         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35657         powerpc/power5/fpu folders.
35658         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35659         * benchtests/Makefile: Add modf testcase.
35660         * benchtests/bench-modf.c: New file: Benchmark test for mo
35662 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35664         [BZ #14888]
35665         * time/Makefile (tests): Add tst-strptime-whitespace.
35666         * time/strptime_l.c (get_number): Use ISSPACE.
35667         (__strptime_internal): Likewise.
35668         * time/tst-strptime-whitespace.c: New test case.
35670 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35672         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35673         member.
35674         (_nss_files_init): Set it here.
35676 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35678         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35679         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35680         unsigned.
35682 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35684         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35686 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35688         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35689         size just once.
35691 2013-04-21  David S. Miller  <davem@davemloft.net>
35693         * po/ru.po: Update Russion translation from translation project.
35695 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35697         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35698         and setfsgid.
35700 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35702         * configure.in: Remove i386 configure warning. Remove i386 case.
35703         * configure: Regenerate.
35704         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35705         Add example to error message.
35706         * sysdeps/i386/configure: Regenerate.
35708 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35710         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35711         slowtan.
35712         * benchtests/cos-inputs: New file.
35713         * benchtests/slowcos-inputs: New file.
35714         * benchtests/slowcos.c: New file.
35715         * benchtests/slowtan-inputs: New file.
35716         * benchtests/slowtan.c: New file.
35717         * benchtests/tan-inputs: New file.
35719 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35721         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35722         considered kosher.
35724 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35726         * benchtests/Makefile: Include cppflags-iterator.mk to add
35727         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35729         * Makefile.in (bench-clean): New target.
35730         * benchtests/Makefile (bench-clean): Likewise.
35732 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35734         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35736 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35738         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35740 2013-04-15  Andreas Schwab  <schwab@suse.de>
35742         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35743         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35744         * nscd/pwdcache.c (cache_addpw): Likewise.
35745         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35746         more than recsize.
35748 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35750         * benchtests/Makefile (bench): Write all output to
35751         bench-out.tmp together.
35753 2013-04-15  Andreas Schwab  <schwab@suse.de>
35755         * nscd/nscd.c (main): Don't fork again after closing files.
35757 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35759         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35761         * benchtests/Rules (bench-deps): Collect dependencies into a
35762         single variable.  Add Makefile to dependencies.
35763         ($(objpfx)bench-%.c): Depend on bench-deps.
35765 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35766             Xavier Roche  <roche+kml2@exalead.com>
35768         [BZ #15361]
35769         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35770         just that it's a file descriptor.
35771         * manual/llio.texi (Synchronizing AIO Operations): Update description
35772         for EBADF error from aio_fsync.
35774 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35776         * Rules (bench): Move target definition...
35777         * benchtests/Makefile: ... here.
35779 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
35781         * math/libm-test.inc (cos_test): Fix PI/2 test.
35782         (sincos_test): Likewise.
35783         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35784         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35786 2013-04-11  Andreas Schwab  <schwab@suse.de>
35788         [BZ #13988]
35789         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35790         accept exponent character only when digits were seen.
35791         * stdio-common/Makefile (tests): Add bug26.
35792         * stdio-common/bug26.c: New file.
35794         [BZ #14293]
35795         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35796         non-freeable.
35798 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35800         * Makeconfig (rtld-prefix): Define built linker prefix.
35801         * Rules (run-bench): Use it.
35802         * math/Makefile (run-regen-ulps): Likewise.
35804         * Rules (bench): Remove eval.
35806 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35807             Roland McGrath  <roland@hack.frob.com>
35808             Ondrej Bilka  <neleai@seznam.cz>
35810         [BZ #15346]
35811         * time/getdate.c: Include ctype.h and alloca.h.
35812         (__getdate_r): Trim leading and trailing spaces of input.
35813         * time/tst-getdate.c (tests): Add tests with leading and
35814         trailing spaces.
35816 2013-04-08  Roland McGrath  <roland@hack.frob.com>
35818         [BZ #14280]
35819         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35820         when computing value.
35822 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35824         * math/README.libm-test (How can I generate "libm-test-ulps"?):
35825         Use testrun.sh to run libm tests.
35827         [BZ #15309]
35828         * elf/dl-open.c (dl_open_worker): memset all of seen array.
35830 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
35832         [BZ #15264]
35833         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35835 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35837         * Makefile.in (regen-ulps): New target.
35838         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35839         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35840         [ifneq (no,$(PERL)] (regen-ulps): New target.
35841         [ifeq (no,$(PERL)] (regen-ulps): New target.
35842         * math/libm-test.inc (ulps_file_name): Define.
35843         (output_dir): New variable.
35844         (options): Add "output-dir" option.
35845         (parse_opt): Handle 'o' case.
35846         (main): If output_dir is non-NULL use it as a prefix
35847         otherwise use "".
35848         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35850 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35852         [BZ #10060, #10062]
35853         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35854         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35855         fail configure if __sync_val_compare_and_swap is not inlined.
35856         * sysdeps/i386/configure: Regenerate.
35857         * configure.in: Build for i686 when configured for i386.
35858         * configure: Regenerate.
35859         * README: Remove i386 reference.
35861 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35863         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35864         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35866 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35868         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35869         (lmsnanval): New variables.
35870         (F): Add conversion tests.
35871         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35872         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35874         * stdio-common/tstdiomisc.c (F): Properly collect individual
35875         tests' results.
35877         [BZ #14686, #15336]
35878         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35879         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35880         Instead, use input NaN values or generate a qNaN by arithmetic
35881         operation.  Also fix bugs to comply with the standard.
35882         * math/libm-test.inc (remainder_test): Add more tests.
35884         [BZ #15335, #15342]
35885         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35886         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35887         input NaN values or generate a qNaN by arithmetic operation.
35889         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35890         unreachable code.
35892         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35893         definitions.
35895 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35897         [BZ #14478]
35898         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35899         underflowed result.
35900         * math/s_cexpf.c (__cexpf): Likewise.
35901         * math/s_cexpl.c (__cexpl): Likewise.
35902         * math/libm-test.inc (cexp_test): Add more tests.
35904 2013-04-03  Andreas Schwab  <schwab@suse.de>
35906         [BZ #15330]
35907         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35908         order arrays from heap if bigger than alloca cutoff.
35910 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35912         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35913         (SNAN_TESTS_double): Refer to GCC PR56831.
35914         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35915         GCC PR56828.
35917 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35919         * Rules (bench): Move bench.out after the run is complete.
35921         * Rules (bench): Echo currently running benchmark.
35923         * benchtests/Makefile (bench): Add atan and slowatan.
35924         * benchtests/atan-inputs: New file.
35925         * benchtests/slowatan-inputs: New file.
35926         * benchtests/slowatan.c: New file.
35928         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35929         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35930         its value.
35932         [BZ #15305]
35933         * sysdeps/unix/sysv/linux/kernel-features.h
35934         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35935         __ASSUME_XFS_RESTRICTED_CHOWN.
35936         * sysdeps/unix/sysv/linux/pathconf.c
35937         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35938         Save and restore errno.
35940 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35942         [BZ #15327]
35943         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35944         arguments using __kernel_casinh.
35945         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35946         arguments using __kernel_casinhf.
35947         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35948         arguments using __kernel_casinhl.
35949         * math/libm-test.inc (cacosh_test): Add more tests.
35950         * sysdeps/i386/fpu/libm-test-ulps: Update.
35951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35953 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35955         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35956         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35958         * bench/Makefile (bench): Add sin and slowsin.
35959         * benchtests/sin-inputs: New file.
35960         * benchtests/slowsin-inputs: New file.
35961         * benchtests/slowsin.c: New file.
35963         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35964         (bench): Add slowexp and slowpow.
35965         (exp-ITER): Increase iterations.
35966         (pow-ITER): Likewise.
35967         * benchtests/exp-inputs: Change input.
35968         * benchtests/pow-inputs: Likewise.
35969         * benchtests/slowexp-inputs: New file.
35970         * benchtests/slowexp.c: New file.
35971         * benchtests/slowpow-inputs: New file.
35972         * benchtests/slowpow.c: New file.
35974 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35976         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35977         instructions.
35978         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35979         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35980         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35981         * benchtests/Makefile: Add rint benchtest.
35982         * benchtests/rint-inputs: Input for rint benchtest.
35984 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35986         * Versions.def (libm): Add GLIBC_2.18.
35987         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35988         hidden libm prototypes.
35989         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35990         * math/Makefile (libm-calls): Add s_issignaling.
35991         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35992         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35993         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35994         declaration.
35995         * math/math.h [__USE_GNU] (issignaling): New macro.
35996         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35997         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35998         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35999         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36000         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36001         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36002         * manual/arith.texi (issignaling): New section.
36003         * manual/libm-err-tab.pl (@all_functions): Update comment.
36004         * math/gen-libm-test.pl (parse_args): Apply special handling for
36005         issignaling.
36006         * math/libm-test.inc (print_float, issignaling_test): New
36007         functions.
36008         (check_float_internal): Add issignaling checks.
36009         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36010         default definition.
36011         * sysdeps/powerpc/math-tests.h: New file.
36012         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36013         tests.
36014         * math/test-snan.c (TEST_FUNC): Likewise.
36016 2013-03-30  David S. Miller  <davem@davemloft.net>
36018         * po/de.po: Update from translation team.
36020 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36022         [BZ #10357]
36023         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36024         imaginary part less than 1.0 and real part less than 0.5
36025         specially.
36026         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36027         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36028         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36029         (cacos_test): Add more tests.
36030         (casin_test): Likewise.
36031         (casinh_test): Likewise.
36032         * sysdeps/i386/fpu/libm-test-ulps: Update.
36033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36035 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36037         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36038         ONE with its value.
36040         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36041         (__pow_mp): Replace ONE and MONE with their values.
36042         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36043         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36044         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36045         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36046         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36047         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36049         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36051         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36052         (__pow_mp): Replace ZERO and MZERO with their values.
36053         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36054         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36055         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36056         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36057         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36058         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36059         (__sqr): Likewise.
36061         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36063         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36065 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36067         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36068         Declare with __attribute__ ((weak)).
36069         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36070         Call __call_tls_dtors only if it's not NULL.
36072 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36074         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36075         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36076         magic __ehdr_start linker symbol if it's defined.
36077         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36078         them up here if it was already done.
36080         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36081         (_dl_aux_init): Use const in cast when setting it.
36082         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36083         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36084         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36086         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36087         Declare them here.
36088         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36089         * csu/libc-tls.c: Nor here.
36090         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36092         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36093         (__libc_message): Never call vsyslog.
36095 2013-03-28  Alan Modra  <amodra@gmail.com>
36097         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36098         Define as empty.
36099         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36100         Likewise.
36102 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36104         [BZ #15214]
36105         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36106         underflow.
36107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36109 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36111         [BZ #15304]
36112         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36113         Don't add gid passed as argument.
36115         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36117 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36119         [BZ #15307]
36120         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36121         imaginary part between 1.0 and 1.5 and real part less than 0.5
36122         specially.
36123         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36124         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36125         * math/libm-test.inc (cacos_test): Add more tests.
36126         (casin_test): Likewise.
36127         (casinh_test): Likewise.
36128         * sysdeps/i386/fpu/libm-test-ulps: Update.
36129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36131 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36133         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36134         constants.
36135         (norm): Likewise.
36136         (denorm): Likewise.
36137         (__dbl_mp): Likewise.
36138         (add_magnitudes): Likewise.
36139         (sub_magnitudes): Likewise.
36140         (__add): Likewise.
36141         (__sub): Likewise.
36142         (__mul): Likewise.
36143         (__sqr): Likewise.
36144         (__inv): Likewise.
36145         (__dvd): Likewise.
36147         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36148         commented code.
36149         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36150         (__dubcos): Likewise.
36151         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36152         (__ieee754_acos): Likewise.
36153         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36154         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36155         (__exp1): Likewise.
36156         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36157         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36158         (log1): Likewise.
36159         (my_log2): Likewise.
36160         (checkint): Likewise.
36161         * sysdeps/ieee754/dbl-64/e_remainder.c
36162         (__ieee754_remainder): Likewise.
36163         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36164         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36165         (bsloww): Likewise.
36166         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36168         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36169         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36170         MANTISSA_STORE_T to store computations on mantissa.  Use
36171         macros for rounding and division.
36172         (denorm): Likewise.
36173         (__dbl_mp): Likewise.
36174         (add_magnitudes): Likewise.
36175         (sub_magnitudes): Likewise.
36176         (__mul): Likewise.
36177         (__sqr): Likewise.
36178         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36179         powers of two in terms of TWOPOW macro.
36180         (mp_no): Make type of mantissa as MANTISSA_T.
36181         [!RADIXI]: Define RADIXI.
36182         [!TWO52]: Define TWO52.
36183         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36185 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36187         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36188         llroundl symbol when building for PPC32.
36190 2013-03-24  Mark H Weaver  <mhw@netris.org>
36192         * manual/arith.texi (Normalization Functions): Fix prototypes for
36193         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36195 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36197         [BZ #13889]
36198         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36199         high value to check if expl overflow.
36200         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36201         to check for underflow and overflow.
36202         * math/libm-test.inc: Add exp test.
36204 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36206         [BZ #11120]
36207         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36208         with NOT_IN_libc.
36210 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36212         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36213         symbol.
36215 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36217         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36218         wrap blocks consisting of several statements.
36220         * sysdeps/generic/math-tests.h: New file.
36221         * sysdeps/i386/fpu/math-tests.h: Likewise.
36222         * math/test-snan.c: Include it.
36223         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36225 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36227         [BZ #15285]
36228         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36229         (__ieee754_j0l): Do not improve calculations using cos of twice
36230         input for inputs above LDBL_MAX / 2.0L.
36231         (__ieee754_y0l): Likewise.
36232         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36233         (__ieee754_j1l): Do not improve calculations using cos of twice
36234         input for inputs above LDBL_MAX / 2.0L.
36235         (__ieee754_y1l): Likewise.
36236         * math/libm-test.inc (j0_test): Add another test.
36237         (j1_test): Likewise.
36238         (y0_test): Likewise.
36239         (y1_test): Likewise.
36240         * sysdeps/i386/fpu/libm-test-ulps: Update.
36242 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36244         * Rules ($(objpfx)bench-%.c): Include code from a C source
36245         file.
36247 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36249         [BZ #15287]
36250         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36251         imaginary part 1.0 and real part less than 0.5 specially.
36252         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36253         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36254         * math/libm-test.inc (cacos_test): Add more tests.
36255         (casin_test): Likewise.
36256         (casinh_test): Likewise.
36257         * sysdeps/i386/fpu/libm-test-ulps: Update.
36258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36260 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36262         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36263         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36265 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36267         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36268         * config.make.in (config-cflags-sse4): Remove variable.
36269         (config-cflags-avx): Likewise.
36270         (config-cflags-sse2avx): Likewise.
36271         (config-cflags-novzeroupper): Likewise.
36272         (config-asflags-i686): Likewise.
36273         (have-mfma4): Likewise.
36274         (have-as-vis3): Likewise.
36275         (MIG): Likewise.
36276         * configure.in (MIG): Do not AC_SUBST.
36277         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36278         (libc_cv_cc_sse4): Do not AC_SUBST.
36279         (libc_cv_cc_avx): Likewise.
36280         (libc_cv_cc_sse2avx): Likewise.
36281         (libc_cv_cc_novzeroupper): Likewise.
36282         (libc_cv_cc_fma4): Likewise.
36283         (libc_cv_as_i686): Likewise.
36284         (libc_cv_sparc_as_vis3): Likewise.
36285         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36286         LIBC_CONFIG_VAR.
36287         (config-asflags-i686): Likewise.
36288         (config-cflags-avx): Likewise.
36289         (config-cflags-sse2avx): Likewise.
36290         (have-mfma4): Likewise.
36291         (config-cflags-novzeroupper): Likewise.
36292         * sysdeps/mach/configure.in (MIG): Likewise.
36293         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36294         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36295         LIBC_CONFIG_VAR.
36296         (config-cflags-avx): Likewise.
36297         (config-cflags-sse2avx): Likewise.
36298         (have-mfma4): Likewise.
36299         (config-cflags-novzeroupper): Likewise.
36300         * configure: Regenerated.
36301         * sysdeps/i386/configure: Likewise.
36302         * sysdeps/mach/configure: Likewise.
36303         * sysdeps/sparc/configure: Likewise.
36304         * sysdeps/x86_64/configure: Likewise.
36306 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36308         [BZ #14812]
36309         * locale/programs/localedef.c (options): Put N_ translation marker
36310         on argument names, not just descriptions.
36312 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36314         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36316 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36318         [BZ #14176]
36319         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36321 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36323         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36324         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36325         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36326         [!BEFORE_ABORT] (before_abort): New function.
36327         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36328         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36329         (writev_for_fatal): New function.
36330         (WRITEV_FOR_FATAL): New macro; call that.
36331         (backtrace_and_maps): New function.
36332         (BEFORE_ABORT): New macro; call that.
36333         (struct str_list): Type removed.
36334         (__libc_message, __libc_fatal): Functions removed.
36335         Include <sysdeps/posix/libc_fatal.c> instead.
36337 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36339         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36340         constants.
36341         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36342         double constants.
36344 2013-03-19  Andreas Schwab  <schwab@suse.de>
36346         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36347         * sysdeps/gnu/configure: Regenerate.
36349         * configure.in: Substitute libc_cv_rtlddir.
36350         * configure: Regenerate.
36351         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36352         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36353         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36354         * elf/Makefile (install-others, CFLAGS-interp.c)
36355         (ldso_install, common-ldd-rewrite): Likewise.
36356         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36357         $(inst_slibdir)/$(rtld-installed-name).
36358         * scripts/rellns-sh: Add -p option.
36359         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36360         for source.
36362 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36364         * manual/nptl.texi: Renamed to ...
36365         * manual/threads.texi: ... this.
36366         * manual/Makefile (chapters): Update.
36368 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36370         [BZ #14812]
36371         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36372         on argument names, not just descriptions.
36373         * malloc/memusagestat.c (options): Likewise.
36374         * nss/getent.c (options): Likewise.
36376 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36378         [BZ #14812]
36379         * iconv/iconv_prog.c (options): Put N_ translation marker
36380         on argument names, not just descriptions.
36381         * iconv/iconvconfig.c (options): Likewise.
36383 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36385         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36386         implementation which is faster on all x86_64 architectures.
36387         Tested on AMD, Intel Nehalem, SNB, IVB.
36388         * sysdeps/x86_64/strnlen.S: Likewise.
36390         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36391         Remove all multiarch strlen and strnlen versions.
36392         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36393         Remove strlen and strnlen related parts.
36395         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36396         Inline strlen part.
36397         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36399         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36400         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36401         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36402         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36403         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36404         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36406 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36408         * manual/memory.texi (Malloc Tunable Parameters):
36409         Sort parameters alphabetically. Add comments for missing entries.
36411 2013-03-17  David S. Miller  <davem@davemloft.net>
36413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36415 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36417         [BZ #15283]
36418         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36419         for arguments at most half maximum finite value.
36420         * math/libm-test.inc (j0_test): Add more tests.
36421         (j1_test): Likewise.
36422         (y0_test): Likewise.
36423         (y1_test): Likewise.
36424         * sysdeps/i386/fpu/libm-test-ulps: Update.
36425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36427         [BZ #14155]
36428         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36429         1 / x and functions P and Q for arguments above 0x1p256L.
36430         (__ieee754_y0l): Likewise.
36431         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36432         (__ieee754_y1l): Likewise.
36433         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36434         (j1_test): Likewise.
36435         (y0_test): Likewise.
36436         (y1_test): Likewise.
36438 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36440         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36441         variable.
36443 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36445         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36446         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36447         zero since it's initialized to EXEC_PAGESIZE.
36449         * sysdeps/unix/sysv/linux/ldsodefs.h
36450         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36451         * sysdeps/generic/ldsodefs.h: ... here.
36453 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36455         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36457         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36458         math/test-snan.c.
36459         * math/test-snan.c: Renamed from
36460         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36461         * math/Makefile (tests): Add test-snan.
36462         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36463         test-powerpc-snan.
36465         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36466         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36467         functions.
36468         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36469         __builtin_nan family of functions.
36470         * math/libm-test.inc (initialize): Initialize qnan_value with
36471         __builtin_nan family of functions.
36472         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36473         Remove variables.
36474         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36475         Remove functions.
36476         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36477         storage class.  Initialize qNaN_var and sNaN_var with
36478         __builtin_nan and __builtin_nans families of functions,
36479         respectively.
36481         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36482         (sqrt_test): Remove duplicate test with qNaN input.
36483         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36484         (round_test, signbit_test, significand_test): Note missing +/-Inf
36485         as well as qNaN tests.
36487         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36488         qNaN_var.  Fix a few strings, too.
36489         * math/libm-test.inc (nan_value): Rename to qnan_value.
36490         * math/gen-libm-test.pl (%beautify): Adjust to that.
36491         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36492         * math/test-misc.c (main): Likewise.
36493         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36494         to __qnan_bytes, and __qnan_union, respectively.
36495         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36496         Likewise.
36497         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36498         and lqnanval, respectively.
36499         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36500         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36501         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36502         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36504         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36505         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36506         doubles.
36508         * math/test-misc.c (main): Fix copy'n'pastos.
36509         * misc/tst-efgcvt.c (special): Likewise.
36511         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36512         Remove declarations.
36514 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36516         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36517         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36518         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36519         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36521 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36523         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36524         macro to return vdso values correctly in IFUNC implementations.
36525         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36526         Optimization by using IFUNC.
36528 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36529             Richard Henderson  <rth@redhat.com>
36530             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36532         * Makefile.in (bench): New target.
36533         * NEWS: Mention the benchmark framework.
36534         * Rules (bench): Likewise.
36535         (binaries-bench): Generate binaries for functions to
36536         benchmark.
36537         * benchtests/Makefile: New makefile for benchmark tests.
36538         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36539         programs.
36540         * benchtests/exp-inputs: New input file for EXP function.
36541         * benchtests/pow-inputs: New input file for POW function.
36542         * scripts/bench.pl: New script to generate source files for
36543         benchmark programs.
36545 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36547         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36548         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36549         computations on mantissa.  Use macros for rounding and
36550         division.
36551         (denorm): Likewise.
36552         (__dbl_mp): Likewise.
36553         (add_magnitudes): Likewise.
36554         (sub_magnitudes): Likewise.
36555         (__mul): Likewise.
36556         (__sqr): Likewise.
36557         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36558         powers of two in terms of TWOPOW macro.
36559         (mp_no): Make type of mantissa as MANTISSA_T.
36560         [!RADIXI]: Define RADIXI.
36561         [!TWO52]: Define TWO52.
36562         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36564         * manual/nptl.texi (cindex): Modify threads to pthreads.
36566 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36568         * sysdeps/x86_64/preconfigure: Regenerated.
36570 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36572         [BZ #14155]
36573         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36574         0x1p28 and above.
36575         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36576         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36577         0x1p28 and above.
36578         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36579         * math/libm-test.inc (j0_test): Do not allow one spurious
36580         underflow exception.
36581         (y1_test): Likewise.
36583 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36585         * manual/Makefile (chapters): Add nptl.
36586         * manual/debug.texi (Debugging Support): Add link to Threads
36587         chapter.
36588         * manual/nptl.texi: New file.
36590         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36592 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36594         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36595         for non-NULL pointer before the memory validity test. Pointed
36596         out by Holger Brunck <holger.brunck@keymile.com>.
36598 2013-03-13  Andreas Schwab  <schwab@suse.de>
36600         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36601         instead of .os.
36603 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36605         * timezone/zic.c: Update from tzcode 2013b.
36607 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36609         * manual/install.texi (Configuring and compiling):
36610         Mention i686 and i586.
36611         * INSTALL: Regenerate.
36613 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36615         * sysdeps/init_array/elf-init.c: New file.
36616         * csu/elf-init.c
36617         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36618         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36620         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36621         __gmon_start__ as global, but as static with a .preinit_array pointer.
36622         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36623         * sysdeps/init_array/crti.S: New file, empty except for comments.
36624         * sysdeps/init_array/crtn.S: Likewise.
36626 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36628         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36629         definining bcopy.
36630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36631         Remove Prefer_SSE_for_memop.
36632         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36633         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36634         HAS_PREFER_SSE_FOR_MEMOP.
36635         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36636         memset-x86-64.
36637         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36638         Remove bzero, memset ifunc support.
36639         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36640         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36641         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36642         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36644 2013-03-11  Andreas Schwab  <schwab@suse.de>
36646         [BZ #15234]
36647         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36648         by SHLIB_COMPAT.
36649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36650         (GLIBC_2.16): Remove pthread_atfork.
36652 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36654         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36655         (ptestcases.h): Likewise.
36657 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36659         * Makeconfig ($(common-objpfx)config.status): Depend on
36660         sysdeps/*/preconfigure{,.in} too.
36662 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36664         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36665         (__free_hook): Use void * instead of __malloc_ptr_t.
36666         (__malloc_hook): Likewise.
36667         (__realloc_hook): Likewise.
36668         (__memalign_hook): Likewise.
36669         (__after_morecore_hook): Likewise.
36670         * malloc/arena.c (save_malloc_hook): Likewise.
36671         (save_free_hook): Likewise.
36672         * malloc/hooks.c (malloc_hook_ini): Likewise.
36673         (realloc_hook_ini): Likewise.
36674         (memalign_hook_ini): Likewise.
36675         * malloc/malloc.c (malloc_hook_ini): Likewise.
36676         (realloc_hook_ini): Likewise.
36677         (memalign_hook_ini): Likewise.
36678         (__free_hook): Likewise.
36679         (__malloc_hook): Likewise.
36680         (__realloc_hook): Likewise.
36681         (__memalign_hook): Likewise.
36682         (__libc_malloc): Likewise.
36683         (__libc_free): Likewise.
36684         (__libc_realloc): Likewise.
36685         (__libc_memalign): Likewise.
36686         (__libc_valloc): Likewise.
36687         (__libc_pvalloc): Likewise.
36688         (__libc_calloc): Likewise.
36689         (__posix_memalign): Likewise.
36690         * malloc/morecore.c (__sbrk): Likewise.
36691         (__default_morecore): Likewise.
36693         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36695         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36696         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36697         __malloc_ptrdiff_t.
36699         * malloc/malloc.h (__malloc_size_t): Remove macro.
36700         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36701         __malloc_size_t.
36702         (old_memalign_hook): Likewise.
36703         (old_realloc_hook): Likewise.
36704         (struct hdr): Likewise.
36705         (flood): Likewise.
36706         (mallochook): Likewise.
36707         (memalignhook): Likewise.
36708         (reallochook): Likewise.
36709         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36710         (tr_old_realloc_hook): Likewise.
36711         (tr_old_memalign_hook): Likewise.
36712         (tr_mallochook): Likewise.
36713         (tr_reallochook): Likewise.
36714         (tr_memalignhook): Likewise.
36716 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36718         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36719         default_ldbl_pack and using as default implementation.
36720         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36721         implementation.
36722         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36723         redundant definition.
36724         (ldbl_insert_mantissa): Likewise.
36725         (ldbl_canonicalize): Likewise.
36726         (ldbl_nearbyint): Likewise.
36727         (ldbl_pack): Rename to ldbl_pack_ppc.
36728         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36729         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36730         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36732 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36735         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36736         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36737         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36739         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36740         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36741         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36743 2013-03-07  Andreas Jaeger  <aj@suse.de>
36745         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36746         bits/mman-linux.h.
36748 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36750         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36751         Include mpa.h and declare __MPEXP.
36752         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36753         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36754         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36755         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36756         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36757         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36758         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36760         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36761         (__slowpow): Use long double EXPL and LOGL functions to
36762         compute POW.
36763         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36764         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36765         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36766         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36767         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36768         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36770         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36771         intermediate variable to calculate exponent.
36772         (__sqr): Likewise.
36773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36774         Likewise.
36775         (__sqr): Likewise.
36777         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36778         [!NO__SQR]: Define __sqr.
36779         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36780         and NO__SQR.  Remove all code except __mul and __sqr.  Include
36781         sysdeps/ieee754/dbl-64/mpa.c.
36782         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36784         [BZ #12723]
36785         * posix/Makefile (tests): Add tst-pathconf.
36786         * posix/tst-pathconf.c: New test case.
36787         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36788         _PC_PIPE_BUF.
36789         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36791 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
36793         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36795 2013-03-06  Andreas Jaeger  <aj@suse.de>
36797         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36798         definition via __MAP_ANONYMOUS.
36800         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36801         it's not part of Linux headers.
36803         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36804         (MAP_HUGE_MASK): Define.
36806         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36807         Define.
36808         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36809         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36810         Define.
36811         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36812         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36813         Define.
36814         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36815         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36816         Define.
36817         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36819         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36820         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36821         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36822         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36823         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36824         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36826         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36827         Handle f2fs.
36829         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36830         Handle f2fs and efivarfs.
36832         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36833         f2fs.
36835         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36836         (EFIVARFS_MAGIC): Add.
36837         (F2FS_LINK_MAX): Add.
36839 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36841         * stdio-common/vfprintf.c: Replace __builtin_expect with
36842         __glibc_unlikely.
36844 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36846         [BZ #13550]
36847         * sysdeps/generic/bp-sym.h: Remove file.
36848         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36849         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36850         <bp-sym.h> and <bp-asm.h>.
36851         (__longjmp): Don't use BP_SYM.
36852         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36853         and <bp-asm.h>.
36854         (memcpy): Don't use BP_SYM.
36855         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36856         <bp-sym.h> and <bp-asm.h>.
36857         (memcpy): Don't use BP_SYM.
36858         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36859         <bp-asm.h>.
36860         (memcpy): Don't use BP_SYM.
36861         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36862         <bp-asm.h>.
36863         (memset): Don't use BP_SYM.
36864         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36865         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36866         (__bzero): Don't use BP_SYM.
36867         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36868         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36869         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36870         <bp-sym.h> and <bp-asm.h>.
36871         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36872         pointers.
36873         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36874         <bp-sym.h> and <bp-asm.h>.
36875         (memcpy): Don't use BP_SYM.
36876         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36877         <bp-sym.h> and <bp-asm.h>.
36878         (memset): Don't use BP_SYM.
36879         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36880         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36881         (__bzero): Don't use BP_SYM.
36882         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36883         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36884         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36885         <bp-sym.h> and <bp-asm.h>.
36886         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36887         pointers.
36888         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36889         <bp-sym.h> and <bp-asm.h>.
36890         (memcpy): Don't use BP_SYM.
36891         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36892         <bp-sym.h> and <bp-asm.h>.
36893         (memset): Don't use BP_SYM.
36894         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36895         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36896         (__bzero): Don't use BP_SYM.
36897         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36898         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36899         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36900         <bp-sym.h> and <bp-asm.h>.
36901         (__memchr): Don't use BP_SYM.
36902         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36903         <bp-sym.h> and <bp-asm.h>.
36904         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36905         pointers.
36906         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36907         <bp-sym.h> and <bp-asm.h>.
36908         (memcpy): Don't use BP_SYM.
36909         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36910         <bp-sym.h> and <bp-asm.h>.
36911         (__mempcpy): Don't use BP_SYM.
36912         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36913         <bp-sym.h> and <bp-asm.h>.
36914         (__memrchr): Don't use BP_SYM.
36915         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36916         <bp-sym.h> and <bp-asm.h>.
36917         (memset): Don't use BP_SYM.
36918         (__bzero): Likewise.
36919         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36920         <bp-sym.h> and <bp-asm.h>.
36921         (__rawmemchr): Don't use BP_SYM.
36922         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36923         <bp-sym.h> and <bp-asm.h>.
36924         (__STRCMP): Don't use BP_SYM.
36925         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36926         <bp-sym.h> and <bp-asm.h>.
36927         (strchr): Don't use BP_SYM.
36928         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36929         <bp-sym.h> and <bp-asm.h>.
36930         (__strchrnul): Don't use BP_SYM.
36931         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36932         <bp-sym.h> and <bp-asm.h>.
36933         (strlen): Don't use BP_SYM.
36934         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36935         <bp-sym.h> and <bp-asm.h>.
36936         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36937         pointers.
36938         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36939         <bp-sym.h> and <bp-asm.h>.
36940         (__strnlen): Don't use BP_SYM.
36941         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36942         <bp-sym.h> and <bp-asm.h>.
36943         (__GI__setjmp): Don't use BP_SYM.
36944         (_setjmp): Likewise.
36945         (__sigsetjmp): Likewise.
36946         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36947         (L(start_addresses)): Don't use BP_SYM.
36948         (_start): Likewise.
36949         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36950         <bp-asm.h>.
36951         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36952         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36953         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36954         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36955         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36956         <bp-asm.h>.
36957         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36958         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36959         about bounded pointers.
36960         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36961         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36962         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36963         <bp-asm.h>.
36964         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36965         about bounded pointers.  Remove GKM FIXME comments.
36966         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36967         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36968         <bp-asm.h>.
36969         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36970         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36971         Remove GKM FIXME comments.
36972         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36973         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36974         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36975         <bp-asm.h>.
36976         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36977         about bounded pointers.  Remove GKM FIXME comment.
36978         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36979         and <bp-asm.h>.
36980         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36981         pointers.
36982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36983         <bp-sym.h> and <bp-asm.h>.
36984         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36986         <bp-sym.h> and <bp-asm.h>.
36987         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36988         comment.
36990 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36992         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36993         call free(NULL).
36995 2013-03-05  David S. Miller  <davem@davemloft.net>
36997         * po/es.po: Update from translation team.
36999 2013-03-05  Andreas Jaeger  <aj@suse.de>
37001         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37002         <bits/mman-linux.h>.
37003         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37004         is fine.
37005         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37006         <bits/mman-linux.h> to end of file.
37007         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37008         is fine.
37009         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37010         <bits/mman-linux.h> to end of file.
37011         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37012         is fine.
37013         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37014         <bits/mman-linux.h> to end of file.
37016         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37017         (MCL_CURRENT, MCL_FUTURE): Define here.
37019 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37021         [BZ #15232]
37022         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37023         attribute_hidden.
37024         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37026 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37028         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37029         fourth parameter needed for rt_sigprocmask syscall.
37030         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37031         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37032         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37033         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37034         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37035         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37037 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37039         [BZ #13550]
37040         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37041         comment about bounded pointers.
37042         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37043         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37045 2013-03-04  Andreas Jaeger  <aj@suse.de>
37047         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37048         common definitions.
37050         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37051         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37052         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37053         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37054         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37055         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37057 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37059         [BZ #15055]
37060         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37061         __ieee754_sqrl instead of __sqrl.
37063 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37065         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37066         * sysdeps/powerpc/fpu_control.h: ... here.
37067         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37068         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37069         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37070         * sysdeps/powerpc/bits/mathinline.h: ... here.
37072 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37074         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37075         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37076         to just [NEED_DL_SYSINFO_DSO].
37077         * elf/dl-support.c: Likewise.
37078         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37079         * elf/rtld.c (dl_main): Likewise.
37080         * elf/setup-vdso.h (setup_vdso): Likewise.
37081         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37082         * sysdeps/unix/sysv/linux/dl-sysdep.c
37083         (_dl_discover_osversion): Likewise.
37085 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37087         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37088         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37090 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37092         * NEWS: Mention libm performance improvements and non-x86 PI
37093         futex support.
37095         * csu/libc-start.c (__pthread_initialize_minimal): Change
37096         function arguments.
37097         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37099 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37101         [BZ #13550]
37102         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37103         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37104         <bp-sym.h> and <bp-asm.h>.
37105         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37106         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37107         and <bp-asm.h>.
37108         (memcpy): Don't use BP_SYM.
37109         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37110         <bp-asm.h>.
37111         (__mpn_add_n): Don't use BP_SYM.
37112         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37113         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37114         and <bp-asm.h>.
37115         (__mpn_addmul_1): Don't use BP_SYM.
37116         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37117         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37118         <bp-sym.h>.
37119         (_setjmp): Don't use BP_SYM.
37120         (__novmx_setjmp): Likewise.
37121         (__GI__setjmp): Likewise.
37122         (__vmx_setjmp): Likewise.
37123         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37124         <bp-sym.h>.
37125         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37126         (__bzero): Don't use BP_SYM.
37127         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37128         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37129         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37130         <bp-sym.h> and <bp-asm.h>.
37131         (memcpy): Don't use BP_SYM.
37132         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37133         <bp-sym.h> and <bp-asm.h>.
37134         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37135         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37136         <bp-sym.h> and <bp-asm.h>.
37137         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37138         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37139         <bp-asm.h>.
37140         (__mpn_lshift): Don't use BP_SYM.
37141         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37142         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37143         <bp-asm.h>.
37144         (memset): Don't use BP_SYM.
37145         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37146         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37147         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37148         <bp-asm.h>.
37149         (__mpn_mul_1): Don't use BP_SYM.
37150         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37151         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37152         <bp-sym.h> and <bp-asm.h>.
37153         (memcmp): Don't use BP_SYM.
37154         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37155         <bp-sym.h> and <bp-asm.h>.
37156         (memcpy): Don't use BP_SYM.
37157         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37158         <bp-sym.h> and <bp-asm.h>.
37159         (memset): Don't use BP_SYM.
37160         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37161         <bp-sym.h> and <bp-asm.h>.
37162         (strncmp): Don't use BP_SYM.
37163         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37164         <bp-sym.h> and <bp-asm.h>.
37165         (memcpy): Don't use BP_SYM.
37166         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37167         <bp-sym.h> and <bp-asm.h>.
37168         (memset): Don't use BP_SYM.
37169         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37170         <bp-sym.h> and <bp-asm.h>.
37171         (__memchr): Don't use BP_SYM.
37172         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37173         <bp-sym.h> and <bp-asm.h>.
37174         (memcmp): Don't use BP_SYM.
37175         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37176         <bp-sym.h> and <bp-asm.h>.
37177         (memcpy): Don't use BP_SYM.
37178         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37179         <bp-sym.h> and <bp-asm.h>.
37180         (__mempcpy): Don't use BP_SYM.
37181         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37182         <bp-sym.h> and <bp-asm.h>.
37183         (__memrchr): Don't use BP_SYM.
37184         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37185         <bp-sym.h> and <bp-asm.h>.
37186         (memset): Don't use BP_SYM.
37187         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37188         <bp-sym.h> and <bp-asm.h>.
37189         (__rawmemchr): Don't use BP_SYM.
37190         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37191         <bp-sym.h> and <bp-asm.h>.
37192         (__STRCMP): Don't use BP_SYM.
37193         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37194         <bp-sym.h> and <bp-asm.h>.
37195         (strchr): Don't use BP_SYM.
37196         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37197         <bp-sym.h> and <bp-asm.h>.
37198         (__strchrnul): Don't use BP_SYM.
37199         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37200         <bp-sym.h> and <bp-asm.h>.
37201         (strlen): Don't use BP_SYM.
37202         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37203         <bp-sym.h> and <bp-asm.h>.
37204         (strncmp): Don't use BP_SYM.
37205         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37206         <bp-sym.h> and <bp-asm.h>.
37207         (__strnlen): Don't use BP_SYM.
37208         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37209         <bp-asm.h>.
37210         (__mpn_rshift): Don't use BP_SYM.
37211         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37212         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37213         <bp-sym.h> and <bp-asm.h>.
37214         (__sigsetjmp): Don't use BP_SYM.
37215         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37216         (L(start_addresses)): Don't use BP_SYM.
37217         (_start): Likewise.
37218         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37219         <bp-asm.h>.
37220         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37221         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37222         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37223         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37224         <bp-asm.h>.
37225         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37226         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37227         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37228         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37229         <bp-asm.h>.
37230         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37231         comments.
37232         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37233         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37234         <bp-asm.h>.
37235         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37236         FIXME comments.
37237         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37238         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37239         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37240         <bp-asm.h>.
37241         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37242         comment.
37243         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37244         and <bp-asm.h>.
37245         (strncmp): Don't use BP_SYM,
37246         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37247         <bp-asm.h>.
37248         (__mpn_sub_n): Don't use BP_SYM.
37249         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37250         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37251         and <bp-asm.h>.
37252         (__mpn_submul_1): Don't use BP_SYM.
37253         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37255         <bp-sym.h> and <bp-asm.h>.
37256         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37258         <bp-sym.h> and <bp-asm.h>.
37259         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37260         comment.
37262 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37264         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37265         Use ZK to minimize writes to Z.
37266         (sub_magnitudes): Simplify code a bit.
37267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37268         Use ZK to minimize writes to Z.
37269         (sub_magnitudes): Simplify code a bit.
37271 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37273         * csu/gmon-start.c: Add special exception to license text.
37275 2013-02-27  Richard Henderson  <rth@redhat.com>
37277         * scripts/config.guess: Update from config.git.
37278         * scripts/config.sub: Likewise.
37280 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37282         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37284         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37286         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37288         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37290         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37292 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37294         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37295         [$(build-shared = yes].
37297 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37299         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37300         (__mul): Reduce iterations for calculating mantissa.
37302         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37303         MPTWO.
37304         (__mpranred): Likewise.
37306         [BZ #15160]
37307         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37308         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37310 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37312         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37313         Define __attribute__.
37315 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37317         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37318         unused.
37319         * posix/regex_internal.h (__attribute): Remove.
37320         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37321         (re_string_context_at): Likewise.
37322         (bitset_not): Use __attribute__ and mark function as possibly
37323         unused.
37324         (bitset_merge): Likewise.
37325         (bitset_mask): Likewise.
37326         (re_string_char_size_at): Likewise.
37327         (re_string_wchar_at): Likewise.
37328         (re_string_elem_size_at): Likewise.
37330 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37332         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37333         code.
37334         (cc32): Likewise.
37336         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37337         (__acr): Likewise.
37338         (__cpy): Likewise.
37339         (norm): Likewise.
37340         (denorm): Likewise.
37341         (__dbl_mp): Likewise.
37342         (add_magnitudes): Likewise.
37343         (sub_magnitudes): Likewise.
37344         (__mul): Likewise.
37345         (__inv): Likewise.
37347         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37348         style.
37350         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37351         style.
37353         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37354         code.
37356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37357         up changes with default code.
37358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37359         Likewise.
37361 2013-02-24  Allan McRae  <allan@archlinux.org>
37363         * manual/socket.texi (The Internet Namespace): Order menu items
37364         to match that in the file.
37366         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37367         node listing of the info page menu.
37369 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37371         [BZ #13550]
37372         * sysdeps/i386/bp-asm.h: Remove file.
37373         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37374         (PARMS): Do not use macros from bp-asm.h.
37375         (S1): Likewise.
37376         (S2): Likewise.
37377         (SIZE): Likewise.
37378         (__mpn_add_n): Do not use BP_SYM
37379         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37380         "bp-asm.h".
37381         (PARMS): Do not use macros from bp-asm.h.
37382         (S1): Likewise.
37383         (SIZE): Likewise.
37384         (__mpn_addmul_1): Do not use BP_SYM
37385         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37386         "bp-asm.h".
37387         (PARMS): Do not use macros from bp-asm.h.
37388         (SIGMSK): Likewise.
37389         (_setjmp): Likewise.  Do not use BP_SYM.
37390         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37391         "bp-asm.h".
37392         (PARMS): Do not use macros from bp-asm.h.
37393         (SIGMSK): Likewise.
37394         (setjmp): Likewise.  Do not use BP_SYM.
37395         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37396         "bp-asm.h".
37397         (PARMS): Do not use macros from bp-asm.h.
37398         (__frexp): Do not use BP_SYM.
37399         (frexp): Likewise.
37400         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37401         "bp-asm.h".
37402         (PARMS): Do not use macros from bp-asm.h.
37403         (__frexpf): Do not use BP_SYM.
37404         (frexpf): Likewise.
37405         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37406         "bp-asm.h".
37407         (PARMS): Do not use macros from bp-asm.h.
37408         (__frexpl): Do not use BP_SYM.
37409         (frexpl): Likewise.
37410         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37411         "bp-asm.h".
37412         (PARMS): Do not use macros from bp-asm.h.
37413         (__remquo): Do not use BP_SYM.
37414         (remquo): Likewise.
37415         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37416         "bp-asm.h".
37417         (PARMS): Do not use macros from bp-asm.h.
37418         (__remquof): Do not use BP_SYM.
37419         (remquof): Likewise.
37420         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37421         "bp-asm.h".
37422         (PARMS): Do not use macros from bp-asm.h.
37423         (__remquol): Do not use BP_SYM.
37424         (remquol): Likewise.
37425         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37426         "bp-asm.h".
37427         (PARMS): Do not use macros from bp-asm.h.
37428         (DEST): Likewise.
37429         (SRC): Likewise.
37430         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37431         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37432         "bp-asm.h".
37433         (PARMS): Do not use macros from bp-asm.h.
37434         (strlen): Do not use BP_SYM.
37435         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37436         "bp-asm.h".
37437         (PARMS): Do not use macros from bp-asm.h.
37438         (S1): Likewise.
37439         (S2): Likewise.
37440         (SIZE): Likewise.
37441         (__mpn_add_n): Do not use BP_SYM.
37442         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37443         "bp-asm.h".
37444         (PARMS): Do not use macros from bp-asm.h.
37445         (S1): Likewise.
37446         (SIZE): Likewise.
37447         (__mpn_addmul_1): Do not use BP_SYM.
37448         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37449         weak_alias.
37450         (bzero): Likewise.
37451         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37452         "bp-asm.h".
37453         (PARMS): Do not use macros from bp-asm.h.
37454         (S): Likewise.
37455         (SIZE): Likewise.
37456         (__mpn_lshift): Do not use BP_SYM.
37457         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37458         "bp-asm.h".
37459         (PARMS): Do not use macros from bp-asm.h.
37460         (DEST): Likewise.
37461         (SRC): Likewise.
37462         (LEN): Likewise.
37463         (memcpy): Likewise.  Do not use BP_SYM.
37464         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37465         libc_hidden_def and weak_alias.
37466         (mempcpy): Do not use BP_SYM in weak_alias.
37467         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37468         "bp-asm.h".
37469         (PARMS): Do not use macros from bp-asm.h.
37470         (DEST): Likewise.
37471         (LEN): Likewise.
37472         [!BZERO_P] (CHR): Likewise.
37473         (memset): Likewise.  Do not use BP_SYM.
37474         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37475         "bp-asm.h".
37476         (PARMS): Do not use macros from bp-asm.h.
37477         (S1): Likewise.
37478         (SIZE): Likewise.
37479         (__mpn_mul_1): Do not use BP_SYM.
37480         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37481         "bp-asm.h".
37482         (PARMS): Do not use macros from bp-asm.h.
37483         (S): Likewise.
37484         (SIZE): Likewise.
37485         (__mpn_rshift): Do not use BP_SYM.
37486         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37487         "bp-asm.h".
37488         (PARMS): Do not use macros from bp-asm.h.
37489         (STR): Likewise.
37490         (CHR): Likewise.
37491         (strchr): Likewise.  Do not use BP_SYM.
37492         (index): Do not use BP_SYM in weak_alias.
37493         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37494         "bp-asm.h".
37495         (PARMS): Do not use macros from bp-asm.h.
37496         (DEST): Likewise.
37497         (SRC): Likewise.
37498         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37499         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37500         "bp-asm.h".
37501         (PARMS): Do not use macros from bp-asm.h.
37502         (strlen): Do not use BP_SYM.
37503         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37504         "bp-asm.h".
37505         (PARMS): Do not use macros from bp-asm.h.
37506         (S1): Likewise.
37507         (S2): Likewise.
37508         (SIZE): Likewise.
37509         (__mpn_sub_n): Do not use BP_SYM.
37510         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37511         "bp-asm.h".
37512         (PARMS): Do not use macros from bp-asm.h.
37513         (S1): Likewise.
37514         (SIZE): Likewise.
37515         (__mpn_submul_1): Do not use BP_SYM.
37516         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37517         "bp-asm.h".
37518         (PARMS): Do not use macros from bp-asm.h.
37519         (S1): Likewise.
37520         (S2): Likewise.
37521         (SIZE): Likewise.
37522         (__mpn_add_n): Do not use BP_SYM.
37523         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37524         weak_alias.
37525         (bzero): Likewise.
37526         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37527         "bp-asm.h".
37528         (PARMS): Do not use macros from bp-asm.h.
37529         (BLK2): Likewise.
37530         (LEN): Likewise.
37531         (memcmp): Do not use BP_SYM.
37532         (bcmp): Do not use BP_SYM in weak_alias.
37533         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37534         "bp-asm.h".
37535         (PARMS): Do not use macros from bp-asm.h.
37536         (DEST): Likewise.
37537         (SRC): Likewise.
37538         (LEN): Likewise.
37539         (memcpy): Likewise.  Do not use BP_SYM.
37540         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37541         "bp-asm.h".
37542         (PARMS): Do not use macros from bp-asm.h.
37543         (DEST): Likewise.
37544         (SRC): Likewise.
37545         (LEN): Likewise.
37546         (memmove): Likewise.  Do not use BP_SYM.
37547         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37548         "bp-asm.h".
37549         (PARMS): Do not use macros from bp-asm.h.
37550         (DEST): Likewise.
37551         (SRC): Likewise.
37552         (LEN): Likewise.
37553         (__mempcpy): Likewise.  Do not use BP_SYM.
37554         (mempcpy): Do not use BP_SYM in weak_alias.
37555         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37556         "bp-asm.h".
37557         (PARMS): Do not use macros from bp-asm.h.
37558         (DEST): Likewise.
37559         (LEN): Likewise.
37560         [!BZERO_P] (CHR): Likewise.
37561         (memset): Likewise.  Do not use BP_SYM.
37562         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37563         "bp-asm.h".
37564         (PARMS): Do not use macros from bp-asm.h.
37565         (STR2): Likewise.
37566         (strcmp): Do not use BP_SYM.
37567         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37568         "bp-asm.h".
37569         (PARMS): Do not use macros from bp-asm.h.
37570         (STR): Likewise.
37571         (DELIM): Likewise.
37572         [USE_AS_STRTOK_R] (SAVE): Likewise.
37573         (FUNCTION): Likewise.  Do not use BP_SYM.
37574         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37575         aliases.
37576         (strtok_r): Likewise.
37577         (__GI___strtok_r): Likewise.
37578         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37579         (PARMS): Do not use macros from bp-asm.h.
37580         (S): Likewise.
37581         (SIZE): Likewise.
37582         (__mpn_lshift): Do not use BP_SYM.
37583         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37584         (PARMS): Do not use macros from bp-asm.h.
37585         (STR): Likewise.
37586         (CHR): Likewise.
37587         (__memchr): Do not use BP_SYM.
37588         (memchr): Do not use BP_SYM in weak_alias.
37589         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37590         (PARMS): Do not use macros from bp-asm.h.
37591         (BLK2): Likewise.
37592         (LEN): Likewise.
37593         (memcmp): Do not use BP_SYM.
37594         (bcmp): Do not use BP_SYM in weak_alias.
37595         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37596         (PARMS): Do not use macros from bp-asm.h.
37597         (S1): Likewise.
37598         (SIZE): Likewise.
37599         (__mpn_mul_1): Do not use BP_SYM.
37600         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37601         "bp-asm.h".
37602         (PARMS): Do not use macros from bp-asm.h.
37603         (STR): Likewise.
37604         (CHR): Likewise.
37605         (__rawmemchr): Do not use BP_SYM.
37606         (rawmemchr): Do not use BP_SYM in weak_alias.
37607         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37608         (PARMS): Do not use macros from bp-asm.h.
37609         (S): Likewise.
37610         (SIZE): Likewise.
37611         (__mpn_rshift): Do not use BP_SYM.
37612         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37613         (PARMS): Do not use macros from bp-asm.h.
37614         (SIGMSK): Likewise.
37615         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37616         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37617         (_start): Do not use BP_SYM.
37618         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37619         (PARMS): Do not use macros from bp-asm.h.
37620         (DEST): Likewise.
37621         (SRC): Likewise.
37622         (__stpcpy): Likewise.  Do not use BP_SYM.
37623         (stpcpy): Do not use BP_SYM in weak_alias.
37624         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37625         "bp-asm.h".
37626         (PARMS): Do not use macros from bp-asm.h.
37627         (DEST): Likewise.
37628         (SRC): Likewise.
37629         (LEN): Likewise.
37630         (__stpncpy): Likewise.  Do not use BP_SYM.
37631         (stpncpy): Do not use BP_SYM in weak_alias.
37632         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37633         (PARMS): Do not use macros from bp-asm.h.
37634         (STR): Likewise.
37635         (CHR): Likewise.
37636         (strchr): Likewise.  Do not use BP_SYM.
37637         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37638         "bp-asm.h".
37639         (PARMS): Do not use macros from bp-asm.h.
37640         (STR): Likewise.
37641         (CHR): Likewise.
37642         (__strchrnul): Likewise.  Do not use BP_SYM.
37643         (strchrnul): Do not use BP_SYM in weak_alias.
37644         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37645         "bp-asm.h".
37646         (PARMS): Do not use macros from bp-asm.h.
37647         (STOP): Likewise.
37648         (strcspn): Do not use BP_SYM.
37649         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37650         "bp-asm.h".
37651         (PARMS): Do not use macros from bp-asm.h.
37652         (STR): Likewise.
37653         (STOP): Likewise.
37654         (strpbrk): Likewise.  Do not use BP_SYM.
37655         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37656         "bp-asm.h".
37657         (PARMS): Do not use macros from bp-asm.h.
37658         (STR): Likewise.
37659         (CHR): Likewise.
37660         (strrchr): Likewise.  Do not use BP_SYM.
37661         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37662         (PARMS): Do not use macros from bp-asm.h.
37663         (SKIP): Likewise.
37664         (strspn): Do not use BP_SYM.
37665         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37666         (PARMS): Do not use macros from bp-asm.h.
37667         (STR): Likewise.
37668         (DELIM): Likewise.
37669         (SAVE): Likewise.
37670         (FUNCTION): Likewise.  Do not use BP_SYM.
37671         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37672         aliases.
37673         (strtok_r): Likewise.
37674         (__GI___strtok_r): Likewise.
37675         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37676         (PARMS): Do not use macros from bp-asm.h.
37677         (S1): Likewise.
37678         (S2): Likewise.
37679         (SIZE): Likewise.
37680         (__mpn_sub_n): Do not use BP_SYM.
37681         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37682         "bp-asm.h".
37683         (PARMS): Do not use macros from bp-asm.h.
37684         (S1): Likewise.
37685         (SIZE): Likewise.
37686         (__mpn_submul_1): Do not use BP_SYM.
37687         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37688         <bp-sym.h>.
37689         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37690         and <bp-asm.h>.
37691         (PARMS): Do not use macros from bp-asm.h.
37692         (FLAGS): Likewise.
37693         (PTID): Likewise.
37694         (TLS): Likewise.
37695         (CTID): Likewise.
37696         (__clone): Do not use BP_SYM.
37697         (clone): Do not use BP_SYM in weak_alias.
37698         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37699         and <bp-asm.h>.
37700         (PARMS): Do not use macros from bp-asm.h.
37701         (LEN): Likewise.
37702         (__mmap64): Do not use BP_SYM.
37703         (mmap64): Do not use BP_SYM in weak_alias.
37704         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37705         <bp-sym.h> and <bp-asm.h>.
37706         (PARMS): Do not use macros from bp-asm.h.
37707         (__posix_fadvise64_l64): Do not use BP_SYM.
37708         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37709         (PARMS): Do not use macros from bp-asm.h.
37710         (NSOPS): Likewise.
37711         (semtimedop): Do not use BP_SYM.
37712         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37713         and <bp-asm.h>.
37715 2013-02-21  Allan McRae  <allan@archlinux.org>
37717         * manual/message.texi (Charset conversion in gettext):
37718         Move @end statement to beginning of line.
37720 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37723         static.
37724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37725         Likewise.
37727         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37728         (denorm): Likewise.
37729         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37732 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37734         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37735         tail-call to the resolved function if pltexit isn't needed.
37737 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37740         or Y being zero as being unlikely.
37741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37742         Likewise.
37744 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37746         * manual/nss.texi (System Databases and Name Service Switch):
37747         Remove frobnicate @pxref.
37749 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37751         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37752         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37754 2013-02-20  Petr Machata  <pmachata@redhat.com>
37756         * elf/elf.h (R_ARM_TARGET1): New macro.
37757         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37758         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37759         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37760         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37761         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37762         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37763         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37764         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37765         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37766         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37767         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37768         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37769         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37770         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37771         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37772         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37773         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37774         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37775         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37776         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37777         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37778         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37779         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37780         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37781         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37782         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37783         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37784         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37785         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37786         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37787         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37788         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37789         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37790         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37791         (R_ARM_THM_GOT_BREL12): Likewise.
37792         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37793         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37794         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37795         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37796         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37797         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37798         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37799         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37800         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37802 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37804         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37805         __attribute_used__ to __attribute__ ((unused)).
37807 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37809         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37810         powerpc mpa.c.
37811         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37812         comment formatting.
37813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37815 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
37817         [BZ #13550]
37818         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37819         Remove macro.
37820         (ENTER): Remove both macro definitions.
37821         (LEAVE): Likewise.
37822         (CHECK_BOUNDS_LOW): Likewise.
37823         (CHECK_BOUNDS_HIGH): Likewise.
37824         (CHECK_BOUNDS_BOTH): Likewise.
37825         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37826         (RETURN_BOUNDED_POINTER): Likewise.
37827         (RETURN_NULL_BOUNDED_POINTER): Likewise.
37828         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37829         (POP_ERRNO_LOCATION_RETURN): Likewise.
37830         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37831         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37832         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37833         macros.
37834         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37835         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37836         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37837         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37838         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37839         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37840         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37841         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37842         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37843         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37844         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37845         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37846         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37847         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37848         removed macros.
37849         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37850         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37851         macros.
37852         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37853         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37854         * sysdeps/i386/i586/memset.S (memset): Likewise.
37855         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37856         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37857         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37858         macros.
37859         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37860         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37861         Change uses of L(2) to L(out).
37862         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37863         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37864         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37865         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37866         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37867         removed macros.
37868         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37869         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37870         macros.
37871         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37872         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37873         (RETURN): Do not use macro LEAVE.
37874         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37875         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37876         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37877         * sysdeps/i386/i686/memset.S (memset): Likewise.
37878         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37879         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37880         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37881         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37882         Likewise.
37883         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37884         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37885         L(1_2) and L(1_3) into L(1).
37886         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37887         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37888         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37889         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37890         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37891         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37892         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37893         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37894         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37895         macros.
37896         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37897         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37898         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37899         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37900         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37901         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37902         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37903         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37904         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37905         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37906         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37907         * sysdeps/i386/strspn.S (strspn): Likewise.
37908         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37909         conditional code.
37910         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37911         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37912         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37913         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37914         L(1_3) into L(1_1).
37915         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37916         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37917         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37918         macros.
37919         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37921 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37923         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37924         macro.
37926 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37928         * math/atest-exp.c (exp_mpn): Remove ROUND.
37929         * math/atest-exp2.c (exp_mpn): Likewise.
37930         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37932         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37933         * stdlib/tst-tls-atexit-lib.c: Likewise.
37934         * stdlib/tst-tls-atexit.c: Likewise.
37936 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37938         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37939         and __attribute_alloc_size__.
37941 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37943         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37944         __attribute_alloc_size__.
37945         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37946         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37948 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37950         * include/programs/xmalloc.h: New file.
37951         * catgets/gencat.c: Include it.
37952         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37953         * elf/pldd.c: Likewise.
37954         * iconv/iconv_charmap.c: Likewise.
37955         * iconv/iconvconfig.c: Likewise.
37956         * iconv/strtab.c: Likewise.
37957         * locale/programs/locale.c: Likewise.
37958         * locale/programs/localedef.h: Likewise.
37959         * locale/programs/simple-hash.c: Likewise.
37960         * nscd/nscd.h: Likewise.
37961         * nss/makedb.c: Likewise.
37962         * sysdeps/generic/ldconfig.h: Likewise.
37964 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37966         * Versions.def: Add GLIBC_2.18.
37967         * include/link.h (struct link_map): New member l_tls_dtor_count.
37968         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37969         (__call_tls_dtors): Likewise.
37970         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37971         __cxa_thread_atexit_impl.
37972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37973         Likewise.
37974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37975         Likewise.
37976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37977         Likewise.
37978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37979         Likewise.
37980         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37982         Likewise.
37983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37984         Likewise.
37985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37987         Likewise.
37988         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37989         (tests): Add test case tst-tls-atexit.
37990         (modules-names): Add shared library for tst-tls-atexit.
37991         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37992         (GLIBC_PRIVATE): Add __call_tls_dtors.
37993         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37994         for libstdc++.
37995         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37996         * stdlib/tst-tls-atexit.c: New test case.
37997         * stdlib/tst-tls-atexit-lib.c: New test case.
37999         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38001         * elf/Versions (ld): Add _dl_find_dso_for_object.
38002         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38003         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38004         (dl_open_worker): Use _dl_find_dso_for_object.
38005         * elf/dl-sym.c (do_sym): Likewise.
38006         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38008 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38010         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38011         Syntactic changes only.
38012         (_dl_runtime_profile): Do a tail-call to the resolved function.
38014 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38016         [BZ #13550]
38017         * sysdeps/x86_64/bp-asm.h: Remove file.
38018         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38019         <bp-sym.h> and <bp-asm.h>.
38020         (__clone): Do not use BP_SYM.
38021         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38022         <bp-sym.h> and <bp-asm.h>.
38023         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38024         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38025         "bp-asm.h".
38026         (_setjmp): Do not use BP_SYM.
38027         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38028         "bp-asm.h".
38029         (setjmp): Do not use BP_SYM.
38030         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38031         libc_hidden_def.
38032         (mempcpy): Do not use BP_SYM in weak_alias.
38033         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38034         "bp-asm.h".
38035         (strchr): Do not use BP_SYM.
38036         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38037         "bp-asm.h".
38038         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38039         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38040         (_start): Do not use BP_SYM.
38041         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38042         "bp-asm.h".
38043         (strcat): Do not use BP_SYM.
38044         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38045         "bp-asm.h".
38046         (STRCMP): Do not use BP_SYM.
38047         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38048         "bp-asm.h".
38049         (STRCPY): Do not use BP_SYM.
38050         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38051         "bp-asm.h".
38052         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38053         "bp-asm.h".
38054         (FUNCTION): Do not use BP_SYM.
38055         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38056         weak_alias.
38057         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38059 2013-02-17  Andreas Jaeger  <aj@suse.de>
38061         * time/Versions: Sort entries.
38062         * string/Versions: Likewise.
38063         * resolv/Versions: Likewise.
38064         * posix/Versions: Likewise.
38065         * iconv/Versions: Likewise.
38066         * elf/Versions: Likewise.
38067         * wcsmbs/Versions: Likewise.
38069 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38071         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38072         loop termination condition.
38074         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38075         variable to calculate EZ.
38076         (__sqr): Likewise.
38078         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38079         the lower precision input.
38081 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38083         [BZ #13550]
38084         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38085         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38086         (run-via-rtld-prefix): Do not handle %-bp tests.
38087         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38088         (all-object-suffixes): Remove .ob.
38089         (bppfx): Remove variable.
38090         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38091         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38092         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38093         [$(build-bounded) = yes] (libtype.ob): Likewise.
38094         * Makerules (elide-routines.ob): Remove variable.
38095         (do-tests-clean): Do not handle *-bp.out.
38096         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38097         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38098         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38099         (tests): Do not include $(tests-bp.out).
38100         (xtests): Do not include $(xtests-bp.out).
38101         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38102         [$(build-bounded) = yes] ($(addprefix
38103         $(objpfx),$(binaries-bounded))): Remove rule.
38104         ($(objpfx)%-bp.out): Remove rule.
38105         * config.make.in (build-bounded): Remove variable.
38106         * crypt/Makefile [$(build-bounded) = yes]
38107         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38108         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38109         append to variable.
38110         [$(build-bounded) = yes] (install-lib): Likewise.
38111         [$(build-bounded) = yes] (generated): Likewise.
38112         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38113         Remove rule.
38114         * intl/Makefile [$(build-bounded) = yes]
38115         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38116         * math/Makefile [$(build-bounded) = yes]
38117         ($(tests:%=$(objpfx)%-bp): Likewise.
38118         * misc/Makefile [$(build-bounded) = yes]
38119         ($(objpfx)tst-tsearch-bp): Likewise.
38120         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38121         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38122         Remove dependency.
38123         * string/Makefile (o-objects.ob): Remove variable.
38124         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38125         (CFLAGS-.ob): Remove variable.
38126         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38127         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38128         both definitions of variable.
38129         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38130         (ASFLAGS-.ob): Remove variable.
38132 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38134         [BZ #13550]
38135         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38136         Remove __BOUNDED_POINTERS__ from condition.
38137         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38138         * string/bits/string2.h [!__NO_STRING_INLINES &&
38139         !__BOUNDED_POINTERS__]: Likewise.
38140         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38141         Likewise.
38142         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38143         Remove conditional code.
38144         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38145         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38146         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38147         condition.
38149         [BZ #13550]
38150         * csu/libc-start.c: Do not include <bp-sym.h>.
38151         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38152         * elf/dl-open.c: Do not include <bp-sym.h>.
38153         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38154         * math/fegetenv.c: Do not include <bp-sym.h>.
38155         (fegetenv): Do not use BP_SYM in versioned symbols.
38156         * nptl/sysdeps/pthread/bits/libc-lockP.h
38157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38158         <bp-sym.h>.
38159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38160         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38162         (__pthread_mutex_destroy): Likewise.
38163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38164         (__pthread_mutex_lock): Likewise.
38165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38166         (__pthread_mutex_trylock): Likewise.
38167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38168         (__pthread_mutex_unlock): Likewise.
38169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38170         (__pthread_mutexattr_init): Likewise.
38171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38172         (__pthread_mutexattr_destroy): Likewise.
38173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38174         (__pthread_mutexattr_settype): Likewise.
38175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38176         (__pthread_rwlock_init): Likewise.
38177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38178         (__pthread_rwlock_destroy): Likewise.
38179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38180         (__pthread_rwlock_rdlock): Likewise.
38181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38182         (__pthread_rwlock_tryrdlock): Likewise.
38183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38184         (__pthread_rwlock_wrlock): Likewise.
38185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38186         (__pthread_rwlock_trywrlock): Likewise.
38187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38188         (__pthread_rwlock_unlock): Likewise.
38189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38190         (__pthread_key_create): Likewise.
38191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38192         (__pthread_setspecific): Likewise.
38193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38194         (__pthread_getspecific): Likewise.
38195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38196         Likewise.
38197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38198         (_pthread_cleanup_push_defer): Likewise.
38199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38200         (_pthread_cleanup_pop_restore): Likewise.
38201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38202         (pthread_setcancelstate): Likewise.
38203         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38204         <bp-sym.h>.
38205         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38206         (memchr): Do not use BP_SYM in weak_alias.
38207         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38208         (fegetenv): Do not use BP_SYM in versioned symbols.
38209         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38210         (fesetenv): Do not use BP_SYM in versioned symbols.
38211         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38212         (feupdateenv): Do not use BP_SYM in versioned symbols.
38213         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38214         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38215         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38216         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38217         (open64): Do not use BP_SYM in weak_alias.
38218         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38219         (fegetenv): Do not use BP_SYM in versioned symbols.
38220         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38221         (fesetenv): Do not use BP_SYM in versioned symbols.
38222         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38223         (feupdateenv): Do not use BP_SYM in versioned symbols.
38224         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38225         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38226         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38227         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38228         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38229         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38230         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38231         <bp-sym.h>.
38232         (__libc_start_main): Do not use BP_SYM.
38234 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38236         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38237         redundant return line.
38238         (norm): Likewise.
38239         (denorm): Likewise.
38240         (dbl_mp): Likewise.
38241         (sub_magnitudes): Likewise.
38242         (__add): Likewise.
38243         (__sub): Likewise.
38244         (__mul): Likewise.
38245         (__inv): Likewise.
38246         (__dvd): Likewise.
38247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38248         (norm): Likewise.
38249         (denorm): Likewise.
38250         (dbl_mp): Likewise.
38251         (sub_magnitudes): Likewise.
38252         (__add): Likewise.
38253         (__sub): Likewise.
38254         (__mul): Likewise.
38255         (__inv): Likewise.
38256         (__dvd): Likewise.
38258         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38259         instead of __mul.
38260         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38261         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38262         (cc32): Likewise.
38264         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38265         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38266         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38267         of __mul for squares.
38268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38269         function
38270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38271         Likewise.
38272         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38273         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38275 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38277         [BZ #13550]
38278         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38279         code.
38280         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38281         prototype or function definition.  Rename ubp_* variables and
38282         parameters.  Remove argv definitions conditional on
38283         [__BOUNDED_POINTERS__].
38284         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38285         * elf/dl-runtime.c (_dl_fixup): Likewise.
38286         * include/set-hooks.h (RUN_HOOK): Likewise.
38287         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38288         definition.
38289         * string/strcpy.c (strcpy): Do not use __unbounded.
38290         * sysdeps/generic/frame.h (struct layout): Likewise.
38291         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38292         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38293         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38294         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38295         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38296         (__backtrace): Likewise.
38297         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38298         use __ptrvalue.
38299         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38300         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38301         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38302         Likewise.
38303         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38304         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38305         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38306         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38307         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38308         Do not use __unbounded.
38309         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38310         Rename __unboundedrlimits parameter to rlimits in prototype.
38311         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38312         Do not use __unbounded.
38313         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38314         not use __ptrvalue.
38315         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38316         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38317         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38318         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38319         __ptrvalue or __unbounded.
38320         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38321         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38322         use __unbounded.
38323         (__new_msgctl): Do not use __ptrvalue.
38324         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38325         __unbounded.
38326         (__libc_msgrcv): Do not use __ptrvalue.
38327         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38328         startup_info): Do not use __unbounded.
38329         (__libc_start_main): Likewise.  Rename ubp_* variables and
38330         parameters.  Remove argv definitions conditional on
38331         [__BOUNDED_POINTERS__].
38332         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38333         __ptrvalue.
38334         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38335         use __unbounded.
38336         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38337         or __ptrvalue.
38338         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38339         use __unbounded.
38340         (__new_shmctl): Do not use __ptrvalue.
38341         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38342         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38343         Likewise.
38344         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38345         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38346         (__libc_sigaction): Likewise.
38347         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38348         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38349         Likewise.
38350         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38352 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38354         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38356         * string/mempcpy.c: Implement by calling memcpy.
38358 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38360         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38362         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38363         evaluation.
38365         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38366         values in the mantissa.
38368         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38369         minimize writes to Z.
38370         (sub_magnitudes): Simplify code a bit.
38372 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38374         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38375         from the message.  The linker prefixes all warnings with that already.
38377 2013-02-12  Andreas Schwab  <schwab@suse.de>
38379         [BZ #15078]
38380         * posix/regexec.c (extend_buffers): Add parameter min_len.
38381         (check_matching): Pass minimum needed length.
38382         (clean_state_log_if_needed): Likewise.
38383         (get_subexp): Likewise.
38384         * posix/Makefile (tests): Add bug-regex34.
38385         (bug-regex34-ENV): Define.
38386         * posix/bug-regex34.c: New file.
38388         [BZ #11561]
38389         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38390         elements compare against the byte sequence of it, not its name.
38391         * posix/Makefile (tests): Add bug-regex35.
38392         (bug-regex35-ENV): Define.
38393         * posix/bug-regex35.c: New file.
38395 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38397         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38398         comment.
38399         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38400         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38401         (CHECK_EOL): Add undef.
38403 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38405         * bits/stdlib-bsearch.h: New file.
38406         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38407         * stdlib/stdlib.h: Likewise.
38409 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38411         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38412         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38413         declaration.
38414         * manual/search.texi (Array Search Function): Add missing const in
38415         lfind prototype.
38416         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38417         declaration to use rlim_t.
38418         (Basic Scheduling Functions): Remove erroneous const from
38419         sched_getparam prototype.  Remove erroneous * from
38420         sched_get_priority_max and sched_get_priority_min prototypes.
38421         (Resource Usage): Fix summary @comment on vtimes to refer to
38422         sys/vtimes.h rather than vtimes.h.
38423         Add missing *s in vtimes prototype.
38424         (Limits on Resources): Fix ulimit prototype to return long int.
38425         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38426         prototypes to use long int rather than double.
38427         (BSD Random): Fix initstate and setstate to use char *, not void *.
38428         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38429         prototype to make second argument 'struct aiocb64 *const[]'.
38430         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38431         (Status of AIO Operations): Remove erroneous const in aio_return and
38432         aio_return64 prototypes.
38433         (Synchronizing I/O): Fix sync prototype to return void.
38434         * manual/startup.texi (Suboptions): Remove an erroneous const in
38435         getsubopt prototype.
38436         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38437         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38438         use size_t rather than int.
38439         (Scanning All Users): Likewise for getpwent_r.
38440         (Setting Groups): Add missing const to setgroups prototype.
38441         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38442         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38443         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38444         'const void *' rather than 'const char *'.
38445         (Host Address Functions): Likewise for inet_ntop.
38446         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38447         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38448         ssize_t for return value.
38449         (Sending Data): Likewise for send, sendto, sendmsg.
38450         (Socket Option Functions): Add a missing const in setsockopt prototype.
38451         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38452         use wchar_t for the argument.
38453         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38454         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38455         take no arguments.
38456         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38457         double/float/long double for second argument.
38458         Fix return types of significand, significandf, significandl.
38459         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38460         argument in fchmod prototype.
38461         (File Owner): Use uid_t and gid_t in fchown prototype.
38462         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38463         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38464         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38465         use 'const struct dirent **' as argument types to CMP function pointer
38466         argument.
38467         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38468         (File Times): Fix summary magic @comment for struct utimbuf and utime
38469         to refer to utime.h, not time.h.
38470         * manual/string.texi (Argz Functions): Add missing const in
38471         argz_extract and argz_next prototypes.
38472         (Finding Tokens in a String): Likewise for basename.
38473         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38474         (Copying and Concatenation): Fix typo in wmemmove prototype.
38475         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38476         (Signal Stack): Remove erroneous const in sigstack prototype.
38477         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38478         prototype.
38479         (Simple Calendar Time): Likewise for stime.
38480         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38481         prototype.
38482         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38483         say sys/sysctl.h instead.
38484         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38485         and vsyslog prototypes.
38487 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38489         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38490         Remove.
38492 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38494         * misc/sys/mman.h: Fix typo in mremap comment.
38496 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38498         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38499         the '\0' terminator.
38501 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38503         [BZ #13550]
38504         * debug/segfault.c: Don't include <bp-checks.h>.
38505         * sysdeps/generic/bp-checks.h: Remove file.
38506         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38507         (__GETDENTS): Don't use CHECK_N.
38508         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38509         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38510         (__getgroups): Don't use CHECK_N.
38511         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38512         (setgroups): Don't use CHECK_N.
38513         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38514         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38515         (__libc_msgrcv): Don't use CHECK_N.
38516         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38517         (__libc_msgsnd): Don't use CHECK_N.
38518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38519         <bp-checks.h>.
38520         (__libc_pread): Don't use CHECK_N.
38521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38522         include <bp-checks.h>.
38523         (__libc_pread64): Don't use CHECK_N.
38524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38525         include <bp-checks.h>.
38526         (__libc_pwrite): Don't use CHECK_N.
38527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38528         include <bp-checks.h>.
38529         (__libc_pwrite64): Don't use CHECK_N.
38530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38531         <bp-checks.h>.
38532         (__libc_pread): Don't use CHECK_N.
38533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38534         include <bp-checks.h>.
38535         (__libc_pread64): Don't use CHECK_N.
38536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38537         include <bp-checks.h>.
38538         (__libc_pwrite): Don't use CHECK_N.
38539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38540         include <bp-checks.h>.
38541         (__libc_pwrite64): Don't use CHECK_N.
38542         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38543         (do_pread): Don't use CHECK_N.
38544         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38545         (do_pread64): Don't use CHECK_N.
38546         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38547         (do_pwrite): Don't use CHECK_N.
38548         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38549         (do_pwrite64): Don't use CHECK_N.
38550         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38551         (__libc_readv): Don't use CHECK_N.
38552         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38553         (semop): Don't use CHECK_N.
38554         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38555         <bp-checks.h>.
38556         (semtimedop): Don't use CHECK_N.
38557         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38558         (__libc_pread): Don't use CHECK_N.
38559         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38560         <bp-checks.h>.
38561         (__libc_pread64): Don't use CHECK_N.
38562         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38563         <bp-checks.h>.
38564         (__libc_pwrite): Don't use CHECK_N.
38565         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38566         <bp-checks.h>.
38567         (__libc_pwrite64): Don't use CHECK_N.
38568         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38569         <bp-checks.h>.
38570         (__libc_msgrcv): Don't use CHECK_N.
38571         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38572         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38573         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38574         (__libc_writev): Don't use CHECK_N.
38576 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38578         * string/strcpy.c: Removed unused variable.
38580         * Makeconfig (+sysdep-includes): Define with := rather than =.
38581         Use an existing include/ subdir of each sysdeps dir before it.
38583 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38585         * nscd/connection.c (register_traced_file): Comment function.
38586         [HAVE_INOTIFY] (union __inev): Define.
38587         [HAVE_INOTIFY] (inotify_check_files): New function.
38588         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38589         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38590         clear_db_cache.
38591         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38593 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38595         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38596         loaded if not already and that a failure is permanent.
38598 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38600         [BZ #15006]
38601         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38602         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38604 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38606         [BZ #13550]
38607         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38608         (CHECK_1_NULL_OK): Likewise.
38609         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38610         (__fxstat): Do not use CHECK_1.
38611         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38612         <bp-checks.h>.
38613         (___fxstat64): Do not use CHECK_1.
38614         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38615         <bp-checks.h>.
38616         (__fxstatat): Do not use CHECK_1.
38617         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38618         <bp-checks.h>.
38619         (__fxstatat64): Do not use CHECK_1.
38620         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38621         <bp-checks.h>.
38622         (__fxstat): Do not use CHECK_1.
38623         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38624         <bp-checks.h>.
38625         (__fxstatat): Do not use CHECK_1.
38626         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38627         <bp-checks.h>.
38628         (__getresgid): Do not use CHECK_1.
38629         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38630         <bp-checks.h>.
38631         (__getresuid): Do not use CHECK_1.
38632         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38633         <bp-checks.h>.
38634         (__lxstat): Do not use CHECK_1.
38635         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38636         <bp-checks.h>.
38637         (__old_msgctl): Do not use CHECK_1.
38638         (__new_msgctl): Likewise.
38639         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38640         <bp-checks.h>.
38641         (__new_setrlimit): Do not use CHECK_1.
38642         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38643         <bp-checks.h>.
38644         (__old_shmctl): Do not use CHECK_1.
38645         (__new_shmctl): Likewise.
38646         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38647         <bp-checks.h>.
38648         (__xstat): Do not use CHECK_1.
38649         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38650         (__lxstat): Do not use CHECK_1.
38651         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38652         <bp-checks.h>.
38653         (___lxstat64): Do not use CHECK_1.
38654         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38655         (__old_msgctl): Do not use CHECK_1.
38656         (__new_msgctl): Likewise.
38657         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38658         <bp-checks.h>.
38659         (__gettimeofday): Do not use CHECK_1.
38660         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38661         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38662         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38663         <bp-checks.h>.
38664         (__gettimeofday): Do not use CHECK_1.
38665         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38666         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38667         (__new_shmctl): Do not use CHECK_1.
38668         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38669         <bp-checks.h>.
38670         (do_sigtimedwait): Do not use CHECK_1.
38671         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38672         <bp-checks.h>.
38673         (do_sigwaitinfo): Do not use CHECK_1.
38674         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38675         <bp-checks.h>.
38676         (msgctl): Do not use CHECK_1.
38677         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38678         <bp-checks.h>.
38679         (shmctl): Do not use CHECK_1.
38680         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38681         (ustat): Do not use CHECK_1.
38682         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38683         <bp-checks.h>.
38684         (__fxstat): Do not use CHECK_1.
38685         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38686         <bp-checks.h>.
38687         (__fxstatat): Do not use CHECK_1.
38688         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38689         <bp-checks.h>.
38690         (__lxstat): Do not use CHECK_1.
38691         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38692         <bp-checks.h>.
38693         (__xstat): Do not use CHECK_1.
38694         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38695         (__xstat): Do not use CHECK_1.
38696         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38697         (___xstat64): Do not use CHECK_1.
38699         [BZ #13550]
38700         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38701         definitions.
38702         (CHECK_BOUNDS_HIGH): Likewise.
38703         * string/strcpy.c: Do not include <bp-checks.h>.
38704         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38706 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38708         * nscd/nscd-client.h (__nscd_drop_map_ref):
38709         Add __attribute__ ((unused)).
38710         * nis/nss-nisplus.h (niserr2nss): Likewise.
38712         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38713         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38715         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38716         Remove inline keyword.
38717         * include/rounding-mode.h (round_away): Likewise.
38718         * libio/wfileops.c (adjust_wide_data): Likewise.
38719         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38720         (__m128i_strloadu_tolower): Likewise.
38721         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38722         (__m128i_strloadu_tolower): Likewise.
38723         * time/mktime.c (ydhms_diff): Likewise.
38724         * locale/elem-hash.h (elem_hash): Likewise.
38725         * locale/setlocale.c (setdata): Likewise.
38726         * posix/regex_internal.h (re_string_char_size_at): Likewise.
38727         (re_string_wchar_at): Likewise.
38728         (bitset_not, bitset_merge, bitset_mask): Likewise.
38729         [!(__GNUC__ > 3)] (inline): Remove macro.
38730         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38731         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38732         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38733         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38734         * string/memcmp.c (memcmp_bytes): Likewise.
38735         * locale/programs/locarchive.c (compute_hashval): Likewise.
38736         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38737         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38738         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38739         * nss/getent.c (print_rpc, print_protocols): Likewise.
38740         (print_passwd, print_group, print_aliases): Likewise.
38741         * nis/nss-nisplus.h (niserr2nss): Likewise.
38742         * nscd/connections.c (restart_p): Likewise.
38743         Change return type to bool.
38745 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38747         * Makeconfig (all-Depend-files): Add existing
38748         $(sorted-subdirs:=/Depend) files.
38749         (all-subdirs): Remove nss.
38750         * sysdeps/unix/inet/Subdirs: Add it here instead.
38751         * hesiod/Depend: New file.
38753         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38754         instead of calling alloca.
38756         * io/lseek.c (__lseek): Rename to __libc_lseek.
38757         Define __lseek as an alias.
38759         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38761 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38763         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38764         else clause and remove check for non-standard endianness.
38766 2013-02-04  David S. Miller  <davem@davemloft.net>
38768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38770 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
38772         [BZ #13550]
38773         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38774         (__ubp_memchr): Remove prototype.
38775         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38776         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38777         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38778         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38779         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38780         Remove alias.
38781         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38782         (__ubp_memchr): Likewise.
38783         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38784         (__ubp_memchr): Likewise.
38785         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38786         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38787         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38788         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38789         CHECK_STRING.
38790         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38791         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38792         (__getcwd): Do not use CHECK_STRING.
38793         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38794         <bp-checks.h>.
38795         (__real_chown): Do not use CHECK_STRING.
38796         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38797         <bp-checks.h>.
38798         (fchownat): Do not use CHECK_STRING.
38799         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38800         CHECK_STRING.
38801         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38802         <bp-checks.h>.
38803         (__lchown): Do not use CHECK_STRING.
38804         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38805         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38806         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38807         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38809         include <bp-checks.h>.
38810         (truncate64): Do not use CHECK_STRING.
38811         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38812         <bp-checks.h>.
38813         (__real_chown): Do not use CHECK_STRING.
38814         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38815         <bp-checks.h>.
38816         (__lchown): Do not use CHECK_STRING.
38817         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38818         <bp-checks.h>.
38819         (__chown): Do not use CHECK_STRING.
38820         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38821         <bp-checks.h>.
38822         (truncate64): Do not use CHECK_STRING.
38823         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38824         Likewise.
38825         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38826         (__xmknod): Do not use CHECK_STRING.
38827         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38828         <bp-checks.h>.
38829         (__xmknodat): Do not use CHECK_STRING.
38830         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38831         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38833 2013-02-04  Andreas Schwab  <schwab@suse.de>
38835         [BZ #14142]
38836         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38837         * include/netdb.h: Likewise for h_errno.
38838         * elf/tst-stackguard1.c: Include <tls.h>.
38840 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38842         * elf/link.h (struct link_map): Extend the l_addr comment.
38843         * include/link.h (struct link_map): Likewise.
38845 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38847         [BZ #13550]
38848         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38849         (BOUNDED_1): Remove macro.
38850         * debug/backtrace.c: Don't include <bp-checks.h>.
38851         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38852         (__backtrace): Likewise.
38853         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38854         <bp-checks.h>.
38855         (__backtrace): Don't use BOUNDED_1.
38856         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38857         <bp-checks.h>.
38858         (__backtrace): Don't use BOUNDED_1.
38859         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38860         (__backtrace): Don't use BOUNDED_1.
38861         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38862         (shmat): Don't use BOUNDED_N.
38864 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38866         [BZ #13550]
38867         * sysdeps/generic/bp-start.h: Remove file.
38868         * csu/libc-start.c: Don't include <bp-start.h>.
38869         (LIBC_START_MAIN): Set up __environ directly instead of using
38870         INIT_ARGV_and_ENVIRON.
38871         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38872         <bp-start.h>.
38874         [BZ #13550]
38875         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38876         definitions.
38877         (CHECK_FCNTL): Likewise.
38878         (CHECK_N_PAGES): Likewise.
38880         [BZ #13550]
38881         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38882         definitions.
38883         (CHECK_SIGSET_NULL_OK): Likewise.
38884         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38885         <bp-checks.h>.
38886         (sigpending): Don't use CHECK_SIGSET.
38887         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38888         <bp-checks.h>.
38889         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38890         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38891         <bp-checks.h>.
38892         (do_sigsuspend): Don't use CHECK_SIGSET.
38893         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38894         use CHECK_SIGSET.
38895         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38896         (do_sigwait): Don't use CHECK_SIGSET.
38897         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38898         use CHECK_SIGSET.
38899         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38900         include <bp-checks.h>.
38901         (sigpending): Don't use CHECK_SIGSET.
38902         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38903         include <bp-checks.h>.
38904         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38905         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38906         <bp-checks.h>.
38907         (sigpending): Don't use CHECK_SIGSET.
38908         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38909         <bp-checks.h>.
38910         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38912         [BZ #13550]
38913         * sysdeps/generic/bp-semctl.h: Remove file.
38914         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38915         <bp-checks.h> and <bp-semctl.h>.
38916         (__old_semctl): Don't use CHECK_SEMCTL.
38917         (__new_semctl): Likewise.
38918         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38919         and <bp-semctl.h>.
38920         (__old_semctl): Don't use CHECK_SEMCTL.
38921         (__new_semctl): Likewise.
38922         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38923         <bp-checks.h> and <bp-semctl.h>.
38924         (__old_semctl): Don't use CHECK_SEMCTL.
38925         (__new_semctl): Likewise.
38926         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38927         <bp-checks.h> and <bp-semctl.h>.
38928         (semctl): Don't use CHECK_SEMCTL.
38930         [BZ #13550]
38931         * Makerules (elide-bp-thunks): Remove variable.
38932         (elide-routines.oS): Don't use $(elide-bp-thunks).
38933         (elide-routines.os): Likewise.
38934         (elide-routines.o): Likewise.
38935         (elide-routines.op): Likewise.
38936         (elide-routines.og): Likewise.
38937         (objects): Don't use $(bp-thunks).
38938         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38939         include.
38940         (common-generated): Do not add s-proto-bp.d.
38941         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38942         (int): Likewise.
38943         (typ): Likewise.
38944         Do not generate makefile rules for bounded-pointer thunks.
38945         * sysdeps/generic/bp-thunks.h: Remove file.
38946         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38947         * sysdeps/unix/s-proto-bp.S: Likewise.
38949         [BZ #15062]
38950         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38951         parts of result separately when argument is not close to line from
38952         -i to i and one part of argument is small.
38953         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38954         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38955         * math/libm-test.inc (cacos_test): Add more tests.
38956         (casin_test): Likewise.
38957         (casinh_test): Likewise.
38958         * sysdeps/i386/fpu/libm-test-ulps: Update.
38959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38961 2013-01-31  David S. Miller  <davem@davemloft.net>
38963         * po/de.po: Update from translation team.
38965 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38967         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38969 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38971         * configure.in (_AC_PROG_CC_C89): New definition.
38972         * configure: Regenerate.
38974         * configure.in (AC_PROG_CPP): New definition.
38975         * configure: Regenerate.
38977 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38979         * debug/tst-backtrace.h: New file.
38980         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38981         (ret): Remove variable.
38982         (x): Likewise.
38983         (FAIL): Remove macro.
38984         (NO_INLINE): Likewise.
38985         (fn1): Use match function instead of strstr.
38986         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38987         (ret): Remove variable.
38988         (x): Likewise.
38989         (FAIL): Remove macro.
38990         (NO_INLINE): Likewise.
38991         (fn): Use match function instead of strstr.
38992         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38993         (ret): Remove variable.
38994         (x): Likewise.
38995         (FAIL): Remove macro.
38996         (NO_INLINE): Likewise.
38997         (handle_signal): Use match function instead of strstr.
38998         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38999         (ret): Remove variable.
39000         (x): Likewise.
39001         (FAIL): Remove macro.
39002         (NO_INLINE): Likewise.
39003         (handle_signal): Use match function instead of strstr.
39005 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39007         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39009 2013-01-23  David S. Miller  <davem@davemloft.net>
39011         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39012         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39013         argument of CAS if possible.
39014         * sysdeps/sparc/sparc64/bits/atomic.h
39015         (__arch_compare_and_exchange_val_32_acq): Likewise.
39016         (__arch_compare_and_exchange_val_64_acq): Likewise.
39018 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39020         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39021         * sysdeps/posix/ulimit.c: ... this.
39022         Include <limits.h>.
39023         * sysdeps/unix/bsd/ulimit.c: Remove file.
39025 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39027         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39028         (LDFLAGS-tst-array5): Likewise.
39030 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39032         [BZ #15036]
39033         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39034         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39035         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39036         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39038 2013-01-21  David S. Miller  <davem@davemloft.net>
39040         * sysdeps/sparc/backtrace.c: New file.
39041         * sysdeps/sparc/sparc32/backtrace.h: New file.
39042         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39043         * sysdeps/sparc/sparc64/backtrace.h: New file.
39044         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39045         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39046         -funwind-tables.
39048 2013-01-21  Andreas Schwab  <schwab@suse.de>
39050         [BZ #15020]
39051         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39052         closed its stdout.
39054 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39056         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39057         "mpa2.h".
39058         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39060 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39061             Mark Mitchell  <mark@codesourcery.com>
39062             Tom de Vries  <tom@codesourcery.com>
39063             Paul Pluzhnikov  <ppluzhnikov@google.com>
39065         * debug/tst-backtrace2.c: New file.
39066         * debug/tst-backtrace3.c: Likewise.
39067         * debug/tst-backtrace4.c: Likewise.
39068         * debug/tst-backtrace5.c: Likewise.
39069         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39070         (CFLAGS-tst-backtrace3.c): Likewise.
39071         (CFLAGS-tst-backtrace4.c): Likewise.
39072         (CFLAGS-tst-backtrace5.c): Likewise.
39073         (LDFLAGS-tst-backtrace2): Likewise.
39074         (LDFLAGS-tst-backtrace3): Likewise.
39075         (LDFLAGS-tst-backtrace4): Likewise.
39076         (LDFLAGS-tst-backtrace5): Likewise.
39077         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39078         tst-backtrace4 and tst-backtrace5.
39080 2013-01-18  Anton Blanchard  <anton@samba.org>
39081             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39083         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39084         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39085         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39086         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39088         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39089         "+r" and remove output regs list as redundant.  Add explicit inline
39090         asm to specify register of return val to work around compiler codegen
39091         bug.  Remove (int) cast on return value.  Add return type parameter to
39092         use in macro so that this macro does not truncate return value for
39093         64-bit values.
39094         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39095         pass to INTERNAL_VSYSCALL_NCS.
39096         (INLINE_VSYSCALL): Add 'long int' as return type to
39097         INTERNAL_VSYSCALL_NCS macro invocation.
39098         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39099         INTERNAL_VSYSCALL_NCS macro invocation.
39100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39102 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39104         [BZ #14496]
39105         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39106         Fix application of SIMD FP exception mask.
39108         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39109         mp_no from a power of two.
39110         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39111         __mpexp_twomm1.  Use __pow_mp.
39113         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39114         multiplication.
39116 2013-01-17  David S. Miller  <davem@davemloft.net>
39118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39120 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39122         [BZ #15023]
39123         * include/complex.h: Condition contents on [!_COMPLEX_H].
39124         (__kernel_casinhf): New prototype.
39125         (__kernel_casinh): Likewise.
39126         (__kernel_casinhl): Likewise.
39127         * math/Makefile (libm_calls): Add k_casinh.
39128         * math/k_casinh.c: New file.
39129         * math/k_casinhf.c: Likewise.
39130         * math/k_casinhl.c: Likewise.
39131         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39132         finite nonzero arguments.
39133         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39134         finite nonzero arguments.
39135         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39136         finite nonzero arguments.
39137         * math/s_casinh.c: Do not include <float.h>.
39138         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39139         * math/s_casinhf.c: Do not include <float.h>.
39140         (__casinhf): Move code for finite nonzero arguments to
39141         k_casinhf.c.
39142         * math/s_casinhl.c: Do not include <float.h>.
39143         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39144         redefine.
39145         (__casinhl): Move code for finite nonzero arguments to
39146         k_casinhl.c.
39147         * math/libm-test.inc (cacos_test): Add more tests.
39148         * sysdeps/i386/fpu/libm-test-ulps: Update.
39149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39151 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39153         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39154         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39155         [!HAVE_MREMAP]: Remove [defined linux] case.
39156         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39158 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39160         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39162 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39164         * elf/elf.h (R_386_SIZE32): New relocation.
39165         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39166         R_386_SIZE32.
39167         (elf_machine_rela): Likewise.
39168         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39169         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39171 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39173         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39174         (FP_FAST_FMA): Do not define.
39175         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39176         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39177         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39178         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39179         !_SOFT_FLOAT]: Likewise.
39180         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39181         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39182         value.
39183         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39184         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39185         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39186         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39187         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39188         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39189         file.
39191 2013-01-16  Andreas Schwab  <schwab@suse.de>
39193         [BZ #14327]
39194         * include/stdlib.h (__mktemp): Add declaration.
39195         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39196         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39198 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39200         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39201         definitions.
39202         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39203         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39204         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39205         definitions here.
39206         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39207         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39208         definitions.
39209         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39210         and ONE.
39211         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39212         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39213         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39214         definitions.
39215         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39216         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39217         definitions.
39218         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39220         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39222 2013-01-15  David S. Miller  <davem@davemloft.net>
39224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39225         trunc{,f} to libm-sysdep_routes.
39226         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39228         file.
39229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39231         file.
39232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39233         file.
39234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39236         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39237         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39238         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39239         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39240         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39241         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39244         nearbyint{,f} to libm-sysdep_routes.
39245         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39247         New file.
39248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39249         file.
39250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39251         New file.
39252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39253         file.
39254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39256         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39257         file.
39258         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39259         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39260         file.
39261         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39262         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39263         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39265         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39266         libc_feholdexcept and libc_fesetenv.
39268 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39270         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39272 2013-01-14  David S. Miller  <davem@davemloft.net>
39274         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39275         (SPARC_ASM_VIS2_IFUNC): Likewise.
39276         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39278         use of 'siam' instruction.
39279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39280         Likewise.
39281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39282         Likewise.
39283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39284         Likewise.
39285         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39286         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39290         file.
39291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39292         file.
39293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39294         file.
39295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39296         file.
39297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39298         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39302         new VIS2 routines.
39303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39306         Likewise.
39307         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39309         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39310         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39312         routines to libm-sysdep_routines.
39313         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39316         fdim/fdimf to libm-sysdep_routines.
39317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39318         file.
39319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39321         file.
39322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39325         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39326         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39327         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39328         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39330 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39332         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39333         to optimize copies.
39335         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39337         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39339         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39340         local variable MPTWO.
39341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39342         Likewise.
39344 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39346         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39347         GLOB_NOESCAPE.
39349 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39351         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39353 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39355         * manual/pattern.texi (glob_t): Document gl_flags.
39356         (glob64_t): Likewise.
39358 2013-01-11  David S. Miller  <davem@davemloft.net>
39360         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39361         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39362         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39363         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39364         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39365         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39366         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39367         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39368         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39369         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39370         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39371         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39372         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39374         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39375         sparc V9 rather than using V8 code.
39376         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39377         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39379         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39380         Move to...
39381         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39382         Here.
39384 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39386         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39387         not in the main loop.
39388         * configure: Regenerated.
39390 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39392         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39393         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39394         to just #else.
39395         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39396         [!__GLIBC_HAVE_LONG_LONG] case.
39397         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39398         condition to just #else.
39399         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39400         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39401         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39402         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39403         unconditional.
39404         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39405         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39406         #elif condition to just #else.
39407         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39408         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39409         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39410         #elif condition to just #else.
39412 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39414         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39415         (EF_MIPS_ARCH_64): Fix value.
39416         (EF_MIPS_ARCH_32R2): New.
39417         (EF_MIPS_ARCH_64R2): New.
39419 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39421         * Makeconfig (+link-pie-before-libc): New.
39422         (+link-pie-after-libc): Likewise.
39423         (+link-pie-tests): Likewise.
39424         (+link-pie): Rewritten.
39425         (link-before-libc): Remove $(config-LDFLAGS).
39426         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39427         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39428         (config-LDFLAGS): Renamed to ...
39429         (rtld-LDFLAGS): This.
39430         (rtld-tests-LDFLAGS): New macro.
39431         (link-libc-rpath-link): Likewise.
39432         (link-libc-tests-rpath-link): Likewise.
39433         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39434         (link-libc): Prepand $(link-libc-rpath-link).
39435         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39436         (test-program-prefix): New macro.
39437         (test-via-rtld-prefix): Likewise.
39438         (test-program-cmd): Likewise.
39439         (host-test-program-cmd): Likewise.
39440         * Makefile ($(common-objpfx)testrun.sh): Replace
39441         $(run-program-prefix) with $(test-program-prefix).
39442         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39443         $(rtld-LDFLAGS).
39444         ($(common-objpfx)shlib.lds): Likewise.
39445         (build-module-helper): Likewise.
39446         ($(common-objpfx)format.lds): Likewise.
39447         * Rules (binaries-pie-tests): New.
39448         (binaries-pie-notests): Likewise.
39449         (binaries-pie): Rewritten.
39450         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39451         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39452         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39453         (make-test-out): Replace $(host-built-program-cmd) with
39454         $(host-test-program-cmd).
39455         * config.make.in (build-hardcoded-path-in-tests): New variable.
39456         * configure.in (--enable-hardcoded-path-in-tests): New configure
39457         option.
39458         (hardcoded_path_in_tests): New AC_SUBST.
39459         * configure: Regenerated.
39460         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39461         $(built-program-cmd) with $(test-program-cmd).
39462         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39463         (test_program_cmd): This.
39464         * elf/Makefile ($(objpfx)order.out): Run test with
39465         $(test-program-prefix).
39466         ($(objpfx)order2.out): Likewise.
39467         ($(objpfx)tst-initorder.out): Likewise.
39468         ($(objpfx)tst-initorder2.out): Likewise.
39469         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39470         $(test-program-cmd).
39471         ($(objpfx)tst-array1-static.out): Likewise.
39472         ($(objpfx)tst-array2.out): Likewise.
39473         ($(objpfx)tst-array3.out): Likewise.
39474         ($(objpfx)tst-array4.out): Likewise.
39475         ($(objpfx)tst-array5.out): Likewise.
39476         ($(objpfx)tst-array5-static.out): Likewise.
39477         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39478         $(test-program-cmd).
39479         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39480         $(run-program-prefix) with $(test-program-prefix).
39481         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39482         (test_program_prefix): This.
39483         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39484         $(run-program-prefix) with $(test-program-prefix).
39485         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39486         (test_program_prefix): This.
39487         * iconvdata/tst-tables.sh: Likewise.
39488         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39489         $(run-program-prefix) with $(test-program-prefix).
39490         ($(objpfx)tst-translit.out): Likewise.
39491         ($(objpfx)tst-gettext2.out): Likewise.
39492         ($(objpfx)tst-gettext4.out): Likewise.
39493         ($(objpfx)tst-gettext6.out): Likewise.
39494         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39495         (test_program_prefix): This.
39496         * intl/tst-gettext2.sh: Likewise.
39497         * intl/tst-gettext4.sh  Likewise.
39498         * intl/tst-gettext6.sh: Likewise.
39499         * intl/tst-translit.sh: Likewise.
39500         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39501         with $(test-program-cmd).
39502         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39503         $(run-program-prefix) with $(test-program-prefix).
39504         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39505         (test_program_prefix): This.
39506         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39507         $(run-program-prefix) with $(test-program-prefix).
39508         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39509         (test_program_prefix): This.
39510         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39511         * posix/Makefile ($(objpfx)globtest.out): Replace
39512         $(run-via-rtld-prefix) and $(test-wrapper) with
39513         $(test-program-prefix) and $(test-via-rtld-prefix).
39514         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39515         $(test-program-prefix).
39516         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39517         $(host-test-program-cmd).
39518         (tst-spawn-ARGS): Likewise.
39519         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39520         $(test-program-prefix).
39521         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39522         (test_via_rtld_prefix): This.
39523         (test_wrapper): Renamed to ...
39524         (test_program_prefix): This.
39525         (run_program_prefix): Replaced by test_program_prefix.
39526         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39527         (test_program_prefix): This.
39528         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39529         with $(host-test-program-cmd).
39530         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39531         $(run-program-prefix) with $(test-program-prefix).
39532         ($(objpfx)tst-printf.out): Likewise.
39533         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39534         $(test-program-cmd).
39535         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39536         (test_program_prefix): This.
39537         * stdio-common/tst-unbputc.sh: Likewise.
39538         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39539         $(run-program-prefix) with $(test-program-prefix).
39540         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39541         (test_program_prefix): This.
39542         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39543         $(built-program-cmd) with $(test-program-cmd).
39545 2013-01-11  Andreas Jaeger  <aj@suse.de>
39547         [BZ #15003]
39548         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39549         value. Sync with Linux 3.7.
39551 2013-01-10  David S. Miller  <davem@davemloft.net>
39553         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39554         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39555         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39557 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39559         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39560         never set.
39561         * configure: Regenerated.
39563 2013-01-10  David S. Miller  <davem@davemloft.net>
39565         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39566         sparc V9 rather than using V8 code.
39567         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39568         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39570 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39572         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39573         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39574         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39575         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39576         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39577         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39578         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39579         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39580         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39581         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39582         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39583         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39584         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39585         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39586         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39587         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39588         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39589         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39590         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39591         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39592         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39593         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39594         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39595         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39596         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39597         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39598         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39600 2013-01-10  David S. Miller  <davem@davemloft.net>
39602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39604 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39606         * posix/Makefile (tests-static): New variable.
39607         (tests): Add $(tests-static).
39608         (tst-exec-static-ARGS): New variable.
39609         (tst-spawn-static-ARGS): Likewise.
39610         * posix/tst-exec-static.c: New file.
39611         * posix/tst-spawn-static.c: Likewise.
39612         * posix/tst-exec.c: Support run directly.
39613         * posix/tst-spawn.c: Likewise.
39615 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39617         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39618         long.
39619         * math/bits/mathcalls.h (llrint): Likewise.
39620         (llround): Likewise.
39621         * stdlib/stdlib.h (struct drand48_data): Likewise.
39622         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39623         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39624         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39625         Likewise.
39626         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39627         Likewise.
39628         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39629         (elf_greg_t): Likewise.
39630         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39631         (__jmp_buf): Likewise.
39632         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39633         definitions.
39634         (llrint): Likewise, for all definitions.
39635         (llrintl): Likewise.
39637         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39638         Remove [__GNUC__] condition.
39639         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39640         condition to just [__USE_ISOC99].
39641         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39643 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39645         [BZ #14200]
39646         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39647         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39648         defined.
39649         (_POSIX_V6_ILP32_OFF32): Likewise.
39650         (_XBS5_ILP32_OFF32): Likewise.
39651         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39652         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39654 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39656         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39658         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39659         doubles __mpexp_twomm1.  Adjust usage.
39660         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39661         Remove.
39663 2013-01-10  Andreas Schwab  <schwab@suse.de>
39665         [BZ #14964]
39666         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39667         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39669 2013-01-09  David S. Miller  <davem@davemloft.net>
39671         [BZ #15003]
39672         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39673         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39674         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39675         (TCP_FASTOPEN): Define.
39676         (tcp_repair_opt): New structure.
39677         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39678         enum values.
39679         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39680         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39681         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39682         (tcp_cookie_transactions): New structure.
39684 2013-01-09  Anton Blanchard  <anton@samba.org>
39686         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39687         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39688         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39689         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39691 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39693         * include/features.h (__USE_ANSI): Remove.
39695 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39697         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39699         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39701 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39703         * sysdeps/s390/fpu/libm-test-ulps: Update.
39705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39707         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39708         (__acr): Likewise.
39709         (__cpy): Likewise.
39710         (norm): Likewise.
39711         (denorm): Likewise.
39712         (__mp_dbl): Likewise.
39713         (__dbl_mp): Likewise.
39714         (add_magnitudes): Likewise.
39715         (sub_magnitudes): Likewise.
39716         (__add): Likewise.
39717         (__sub): Likewise.
39718         (__mul): Likewise.
39719         (__inv): Likewise.
39720         (__dvd): Likewise.
39721         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39722         (__acr): Likewise.
39723         (__cpy): Likewise.
39724         (norm): Likewise.
39725         (denorm): Likewise.
39726         (__mp_dbl): Likewise.
39727         (__dbl_mp): Likewise.
39728         (add_magnitudes): Likewise.
39729         (sub_magnitudes): Likewise.
39730         (__add): Likewise.
39731         (__sub): Likewise.
39732         (__mul): Likewise.
39733         (__inv): Likewise.
39734         (__dvd): Likewise.
39735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39736         (__acr): Likewise.
39737         (__cpy): Likewise.
39738         (norm): Likewise.
39739         (denorm): Likewise.
39740         (__mp_dbl): Likewise.
39741         (__dbl_mp): Likewise.
39742         (add_magnitudes): Likewise.
39743         (sub_magnitudes): Likewise.
39744         (__add): Likewise.
39745         (__sub): Likewise.
39746         (__mul): Likewise.
39747         (__inv): Likewise.
39748         (__dvd): Likewise.
39750 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39752         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39753         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39754         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39755         2 && __USE_EXTERN_INLINES]: Likewise.
39757 2013-01-08  Andreas Jaeger  <aj@suse.de>
39759         [BZ# 14985]
39760         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39761         Remove.
39762         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39763         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39765 2013-01-07  Anton Blanchard  <anton@samba.org>
39767         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39768         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39769         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39770         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39771         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39772         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39773         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39774         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39775         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39776         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39777         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39778         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39779         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39780         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39781         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39782         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39783         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39784         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39785         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39786         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39787         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39788         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39789         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39790         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39791         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39792         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39793         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39794         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39795         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39796         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39797         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39799         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39800         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39801         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39802         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39803         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39804         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39805         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39806         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39807         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39808         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39809         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39811 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
39813         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39814         (__MALLOC_PMT): Likewise.
39815         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39816         [__GNUC__], only on [_LIBC].
39817         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39818         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39819         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39820         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39821         forward declaration.
39822         (realloc_hook_ini): Likewise.
39823         (memalign_hook_ini): Likewise.
39824         (__libc_memalign): Do not use __MALLOC_PMT in variable
39825         declaration.
39826         (__libc_valloc): Likewise.
39827         (__libc_pvalloc): Likewise.
39828         (__libc_calloc): Likewise.
39829         (__posix_memalign): Likewise.
39831         [BZ #14996]
39832         * math/s_casinh.c: Include <float.h>.
39833         (__casinh): Do not do computation with squaring and square root
39834         for large arguments.
39835         * math/s_casinhf.c: Include <float.h>.
39836         (__casinhf): Do not do computation with squaring and square root
39837         for large arguments.
39838         * math/s_casinhl.c: Include <float.h>.
39839         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39840         (__casinhl): Do not do computation with squaring and square root
39841         for large arguments.
39842         * math/libm-test.inc (casin_test): Add more tests.
39843         (casinh_test): Likewise.
39844         * sysdeps/i386/fpu/libm-test-ulps: Update.
39845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39847 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39849         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39850         (__x86_64_raw_data_cache_size): Likewise.
39851         (__x86_64_data_cache_size_half): Likewise.
39852         (__x86_64_raw_data_cache_size_half): Likewise.
39853         (__x86_64_shared_cache_size): Likewise.
39854         (__x86_64_raw_shared_cache_size): Likewise.
39855         (__x86_64_shared_cache_size_half): Likewise.
39856         (__x86_64_raw_shared_cache_size_half): Likewise.
39857         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39858         to ...
39859         (__x86_data_cache_size): This.
39860         (__x86_64_raw_data_cache_size): Renamed to ...
39861         (__x86_raw_data_cache_size): This.
39862         (__x86_64_data_cache_size_half): Renamed to ...
39863         (__x86_data_cache_size_half): This.
39864         (__x86_64_raw_data_cache_size_half): Renamed to ...
39865         (__x86_raw_data_cache_size_half): This.
39866         (__x86_64_shared_cache_size): Renamed to ...
39867         (__x86_shared_cache_size): This.
39868         (__x86_64_raw_shared_cache_size): Renamed to ...
39869         (__x86_raw_shared_cache_size): This.
39870         (__x86_64_shared_cache_size_half): Renamed to ...
39871         (__x86_shared_cache_size_half): This.
39872         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39873         (__x86_raw_shared_cache_size_half): This.
39874         * sysdeps/x86_64/memcpy.S: Updated.
39875         * sysdeps/x86_64/memset.S: Likewise.
39876         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39877         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39878         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39880 2013-01-04  David S. Miller  <davem@davemloft.net>
39882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39884 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39886         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39887         1 to avoid redefinition warning.
39888         (__USE_GNU): Don't define.
39889         (init_signaling_nan): Protoize.
39891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39893 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39895         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39896         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39897         (__cpymn): Likewise.
39898         (norm): Remove commented code.
39899         (denorm): Likewise.
39900         (__mp_dbl): Likewise.
39901         (__inv): Likewise.
39902         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39903         (__cpymn): Likewise.
39904         (norm): Remove commented code.
39905         (denorm): Likewise.
39906         (__mp_dbl): Likewise.
39907         (__inv): Likewise.
39909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39910         mp_no value for 1.0 and 2.0.
39911         (norm): Use RADIXI instead of radixi.d.
39912         (denorm): Likewise.
39913         (__mul): Use 0.0 instead of zero.d.
39914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39915         mp_no value for 1.0 and 2.0.
39916         (norm): Use RADIXI instead of radixi.d.
39917         (denorm): Likewise.
39918         (__mul): Use 0.0 instead of zero.d.
39920 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39922         [BZ #14994]
39923         * math/s_casinh.c (__casinh): Reduce finite argument to first
39924         quadrant then set signs of results at the end.
39925         * math/s_casinhf.c (__casinhf): Likewise.
39926         * math/s_casinhl.c (__casinhl): Likewise.
39927         * math/libm-test.inc (casin_test): Add more tests.
39928         (casinh_test): Likewise.
39929         * sysdeps/i386/fpu/libm-test-ulps: Update.
39930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39932 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39934         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39936         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39938         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39939         declarations.
39940         (denorm): Likewise.
39941         (__mp_dbl): Likewise.
39942         (__inv): Likewise.
39944         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39945         and adjust the header comment.
39947         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39948         variable name from declaration.
39950 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39952         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39953         Initialize COMMON_CPUID_INDEX_7 element.
39954         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39955         (CPUID_RTM): Likewise.
39956         (HAS_RTM): Likewise.
39957         (COMMON_CPUID_INDEX_7): New enum.
39959 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39961         [BZ #14981]
39962         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39963         size is zero, record memory as freed.
39965 2013-01-03  Andreas Jaeger  <aj@suse.de>
39967         * po/ia.po: Add new Interlingua translation.
39969 2012-01-03  Allan McRae  <allan@archlinux.org>
39971         * locale/programs/localedef.c: Fix description of '--posix' flag.
39973 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39975         * NEWS: Update dates in second copyright notice.
39976         * README: Update copyright dates in example.
39977         * manual/libc.texinfo: Update copyright dates.
39978         * scripts/test-installation.pl: Update copyright date in --version
39979         output.
39981         * hurd/ctty-input.c: Fix copyright notice formatting.
39982         * hurd/ctty-output.c: Likewise.
39983         * hurd/dtable.c: Likewise.
39984         * hurd/hurd-raise.c: Likewise.
39985         * hurd/hurdprio.c: Likewise.
39986         * hurd/msgportdemux.c: Likewise.
39987         * misc/sys/file.h: Likewise.
39988         * misc/sys/ioctl.h: Likewise.
39989         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39990         * sysdeps/mach/hurd/chdir.c: Likewise.
39991         * sysdeps/mach/hurd/fchdir.c: Likewise.
39992         * sysdeps/mach/hurd/rename.c: Likewise.
39993         * sysdeps/mach/hurd/rmdir.c: Likewise.
39994         * sysdeps/mach/hurd/seekdir.c: Likewise.
39995         * sysdeps/mach/hurd/setsid.c: Likewise.
39996         * sysdeps/posix/wait3.c: Likewise.
39998         * All files with FSF copyright notices: Update copyright dates
39999         using scripts/update-copyrights.
40000         * intl/plural.c: Regenerated.
40001         * locale/programs/charmap-kw.h: Likewise.
40002         * locale/programs/locfile-kw.h: Likewise.
40004 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40006         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40007         four values.
40009         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40010         calculation loop and add branch prediction.
40012         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40013         check access beyond bounds of m1np.
40015         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40016         MPTWO.
40017         (__inv): Remove local variable MPTWO to use the global
40018         constant.
40019         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40020         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40021         variable MPTWO.
40022         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40023         MP3HALFS static const.
40025 2013-01-01  David S. Miller  <davem@davemloft.net>
40027         * po/ca.po: Update from translation team.
40029 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40031         * scripts/update-copyrights: New file.
40032         * Makeconfig: Reformat copyright notice.
40033         * ctype/ctype.h: Likewise.
40034         * debug/swprintf_chk.c: Likewise.
40035         * elf/dl-cache.c: Likewise.
40036         * elf/dl-debug.c: Likewise.
40037         * elf/dl-object.c: Likewise.
40038         * grp/initgroups.c: Likewise.
40039         * hurd/Makefile: Likewise.
40040         * hurd/hurd/signal.h: Likewise.
40041         * hurd/hurdfault.c: Likewise.
40042         * hurd/hurdioctl.c: Likewise.
40043         * hurd/hurdlookup.c: Likewise.
40044         * hurd/intr-msg.c: Likewise.
40045         * iconv/gconv_open.c: Likewise.
40046         * libio/swprintf.c: Likewise.
40047         * locale/lc-ctype.c: Likewise.
40048         * locale/nl_langinfo.c: Likewise.
40049         * mach/Machrules: Likewise.
40050         * mach/Makefile: Likewise.
40051         * malloc/obstack.h: Likewise.
40052         * manual/Makefile: Likewise.
40053         * manual/tsort.awk: Likewise.
40054         * misc/bits/stab.def: Likewise.
40055         * nis/nis_print_group_entry.c: Likewise.
40056         * nis/nis_table.c: Likewise.
40057         * nis/nss_compat/compat-pwd.c: Likewise.
40058         * nis/nss_compat/compat-spwd.c: Likewise.
40059         * po/Makefile: Likewise.
40060         * posix/fnmatch.c: Likewise.
40061         * posix/regex.h: Likewise.
40062         * resolv/Makefile: Likewise.
40063         * resolv/nss_dns/dns-network.c: Likewise.
40064         * resolv/res_hconf.c: Likewise.
40065         * scripts/gen-sorted.awk: Likewise.
40066         * soft-fp/soft-fp.h: Likewise.
40067         * stdio-common/printf.h: Likewise.
40068         * stdlib/monetary.h: Likewise.
40069         * stdlib/random.c: Likewise.
40070         * stdlib/random_r.c: Likewise.
40071         * sysdeps/generic/Makefile: Likewise.
40072         * sysdeps/gnu/Makefile: Likewise.
40073         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40074         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40075         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40076         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40077         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40078         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40079         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40080         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40081         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40082         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40083         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40084         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40085         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40086         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40087         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40088         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40089         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40090         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40091         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40092         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40093         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40094         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40095         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40096         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40097         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40098         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40099         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40100         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40101         * sysdeps/mach/hurd/errnos.awk: Likewise.
40102         * sysdeps/mach/hurd/fork.c: Likewise.
40103         * sysdeps/mach/hurd/getcwd.c: Likewise.
40104         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40105         * sysdeps/mach/hurd/mmap.c: Likewise.
40106         * sysdeps/mach/hurd/utimes.c: Likewise.
40107         * sysdeps/mach/hurd/xmknod.c: Likewise.
40108         * sysdeps/posix/profil.c: Likewise.
40109         * sysdeps/posix/readdir_r.c: Likewise.
40110         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40111         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40112         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40113         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40114         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40115         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40116         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40117         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40119         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40120         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40121         * sysdeps/pthread/lio_listio.c: Likewise.
40122         * sysdeps/sparc/dl-procinfo.h: Likewise.
40123         * sysdeps/unix/i386/sysdep.S: Likewise.
40124         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40125         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40126         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40127         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40129         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40130         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40131         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40132         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40133         * sysdeps/wordsize-32/divdi3.c: Likewise.
40134         * time/sys/time.h: Likewise.
40135         * wcsmbs/Makefile: Likewise.
40137 2013-01-01  David S. Miller  <davem@davemloft.net>
40139         * po/fr.po: Update from translation team.
40141         * catgets/gencat.c: Update copyright year.
40142         * csu/version.c: Likewise.
40143         * debug/catchsegv.sh: Likewise.
40144         * debug/pcprofiledump.c: Likewise.
40145         * debug/xtrace.sh: Likewise.
40146         * elf/ldconfig.c: Likewise.
40147         * elf/ldd.bash.in: Likewise.
40148         * elf/pldd.c: Likewise.
40149         * elf/sotruss.ksh: Likewise.
40150         * elf/sprof.c: Likewise.
40151         * iconv/iconv_prog.c: Likewise.
40152         * iconv/iconvconfig.c: Likewise.
40153         * locale/programs/locale.c: Likewise.
40154         * locale/programs/localedef.c: Likewise.
40155         * login/programs/pt_chown.c: Likewise.
40156         * malloc/memusage.sh: Likewise.
40157         * malloc/memusagestat.c: Likewise.
40158         * malloc/mtrace.pl: Likewise.
40159         * nscd/nscd.c: Likewise.
40160         * nss/getent.c: Likewise.
40161         * nss/makedb.c: Likewise.
40162         * posix/getconf.c: Likewise.
40164 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40166         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40167         numbers.
40169 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40171         * math/bits/mathcalls.h (modf): Use __nonnull.
40173 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40175         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40176         (split): Use macro CN instead of the bare value.
40177         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40178         could be used.
40179         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40180         instead of the bare value.
40181         (power1): Likewise.
40183 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40185         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40186         __ATAN_TWOM.
40187         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40189         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40190         their values.
40191         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40192         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40193         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40194         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40196 2012-12-28  Andreas Jaeger  <aj@suse.de>
40198         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40199         values are from Linux 3.7.
40201         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40202         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40204 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40206         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40207         TRUE case.
40209         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40210         (norm): Likewise.
40211         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40212         variables with preprocessor constants.
40213         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40214         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40215         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40217 2012-12-27  Bruno Haible  <bruno@clisp.org>
40219         [BZ #14317]
40220         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40221         only if needed.
40223 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40225         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40226         and use variable directly.
40227         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40229         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40230         MPONE.
40231         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40232         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40233         variable MPONE.
40234         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40235         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40236         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40237         include directive.  Remove local variable MPONE.
40238         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40239         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40240         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40242 2012-12-25  David S. Miller  <davem@davemloft.net>
40244         * version.h (RELEASE): Set to "development".
40245         (VERSION): Set to "2.17.90".
40246         * NEWS: Add 2.18 section.
40248 2012-12-21  David S. Miller  <davem@davemloft.net>
40250         * po/hr.po: Update from translation team.
40252 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40254         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40256 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40258         * NEWS:  Mention new memcpy for MIPS.
40260 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40262         * manual/contrib.texi (Contributors): Spelling correction.
40264 2012-12-15  David S. Miller  <davem@davemloft.net>
40266         * po/ru.po: Update from translation team.
40268 2012-12-13  David S. Miller  <davem@davemloft.net>
40270         * NEWS: Mention IFUNC testsuite enhancements.
40272         * po/pl.po: Update from translation team.
40273         * po/bg.po: Likewise.
40275         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40276         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40278 2012-12-11  David S. Miller  <davem@davemloft.net>
40280         * po/sv.po: Update from translation team.
40282         * po/vi.po: Update from translation team.
40284         * po/cs.po: Update from translation team.
40286         * po/de.po: Update from translation team.
40287         * po/eo.po: Likewise.
40288         * po/nl.po: Likewise.
40290 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40292         [BZ #14246]
40293         * manual/argp.texi (Argp Helper Functions): Move node to follow
40294         Argp Parsing State.
40296         [BZ #14872]
40297         * manual/conf.texi (Limits on File System Capacity): Mention if
40298         terminating null is included in the max size.
40300 2012-12-10  Andreas Jaeger  <aj@suse.de>
40302         * po/cs.po: Update from translation team.
40304 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40306         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40307         void pointer and cast to uintptr_t.
40308         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40309         path.
40310         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40311         * sysdeps/s390/s390-64/memset.S: Likewise.
40313 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40315         [BZ #14833]
40316         * menual/message.texi (Message Translation): Fix typos.
40317         (Helper programs for gettext): Likewise.
40319 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40321         [BZ #14898]
40322         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40323         Change to -1.
40325 2012-12-07  David S. Miller  <davem@davemloft.net>
40327         * po/libc.pot: Update.
40329 2012-12-07  Richard Henderson  <rth@redhat.com>
40331         [BZ #10114]
40332         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40333         normal/normal case to before the switch.
40334         (_FP_DIV): Likewise.
40336 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40337             Mike Frysinger  <vapier@gentoo.org>
40339         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40340         check for __NR_fadvise64_64.
40342 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40344         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40345         0, not just to plain "0" as a statement.
40346         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40347         with cw.
40349 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40351         * NEWS: Use sourceware.org in Bugzilla URL.
40353 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40356         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40358         * stdio-common/tst-put-error.c (do_test): Add newline to the
40359         padded test to ensure flush.
40361 2012-12-05  Jeff Law  <law@redhat.com>
40363         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40365 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40367         * README: Don't refer to ports add-on as distributed separately.
40368         Mention AArch64 in list of systems supported in the ports add-on.
40370         * LICENSES: Add more non-FSF copyright and license notices.
40372         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40373         ((unused)).
40375         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40377         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40378         10000 as width of padded output.
40380 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40382         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40384         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40385         variable LX with __attribute__ ((unused)).
40386         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40387         Likewise.
40388         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40389         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40390         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40391         with __attribute__ ((unused)).
40393 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40395         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40397 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40399         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40400         (CFLAGS-nldbl-acos.c): New variable.
40401         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40402         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40403         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40404         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40405         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40406         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40407         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40408         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40409         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40410         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40411         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40412         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40413         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40414         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40415         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40416         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40417         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40418         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40419         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40420         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40421         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40422         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40423         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40424         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40425         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40426         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40427         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40428         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40429         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40430         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40431         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40432         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40433         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40434         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40435         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40436         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40437         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40438         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40439         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40440         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40441         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40442         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40443         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40444         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40445         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40446         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40447         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40448         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40449         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40450         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40451         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40452         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40453         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40454         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40455         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40456         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40457         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40458         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40459         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40460         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40461         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40462         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40463         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40464         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40465         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40466         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40467         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40468         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40469         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40470         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40471         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40472         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40473         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40474         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40475         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40476         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40477         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40478         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40479         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40480         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40481         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40482         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40483         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40484         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40485         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40486         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40487         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40488         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40489         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40490         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40491         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40492         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40493         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40494         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40495         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40496         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40497         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40500         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40502         [BZ #14914]
40503         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40504         whole low double instead of just low 47 bits when splitting values
40505         into two parts.
40507 2012-12-03  Allan McRae  <allan@archlinux.org>
40509         * manual/stdio.texi (Predefined Printf Handlers): Remove
40510         @hsep and @vsep usage.
40512 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40514         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40515         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40517 2012-12-03  Jeff Law  <law@redhat.com>
40519         * time/sys/time.h (settimeofday): Do not mark TV argument
40520         as __nonnull.
40522 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40524         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40525         when currently writing and seek to current position when not.
40526         * libio/Makefile (tests): Remove bug-fclose1.
40527         * libio/bug-fclose1.c: Delete.
40529 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40531         * manual/arith.texi (feenableexcept): Fix typo.
40532         (fedisableexcept): Likewise.
40534 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40536         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40537         second, differently-typed declaration, rather than a cast.
40539 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40541         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40542         * include/rpc/svc.h: ... here.
40544 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40546         [BZ #13013]
40547         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40548         depending n and resplen2 to catch cases where answer
40549         equals answerp2.
40551 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40553         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40554         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40556 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40558         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40560 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40562         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40564 2012-11-28  Jeff Law  <law@redhat.com>
40566         [BZ #13761]
40567         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40568         dataset_temporary.  Track alloca usage into alloca_used.
40569         If dataset is large allocate and release it via malloc/free.
40571 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40573         [BZ #14197]
40574         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40576 2012-11-28  David S. Miller  <davem@davemloft.net>
40578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40580 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40582         [BZ #14803]
40583         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40584         of pi/2 rounded to nearest to 64 bits.
40585         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40586         nearest to 64 bits.
40587         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40588         bits.
40590 2012-11-28  Jeff Law <law@redhat.com>
40591             Martin Osvald <mosvald@redhat.com>
40593         [BZ #14889]
40594         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40595         * sunrpc/svc.c: Include time.h.
40596         (__svc_accept_failed): New function.
40597         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40598         any reason other than EINTR, call __svc_accept_failed.
40599         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40600         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40602 2012-11-28  Andreas Schwab  <schwab@suse.de>
40604         * scripts/abilist.awk: Also handle indirect functions in .opd
40605         section.
40607 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40609         [BZ #13881]
40610         * sysdeps/x86/fpu/powl_helper.c: New file.
40611         * sysdeps/x86/fpu/Makefile: Likewise.
40612         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40613         (p3): New object.
40614         (__ieee754_powl): Use __powl_helper for finite arguments except
40615         integer exponents below 8.
40616         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40617         (p3): New object.
40618         (__ieee754_powl): Use __powl_helper for finite arguments except
40619         integer exponents below 8.
40620         * math/libm-test.inc (pow_test): Add more tests and enable some
40621         previously disabled tests.
40622         * sysdeps/i386/fpu/libm-test-ulps: Update.
40623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40625 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40626             Carlos O'Donell  <carlos_odonell@mentor.com>
40628         * nss/makedb.c (is_prime): Assert that input is odd and greater
40629         than 4.  Note that fact in a comment too.
40630         (next_prime): Add 4 to input.
40632 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40634         [BZ #11741]
40635         * libio/Makefile (tests): Add test case tst-fwrite-error.
40636         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40637         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40638         * libio/tst-fwrite-error.c: New test case.
40640 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40642         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40643         before casting to void *.
40644         * include/libc-internal.h (__pointer_type): New macro.
40645         (__integer_if_pointer_type_sub): Likewise.
40646         (__integer_if_pointer_type): Likewise.
40647         (cast_to_integer): Likewise.
40648         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40649         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40650         before casting to atomic64_t.
40651         (atomic_exchange_acq): Likewise.
40652         (__arch_exchange_and_add_body): Likewise.
40653         (__arch_add_body): Likewise.
40654         (atomic_add_negative): Likewise.
40655         (atomic_add_zero): Likewise.
40657 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40659         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40660         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40661         (add_fdes): Likewise.
40662         (linear_search_fdes): Likewise.
40663         (binary_search_unencoded_fdes): Likewise.
40665 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40667         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40669 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40671         * configure.in: Autodetect C++ header directories.
40672         * configure: Regenerated.
40674 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40676         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40678 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40682 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40684         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40685         LDBL_MANT_DIG == 106]: Disable some tests.
40686         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40687         Likewise.
40688         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40689         Likewise.
40691         [BZ #14871]
40692         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40693         input for small inputs.  Return +/- pi/2 for large inputs.
40694         * math/libm-test.inc (atan_test): Add more tests.
40696         * sysdeps/generic/unwind-dw2-fde-glibc.c
40697         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40698         __attribute__ ((unused)).
40700         [BZ #14645]
40701         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40702         x * y if x and y are nonzero and z is zero.
40704         [BZ #14811]
40705         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40706         nonzero exponents with absolute value below 0x1p-117 to +/-
40707         0x1p-117.
40709         [BZ #14869]
40710         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40711         up arguments below 2**-450, not just those below 2**-500.
40712         * math/libm-test.inc (hypot_test): Add another test.
40714         [BZ #14868]
40715         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40716         Return a+b for ratio over 2**120, not 2**60.
40717         * math/libm-test.inc (hypot_test): Add another test.
40719         * math/libm-test.inc (clog_test): Use
40720         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40721         (clog10_test): Likewise.
40723         [BZ #6778]
40724         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40726 2012-11-22  Andreas Schwab  <schwab@suse.de>
40728         * sysdeps/i386/fpu/libm-test-ulps: Update.
40730 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40732         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40733         printf output with newline.
40735 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40737         [BZ #14865]
40738         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40739         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40740         -z nodlopen, -z initfirst and -z execstack support.
40741         * configure: Regenerated.
40743         * elf/elf.h (DF_1_NODIRECT): New macro.
40744         (DF_1_IGNMULDEF): Likewise.
40745         (DF_1_NOKSYMS): Likewise.
40746         (DF_1_NOHDR): Likewise.
40747         (DF_1_EDITED): Likewise.
40748         (DF_1_NORELOC): Likewise.
40749         (DF_1_SYMINTPOSE): Likewise.
40750         (DF_1_GLOBAUDIT): Likewise.
40751         (DF_1_SINGLETON): Likewise.
40752         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40753         DT_1_SUPPORTED_MASK bits.
40754         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40756 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40758         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40760 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40762         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40763         macro.
40765         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40766         (sendmmsg): Move declarations...
40767         * socket/sys/socket.h: ... here.
40768         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40769         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40770         include it from...
40771         * socket/recvmmsg.c: ... this new file.
40772         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40773         (sendmmsg): Rename to __sendmmsg, create weak alias and make
40774         definition of __sendmmsg hidden.
40775         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40776         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40777         Move ENOSYS stub into and include it from...
40778         * socket/sendmmsg.c: ... this new file.
40779         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40780         (sysdep_routines): Move recvmmsg and sendmmsg...
40781         * socket/Makefile (routines): ... here.
40782         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40783         (GLIBC_PRIVATE): Add __sendmmsg.
40784         * include/sys/socket.h (__sendmmsg): Add declarations.
40785         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40786         sendmmsg.
40788 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
40790         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40791         variable I1 with __attribute__ ((unused)).
40792         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40794 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40796         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40797         DUMMY variables with __attribute__ ((unused)).
40799         * bits/byteswap.h: Include <bits/types.h>.
40800         (__bswap_64): Use __uint64_t instead of unsigned long long int.
40802 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40804         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40805         string_t.  Do not manually set errno.
40806         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40807         length with __strnlen.  Make sure to both set errno and return it on
40808         failure.
40810 2012-11-19  David S. Miller  <davem@davemloft.net>
40812         With help from Joseph Myers.
40813         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40814         very large arguments properly.
40815         * math/libm-test.inc (atan_test): New tests.
40816         (atan2_test): New tests.
40817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40820 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40822         [BZ #14856]
40823         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40824         Define to 3.
40826         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40827         [POSIX] (EADDRNOTAVAIL): Likewise.
40828         [POSIX] (EAFNOSUPPORT): Likewise.
40829         [POSIX] (EALREADY): Likewise.
40830         [POSIX] (ECONNABORTED): Likewise.
40831         [POSIX] (ECONNREFUSED): Likewise.
40832         [POSIX] (ECONNRESET): Likewise.
40833         [POSIX] (EDESTADDRREQ): Likewise.
40834         [POSIX] (EDQUOT): Likewise.
40835         [POSIX] (EHOSTUNREACH): Likewise.
40836         [POSIX] (EIDRM): Likewise.
40837         [POSIX] (EISCONN): Likewise.
40838         [POSIX] (ELOOP): Likewise.
40839         [POSIX] (EMULTIHOP): Likewise.
40840         [POSIX] (ENETDOWN): Likewise.
40841         [POSIX] (ENETUNREACH): Likewise.
40842         [POSIX] (ENOBUFS): Likewise.
40843         [POSIX] (ENODATA): Likewise.
40844         [POSIX] (ENOLINK): Likewise.
40845         [POSIX] (ENOMSG): Likewise.
40846         [POSIX] (ENOPROTOOPT): Likewise.
40847         [POSIX] (ENOSR): Likewise.
40848         [POSIX] (ENOSTR): Likewise.
40849         [POSIX] (ENOTCONN): Likewise.
40850         [POSIX] (ENOTSOCK): Likewise.
40851         [POSIX] (EOPNOTSUPP): Likewise.
40852         [POSIX] (EOVERFLOW): Likewise.
40853         [POSIX] (EPROTO): Likewise.
40854         [POSIX] (EPROTONOSUPPORT): Likewise.
40855         [POSIX] (EPROTOTYPE): Likewise.
40856         [POSIX] (ESTALE): Likewise.
40857         [POSIX] (ETIME): Likewise.
40858         [POSIX] (ETXTBSY): Likewise.
40859         [POSIX] (EWOULDBLOCK): Likewise.
40860         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40861         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40862         [POSIX] (SEEK_CUR): Likewise.
40863         [POSIX] (SEEK_END): Likewise.
40864         [POSIX || UNIX98] (mode_t): Do not require.
40865         [POSIX] (off_t): Likewise.
40866         [POSIX] (pid_t): Likewise.
40867         [POSIX] (sys/stat.h): Do not allow header.
40868         [POSIX] (unistd.h): Likewise.
40869         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40870         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40871         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40872         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40873         require.
40874         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40875         sigevent): Specify elements.
40876         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40877         entry.
40878         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40879         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40881         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40882         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40883         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40884         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40885         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40886         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40887         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40888         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40889         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40890         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40891         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40892         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40893         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40894         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40895         Likewise.
40896         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40897         Likewise.
40898         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40899         Likewise.
40900         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40901         Likewise.
40902         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40903         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40904         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40905         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40906         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40907         Specify lower bound on value.
40908         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40909         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40910         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40911         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40912         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40913         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40914         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40915         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40916         value.
40917         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40918         as optional.
40919         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40920         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40921         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40922         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40923         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40924         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40925         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40926         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40927         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40928         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40929         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40930         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40931         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40932         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40933         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40934         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40935         entry.
40936         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40937         optional.
40938         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40939         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40940         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40941         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40942         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40943         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40944         Likewise.
40945         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40946         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40947         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40948         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40949         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40950         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40951         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40952         as optional.
40953         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40954         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40955         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40956         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40957         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40958         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40959         specify as optional.
40960         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40961         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40962         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40963         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40964         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40965         [XPG3] (NL_LANGMAX): Likewise.
40966         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40967         [POSIX || XPG3] (NL_NMAX): Likewise.
40968         [POSIX || XPG3] (NL_SETMAX): Likewise.
40969         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40970         [XPG3] (NZERO): Likewise.
40971         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40972         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40973         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40974         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40975         (REG_ERANGE): Expect.
40976         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40977         optional-constant.
40978         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40979         Use (void) in prototype.
40980         [POSIX] (*_t): Allow.
40981         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40982         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40983         (WRDE_BADVAL): Expect.
40985         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40986         expect.
40987         [XPG3 || XPG4] (O_RSYNC): Likewise.
40988         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40989         Likewise.
40990         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40991         [XPG3 || XPG4] (sigqueue): Likewise.
40992         [XPG3 || XPG4] (sigtimedwait): Likewise.
40993         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40994         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40995         [XPG3 || XPG4] (vsnprintf): Likewise.
40996         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40997         Likewise.
40998         [XPG3 || XPG4] (blksize_t): Likewise.
40999         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41000         Likewise.
41001         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41002         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41003         [XPG3 || XPG4] (struct itimerspec): Likewise.
41004         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41005         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41006         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41007         [XPG3 || XPG4] (clockid_t): Likewise.
41008         [XPG3 || XPG4] (timer_t): Likewise.
41009         [XPG3 || XPG4] (clock_getres): Likewise.
41010         [XPG3 || XPG4] (clock_gettime): Likewise.
41011         [XPG3 || XPG4] (clock_settime): Likewise.
41012         [XPG3 || XPG4] (nanosleep): Likewise.
41013         [XPG3 || XPG4] (timer_create): Likewise.
41014         [XPG3 || XPG4] (timer_delete): Likewise.
41015         [XPG3 || XPG4] (timer_gettime): Likewise.
41016         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41017         [XPG3 || XPG4] (timer_settime): Likewise.
41018         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41019         [XPG3 || XPG4] (getlogin_r): Likewise.
41020         [XPG3 || XPG4] (pread): Likewise.
41021         [XPG3 || XPG4] (pthread_atfork): Likewise.
41022         [XPG3 || XPG4] (pwrite): Likewise.
41024         [BZ #14835]
41025         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41026         <bits/siginfo.h>.
41028 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41030         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41031         finalizing MALLSTREAM.
41033         * sysdeps/mach/hurd/syncfs.c: New file.
41035 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41037         [BZ #14719]
41038         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41039         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41040         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41041         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41042         (_nss_dns_gethostbyname4_r): Likewise.
41043         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41044         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41046 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41048         [BZ #13763]
41049         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41051 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41053         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41054         * elf/cache.c (print_entry): Print ",AArch64" for
41055         FLAG_AARCH64_LIB64
41057         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41058         * elf/cache.c (print_entry): Print ",hard-float" for
41059         FLAG_ARM_LIBHF.
41061 2012-11-18  David S. Miller  <davem@davemloft.net>
41063         With help from Joseph Myers.
41064         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41065         cutoff to 2**-13.
41066         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41067         cutoff to 2**-25.
41068         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41069         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41070         small.
41071         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41072         * math/libm-test.inc (y0_test): New tests.
41073         (y1_test): New tests.
41074         * sysdeps/i386/fpu/libm-test-ulps: Update.
41075         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41078 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41080         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41081         64-bit targets.
41082         * configure: Regenerated.
41084 2012-11-17  David S. Miller  <davem@davemloft.net>
41086         [BZ #14811]
41087         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41088         nonzero exponents with absolute value below 0x1p-128 to +/-
41089         0x1p-128.
41091 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41093         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41095         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41097         * posix/getconf-speclist.c: New file.
41098         * posix/posix-envs.def: Likewise.
41099         * posix/confstr.c (START_ENV_GROUP): New macro.
41100         (END_ENV_GROUP): Likewise.
41101         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41102         (KNOWN_PRESENT_ENV_STRING): Likewise.
41103         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41104         (UNKNOWN_ENVIRONMENT): Likewise.
41105         (confstr): Include posix-envs.def instead of handling
41106         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41107         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41108         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41109         (END_ENV_GROUP): Likewise.
41110         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41111         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41112         (UNKNOWN_ENVIRONMENT): Likewise.
41113         (__sysconf): Include posix-envs.def instead of handling associated
41114         cases directly here.
41115         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41116         preprocessing getconf-speclist.c rather than running getconf or
41117         generating empty file.
41119 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41121         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41123 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41125         [BZ #14672]
41126         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41128 2012-11-16  David S. Miller  <davem@davemloft.net>
41130         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41131         smaller than LDBL_EPSILON/2.0L, just return xm1.
41133 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41135         * elf/tst-array1.c (init): Set constructor priority to 1000.
41136         (fini): Set destructor priority to 1000.
41137         * elf/tst-array2dep.c: Likewise.
41139 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41141         [BZ #11741]
41142         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41143         (_IO_new_file_xsputn): Also return EOF if none of the input
41144         data was written when overflow failed.
41145         * libio/iopadn.c (_IO_padn): Likewise.
41146         * libio/iowpadn.c (_IO_wpadn): Likewise.
41147         * stdio-common/tst-put-error.c: Add copyright notice.
41148         (do_test): Add case for printing padded string.
41149         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41150         _IO_padn returned error.
41151         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41152         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41153         return EOF.
41155 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41157         * libio/libioP.h: Add comment note that the references to C++
41158         bits are now obsolete.
41160 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41162         * math/libm-test.inc (check_complex): Use asprintf.
41164 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41166         * debug/pcprofiledump.c (print_version): Update copyright year.
41167         * malloc/memusagestat.c (print_version): Likewise.
41169 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41171         [BZ #14831]
41172         * elf/Makefile (tests): Add tst-audit8.
41173         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41174         ($(objpfx)tst-audit8.out): New target.
41175         (tst-audit8-ENV): New variable.
41176         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41177         audit if l_reloc_result is NULL.
41178         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41179         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41180         * elf/tst-audit8.c: New file.
41182 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41184         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41185         * misc/Makefile (CFLAGS-select.c): Define.
41186         * posix/Makefile (CFLAGS-pause.c): Define.
41188 2012-11-13  David S. Miller  <davem@davemloft.net>
41190         * crypt/Makefile: Move test targets after toplevel Rules
41191         inclusion.  Grab any necessary sysdep routines when linking.
41192         * crypt/md5.c (md5_process_block): Remove define, we will always
41193         name it __md5_process_block.
41194         (md5_finish_ctx): Update md5_process_block call.
41195         (md5_stream): Likewise.
41196         (md5_process_bytes): Likewise.
41197         (md5_process_block): Rename to __md5_process_block and move to ...
41198         * crypt/md5-block.c: ... here.
41199         * crypt/sha256.c (sha256_process_block): Move to ...
41200         * crypt/sha256-block.c: ... here.
41201         * crypt/sha512.c (sha512_process_block): Move to ...
41202         * crypt/sha512-block.c: ... here.
41203         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41204         path.
41205         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41206         * sysdeps/sparc/sparc64/multiarch/Makefile
41207         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41208         crypt subdir.
41209         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41210         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41211         multiarch changes.
41212         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41213         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41214         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41215         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41216         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41217         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41218         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41219         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41220         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41221         file.
41222         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41223         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41224         file.
41225         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41227 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41229         * timezone/tzselect.ksh: Update from tzcode git revision
41230         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41231         * timezone/zdump.c: Likewise.
41232         * timezone/zic.c: Likewise.
41233         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41234         in TZVERSION setting, not $(PKGVERSION).
41235         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41236         REPORT_BUGS_TO settings.
41238         [BZ #14838]
41239         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41240         macro.
41242 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41244         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41245         detection to immediately after _FP_ROUND().
41246         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41247         bits are 0.
41249 2012-11-11  David S. Miller  <davem@davemloft.net>
41251         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41252         inttypes.h
41253         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41254         __close rather than their public counterparts.
41256 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41258         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41259         file.
41260         [UNIX98] (sem_timedwait): Do not expect.
41261         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41262         [XPG4 || UNIX98] (sockatmark): Do not expect.
41263         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41264         (clock_getcpuclockid): Do not expect.
41265         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41266         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41267         Do not expect.
41268         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41269         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41270         [UNIX98] (vwscanf): Likewise.
41271         [UNIX98] (vswscanf): Likewise.
41273 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41275         * timezone/version.h: Remove file.
41276         * timezone/README: Do not refer to version.h.
41277         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41278         $(objpfx)version.h.
41279         ($(objpfx)zdump.o): Likewise.
41280         ($(objpfx)version.h): New target.
41282         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41283         2012i.
41284         * timezone/README: Don't mention modification to tzselect.ksh.
41285         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41286         work on unmodified tzselect.ksh.  Substitute version numbers in
41287         tzselect.ksh.
41289         * Makefile (format-me): Remove.
41290         (INSTALL): Adjust indentation.  Use commands directly instead of
41291         using $(format-me).
41293         * aclocal.m4 (ACX_PKGVERSION): New macro.
41294         (ACX_BUGURL): Likewise.
41295         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41296         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41297         (REPORT_BUGS_TO): Likewise.
41298         * configure: Regenerated.
41299         * config.h.in (PKGVERSION): New macro.
41300         (REPORT_BUGS_TO): Likewise.
41301         * config.make.in (PKGVERSION): New variable.
41302         (PKGVERSION_TEXI): Likewise.
41303         (REPORT_BUGS_TO): Likewise.
41304         (REPORT_BUGS_TEXI): Likewise.
41305         * Makefile (format-me): Use -I$(common-objpfx)manual.
41306         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41307         ($(common-objpfx)manual/%): New target.
41308         (manual/%): Remove target.
41309         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41310         (print_version): Use PKGVERSION.
41311         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41312         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41313         and REPORT_BUGS_TO.
41314         ($(objpfx)xtrace): Likewise.
41315         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41316         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41317         (print_version): Use PKGVERSION.
41318         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41319         (do_version): Use PKGVERSION.
41320         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41321         REPORT_BUGS_TO.
41322         (common-ldd-rewrite): Likewise.
41323         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41324         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41325         (print_version): Use PKGVERSION.
41326         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41327         * elf/pldd.c (argp_program_bug_address): Remove variable.
41328         (more_help): New function.
41329         (argp): Use more_help.
41330         (print_version): Use PKGVERSION.
41331         * elf/sln.c (main): Use PKGVERSION.
41332         (usage): Use REPORT_BUGS_TO.
41333         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41334         (top level): Use PKGVERSION.
41335         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41336         (print_version): Use PKGVERSION.
41337         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41338         (print_version): Use PKGVERSION.
41339         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41340         (print_version): Use PKGVERSION.
41341         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41342         (print_version): Use PKGVERSION.
41343         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41344         (print_version): Use PKGVERSION.
41345         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41346         (print_version): Use PKGVERSION.
41347         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41348         and BUGURL.
41349         ($(objpfx)memusage): Likewise.
41350         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41351         (do_version): Use PKGVERSION.
41352         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41353         (print_version): Use PKGVERSION.
41354         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41355         ($PKGVERSION): New variable.
41356         ($REPORT_BUGS_TO): Likewise.
41357         (usage): Use $REPORT_BUGS_TO.
41358         (top level): Use $PKGVERSION.
41359         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41360         ($(objpfx)pkgvers.texi): New rule.
41361         ($(objpfx)stamp-pkgvers): Likewise.
41362         * manual/install.texi: Include pkgvers.texi.
41363         (--with-pkgversion): Document new configure option.
41364         (--with-bugurl): Likewise.
41365         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41366         than necessarily for this particular distribution.  Use
41367         REPORT_BUGS_TO for where to report bugs.
41368         * INSTALL: Regenerated.
41369         * manual/libc.texinfo: Include pkgvers.texi.
41370         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41371         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41372         (print_version): Use PKGVERSION.
41373         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41374         (print_version): Use PKGVERSION.
41375         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41376         (print_version): Use PKGVERSION.
41377         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41378         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41379         macro.
41380         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41381         (print_version): Use PKGVERSION.
41382         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41383         (print_version): Use PKGVERSION.
41384         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41385         and PKGVERSION.
41387         * timezone/checktab.awk: Update from tzcode 2012i.
41388         * timezone/ialloc.c: Likewise.
41389         * timezone/private.h: Likewise.
41390         * timezone/scheck.c: Likewise.
41391         * timezone/tzfile.h: Likewise.
41392         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41393         (TZVERSION): Hardcode tzcode version number.
41394         * timezone/zdump.c: Update from tzcode 2012i.
41395         * timezone/zic.c: Likewise.
41396         * timezone/version.h: New file.
41397         * timezone/README: Describe version.h.  Update upstream location.
41399         [BZ #14824]
41400         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41401         (mktemp): Enable declaration.
41402         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41403         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41404         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41405         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41406         Likewise.
41407         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41408         Likewise.
41409         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41410         Likewise.
41411         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41412         Likewise.
41413         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41414         Likewise.
41415         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41416         Likewise.
41418         [BZ #14821]
41419         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41420         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41421         for copies of such integer values.
41422         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41423         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41425 2012-11-09  Andreas Jaeger  <aj@suse.de>
41427         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41428         definitions and declarations that are provided by
41429         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41431 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41433         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41434         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41435         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41436         definition.
41438 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41440         * elf/elf.h: Update comment before AArch64 relocations.
41442 2012-11-07  David S. Miller  <davem@davemloft.net>
41444         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41445         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41446         (__start_context): Declare.
41447         (__makecontext_ret): Delete.
41448         (__makecontext): Hook up __start_context instead of
41449         __makecontext_ret.
41450         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41451         (sysdep_routines): Add __start_context when in stdlib.
41453 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41455         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41456         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41457         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41458         hardcoded "nm".
41459         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41460         (READELF): New variable.  Use it instead of hardcoded "readelf".
41462 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41464         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41465         * sysdeps/x86/Makefile: Here.
41466         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41467         * sysdeps/x86/tst-xmmymm.sh: This.
41469 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41471         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41472         expectations.
41473         [UNIX98] (pthread_barrier_t): Do not expect.
41474         [UNIX98] (pthread_barrierattr_t): Likewise.
41475         [UNIX98] (pthread_spinlock_t): Likewise.
41476         [UNIX98] (pthread_barrier_destroy): Likewise.
41477         [UNIX98] (pthread_barrier_init): Likewise.
41478         [UNIX98] (pthread_barrier_wait): Likewise.
41479         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41480         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41481         [UNIX98] (pthread_barrierattr_init): Likewise.
41482         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41483         [UNIX98] (pthread_getcpuclockid): Likewise.
41484         [UNIX98] (pthread_mutex_timedlock): Likewise.
41485         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41486         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41487         [UNIX98] (pthread_sigmask): Likewise.
41488         [UNIX98] (pthread_spin_destroy): Likewise.
41489         [UNIX98] (pthread_spin_init): Likewise.
41490         [UNIX98] (pthread_spin_lock): Likewise.
41491         [UNIX98] (pthread_spin_trylock): Likewise.
41492         [UNIX98] (pthread_spin_unlock): Likewise.
41493         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41494         Do not expect.
41495         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41496         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41497         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41498         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41499         [XPG3 || XPG4] (pthread_key_t): Likewise.
41500         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41501         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41502         [XPG3 || XPG4] (pthread_once_t): Likewise.
41503         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41504         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41505         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41506         [XPG3 || XPG4] (pthread_t): Likewise.
41508         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41509         not expect.
41510         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41512         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41513         Change function return type to int.
41515         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41516         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41517         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41518         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41519         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41520         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41521         [!POSIX] (posix_madvise): Likewise.
41522         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41523         && !UNIX98].
41524         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41525         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41526         (mode_t): Likewise.
41527         (posix_mem_offset): Likewise.
41528         (posix_typed_mem_get_info): Likewise.
41529         (posix_typed_mem_open): Likewise.
41531         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41532         Change condition to [XOPEN2K8].
41534         * conform/conformtest.pl: Preprocess allow-header data with -x c
41535         instead of from stdin.
41536         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41537         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41538         [C99-based standards] (cerfc): Likewise.
41539         [C99-based standards] (cexp2): Likewise.
41540         [C99-based standards] (cexpm1): Likewise.
41541         [C99-based standards] (clog10): Likewise.
41542         [C99-based standards] (clog1p): Likewise.
41543         [C99-based standards] (clog2): Likewise.
41544         [C99-based standards] (clgamma): Likewise.
41545         [C99-based standards] (ctgamma): Likewise.
41546         [C99-based standards] (cerff): Likewise.
41547         [C99-based standards] (cerfcf): Likewise.
41548         [C99-based standards] (cexp2f): Likewise.
41549         [C99-based standards] (cexpm1f): Likewise.
41550         [C99-based standards] (clog10f): Likewise.
41551         [C99-based standards] (clog1pf): Likewise.
41552         [C99-based standards] (clog2f): Likewise.
41553         [C99-based standards] (clgammaf): Likewise.
41554         [C99-based standards] (ctgammaf): Likewise.
41555         [C99-based standards] (cerfl): Likewise.
41556         [C99-based standards] (cerfcl): Likewise.
41557         [C99-based standards] (cexp2l): Likewise.
41558         [C99-based standards] (cexpm1l): Likewise.
41559         [C99-based standards] (clog10l): Likewise.
41560         [C99-based standards] (clog1pl): Likewise.
41561         [C99-based standards] (clog2l): Likewise.
41562         [C99-based standards] (clgammal): Likewise.
41563         [C99-based standards] (ctgammal): Likewise.
41564         * conform/data/inttypes.h-data [C99-based standards]: Include
41565         stdint.h-data.  Remove all expectations for stdint.h contents.
41566         [C99-based standards] (PRI*): Do not allow.
41567         [C99-based standards] (SCN*): Likewise.
41568         [C99-based standards] (*_t): Likewise.
41569         [C99-based-standards] (PRId8): Expect macro.
41570         [C99-based-standards] (PRIi8): Likewise.
41571         [C99-based-standards] (PRIo8): Likewise.
41572         [C99-based-standards] (PRIu8): Likewise.
41573         [C99-based-standards] (PRIx8): Likewise.
41574         [C99-based-standards] (PRIX8): Likewise.
41575         [C99-based-standards] (SCNd8): Likewise.
41576         [C99-based-standards] (SCNi8): Likewise.
41577         [C99-based-standards] (SCNo8): Likewise.
41578         [C99-based-standards] (SCNu8): Likewise.
41579         [C99-based-standards] (SCNx8): Likewise.
41580         [C99-based-standards] (PRIdLEAST8): Likewise.
41581         [C99-based-standards] (PRIiLEAST8): Likewise.
41582         [C99-based-standards] (PRIoLEAST8): Likewise.
41583         [C99-based-standards] (PRIuLEAST8): Likewise.
41584         [C99-based-standards] (PRIxLEAST8): Likewise.
41585         [C99-based-standards] (PRIXLEAST8): Likewise.
41586         [C99-based-standards] (SCNdLEAST8): Likewise.
41587         [C99-based-standards] (SCNiLEAST8): Likewise.
41588         [C99-based-standards] (SCNoLEAST8): Likewise.
41589         [C99-based-standards] (SCNuLEAST8): Likewise.
41590         [C99-based-standards] (SCNxLEAST8): Likewise.
41591         [C99-based-standards] (PRIdFAST8): Likewise.
41592         [C99-based-standards] (PRIiFAST8): Likewise.
41593         [C99-based-standards] (PRIoFAST8): Likewise.
41594         [C99-based-standards] (PRIuFAST8): Likewise.
41595         [C99-based-standards] (PRIxFAST8): Likewise.
41596         [C99-based-standards] (PRIXFAST8): Likewise.
41597         [C99-based-standards] (SCNdFAST8): Likewise.
41598         [C99-based-standards] (SCNiFAST8): Likewise.
41599         [C99-based-standards] (SCNoFAST8): Likewise.
41600         [C99-based-standards] (SCNuFAST8): Likewise.
41601         [C99-based-standards] (SCNxFAST8): Likewise.
41602         [C99-based-standards] (PRId16): Likewise.
41603         [C99-based-standards] (PRIi16): Likewise.
41604         [C99-based-standards] (PRIo16): Likewise.
41605         [C99-based-standards] (PRIu16): Likewise.
41606         [C99-based-standards] (PRIx16): Likewise.
41607         [C99-based-standards] (PRIX16): Likewise.
41608         [C99-based-standards] (SCNd16): Likewise.
41609         [C99-based-standards] (SCNi16): Likewise.
41610         [C99-based-standards] (SCNo16): Likewise.
41611         [C99-based-standards] (SCNu16): Likewise.
41612         [C99-based-standards] (SCNx16): Likewise.
41613         [C99-based-standards] (PRIdLEAST16): Likewise.
41614         [C99-based-standards] (PRIiLEAST16): Likewise.
41615         [C99-based-standards] (PRIoLEAST16): Likewise.
41616         [C99-based-standards] (PRIuLEAST16): Likewise.
41617         [C99-based-standards] (PRIxLEAST16): Likewise.
41618         [C99-based-standards] (PRIXLEAST16): Likewise.
41619         [C99-based-standards] (SCNdLEAST16): Likewise.
41620         [C99-based-standards] (SCNiLEAST16): Likewise.
41621         [C99-based-standards] (SCNoLEAST16): Likewise.
41622         [C99-based-standards] (SCNuLEAST16): Likewise.
41623         [C99-based-standards] (SCNxLEAST16): Likewise.
41624         [C99-based-standards] (PRIdFAST16): Likewise.
41625         [C99-based-standards] (PRIiFAST16): Likewise.
41626         [C99-based-standards] (PRIoFAST16): Likewise.
41627         [C99-based-standards] (PRIuFAST16): Likewise.
41628         [C99-based-standards] (PRIxFAST16): Likewise.
41629         [C99-based-standards] (PRIXFAST16): Likewise.
41630         [C99-based-standards] (SCNdFAST16): Likewise.
41631         [C99-based-standards] (SCNiFAST16): Likewise.
41632         [C99-based-standards] (SCNoFAST16): Likewise.
41633         [C99-based-standards] (SCNuFAST16): Likewise.
41634         [C99-based-standards] (SCNxFAST16): Likewise.
41635         [C99-based-standards] (PRId32): Likewise.
41636         [C99-based-standards] (PRIi32): Likewise.
41637         [C99-based-standards] (PRIo32): Likewise.
41638         [C99-based-standards] (PRIu32): Likewise.
41639         [C99-based-standards] (PRIx32): Likewise.
41640         [C99-based-standards] (PRIX32): Likewise.
41641         [C99-based-standards] (SCNd32): Likewise.
41642         [C99-based-standards] (SCNi32): Likewise.
41643         [C99-based-standards] (SCNo32): Likewise.
41644         [C99-based-standards] (SCNu32): Likewise.
41645         [C99-based-standards] (SCNx32): Likewise.
41646         [C99-based-standards] (PRIdLEAST32): Likewise.
41647         [C99-based-standards] (PRIiLEAST32): Likewise.
41648         [C99-based-standards] (PRIoLEAST32): Likewise.
41649         [C99-based-standards] (PRIuLEAST32): Likewise.
41650         [C99-based-standards] (PRIxLEAST32): Likewise.
41651         [C99-based-standards] (PRIXLEAST32): Likewise.
41652         [C99-based-standards] (SCNdLEAST32): Likewise.
41653         [C99-based-standards] (SCNiLEAST32): Likewise.
41654         [C99-based-standards] (SCNoLEAST32): Likewise.
41655         [C99-based-standards] (SCNuLEAST32): Likewise.
41656         [C99-based-standards] (SCNxLEAST32): Likewise.
41657         [C99-based-standards] (PRIdFAST32): Likewise.
41658         [C99-based-standards] (PRIiFAST32): Likewise.
41659         [C99-based-standards] (PRIoFAST32): Likewise.
41660         [C99-based-standards] (PRIuFAST32): Likewise.
41661         [C99-based-standards] (PRIxFAST32): Likewise.
41662         [C99-based-standards] (PRIXFAST32): Likewise.
41663         [C99-based-standards] (SCNdFAST32): Likewise.
41664         [C99-based-standards] (SCNiFAST32): Likewise.
41665         [C99-based-standards] (SCNoFAST32): Likewise.
41666         [C99-based-standards] (SCNuFAST32): Likewise.
41667         [C99-based-standards] (SCNxFAST32): Likewise.
41668         [C99-based-standards] (PRId64): Likewise.
41669         [C99-based-standards] (PRIi64): Likewise.
41670         [C99-based-standards] (PRIo64): Likewise.
41671         [C99-based-standards] (PRIu64): Likewise.
41672         [C99-based-standards] (PRIx64): Likewise.
41673         [C99-based-standards] (PRIX64): Likewise.
41674         [C99-based-standards] (SCNd64): Likewise.
41675         [C99-based-standards] (SCNi64): Likewise.
41676         [C99-based-standards] (SCNo64): Likewise.
41677         [C99-based-standards] (SCNu64): Likewise.
41678         [C99-based-standards] (SCNx64): Likewise.
41679         [C99-based-standards] (PRIdLEAST64): Likewise.
41680         [C99-based-standards] (PRIiLEAST64): Likewise.
41681         [C99-based-standards] (PRIoLEAST64): Likewise.
41682         [C99-based-standards] (PRIuLEAST64): Likewise.
41683         [C99-based-standards] (PRIxLEAST64): Likewise.
41684         [C99-based-standards] (PRIXLEAST64): Likewise.
41685         [C99-based-standards] (SCNdLEAST64): Likewise.
41686         [C99-based-standards] (SCNiLEAST64): Likewise.
41687         [C99-based-standards] (SCNoLEAST64): Likewise.
41688         [C99-based-standards] (SCNuLEAST64): Likewise.
41689         [C99-based-standards] (SCNxLEAST64): Likewise.
41690         [C99-based-standards] (PRIdFAST64): Likewise.
41691         [C99-based-standards] (PRIiFAST64): Likewise.
41692         [C99-based-standards] (PRIoFAST64): Likewise.
41693         [C99-based-standards] (PRIuFAST64): Likewise.
41694         [C99-based-standards] (PRIxFAST64): Likewise.
41695         [C99-based-standards] (PRIXFAST64): Likewise.
41696         [C99-based-standards] (SCNdFAST64): Likewise.
41697         [C99-based-standards] (SCNiFAST64): Likewise.
41698         [C99-based-standards] (SCNoFAST64): Likewise.
41699         [C99-based-standards] (SCNuFAST64): Likewise.
41700         [C99-based-standards] (SCNxFAST64): Likewise.
41701         [C99-based-standards] (PRIdMAX): Likewise.
41702         [C99-based-standards] (PRIiMAX): Likewise.
41703         [C99-based-standards] (PRIoMAX): Likewise.
41704         [C99-based-standards] (PRIuMAX): Likewise.
41705         [C99-based-standards] (PRIxMAX): Likewise.
41706         [C99-based-standards] (PRIXMAX): Likewise.
41707         [C99-based-standards] (SCNdMAX): Likewise.
41708         [C99-based-standards] (SCNiMAX): Likewise.
41709         [C99-based-standards] (SCNoMAX): Likewise.
41710         [C99-based-standards] (SCNuMAX): Likewise.
41711         [C99-based-standards] (SCNxMAX): Likewise.
41712         [C99-based-standards] (PRIdPTR): Likewise.
41713         [C99-based-standards] (PRIiPTR): Likewise.
41714         [C99-based-standards] (PRIoPTR): Likewise.
41715         [C99-based-standards] (PRIuPTR): Likewise.
41716         [C99-based-standards] (PRIxPTR): Likewise.
41717         [C99-based-standards] (PRIXPTR): Likewise.
41718         [C99-based-standards] (SCNdPTR): Likewise.
41719         [C99-based-standards] (SCNiPTR): Likewise.
41720         [C99-based-standards] (SCNoPTR): Likewise.
41721         [C99-based-standards] (SCNuPTR): Likewise.
41722         [C99-based-standards] (SCNxPTR): Likewise.
41723         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41724         allow.
41725         * conform/data/stdint.h-data: Update comments to clarify
41726         requirements.
41727         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
41728         type.
41729         [C99-based standards] (INT8_MAX): Likewise.
41730         [C99-based standards] (INT16_MIN): Likewise.
41731         [C99-based standards] (INT16_MAX): Likewise.
41732         [C99-based standards] (INT32_MIN): Likewise.
41733         [C99-based standards] (INT32_MAX): Likewise.
41734         [C99-based standards] (INT64_MIN): Likewise.
41735         [C99-based standards] (INT64_MAX): Likewise.
41736         [C99-based standards] (UINT8_MAX): Likewise.
41737         [C99-based standards] (UINT16_MAX): Likewise.
41738         [C99-based standards] (UINT32_MAX): Likewise.
41739         [C99-based standards] (UINT64_MAX): Likewise.
41740         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41741         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41742         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41743         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41744         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41745         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41746         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41747         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41748         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41749         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41750         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41751         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41752         [C99-based standards] (INT_FAST8_MIN): Likewise.
41753         [C99-based standards] (INT_FAST8_MAX): Likewise.
41754         [C99-based standards] (INT_FAST16_MIN): Likewise.
41755         [C99-based standards] (INT_FAST16_MAX): Likewise.
41756         [C99-based standards] (INT_FAST32_MIN): Likewise.
41757         [C99-based standards] (INT_FAST32_MAX): Likewise.
41758         [C99-based standards] (INT_FAST64_MIN): Likewise.
41759         [C99-based standards] (INT_FAST64_MAX): Likewise.
41760         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41761         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41762         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41763         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41764         [C99-based standards] (INTPTR_MIN): Likewise.
41765         [C99-based standards] (INTPTR_MAX): Likewise.
41766         [C99-based standards] (UINTPTR_MAX): Likewise.
41767         [C99-based standards] (INTMAX_MIN): Likewise.
41768         [C99-based standards] (INTMAX_MAX): Likewise.
41769         [C99-based standards] (UINTMAX_MAX): Likewise.
41770         [C99-based standards] (PTRDIFF_MIN): Likewise.
41771         [C99-based standards] (PTRDIFF_MAX): Likewise.
41772         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41773         [C99-based standards] (SIZE_MAX): Likewise.
41774         [C99-based standards] (WCHAR_MAX): Likewise.
41775         [C99-based standards] (WINT_MAX): Likewise.
41776         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
41777         constraint on value.
41778         [C99-based standards] (WCHAR_MIN): Likewise.
41779         [C99-based standards] (WINT_MIN): Likewise.
41780         [C99-based standards] (*_t): Allow.
41781         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41782         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41783         Include math.h-data and complex.h-data.  Remove all expectations
41784         of math.h and complex.h contents.
41785         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41786         at end of line.
41787         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41788         (struct tm): Expect tag.
41789         [C99-based-standards] (wcstof): Expect function.
41790         [C99-based-standards] (wcstold): Likewise.
41791         [C99-based-standards] (wcstoll): Likewise.
41792         [C99-based-standards] (wcstoull): Likewise.
41793         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41794         macro-int-constant.  Specify type.
41795         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
41796         constraint on value.
41797         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41798         Specify type.
41799         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41800         Specify value.
41801         [ISO C standards]: Do not allow headers.
41802         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41803         wcs[abcdefghijklmnopqrstuvwxyz]*.
41804         [ISO C standards] (*_t): Do not allow.
41805         * conform/data/wctype.h-data [C99-based standards] (iswblank):
41806         Expect function.
41807         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41808         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41809         Specify type.
41810         [ISO C standards]: Do not allow headers.
41811         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41812         is[abcdefghijklmnopqrstuvwxyz]*.
41813         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41814         to[abcdefghijklmnopqrstuvwxyz]*.
41815         [ISO C standards] (*_t): Do not allow.
41816         * conform/data/stdalign.h-data: New file.
41817         * conform/data/stdbool.h-data: Likewise.
41818         * conform/data/stdnoreturn.h-data: Likewise.
41820 2012-11-07  Roland McGrath  <roland@hack.frob.com>
41822         [BZ #14815]
41823         * manual/filesys.texi (Directory Entries): Typo fix.
41824         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41826 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41828         * elf/elf.h (EM_AARCH64): New macro.
41829         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41830         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41831         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41832         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41833         (R_AARCH64_TLSDESC): Likewise.
41834         (NT_ARM_TLS): Likewise.
41835         (NT_ARM_HW_BREAK): Likewise.
41836         (NT_ARM_HW_WATCH): Likewise.
41838 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41840         [BZ #14811]
41841         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41842         (__ieee754_powl): Saturate nonzero exponents with absolute value
41843         below 0x1p-79 to +/- 0x1p-79.
41844         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41845         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41846         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41847         nonzero exponents with absolute value below 0x1p-32 to +/-
41848         0x1p-32.
41849         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41850         (__ieee754_powl): Saturate nonzero exponents with absolute value
41851         below 0x1p-79 to +/- 0x1p-79.
41852         * math/libm-test.inc (pow_test): Add more tests.
41854 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41856         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41857         _dl_s390_cap_flags with kernel. Increase string length.
41858         (_dl_s390_platforms): Add z196 and zEC12.
41860 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41862         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41863         Change XOPEN21K to XOPEN2K.
41865 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41867         * string/memmove.c: Use memcpy when possible.
41869 2012-11-06  Andreas Jaeger  <aj@suse.de>
41871         * po/eo.po: Update from translation team.
41873 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41875         [BZ #14793]
41876         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41877         exponent and small x and y exponents, scale x or y up.  Increase
41878         by 2 the exponent used in scaling up.
41879         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41880         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41881         * math/libm-test.inc (fma_test): Add more tests.
41882         (fma_test_towardzero): Likewise.
41883         (fma_test_downward): Likewise.
41884         (fma_test_upward): Likewise.
41886 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41888         [BZ #14805]
41889         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41890         fenv_t *.
41892         [BZ #14801]
41893         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41894         namespace for names of struct fields.
41895         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41896         fenv_t fields.
41897         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41898         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41900 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41902         [BZ #3665]
41903         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41905 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41907         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41908         PTR_DEMANGLE.
41910         [BZ #5246]
41911         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41912         PTR_DEMANGLE.
41914 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41916         [BZ #14797]
41917         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41918         definitely overflow as x * y not x * y + z.
41919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41920         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41921         * math/libm-test.inc (fma_test): Add more tests.
41922         (fma_test_towardzero): Likewise.
41923         (fma_test_downward): Likewise.
41924         (fma_test_upward): Likewise.
41926 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41928         [BZ #157]
41930         * include/stub-tag.h: Remove file.
41931         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41932         '#include' of it.
41933         * manual/maint.texi (Porting): Don't reference it.
41934         * Makerules ($(objpfx)stubs): Likewise.
41935         * dirent/closedir.c: Don't include <stub-tag.h>.
41936         * dirent/dirfd.c: Likewise.
41937         * dirent/fdopendir.c: Likewise.
41938         * dirent/getdents.c: Likewise.
41939         * dirent/getdents64.c: Likewise.
41940         * dirent/opendir.c: Likewise.
41941         * dirent/readdir.c: Likewise.
41942         * dirent/readdir64.c: Likewise.
41943         * dirent/readdir64_r.c: Likewise.
41944         * dirent/readdir_r.c: Likewise.
41945         * dirent/rewinddir.c: Likewise.
41946         * dirent/seekdir.c: Likewise.
41947         * dirent/telldir.c: Likewise.
41948         * gmon/profil.c: Likewise.
41949         * grp/setgroups.c: Likewise.
41950         * inet/if_index.c: Likewise.
41951         * io/access.c: Likewise.
41952         * io/chdir.c: Likewise.
41953         * io/chmod.c: Likewise.
41954         * io/chown.c: Likewise.
41955         * io/close.c: Likewise.
41956         * io/dup.c: Likewise.
41957         * io/dup2.c: Likewise.
41958         * io/dup3.c: Likewise.
41959         * io/euidaccess.c: Likewise.
41960         * io/faccessat.c: Likewise.
41961         * io/fchdir.c: Likewise.
41962         * io/fchmod.c: Likewise.
41963         * io/fchmodat.c: Likewise.
41964         * io/fchown.c: Likewise.
41965         * io/fchownat.c: Likewise.
41966         * io/fcntl.c: Likewise.
41967         * io/flock.c: Likewise.
41968         * io/fstatfs.c: Likewise.
41969         * io/fstatfs64.c: Likewise.
41970         * io/fstatvfs.c: Likewise.
41971         * io/fstatvfs64.c: Likewise.
41972         * io/futimens.c: Likewise.
41973         * io/fxstat.c: Likewise.
41974         * io/fxstat64.c: Likewise.
41975         * io/fxstatat.c: Likewise.
41976         * io/fxstatat64.c: Likewise.
41977         * io/getcwd.c: Likewise.
41978         * io/isatty.c: Likewise.
41979         * io/lchmod.c: Likewise.
41980         * io/lchown.c: Likewise.
41981         * io/link.c: Likewise.
41982         * io/linkat.c: Likewise.
41983         * io/lseek.c: Likewise.
41984         * io/lseek64.c: Likewise.
41985         * io/lxstat64.c: Likewise.
41986         * io/mkdir.c: Likewise.
41987         * io/mkdirat.c: Likewise.
41988         * io/mkfifo.c: Likewise.
41989         * io/mkfifoat.c: Likewise.
41990         * io/open.c: Likewise.
41991         * io/open64.c: Likewise.
41992         * io/openat.c: Likewise.
41993         * io/openat64.c: Likewise.
41994         * io/pipe.c: Likewise.
41995         * io/pipe2.c: Likewise.
41996         * io/poll.c: Likewise.
41997         * io/posix_fadvise.c: Likewise.
41998         * io/posix_fadvise64.c: Likewise.
41999         * io/posix_fallocate.c: Likewise.
42000         * io/posix_fallocate64.c: Likewise.
42001         * io/read.c: Likewise.
42002         * io/readlink.c: Likewise.
42003         * io/readlinkat.c: Likewise.
42004         * io/rmdir.c: Likewise.
42005         * io/sendfile.c: Likewise.
42006         * io/sendfile64.c: Likewise.
42007         * io/statfs.c: Likewise.
42008         * io/statfs64.c: Likewise.
42009         * io/statvfs.c: Likewise.
42010         * io/statvfs64.c: Likewise.
42011         * io/symlink.c: Likewise.
42012         * io/symlinkat.c: Likewise.
42013         * io/ttyname.c: Likewise.
42014         * io/ttyname_r.c: Likewise.
42015         * io/umask.c: Likewise.
42016         * io/unlink.c: Likewise.
42017         * io/unlinkat.c: Likewise.
42018         * io/utime.c: Likewise.
42019         * io/utimensat.c: Likewise.
42020         * io/write.c: Likewise.
42021         * io/xmknod.c: Likewise.
42022         * io/xmknodat.c: Likewise.
42023         * io/xstat.c: Likewise.
42024         * io/xstat64.c: Likewise.
42025         * login/getpt.c: Likewise.
42026         * login/grantpt.c: Likewise.
42027         * login/unlockpt.c: Likewise.
42028         * math/e_acoshl.c: Likewise.
42029         * math/e_acosl.c: Likewise.
42030         * math/e_asinl.c: Likewise.
42031         * math/e_atan2l.c: Likewise.
42032         * math/e_atanhl.c: Likewise.
42033         * math/e_coshl.c: Likewise.
42034         * math/e_expl.c: Likewise.
42035         * math/e_fmodl.c: Likewise.
42036         * math/e_gammal_r.c: Likewise.
42037         * math/e_hypotl.c: Likewise.
42038         * math/e_j0l.c: Likewise.
42039         * math/e_j1l.c: Likewise.
42040         * math/e_jnl.c: Likewise.
42041         * math/e_lgammal_r.c: Likewise.
42042         * math/e_log10l.c: Likewise.
42043         * math/e_log2l.c: Likewise.
42044         * math/e_logl.c: Likewise.
42045         * math/e_powl.c: Likewise.
42046         * math/e_rem_pio2l.c: Likewise.
42047         * math/e_sinhl.c: Likewise.
42048         * math/e_sqrtl.c: Likewise.
42049         * math/fclrexcpt.c: Likewise.
42050         * math/fedisblxcpt.c: Likewise.
42051         * math/feenablxcpt.c: Likewise.
42052         * math/fegetenv.c: Likewise.
42053         * math/fegetexcept.c: Likewise.
42054         * math/fegetround.c: Likewise.
42055         * math/feholdexcpt.c: Likewise.
42056         * math/fesetenv.c: Likewise.
42057         * math/fesetround.c: Likewise.
42058         * math/feupdateenv.c: Likewise.
42059         * math/fgetexcptflg.c: Likewise.
42060         * math/fraiseexcpt.c: Likewise.
42061         * math/fsetexcptflg.c: Likewise.
42062         * math/ftestexcept.c: Likewise.
42063         * math/k_cosl.c: Likewise.
42064         * math/k_rem_pio2l.c: Likewise.
42065         * math/k_sinl.c: Likewise.
42066         * math/k_tanl.c: Likewise.
42067         * math/s_asinhl.c: Likewise.
42068         * math/s_atanl.c: Likewise.
42069         * math/s_cbrtl.c: Likewise.
42070         * math/s_erfl.c: Likewise.
42071         * math/s_expm1l.c: Likewise.
42072         * math/s_log1pl.c: Likewise.
42073         * math/s_tanhl.c: Likewise.
42074         * misc/acct.c: Likewise.
42075         * misc/brk.c: Likewise.
42076         * misc/chflags.c: Likewise.
42077         * misc/chroot.c: Likewise.
42078         * misc/fchflags.c: Likewise.
42079         * misc/fgetxattr.c: Likewise.
42080         * misc/flistxattr.c: Likewise.
42081         * misc/fremovexattr.c: Likewise.
42082         * misc/fsetxattr.c: Likewise.
42083         * misc/fsync.c: Likewise.
42084         * misc/ftruncate.c: Likewise.
42085         * misc/futimes.c: Likewise.
42086         * misc/futimesat.c: Likewise.
42087         * misc/getdomain.c: Likewise.
42088         * misc/getdtsz.c: Likewise.
42089         * misc/gethostid.c: Likewise.
42090         * misc/gethostname.c: Likewise.
42091         * misc/getloadavg.c: Likewise.
42092         * misc/getpagesize.c: Likewise.
42093         * misc/getsysstats.c: Likewise.
42094         * misc/getxattr.c: Likewise.
42095         * misc/gtty.c: Likewise.
42096         * misc/ioctl.c: Likewise.
42097         * misc/lgetxattr.c: Likewise.
42098         * misc/listxattr.c: Likewise.
42099         * misc/llistxattr.c: Likewise.
42100         * misc/lremovexattr.c: Likewise.
42101         * misc/lsetxattr.c: Likewise.
42102         * misc/lutimes.c: Likewise.
42103         * misc/madvise.c: Likewise.
42104         * misc/mincore.c: Likewise.
42105         * misc/mlock.c: Likewise.
42106         * misc/mlockall.c: Likewise.
42107         * misc/mmap.c: Likewise.
42108         * misc/mprotect.c: Likewise.
42109         * misc/msync.c: Likewise.
42110         * misc/munlock.c: Likewise.
42111         * misc/munlockall.c: Likewise.
42112         * misc/munmap.c: Likewise.
42113         * misc/preadv.c: Likewise.
42114         * misc/preadv64.c: Likewise.
42115         * misc/ptrace.c: Likewise.
42116         * misc/pwritev.c: Likewise.
42117         * misc/pwritev64.c: Likewise.
42118         * misc/readv.c: Likewise.
42119         * misc/reboot.c: Likewise.
42120         * misc/remap_file_pages.c: Likewise.
42121         * misc/removexattr.c: Likewise.
42122         * misc/revoke.c: Likewise.
42123         * misc/select.c: Likewise.
42124         * misc/setdomain.c: Likewise.
42125         * misc/setegid.c: Likewise.
42126         * misc/seteuid.c: Likewise.
42127         * misc/sethostid.c: Likewise.
42128         * misc/sethostname.c: Likewise.
42129         * misc/setregid.c: Likewise.
42130         * misc/setreuid.c: Likewise.
42131         * misc/setxattr.c: Likewise.
42132         * misc/sstk.c: Likewise.
42133         * misc/stty.c: Likewise.
42134         * misc/swapoff.c: Likewise.
42135         * misc/swapon.c: Likewise.
42136         * misc/sync.c: Likewise.
42137         * misc/syncfs.c: Likewise.
42138         * misc/syscall.c: Likewise.
42139         * misc/truncate.c: Likewise.
42140         * misc/ualarm.c: Likewise.
42141         * misc/usleep.c: Likewise.
42142         * misc/ustat.c: Likewise.
42143         * misc/utimes.c: Likewise.
42144         * misc/vhangup.c: Likewise.
42145         * misc/writev.c: Likewise.
42146         * posix/_exit.c: Likewise.
42147         * posix/alarm.c: Likewise.
42148         * posix/execve.c: Likewise.
42149         * posix/fexecve.c: Likewise.
42150         * posix/fork.c: Likewise.
42151         * posix/fpathconf.c: Likewise.
42152         * posix/getaddrinfo.c: Likewise.
42153         * posix/getegid.c: Likewise.
42154         * posix/geteuid.c: Likewise.
42155         * posix/getgid.c: Likewise.
42156         * posix/getgroups.c: Likewise.
42157         * posix/getlogin.c: Likewise.
42158         * posix/getlogin_r.c: Likewise.
42159         * posix/getpgid.c: Likewise.
42160         * posix/getpid.c: Likewise.
42161         * posix/getppid.c: Likewise.
42162         * posix/getresgid.c: Likewise.
42163         * posix/getresuid.c: Likewise.
42164         * posix/getsid.c: Likewise.
42165         * posix/getuid.c: Likewise.
42166         * posix/glob64.c: Likewise.
42167         * posix/nanosleep.c: Likewise.
42168         * posix/pathconf.c: Likewise.
42169         * posix/pause.c: Likewise.
42170         * posix/posix_madvise.c: Likewise.
42171         * posix/pread.c: Likewise.
42172         * posix/pread64.c: Likewise.
42173         * posix/pwrite.c: Likewise.
42174         * posix/pwrite64.c: Likewise.
42175         * posix/sched_getaffinity.c: Likewise.
42176         * posix/sched_getp.c: Likewise.
42177         * posix/sched_gets.c: Likewise.
42178         * posix/sched_primax.c: Likewise.
42179         * posix/sched_primin.c: Likewise.
42180         * posix/sched_rr_gi.c: Likewise.
42181         * posix/sched_setaffinity.c: Likewise.
42182         * posix/sched_setp.c: Likewise.
42183         * posix/sched_sets.c: Likewise.
42184         * posix/sched_yield.c: Likewise.
42185         * posix/setgid.c: Likewise.
42186         * posix/setlogin.c: Likewise.
42187         * posix/setpgid.c: Likewise.
42188         * posix/setresgid.c: Likewise.
42189         * posix/setresuid.c: Likewise.
42190         * posix/setsid.c: Likewise.
42191         * posix/setuid.c: Likewise.
42192         * posix/sleep.c: Likewise.
42193         * posix/spawni.c: Likewise.
42194         * posix/sysconf.c: Likewise.
42195         * posix/times.c: Likewise.
42196         * posix/wait.c: Likewise.
42197         * posix/wait3.c: Likewise.
42198         * posix/wait4.c: Likewise.
42199         * posix/waitpid.c: Likewise.
42200         * resolv/gai_sigqueue.c: Likewise.
42201         * resource/getpriority.c: Likewise.
42202         * resource/getrlimit.c: Likewise.
42203         * resource/getrusage.c: Likewise.
42204         * resource/nice.c: Likewise.
42205         * resource/setpriority.c: Likewise.
42206         * resource/setrlimit.c: Likewise.
42207         * resource/ulimit.c: Likewise.
42208         * rt/aio_cancel.c: Likewise.
42209         * rt/aio_fsync.c: Likewise.
42210         * rt/aio_read.c: Likewise.
42211         * rt/aio_sigqueue.c: Likewise.
42212         * rt/aio_suspend.c: Likewise.
42213         * rt/aio_write.c: Likewise.
42214         * rt/clock_getres.c: Likewise.
42215         * rt/clock_gettime.c: Likewise.
42216         * rt/clock_nanosleep.c: Likewise.
42217         * rt/clock_settime.c: Likewise.
42218         * rt/lio_listio.c: Likewise.
42219         * rt/mq_close.c: Likewise.
42220         * rt/mq_getattr.c: Likewise.
42221         * rt/mq_notify.c: Likewise.
42222         * rt/mq_open.c: Likewise.
42223         * rt/mq_receive.c: Likewise.
42224         * rt/mq_send.c: Likewise.
42225         * rt/mq_setattr.c: Likewise.
42226         * rt/mq_timedreceive.c: Likewise.
42227         * rt/mq_timedsend.c: Likewise.
42228         * rt/mq_unlink.c: Likewise.
42229         * rt/shm_open.c: Likewise.
42230         * rt/shm_unlink.c: Likewise.
42231         * rt/timer_create.c: Likewise.
42232         * rt/timer_delete.c: Likewise.
42233         * rt/timer_getoverr.c: Likewise.
42234         * rt/timer_gettime.c: Likewise.
42235         * rt/timer_settime.c: Likewise.
42236         * setjmp/__longjmp.c: Likewise.
42237         * setjmp/setjmp.c: Likewise.
42238         * signal/kill.c: Likewise.
42239         * signal/killpg.c: Likewise.
42240         * signal/raise.c: Likewise.
42241         * signal/sigaction.c: Likewise.
42242         * signal/sigaltstack.c: Likewise.
42243         * signal/sigblock.c: Likewise.
42244         * signal/sigignore.c: Likewise.
42245         * signal/sigintr.c: Likewise.
42246         * signal/signal.c: Likewise.
42247         * signal/sigpause.c: Likewise.
42248         * signal/sigpending.c: Likewise.
42249         * signal/sigqueue.c: Likewise.
42250         * signal/sigreturn.c: Likewise.
42251         * signal/sigset.c: Likewise.
42252         * signal/sigsetmask.c: Likewise.
42253         * signal/sigstack.c: Likewise.
42254         * signal/sigsuspend.c: Likewise.
42255         * signal/sigtimedwait.c: Likewise.
42256         * signal/sigvec.c: Likewise.
42257         * signal/sigwait.c: Likewise.
42258         * signal/sigwaitinfo.c: Likewise.
42259         * signal/sysv_signal.c: Likewise.
42260         * socket/accept.c: Likewise.
42261         * socket/accept4.c: Likewise.
42262         * socket/bind.c: Likewise.
42263         * socket/connect.c: Likewise.
42264         * socket/getpeername.c: Likewise.
42265         * socket/getsockname.c: Likewise.
42266         * socket/getsockopt.c: Likewise.
42267         * socket/isfdtype.c: Likewise.
42268         * socket/listen.c: Likewise.
42269         * socket/recv.c: Likewise.
42270         * socket/recvfrom.c: Likewise.
42271         * socket/recvmsg.c: Likewise.
42272         * socket/send.c: Likewise.
42273         * socket/sendmsg.c: Likewise.
42274         * socket/sendto.c: Likewise.
42275         * socket/setsockopt.c: Likewise.
42276         * socket/shutdown.c: Likewise.
42277         * socket/sockatmark.c: Likewise.
42278         * socket/socket.c: Likewise.
42279         * socket/socketpair.c: Likewise.
42280         * stdio-common/ctermid.c: Likewise.
42281         * stdio-common/cuserid.c: Likewise.
42282         * stdio-common/remove.c: Likewise.
42283         * stdio-common/rename.c: Likewise.
42284         * stdio-common/renameat.c: Likewise.
42285         * stdio-common/tempname.c: Likewise.
42286         * stdlib/getcontext.c: Likewise.
42287         * stdlib/makecontext.c: Likewise.
42288         * stdlib/setcontext.c: Likewise.
42289         * stdlib/swapcontext.c: Likewise.
42290         * stdlib/system.c: Likewise.
42291         * streams/fattach.c: Likewise.
42292         * streams/fdetach.c: Likewise.
42293         * streams/getmsg.c: Likewise.
42294         * streams/getpmsg.c: Likewise.
42295         * streams/putmsg.c: Likewise.
42296         * streams/putpmsg.c: Likewise.
42297         * sysdeps/unix/bsd/getpt.c: Likewise.
42298         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42299         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42300         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42302         Likewise.
42303         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42304         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42305         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42306         * sysvipc/msgctl.c: Likewise.
42307         * sysvipc/msgget.c: Likewise.
42308         * sysvipc/msgrcv.c: Likewise.
42309         * sysvipc/msgsnd.c: Likewise.
42310         * sysvipc/semctl.c: Likewise.
42311         * sysvipc/semget.c: Likewise.
42312         * sysvipc/semop.c: Likewise.
42313         * sysvipc/semtimedop.c: Likewise.
42314         * sysvipc/shmat.c: Likewise.
42315         * sysvipc/shmctl.c: Likewise.
42316         * sysvipc/shmdt.c: Likewise.
42317         * sysvipc/shmget.c: Likewise.
42318         * termios/tcdrain.c: Likewise.
42319         * termios/tcflow.c: Likewise.
42320         * termios/tcflush.c: Likewise.
42321         * termios/tcgetattr.c: Likewise.
42322         * termios/tcgetpgrp.c: Likewise.
42323         * termios/tcsendbrk.c: Likewise.
42324         * termios/tcsetattr.c: Likewise.
42325         * termios/tcsetpgrp.c: Likewise.
42326         * time/adjtime.c: Likewise.
42327         * time/clock.c: Likewise.
42328         * time/getitimer.c: Likewise.
42329         * time/gettimeofday.c: Likewise.
42330         * time/setitimer.c: Likewise.
42331         * time/settimeofday.c: Likewise.
42332         * time/stime.c: Likewise.
42333         * time/time.c: Likewise.
42335 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42337         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42338         /usr/old/bin.
42340         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42341         instead of spaces.
42342         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42344 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42346         [BZ #14796]
42347         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42348         FE_TONEAREST before applying Dekker multiplication and Knuth
42349         addition.  Clear inexact exceptions and check for exact zero
42350         results afterwards.
42351         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42352         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42353         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42354         * math/libm-test.inc (fma_test): Add more tests.
42355         (fma_test_towardzero): Likewise.
42356         (fma_test_downward): Likewise.
42357         (fma_test_upward): Likewise.
42358         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42359         function.
42360         (libc_fesetround): New macro.
42361         (libc_fesetroundf): Likewise.
42362         (libc_fesetroundl): Likewise.
42363         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42364         function.
42365         (libc_fesetround_387): Likewise.
42366         (libc_fesetroundf): New macro.
42367         (libc_fesetround): Likewise.
42368         (libc_fesetroundl): Likewise.
42369         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42370         function.
42371         (libc_fesetroundf): New macro.
42372         (libc_fesetround): Likewise.
42373         (libc_fesetroundl): Likewise.
42374         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42375         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42376         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42377         libm_hidden_ver.
42378         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42379         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42380         libm_hidden_def.
42381         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42382         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42383         libm_hidden_ver.
42384         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42385         libm_hidden_def.
42387         [BZ #3439]
42388         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42389         integer constant usable in #if and use that to give value to enum
42390         constant.
42391         (FE_DIVBYZERO): Likewise.
42392         (FE_UNDERFLOW): Likewise.
42393         (FE_OVERFLOW): Likewise.
42394         (FE_INVALID): Likewise.
42395         (FE_INVALID_SNAN): Likewise.
42396         (FE_INVALID_ISI): Likewise.
42397         (FE_INVALID_IDI): Likewise.
42398         (FE_INVALID_ZDZ): Likewise.
42399         (FE_INVALID_IMZ): Likewise.
42400         (FE_INVALID_COMPARE): Likewise.
42401         (FE_INVALID_SOFTWARE): Likewise.
42402         (FE_INVALID_SQRT): Likewise.
42403         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42404         (FE_TONEAREST): Likewise.
42405         (FE_TOWARDZERO): Likewise.
42406         (FE_UPWARD): Likewise.
42407         (FE_DOWNWARD): Likewise.
42408         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42409         (FE_DIVBYZERO): Likewise.
42410         (FE_OVERFLOW): Likewise.
42411         (FE_UNDERFLOW): Likewise.
42412         (FE_INEXACT): Likewise.
42413         (FE_TONEAREST): Likewise.
42414         (FE_DOWNWARD): Likewise.
42415         (FE_UPWARD): Likewise.
42416         (FE_TOWARDZERO): Likewise.
42417         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42418         (FE_UNDERFLOW): Likewise.
42419         (FE_OVERFLOW): Likewise.
42420         (FE_DIVBYZERO): Likewise.
42421         (FE_INVALID): Likewise.
42422         (FE_TONEAREST): Likewise.
42423         (FE_TOWARDZERO): Likewise.
42424         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42425         (FE_OVERFLOW): Likewise.
42426         (FE_UNDERFLOW): Likewise.
42427         (FE_DIVBYZERO): Likewise.
42428         (FE_INEXACT): Likewise.
42429         (FE_TONEAREST): Likewise.
42430         (FE_TOWARDZERO): Likewise.
42431         (FE_UPWARD): Likewise.
42432         (FE_DOWNWARD): Likewise.
42433         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42434         (FE_DIVBYZERO): Likewise.
42435         (FE_OVERFLOW): Likewise.
42436         (FE_UNDERFLOW): Likewise.
42437         (FE_INEXACT): Likewise.
42438         (FE_TONEAREST): Likewise.
42439         (FE_DOWNWARD): Likewise.
42440         (FE_UPWARD): Likewise.
42441         (FE_TOWARDZERO): Likewise.
42443 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42445         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42447 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42449         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42450         commands.  Quote $PWD.
42451         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42452         -x" by "export".
42453         (remove_newlines): Remove.
42455 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42457         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42458         * stdlib/stdlib.h (atof): Moved to ...
42459         * include/bits/stdlib-float.h: Here.  New file.
42460         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42461         * stdlib/bits/stdlib-float.h: New file.
42462         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42463         -mno-sse -mno-mmx.
42464         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42465         <xmmintrin.h>.
42467 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42469         * conform/conformtest.pl (@headers): Add fenv.h.
42470         * conform/data/fenv.h-data: New file.
42471         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42472         include of <math/fenv.h>.
42474         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42475         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42476         && !UNIX98].  Enables tests for XOPEN2K8.
42477         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42478         POSIX2008]: Likewise.
42480         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42481         (struct rusage): Do not expect type or its members.
42483         [BZ #3439]
42484         * math/math.h (FP_NAN): Define macro to integer constant usable in
42485         #if and use that to give value to enum constant.
42486         (FP_INFINITE): Likewise.
42487         (FP_ZERO): Likewise.
42488         (FP_SUBNORMAL): Likewise.
42489         (FP_NORMAL): Likewise.
42491 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42493         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42494         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42495         arguments.
42497 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42499         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42500         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42501         autoconf-time if not.
42502         * configure.in: Remove AC_PREREQ.
42504 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42506         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42507         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42508         of the internal implementation.
42510 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42512         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42513         except include of <misc/sys/syslog.h>.
42515 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42518         function returns with a NULL context exit with zero.
42520 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42522         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42524 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42526         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42527         (run_program_cmd): This.
42528         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42529         (tst_langinfo): New variable.  Use it.
42531 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42533         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42534         floating point opcodes.
42536 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42538         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42539         variable.
42541         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42543         * sysdeps/mach/hurd/powerpc: Remove directory.
42544         * sysdeps/mach/powerpc: Likewise.
42546 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42548         * scripts/check-local-headers.sh: Ignore c++ headers.
42550 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42552         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42553         __libc_cleanup_region_start argument.
42555 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42557         [BZ #14784]
42558         [BZ #14785]
42559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42560         x * y using scaling, not as x * y + z.
42561         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42562         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42563         * math/libm-test.inc (fma_test): Add more tests.
42564         (fma_test_towardzero): Likewise.
42565         (fma_test_downward): Likewise.
42566         (fma_test_upward): Likewise.
42568 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42570         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42572 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42574         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42575         New variable.
42577 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42579         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42581 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42584         Fix sort order.
42585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42586         Likewise.
42588 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42591         Fix the order of the list for glibc 2.17.
42592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42593         Likewise.
42595 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42599 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42601         [BZ #14610]
42602         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42603         for low part of x being zero before using __atanl (y).
42604         * math/libm-test.inc (atan2_test): Add another test.
42606         * manual/install.texi (Configuring and compiling): Document
42607         general use of test-wrapper and test-wrapper-env.
42608         * INSTALL: Regenerated.
42610         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42611         (__fma): Do not extract and scale down low bits on after-rounding
42612         systems when result rounded to normal precision would have normal
42613         exponent.
42614         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42615         (__fmal): Do not extract and scale down low bits on after-rounding
42616         systems when result rounded to normal precision would have normal
42617         exponent.
42618         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42619         (__fmal): Do not extract and scale down low bits on after-rounding
42620         systems when result rounded to normal precision would have normal
42621         exponent.
42622         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42623         macro.
42624         (fma_test): Add more tests.
42625         (fma_test_towardzero): Likewise.
42626         (fma_test_downward): Likewise.
42627         (fma_test_upward): Likewise.
42629 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42631         * sysdeps/i386/tininess.h: Renamed to ...
42632         * sysdeps/x86/tininess.h: This.
42633         * sysdeps/x86_64/tininess.h: Removed.
42635 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42637         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42638         input.  Use $(build-program-cmd).
42639         ($(objpfx)tst-array1-static.out): Likewise.
42640         ($(objpfx)tst-array2.out): Likewise.
42641         ($(objpfx)tst-array3.out): Likewise.
42642         ($(objpfx)tst-array4.out): Likewise.
42643         ($(objpfx)tst-array5.out): Likewise.
42644         ($(objpfx)tst-array5-static.out): Likewise.
42646 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42648         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42649         if defined.
42651         * nss/nsswitch.h (nss_interface_function): Provide new
42652         macro for use with NSS functions.
42653         * grp/initgroups.c: Use new macro.
42654         * nss/getXXbyYY.c: Likewise.
42655         * nss/getXXbyYY_r.c: Likewise.
42656         * nss/getXXent.c: Likewise.
42657         * nss/getXXent_r.c: Likewise.
42658         * sysdeps/posix/getaddrinfo.c: Likewise.
42660 2012-10-30  Andreas Jaeger  <aj@suse.de>
42662         * po/ru.po: Update Russion translation from translation project.
42664 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42666         [BZ #14152]
42667         [BZ #14783]
42668         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42669         result and shift together with sticky bit instead of replicating
42670         round-to-nearest rounding.
42671         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42672         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42673         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42674         missing underflow exceptions.
42675         (fma_test_towardzero): Add more tests.
42676         (fma_test_downward): Likewise.
42677         (fma_test_upward): Likewise.
42679         [BZ #14047]
42680         * sysdeps/generic/tininess.h: New file.
42681         * sysdeps/i386/tininess.h: Likewise.
42682         * sysdeps/sh/tininess.h: Likewise.
42683         * sysdeps/x86_64/tininess.h: Likewise.
42684         * stdlib/tst-strtod-underflow.c: Likewise.
42685         * stdlib/tst-tininess.c: Likewise.
42686         * stdlib/strtod_l.c: Include <tininess.h>.
42687         (round_and_return): Do not set errno for exact underflow cases.
42688         Force an underflow exception when setting errno for underflow.
42689         Determine underflow based on rounding to normal precision if
42690         TININESS_AFTER_ROUNDING.
42691         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42692         ERANGE for exact underflow cases.
42693         * stdlib/Makefile (tests): Add tst-tininess and
42694         tst-strtod-underflow.
42695         ($(objpfx)tst-tininess): Use $(link-libm).
42696         ($(objpfx)tst-strtod-underflow): Likewise.
42698 2012-10-30  Andreas Jaeger  <aj@suse.de>
42700         [BZ#14767]
42701         * elf/Makefile (tests): Remove conditional for have-initfini-array
42702         since this is now always required and the variable does not exist
42703         anymore.
42704         (tests-static): Likewise.
42705         (modules-names): Likewise.
42707         * po/eo.po: Add Esperanto translation from translation project.
42709         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42710         merged with constructor/destructor.
42711         (init_array): Likewise.
42712         * elf/tst-array2dep.c (fini_array): Likewise.
42713         (init_array): Likewise.
42715 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42717         * manual/message.texi: Delete @cartouche tags.
42719 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42721         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42722         EOPNOTSUPP.
42723         * sysdeps/mach/hurd/fsync.c: Likewise.
42725         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42726         [_POSIX_REALTIME_SIGNALS]: Change condition to
42727         [_POSIX_REALTIME_SIGNALS > 0].
42729 2012-10-27  Andreas Jaeger  <aj@suse.de>
42731         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42732         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42733         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42734         [__WORDSIZE != 64]: Likewise.
42736 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42738         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42739         *  iconvdata/tst-tables.sh: Likewise.
42741 2012-10-25  David S. Miller  <davem@davemloft.net>
42743         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42744         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42745         of strtoull.
42747         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42748         ifunc-impl-list.c
42749         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42750         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42751         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42752         file.
42754 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42756         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42757         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42758         __getdirentries.
42760 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42761             Jim Blandy  <jimb@codesourcery.com>
42763         * scripts/cross-test-ssh.sh: New file.
42764         * manual/install.texi (Configuring and compiling): Document use of
42765         cross-test-ssh.sh.
42766         * INSTALL: Regenerated.
42768 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
42770         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42771         EOPNOTSUPP.
42773 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42775         * Makeconfig (run-program-prefix): Fix comment.
42777 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42778             Jim Blandy  <jimb@codesourcery.com>
42780         * Makeconfig (test-wrapper): New variable,
42781         (test-wrapper-env): Likewise.
42782         [$(cross-compiling) = yes && $(test-wrapper) != ""]
42783         (run-built-tests): Define to yes.
42784         (run-program-prefix): Use $(test-wrapper).
42785         (built-program-cmd): Likewise.
42786         * Rules (make-test-out): Use $(test-wrapper-env) and
42787         $(host-built-program-cmd).
42788         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42789         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42790         tst-pathopt.sh.
42791         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42792         $(test-wrapper-env) to tst-rtld-load-self.sh.
42793         ($(objpfx)order2.out): Use $(test-wrapper).
42794         ($(objpfx)tst-initorder.out): Likewise.
42795         ($(objpfx)tst-initorder2.out): Likewise.
42796         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42797         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42798         (test_wrapper_env): New variable.  Use it to run ld.so.
42799         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42800         Use it to run ld.so.
42801         (test_wrapper_env): Likewise.
42802         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42803         $(test-wrapper) to run-iconv-test.sh.
42804         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42805         (ICONV): Use $test_wrapper.
42806         * posix/Makefile ($(objpfx)globtest.out): Pass
42807         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42808         globtest.sh, not $(run-program-prefix).
42809         * posix/globtest.sh (run_via_rtld_prefix): New variable.
42810         (test_wrapper): Likewise.
42811         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
42812         set together with run_via_rtld_prefix.
42813         (run_program_prefix): Define in terms of test_wrapper and
42814         run_via_rtld_prefix.
42816 2012-10-24  Roland McGrath  <roland@hack.frob.com>
42818         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42819         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42820         Targets removed.
42822         [BZ #14743]
42823         * include/time.h: Remove librt_hidden_proto (clock_gettime).
42824         Declare __clock_getres, __clock_gettime, __clock_settime,
42825         __clock_nanosleep, and __clock_getcpuclockid.
42826         * rt/clock_gettime.c: Define __clock_gettime as an alias.
42827         Remove librt_hidden_def (clock_gettime).
42828         * sysdeps/unix/clock_gettime.c: Likewise.
42829         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42830         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42831         * rt/clock_getres.c: Define __clock_getres as an alias.
42832         * sysdeps/posix/clock_getres.c: Likewise.
42833         * rt/clock_settime.c: Define __clock_settime as an alias.
42834         * sysdeps/unix/clock_settime.c: Likewise.
42835         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42836         * sysdeps/unix/clock_nanosleep.c: Likewise.
42837         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42838         * rt/clock-compat.c: New file.
42839         * rt/Makefile (librt-routines): Add clock-compat and move
42840         $(clock-routines) to ...
42841         (routines): ... here, new variable.
42842         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42843         Don't add get_clockfreq here.
42844         * rt/Versions (libc: GLIBC_2.17): New version set.
42845         Add clock_* symbols here.
42846         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42847         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42848         (GLIBC_2.17): Add clock_* symbols.
42849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42851         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42853         Likewise.
42854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42855         Likewise.
42856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42860         * NEWS: Mention the move.
42862         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42863         Use __open, __read, __close rather than their public counterparts.
42864         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42865         (__get_clockfreq_via_cpuinfo): Likewise.
42866         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42867         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42869         * config.h.in (HAVE_IFUNC): New #undef.
42870         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42871         was successful.
42872         * configure: Regenerated.
42874 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42876         * configure.in: Move READELF check to start of file.
42877         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42878         libc_cv_asm_gnu_indirect_function in the process.
42879         * configure: Regenerated.
42881 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42883         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42884         send the output to /dev/null.
42885         (libc_cv_cc_with_libunwind): Likewise.
42886         (libc_cv_as_noexecstack): Likewise.
42887         * configure: Regenerate.
42889 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42891         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42893         * posix/globtest.sh (TMPDIR): Do not set.
42894         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42895         (testout): Likewise.
42897 2012-10-24  Andreas Jaeger  <aj@suse.de>
42899         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42900         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42901         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42902         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42903         posix_fadvise64, posix_fallocate64.
42905         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42906         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42907         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42908         Likewise.
42909         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42910         Likewise.
42911         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42913         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42914         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42915         <bits/fcntl-linux.h>.
42916         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42918         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42919         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42920         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42921         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42922         [__WORDSIZE != 64]: Likewise.
42924 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42926         * Makeconfig (run-built-tests): New variable.
42927         * Rules [$(cross-compiling) = yes]: Change condition to
42928         [$(run-built-tests) = no].
42929         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42930         to [$(run-built-tests) = yes].
42931         * elf/Makefile [$(cross-compiling) = no]: Likewise
42932         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42933         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42934         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42935         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42936         * io/Makefile [$(cross-compiling) = no]: Likewise.
42937         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42938         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42939         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42940         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42941         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42942         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42943         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42944         * string/Makefile [$(cross-compiling) = no]: Likewise.
42946         * posix/Makefile ($(objpfx)globtest.out): Pass
42947         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42948         $(rtld-installed-name).
42949         * posix/globtest.sh (elf_objpfx): Remove variable.
42950         (rtld_installed_name): Likewise.
42951         (library_path): Likewise.
42952         (run_program_prefix): New variable.  Use for running globtest
42953         binary.
42955 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42956             Joseph Myers  <joseph@codesourcery.com>
42958         * Makeconfig (host-built-program-cmd): New variable.
42959         * elf/Makefile (tst-stackguard1-ARGS): Use
42960         $(host-built-program-cmd).
42961         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42962         (tst-spawn-ARGS): Likewise.
42963         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42965 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42966             Jim Blandy  <jimb@codesourcery.com>
42968         * Makeconfig (run-via-rtld-prefix): New variable.
42969         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42970         (built-program-cmd): Likewise.
42972 2012-10-22  Andreas Jaeger  <aj@suse.de>
42974         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42975         __O_RSYNC if it exists, otherwise to O_SYNC.
42977 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42978             Joseph Myers  <joseph@codesourcery.com>
42980         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42981         /dev/null.
42982         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42983         from /dev/null
42984         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42985         /dev/null.
42987 2012-10-22  Andreas Jaeger  <aj@suse.de>
42989         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42990         Define always.
42991         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42994         bits/fcntl-linux.h.
42996         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42997         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42999         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43000         to __O_LARGEFILE.
43001         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43002         to __O_LARGEFILE.
43004 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43005             Joseph Myers  <joseph@codesourcery.com>
43007         * config.make.in (NM): New variable.
43009 2012-10-21  Andreas Jaeger  <aj@suse.de>
43011         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43012         definitions and declarations that are provided by
43013         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43015 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43017         [BZ #14683]
43018         * elf/Makefile (tests-static): Add tst-leaks1-static.
43019         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43020         ($(objpfx)tst-leaks1-static): New rule.
43021         ($(objpfx)tst-leaks1-static-mem): Likewise.
43022         (tst-leaks1-static-ENV): New macro.
43023         * elf/dl-open.c (dl_open_worker): Check the main application
43024         only if SHARED is defined.
43025         * elf/tst-leaks1-static.c: New file.
43027 2012-10-20  Andreas Jaeger  <aj@suse.de>
43029         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43030         generic values for Linux.
43031         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43032         and declarations that are provided by <bits/fcntl-linux.h> and
43033         include <bits/fcntl-linux.h>.
43034         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43035         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43037 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43039         * io/fcntl.h: Move include of <bits/types.h> to the top and
43040         include it unconditionally.
43042 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43044         * wcsmbs/Makefile (tests-ifunc): New variable.
43045         (tests): Add $(tests-ifunc).
43046         * wcsmbs/test-wcschr-ifunc.c: New file.
43047         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43048         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43049         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43050         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43051         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43053         * string/Makefile (tests-ifunc): New variable.
43054         (tests): Add $(tests-ifunc).
43055         * string/test-memccpy.c (TEST_NAME): New macro.
43056         * string/test-memchr.c (TEST_NAME): Likewise.
43057         * string/test-memcmp.c (TEST_NAME): Likewise.
43058         * string/test-memcpy.c (TEST_NAME): Likewise.
43059         * string/test-memmem.c (TEST_NAME): Likewise.
43060         * string/test-memmove.c (TEST_NAME): Likewise.
43061         * string/test-memset.c (TEST_NAME): Likewise.
43062         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43063         * string/test-stpcpy.c (TEST_NAME): Likewise.
43064         * string/test-stpncpy.c (TEST_NAME): Likewise.
43065         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43066         * string/test-strcasestr.c (TEST_NAME): Likewise.
43067         * string/test-strcat.c (TEST_NAME): Likewise.
43068         * string/test-strchr.c (TEST_NAME): Likewise.
43069         * string/test-strcmp.c(TEST_NAME): Likewise.
43070         * string/test-strcpy.c (TEST_NAME): Likewise.
43071         * string/test-strcspn.c (TEST_NAME): Likewise.
43072         * string/test-strlen.c (TEST_NAME): Likewise.
43073         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43074         * string/test-strncmp.c (TEST_NAME): Likewise.
43075         * string/test-strncpy.c (TEST_NAME): Likewise.
43076         * string/test-strnlen.c (TEST_NAME): Likewise.
43077         * string/test-strpbrk.c (TEST_NAME): Likewise.
43078         * string/test-strrchr.c (TEST_NAME): Likewise.
43079         * string/test-strspn.c (TEST_NAME): Likewise.
43080         * string/test-strstr.c (TEST_NAME): Likewise.
43081         * string/test-bcopy-ifunc.c: New file.
43082         * string/test-bzero-ifunc.c: Likewise.
43083         * string/test-memccpy-ifunc.c: Likewise.
43084         * string/test-memchr-ifunc.c: Likewise.
43085         * string/test-memcmp-ifunc.c: Likewise.
43086         * string/test-memcpy-ifunc.c: Likewise.
43087         * string/test-memmem-ifunc.c: Likewise.
43088         * string/test-memmove-ifunc.c: Likewise.
43089         * string/test-mempcpy-ifunc.c: Likewise.
43090         * string/test-memset-ifunc.c: Likewise.
43091         * string/test-rawmemchr-ifunc.c: Likewise.
43092         * string/test-stpcpy-ifunc.c: Likewise.
43093         * string/test-stpncpy-ifunc.c: Likewise.
43094         * string/test-strcasecmp-ifunc.c: Likewise.
43095         * string/test-strcasestr-ifunc.c: Likewise.
43096         * string/test-strcat-ifunc.c: Likewise.
43097         * string/test-strchr-ifunc.c: Likewise.
43098         * string/test-strchrnul-ifunc.c: Likewise.
43099         * string/test-strcmp-ifunc.c: Likewise.
43100         * string/test-strcpy-ifunc.c: Likewise.
43101         * string/test-strcspn-ifunc.c: Likewise.
43102         * string/test-strlen-ifunc.c: Likewise.
43103         * string/test-strncasecmp-ifunc.c: Likewise.
43104         * string/test-strncat-ifunc.c: Likewise.
43105         * string/test-strncmp-ifunc.c: Likewise.
43106         * string/test-strncpy-ifunc.c: Likewise.
43107         * string/test-strnlen-ifunc.c: Likewise.
43108         * string/test-strpbrk-ifunc.c: Likewise.
43109         * string/test-strrchr-ifunc.c: Likewise.
43110         * string/test-strspn-ifunc.c: Likewise.
43111         * string/test-strstr-ifunc.c: Likewise.
43113         * debug/Makefile (tests-ifunc): New variable.
43114         (tests): Add $(tests-ifunc).
43115         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43116         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43117         * debug/test-stpcpy_chk-ifunc.c: New file.
43118         * debug/test-strcpy_chk-ifunc.c: Likewise.
43120 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43122         [BZ #13601]
43123         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43124         header is not read in.
43126 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43128         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43129         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43130         directly.  Pass built executable to script as
43131         $(built-program-cmd).
43132         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43133         $testprogram without using LD_LIBRARY_PATH and $ldso.
43135         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43136         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43137         $(rtld-installed-name).
43138         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43139         (rtld_installed_name): Likewise.
43140         (library_path): Likewise.
43141         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43142         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43143         $(run-program-prefix) to tst-tables.sh.
43144         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43145         it to run tst-table-from and tst-table-to.
43146         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43147         Pass it to tst-table.sh.
43148         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43149         $(run-program-prefix) to tst-gettext.sh.
43150         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43151         tst-translit.sh.
43152         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43153         tst-gettext2.sh.
43154         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43155         to run tst-gettext.
43156         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43157         to run tst-gettext2.
43158         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43159         to run tst-translit.
43160         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43161         $(run-program-prefix) to tst-mtrace.sh.
43162         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43163         to run tst-mtrace.
43164         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43165         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43166         $(rtld-installed-name).
43167         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43168         (rtld_installed_name): Likewise.
43169         (run_program_prefix): New variable.  Use it to run wordexp-test.
43171         * Makeconfig (ARCH): Remove all definitions.
43172         (machine): Likewise.
43173         [ARCH]: Remove conditional code.
43174         [!objdir]: Give error.
43175         [!objdir] (objpfx): Remove.
43176         [!objdir] (common-objpfx): Likewise.
43177         [!objdir] (common-objdir): Likewise.
43178         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43179         AC_CONFIG_FILES call.
43180         * configure: Regenerated.
43182         [BZ #13888]
43183         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43184         or TMPDIR.
43185         (testout): Likewise.
43187         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43188         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43189         $(rtld-installed-name).
43190         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43191         (rtld_installed_name): Likwise.
43192         (runit): Remove function.
43193         (run_getconf): New variable,  Use it for running getconf binary.
43195 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43197         [BZ #14716]
43198         * string/test-memmem.c (check_result): New function.
43199         (do_one_test): Use it.
43200         (check1): New function.
43201         (test_main): Use it.
43203 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43205         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43207 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43209         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43210         (_G_LSEEK64): Likewise.
43211         (_G_MMAP64): Likewise.
43212         (_G_FSTAT64): Likewise.
43213         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43214         (_G_LSEEK64): Likewise.
43215         (_G_MMAP64): Likewise.
43216         (_G_FSTAT64): Likewise.
43217         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43218         unconditional.  Call __mmap64 directly.
43219         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43220         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43221         __lseek64 directly.
43222         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43223         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43224         __mmap64 directly.
43225         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43226         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43227         __lseek64 directly.
43228         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43229         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43230         __lseek64 directly.
43231         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43232         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43233         __lseek64 directly.
43234         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43235         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43236         __fxstat64 directly.
43237         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43238         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43239         unconditional.
43240         (freopen64) [!_G_OPEN64]: Remove conditional code.
43241         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43242         unconditional.
43243         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43244         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43245         unconditional.
43246         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43247         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43248         unconditional.
43249         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43250         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43251         unconditional.
43252         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43253         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43254         unconditional.
43255         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43256         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43257         unconditional.
43258         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43259         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43260         unconditional.
43261         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43263 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43265         [BZ #12140]
43266         * manual/memory.texi (Malloc Tunable Parameters): Add note
43267         about free list pointers overwriting some perturb bytes.
43268         Wording suggested by Roland McGrath.
43270 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43272         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43273         (lgamma_test): Likewise.
43274         (tgamma_test): Likewise.
43276 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43278         [BZ #14700]
43279         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43280         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43282 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43284         * NEWS: Mention BZ #14716.
43285         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43286         when removing AVAILABLE1_USES_J macro.
43288 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43290         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43291         (__bswap_64): __uint64_t for unsigned 64-bit int.
43293 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43295         * include/string.h (memmem): Declare libc hidden alias.
43296         * string/memmem.c (memmem): Define libc hidden alias.
43297         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43298         __read, __close instead of open, read, close.
43300 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43302         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43303         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43304         global and hidden.
43305         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43306         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43307         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43308         Likewise.
43309         (__rawmemchr_sse2): Likewise.
43310         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43311         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43312         (__strchr_sse2): Likewise.
43313         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43314         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43315         (__strcasecmp_sse2): Likewise.
43316         (__strncasecmp_sse2): Likewise.
43317         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43318         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43319         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43320         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43321         (__strrchr_sse2): Likewise.
43322         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43323         ifunc-impl-list.c.
43324         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43325         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43326         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43327         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43328         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43329         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43330         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43331         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43332         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43333         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43334         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43335         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43336         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43337         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43338         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43339         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43340         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43341         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43342         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43343         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43344         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43345         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43346         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43347         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43348         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43349         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43350         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43351         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43352         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43353         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43355         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43356         global and hidden.
43357         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43358         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43359         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43360         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43361         Likewise.
43362         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43363         Likewise.
43364         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43365         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43366         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43367         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43368         ifunc-impl-list.c.
43369         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43370         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43371         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43372         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43373         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43374         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43375         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43376         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43377         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43378         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43379         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43380         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43381         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43382         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43383         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43384         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43385         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43386         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43387         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43388         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43389         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43390         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43391         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43392         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43393         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43394         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43395         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43396         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43397         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43398         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43399         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43400         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43401         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43402         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43403         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43404         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43405         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43406         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43407         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43408         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43409         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43411         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43412         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43413         * include/ifunc-impl-list.h: New file.
43414         * misc/ifunc-impl-list.c: Likewise.
43415         * misc/Makefile (routines): Add ifunc-impl-list.
43416         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43417         * string/test-string.h: Include <ifunc-impl-list.h>.
43418         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43419         TEST_NAME]: New variables.
43420         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43421         are defined.
43422         (test_init): Call __libc_ifunc_impl_list to initialize
43423         func_list if TEST_IFUNC and TEST_NAME are defined.
43425         * string/Makefile (strop-tests): Add bcopy and bzero.
43426         * string/test-bcopy.c: New file.
43427         * string/test-bzero.c: Likewise.
43428         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43429         defined.
43430         * string/test-memset.c: Support bzero test if TEST_BZERO is
43431         defined.
43432         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43433         __libc_memmove.
43434         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43435         __libc_memset.
43436         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43437         of memset.
43439 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43441         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43442         * configure: Regenerated.
43444         * Makeconfig (+link-static-before-libc): Don't include
43445         $(link-static-libc).
43447         * libio/libio.h (_IO_pos_t): Remove.
43449 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43451         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43452         McGrath.
43454 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43456         * crypt/crypt-entry.c: Include fips-private.h.
43457         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43458         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43459         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43460         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43462 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43464         * crypt/crypt-private.h: Include stdbool.h.
43465         (_ufc_setup_salt_r): Return bool.
43466         * crypt/crypt-entry.c: Include errno.h.
43467         (__crypt_r): Return NULL with EINVAL for bad salt.
43468         * crypt/crypt_util.c (bad_for_salt): New.
43469         (_ufc_setup_salt_r): Check that salt is long enough and within
43470         the specified alphabet.
43471         * crypt/badsalttest.c: New file.
43472         * crypt/Makefile (tests): Add it.
43473         ($(objpfx)badsalttest): New.
43475 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43477         * NEWS: Add entry for BZ #14602.
43479 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43481         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43482         type-generic.
43483         * math/libm-test.inc: Update comment listing what functions and
43484         macros are tested.
43485         (isgreater_test): New function.
43486         (isgreaterequal_test): Likewise.
43487         (isless_test): Likewise.
43488         (islessequal_test): Likewise.
43489         (islessgreater_test): Likewise.
43490         (isunordered_test): Likewise.
43491         (main): Call the new functions.
43493 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43495         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43496         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43497         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43498         * sysdeps/i386/configure: Regenerated.
43499         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43500         * sysdeps/mach/configure: Regenerated.
43501         * sysdeps/mach/hurd/configure: Regenerated.
43502         * sysdeps/powerpc/configure: Regenerated.
43503         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43504         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43505         * sysdeps/s390/s390-32/configure: Regenerated.
43506         * sysdeps/s390/s390-64/configure: Regenerated.
43507         * sysdeps/sh/configure: Regenerated.
43508         * sysdeps/sparc/configure: Regenerated.
43509         * sysdeps/unix/sysv/linux/configure: Regenerated.
43510         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43511         * sysdeps/x86_64/configure: Regenerated.
43513         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43514         defined.  Don't check if MAP is NULL.
43516 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43518         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43519         (_G_stat64): Likewise.
43520         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43521         (_G_stat64): Likewise.
43522         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43523         instead of struct _G_stat64.
43524         * libio/fileops.c (mmap_remap_check): Likewise.
43525         (decide_maybe_mmap): Likewise.
43526         (_IO_new_file_seekoff): Likewise.
43527         (_IO_file_stat): Likewise.
43528         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43529         _G_off64_t.
43530         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43531         instead of struct _G_stat64.
43532         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43534 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43536         [BZ #14602]
43537         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43538         Replace with ...
43539         (CHECK_EOL): New macro.
43540         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43541         CHECK_EOL.
43542         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43543         Replace with CHECK_EOL.
43544         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43545         Replace with CHECK_EOL.
43547 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43549         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43550         type-generic.
43551         * math/libm-test.inc: Update comment listing what functions and
43552         macros are tested.
43553         (finite_test): New function.
43554         (isinf_test): Likewise.
43555         (isnan_test): Likewise.
43556         (fpclassify_test): Test subnormal input.
43557         (isfinite_test): Likewise.
43558         (isnormal_test): Likewise.
43559         (main): Call the new functions.
43561 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43563         [BZ #14660]
43564         * Makerules (%.dynsym): Force C locale when running
43565         $(OBJDUMP) --dynamic-syms.
43567 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43569         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43570         <stdint.h>.
43572 2012-10-06  David S. Miller  <davem@davemloft.net>
43574         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43575         upper 32-bits of the length value in %o2 since we use branch-on-register
43576         tests which consider the entire 64-bit register.
43578 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43580         * string/test-strstr.c (check2): Add a test for page boundary.
43582 2012-10-05  David S. Miller  <davem@davemloft.net>
43584         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43585         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43586         file.
43587         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43588         sysdep_routines.
43589         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43590         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43591         and bzero when HWCAP_SPARC_CRYPTO is present.
43593 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43595         [BZ #14602]
43596         * string/test-strstr.c (check2): New function.
43597         (test_main): Call check2.
43599         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43600         and bug-strchr1.
43601         * string/bug-strcasestr1.c (do_test): Moved to ...
43602         * string/test-strcasestr.c (check1): Here.  New function.
43603         (do_one_test): Break out result checking code into ...
43604         (check_result): This.  New function.
43605         (do_one_test): Call check_result.
43606         (test_main): Call check1.
43607         * string/bug-strchr1.c (do_test): Moved to ...
43608         * string/test-strchr.c (check1): Here.  New function.
43609         (do_one_test): Break out result checking code into ...
43610         (check_result): This.  New function.
43611         (do_one_test): Call check_result.
43612         (test_main): Call check1.
43613         * string/bug-strstr1.c (main): Moved to ...
43614         * string/test-strstr.c (check1): Here.  New function.
43615         (do_one_test): Break out result checking code into ...
43616         (check_result): This.  New function.
43617         (do_one_test): Call check_result.
43618         (test_main): Call check1.
43619         * string/bug-strcasestr1.c: Removed.
43620         * string/bug-strchr1.c: Likewise.
43621         * string/bug-strstr1.c: Likewise.
43623         * elf/Makefile (dl-routines): Add hwcaps.
43624         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43625         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43626         (_dl_important_hwcaps): Moved to ...
43627         * elf/dl-hwcaps.c: Here.  New file.
43628         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43630         [BZ #14557]
43631         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43632         if IS_IN_rtld isn't defined.
43634         * elf/dl-support.c (_dl_sysinfo_map): New.
43635         Include "get-dynamic-info.h" and "setup-vdso.h".
43636         (_dl_non_dynamic_init): Call setup_vdso.
43637         * elf/dynamic-link.h: Don't include <assert.h>.
43638         (elf_get_dynamic_info): Moved to ...
43639         * elf/get-dynamic-info.h: Here.  New file.
43640         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43641         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43642         * elf/setup-vdso.h: Here.  New file.
43643         * elf/rtld.c: Include "setup-vdso.h".
43644         (dl_main): Call setup_vdso.
43646 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43648         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43649         creal in comment listing functions tested.  List finite, isinf,
43650         isnan, isless, islessequal, isgreater, isgreaterequal,
43651         islessgreater, isunordered, lgamma_r and pow10 as functions and
43652         macros not tested.  Mention which functions not tested are aliases
43653         for other functions.  Fix typo.  Note that signs of NaNs are not
43654         tested.
43656         * scripts/config.guess: Update from config.git.
43657         * scripts/config.sub: Likewise.
43659 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43661         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43662         * misc/madvise.c (madvise): Renamed to __madvise.
43663         Make madvise a weak alias.
43664         * include/sys/mman.h: Declare __madvise.
43665         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43666         * sysdeps/unix/syscalls.list
43667         (madvise): Make __madvise the strong name, and madvise a weak alias.
43668         * sysdeps/unix/sysv/linux/syscalls.list
43669         (madvise, mmap): Remove redundant entries.
43670         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43671         * malloc/malloc.c (mtrim): Likewise.
43672         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43674 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43676         * sysdeps/mach/hurd/dl-cache.c: File removed.
43677         * config.h.in (USE_LDCONFIG): New #undef.
43678         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43679         * configure: Regenerated.
43680         * elf/Makefile (dl-routines): Add dl-cache only under
43681         [$(use-ldconfig) = yes].
43682         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43683         cache on [USE_LDCONFIG].
43684         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43685         [USE_LDCONFIG].
43686         * elf/rtld.c (dl_main): Likewise.
43688 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43690         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43691         _SC_LEVEL4_CACHE_LINESIZE.
43693 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43695         * sysdeps/unix/bsd/confstr.h: File removed.
43697 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43699         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43700         sys/sdt-config.h.
43702 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43704         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43705         Make 'mapoff' field ElfW(Off) rather than off_t.
43707 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43709         * nscd/Makefile: Remove nscd-cflags and all its users.
43710         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43711         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43713         [BZ #10631]
43714         * malloc.c (malloc_printerr): Clarify error message.
43716 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43718         [BZ #14648]
43719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43720         Set bit_FMA_Usable if FMA is supported.
43721         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43722         macro.
43723         (bit_FMA4_Usable): Updated.
43724         (index_FMA_Usable): New macro.
43725         (CPUID_FMA): Likewise
43726         (HAS_FMA): Defined with bit_FMA_Usable.
43728 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43730         * bits/types.h (__swblk_t): Type removed.
43731         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43732         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43733         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43734         (__SWBLK_T_TYPE): Likewise.
43735         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43736         (__SWBLK_T_TYPE): Likewise.
43737         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43738         (__SWBLK_T_TYPE): Likewise.
43739         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43740         (__SWBLK_T_TYPE): Likewise.
43742 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43743             Honza Horak <hhorak@redhat.com>
43745         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43746         (xdr_mapname): Use YPMAXMAP as maxsize.
43747         (xdr_peername): Use YPMAXPEER as maxsize.
43748         (xdr_keydat): Use YPAXRECORD as maxsize.
43749         (xdr_valdat): Use YPMAXRECORD as maxsize.
43751 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43753         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43755         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43756         * csu/init-first.c: ... here.
43757         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43758         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43759         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43760         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43761         * sysdeps/i386/init-first.c: File removed.
43762         * sysdeps/sh/init-first.c: File removed.
43764 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43766         [BZ #14645]
43767         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43768         if x * y might underflow to zero and z is zero.
43769         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43770         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43771         * math/libm-test.inc (min_subnorm_value): New variable.
43772         (fma_test): Add more tests.
43773         (fma_test_towardzero): Likewise.
43774         (fma_test_downward): Likewise
43775         (fma_test_upward): Likewise.
43776         (initialize): Set min_subnorm_value.
43778 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
43780         [BZ #14638]
43781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43782         0 + 0.
43783         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43784         mode for addition resulting in exact zero.
43785         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43786         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43787         exact 0 + 0.
43788         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43789         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43790         * math/libm-test.inc (fma_test): Add more tests.
43791         (fma_test_towardzero): New function.
43792         (fma_test_downward): Likewise.
43793         (fma_test_upward): Likewise.
43794         (main): Call the new functions.
43796 2012-09-28  David S. Miller  <davem@davemloft.net>
43798         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43800 2012-09-28  Roland McGrath  <roland@hack.frob.com>
43802         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43803         instead of SIGALRM.
43805         * sysdeps/gnu/_G_config.h: Moved to ...
43806         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43807         * sysdeps/mach/hurd/_G_config.h: Moved to ...
43808         * sysdeps/generic/_G_config.h: ... here.
43810         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
43812         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43814         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43815         Conditionalize target on [libnss_test1.so-version].
43817         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43819         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43820         (elfobjdir): Move out of conditionals.
43822         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43823         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43824         (__nss_lookup_function): Conditionalize label remove_from_tree on
43825         [!DO_STATIC_NSS || SHARED], matching its only use.
43827 2012-09-28  David S. Miller  <davem@davemloft.net>
43829         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43830         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43831         file.
43832         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43833         sysdep_routines.
43834         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43835         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43836         when HWCAP_SPARC_CRYPTO is present.
43838 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43840         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43842 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43844         [BZ #6530]
43845         * stdio-common/vfprintf.c (process_string_arg): Revert
43846         2000-07-22 change.
43848 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43850         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43851         for testcase.
43852         * stdio-common/tst-sprintf.c: Include <locale.h>
43853         (main): Test sprintf's handling of incomplete multibyte
43854         characters.
43856 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43858         * elf/dl-runtime.c (VERSYMIDX): Removed.
43859         * elf/dl-version.c (VERSYMIDX): Likewise.
43860         * elf/do-rel.h (VERSYMIDX): Likewise.
43861         (VALIDX): Likewise.
43862         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43863         * elf/rtld.c (VALIDX): Likewise.
43864         (ADDRIDX): Likewise.
43865         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43866         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43867         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43868         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43869         (VALIDX): Likewise.
43870         (ADDRIDX): Likewise.
43872 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43874         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43876 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43878         [BZ #11438]
43879         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43880         to global scope.
43881         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43882         addresses are in the same scope as 192.0.2/24.
43883         * posix/gai.conf: Document new scope table defaults.
43885 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43887         [BZ #5298]
43888         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43889         for ftell.  Compute offsets from write pointers instead.
43890         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43892 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43894         [BZ #14543]
43895         * libio/Makefile (tests): New test case tst-fseek.
43896         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43897         combination works in wide mode.
43898         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43899         state when the external buffer state changes.
43901 2012-09-27  David S. Miller  <davem@davemloft.net>
43903         [BZ #14376]
43904         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43905         pass reloc->r_addend in as the 'high' argument to
43906         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43910 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43912         * rt/tst-aio2.c: Include <pthread.h>.
43913         * rt/tst-aio3.c: Likewise.
43915 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43917         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43919 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43921         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43922         contents on [SHARED].
43924 2012-09-26  Marek Polacek  <polacek@redhat.com>
43926         [BZ #14530]
43927         [BZ #13741]
43928         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43929         for C++ and GCC <4.3 as well as for non GCC compilers.
43931 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43935 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43937         * Makefile.in (all, install): Declare with .PHONY.
43938         Reported by Michael Hope <michael.hope@linaro.org>.
43940 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43942         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43943         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43944         system header.
43945         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43946         Likewise.
43947         (sydep_routines): Add the new and the internal functions.
43948         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43949         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43951         (GLIBC_2.17): Add the new function.
43952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43953         (GLIBC_2.17): Likewise.
43954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43955         (GLIBC_2.17): Likewise.
43956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43957         (GLIBC_2.17): Likewise.
43958         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43960 2012-09-25  Alan Modra  <amodra@gmail.com>
43962         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43963         Add release barrier before setting once_control to say
43964         initialisation is done.  Add hints on lwarx.  Use macro in
43965         place of isync.
43966         (clear_once_control): Add release barrier.
43968 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43970         [BZ #13629]
43971         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43972         specially.
43973         * math/s_clog10.c (__clog10): Likewise.
43974         * math/s_clog10f.c (__clog10f): Likewise.
43975         * math/s_clog10l.c (__clog10l): Likewise.
43976         * math/s_clogf.c (__clogf): Likewise.
43977         * math/s_clogl.c (__clogl): Likewise.
43978         * math/Makefile (libm-calls): Add x2y2m1.
43979         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43980         (__x2y2m1): Likewise.
43981         (__x2y2m1l): Likewise.
43982         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43983         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43984         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43985         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43986         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43987         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43988         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43989         * sysdeps/i386/fpu/libm-test-ulps: Update.
43990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43992         [BZ #14621]
43993         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43994         int as type of variable DEPTH.
43995         (glob): Use size_t instead of int as type of variables NEWCOUNT
43996         and OLD_PATHC.
43998 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44000         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44001         Add s_sincosf-sse2.
44002         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44003         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44004         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44005         macros for using routine as __sincosf_ia32.
44006         Use macro for function declaration and weak_alias.
44007         * sysdeps/i386/fpu/libm-test-ulps: Update.
44009         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44012         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44013         subnormal argument.
44014         * math/s_cexpf.c (__cexpf): Likewise.
44015         * math/s_csinf.c (__csinf): Likewise.
44016         * math/s_csinhf.c (__csinhf): Likewise.
44017         * math/s_ctanf.c (__ctanf): Likewise.
44018         * math/s_ctanhf.c (__ctanhf): Likewise.
44019         * math/s_ccosh.c (__ccoshf): Likewise.
44020         * math/s_cexp.c (__cexpl): Likewise.
44021         * math/s_csin.c (__csin): Likewise.
44022         * math/s_csinh.c (__csinh): Likewise.
44023         * math/s_ctan.c (__ctan): Likewise.
44024         * math/s_ctanh.c (ctanh): Likewise.
44025         * math/s_ccoshl.c (__ccoshl): Likewise.
44026         * math/s_cexpl.c (__cexpl): Likewise.
44027         * math/s_csinl.c (__csinl): Likewise.
44028         * math/s_csinhl.c (__csinhl): Likewise.
44029         * math/s_ctanl.c (__ctanl): Likewise.
44030         * math/s_ctanhl.c (__ctanhl): Likewise.
44032 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44034         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44035         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44036         (_IO_off_t): Define to __off_t, not _G_off_t.
44037         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44038         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44039         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44040         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44041         type of __dummy and __dummy2 fields.
44042         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44043         (_G_ssize_t): Likewise.
44044         (_G_off_t): Likewise.
44045         (_G_pid_t): Likewise.
44046         (_G_uid_t): Likewise.
44047         (_G_wchar_t): Likewise.
44048         (_G_wint_t): Likewise.
44049         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44050         (_G_ssize_t): Likewise.
44051         (_G_off_t): Likewise.
44052         (_G_pid_t): Likewise.
44053         (_G_uid_t): Likewise.
44054         (_G_wchar_t): Likewise.
44055         (_G_wint_t): Likewise.
44056         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44057         (_G_ssize_t): Likewise.
44058         (_G_off_t): Likewise.
44059         (_G_pid_t): Likewise.
44060         (_G_uid_t): Likewise.
44061         (_G_wchar_t): Likewise.
44062         (_G_wint_t): Likewise.
44064 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44066         * malloc/arena.c: Include malloc-sysdep.h.
44067         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44068         is sufficient to shrink the heap or an unmap is needed.
44069         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44070         new function check_may_shrink_heap.
44071         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44072         new function check_may_shrink_heap.
44074 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44076         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44077         comments.
44079 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44081         * catgets/test-gencat.sh: Add "set -e".
44082         * elf/tst-pathopt.sh: Likewise.
44083         * grp/tst_fgetgrent.sh: Likewise.
44084         * iconvdata/run-iconv-test.sh: Likewise.
44085         * intl/tst-gettext.sh: Likewise.
44086         * intl/tst-gettext2.sh: Likewise.
44087         * intl/tst-gettext4.sh: Likewise.
44088         * intl/tst-gettext6.sh: Likewise.
44089         * intl/tst-translit.sh: Likewise.
44090         * io/ftwtest-sh: Likewise.
44091         * libio/test-freopen.sh: Likewise.
44092         * malloc/tst-mtrace.sh: Likewise.
44093         * posix/globtest.sh: Likewise.
44094         * posix/tst-getconf.sh: Likewise.
44095         * posix/wordexp-tst.sh: Likewise.
44096         * stdio-common/tst-printf.sh: Likewise.
44097         * stdio-common/tst-unbputc.sh: Likewise.
44098         * stdlib/tst-fmtmsg.sh: Likewise.
44099         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44100         * catgets/Makefile: Do not specify -e option when running
44101         testsuite shell scripts.
44102         * elf/Makefile: Likewise.
44103         * grp/Makefile: Likewise.
44104         * iconvdata/Makefile: Likewise.
44105         * intl/Makefile: Likewise.
44106         * io/Makefile: Likewise.
44107         * libio/Makefile: Likewise.
44108         * malloc/Makefile: Likewise.
44109         * posix/Makefile: Likewise.
44110         * stdio-common/Makefile: Likewise.
44111         * stdlib/Makefile: Likewise.
44112         * sysdeps/x86_64/Makefile: Likewise.
44114         * io/ftwtest-sh: Add copyright header.
44115         * posix/globtest.sh: Likewise.
44116         * posix/tst-getconf.sh: Likewise.
44117         * posix/wordexp-tst.sh: Likewise.
44118         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44120 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44122         [BZ #13679]
44123         * Makeconfig (+link): Defined as $(+link-static) if
44124         $(build-shared) isn't yes.
44125         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44126         isn't yes.
44127         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44129         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44131         [BZ #14562]
44132         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44133         new chunk size with MALLOC_ALIGN_MASK.
44135 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44137         [BZ #5044]
44138         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44139         <rounding-mode.h>.
44140         (__printf_fphex): Determine rounding using get_rounding_mode and
44141         round_away.
44142         * stdio-common/tst-printf-round.c (struct hex_test): New
44143         structure.
44144         (hex_tests): New variable.
44145         (test_hex_in_one_mode): New function.
44146         (do_test): Also run tests for hex float output.
44148 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44150         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44151         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44152         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44153         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44154         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44155         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44156         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44157         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44159 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44161         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44162         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44163         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44164         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44166 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44168         [BZ #14579]
44169         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44170         mode only.
44171         * elf/tst-rtld-load-self.sh: New test.
44172         * elf/Makefile: Run it.
44174 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44176         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44177         (tst-writev-ENV): Remove.
44178         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44180 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44182         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44184 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44186         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44187         unconditional.
44188         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44189         Likewise.
44190         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44191         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44192         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44193         Likewise.
44195 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44197         [BZ #14587]
44198         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44199         * config.make.in (have-cpp-asm-debuginfo): Removed.
44200         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44201         * configure: Regenerated.
44203 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44205         [BZ #5044]
44206         * stdio-common/printf_fp.c: Include <stdbool.h> and
44207         <rounding-mode.h>.
44208         (___printf_fp): Determine rounding using get_rounding_mode and
44209         round_away.
44210         * stdio-common/tst-printf-round.c: New file.
44211         * stdio-common/Makefile (tests): Add tst-printf-round.
44212         (link-libm): New variable.
44213         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44215 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44217         [BZ #14576]
44218         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44219         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44220         Likewise.
44221         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44222         Likewise.
44224 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44226         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44227         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44228         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44229         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44231 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44233         [BZ #14518]
44234         * include/rounding-mode.h: New file.
44235         * sysdeps/generic/get-rounding-mode.h: Likewise.
44236         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44237         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44238         (MAX_VALUE): New macro.
44239         (MIN_VALUE): Likewise.
44240         (overflow_value): New function.
44241         (underflow_value): Likewise.
44242         (round_and_return): Use overflow_value and underflow_value to
44243         determine return values in overflow and underflow cases.  Use
44244         round_away to determine rounding depending on rounding mode.
44245         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44246         determine return values in overflow and underflow cases.
44247         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44248         (struct test_results): New structure.
44249         (struct test): Use struct test_results to store expected results
44250         for all rounding modes.
44251         (TEST): Include expected results for all rounding modes.
44252         (test_in_one_mode): New function.
44253         (do_test): Use test_in_one_mode to compute and check results.
44254         Check results for all rounding modes.
44255         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44256         $(link-libm).
44258 2012-12-09  Allan McRae  <allan@archlinux.org>
44260         * sysdeps/i386/fpu/libm-test-ulps: Update
44262 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44264         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44265         (_G_int32_t): Likewise.
44266         (_G_uint16_t): Likewise.
44267         (_G_uint32_t): Likewise.
44268         (_G_HAVE_BOOL): Likewise.
44269         (_G_HAVE_ATEXIT): Likewise.
44270         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44271         (_G_HAVE_IO_FILE_OPEN): Likewise.
44272         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44273         (_G_int32_t): Likewise.
44274         (_G_uint16_t): Likewise.
44275         (_G_uint32_t): Likewise.
44276         (_G_HAVE_BOOL): Likewise.
44277         (_G_HAVE_ATEXIT): Likewise.
44278         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44279         (_G_HAVE_IO_FILE_OPEN): Likewise.
44280         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44281         (_G_int32_t): Likewise.
44282         (_G_uint16_t): Likewise.
44283         (_G_uint32_t): Likewise.
44284         (_G_HAVE_BOOL): Likewise.
44285         (_G_HAVE_ATEXIT): Likewise.
44286         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44287         (_G_HAVE_IO_FILE_OPEN): Likewise.
44289 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44291         * csu/libc-tls.c: Update copyright years.
44293 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44295         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44296         [!_G_USING_THUNKS]: Remove conditional code.
44297         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44298         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44300         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44301         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44302         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44303         (_G_VTABLE_LABEL_PREFIX): Likewise.
44304         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44305         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44306         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44307         (_G_VTABLE_LABEL_PREFIX): Likewise.
44308         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44309         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44310         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44311         (_G_VTABLE_LABEL_PREFIX): Likewise.
44312         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44314 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44316         * libio/Makefile: Include ../Makeconfig before tests.
44317         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44318         only if $(build-shared) is yes.
44320         * iconv/gconv_db.c: Update copyright years.
44322 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44324         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44325         unwind info if defined PIC. Fix special cases description.
44326         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44328         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44329         DP_HI_MASK entry.
44330         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44332 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44334         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44336         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44337         is NULL.
44339         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44340         (LDLIBS-tst-chk4): This.
44341         (LDFLAGS-tst-chk5): Renamed to ...
44342         (LDLIBS-tst-chk5): This.
44343         (LDFLAGS-tst-chk6): Renamed to ...
44344         (LDLIBS-tst-chk6): This.
44345         (LDFLAGS-tst-lfschk4): Renamed to ...
44346         (LDLIBS-tst-lfschk4): This.
44347         (LDFLAGS-tst-lfschk5): Renamed to ...
44348         (LDLIBS-tst-lfschk5): This.
44349         (LDFLAGS-tst-lfschk6): Renamed to ...
44350         (LDLIBS-tst-lfschk6): This.
44352         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44353         on $(common-objpfx)soversions.mk.
44355 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44357         [BZ #10014]
44358         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44359         example host name.
44361 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44363         * malloc/arena.c (arena_get_retry): New function that gets
44364         another arena for the caller to try its request on.
44365         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44366         current arena cannot fulfill the request.
44367         (__libc_memalign): Likewise.
44368         (__libc_memalign): Likewise.
44369         (__libc_pvalloc): Likewise.
44370         (__libc_calloc): Likewise.
44372 2012-09-05  John Tobey  <john.tobey@gmail.com>
44374         [BZ #13542]
44375         * manual/arith.texi (Operations on Complex): Fix description
44376         of carg branch cut.
44378 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44380         [BZ #10014]
44381         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44382         host name.
44384         [BZ #10038]
44385         * manual/memory.texi (Memory): Make order of menu items match
44386         order of sections.
44388 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44390         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44391         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44392         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44394 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44396         * csu/libc-tls.c (static_dtv): Renamed to ...
44397         (_dl_static_dtv): This.  Make it global.
44398         (_dl_initial_dtv): Removed.
44399         (__libc_setup_tls): Updated.
44400         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44401         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44402         DL_INITIAL_DTV.
44404 2012-09-06  Petr Machata  <pmachata@redhat.com>
44406         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44407         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44408         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44409         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44411 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44413         [BZ #14545]
44414         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44415         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44416         freeing dtv[-1].
44418 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44420         [BZ #14544]
44421         * Makeconfig (link-static-before-libc): Replace $(+prector)
44422         with $(+prectorT).
44423         (link-static-after-libc): Replace $(+postctor) with
44424         $(+postctorT).
44425         (link-bounded): Replace $(+prector)/$(+postctor) with
44426         $(+prectorT)/$(+postctorT).
44427         (+prectorT): New macro.
44428         (+postctorT): Likewise.
44430 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44432         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44433         (round_str): Handle values above the maximum for IBM long double
44434         as inexact.
44435         * stdlib/tst-strtod-round.c (tests): Regenerated.
44437 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44439         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44440         assembler flag.
44441         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44442         zarch_nohighgprs around the zarch optimized routines.
44443         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44444         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44445         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44446         for zarch.
44448 2012-09-05  David S. Miller  <davem@davemloft.net>
44450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44452         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44453         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44454         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44455         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44456         entries.
44458 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44460         * malloc/arena.c: Fold copyright years.
44461         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44463 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44465         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44467 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44469         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44471 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44473         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44474         change internal state upon failure.
44476 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44478         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44479         * malloc/memusage.c (mmap): Likewise.
44480         (mmap64, mremap): Likewise.  Adjust name in comment.
44482 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44484         * libio/fileops.c: Fix typos in comments.
44485         * libio/oldfileops.c: Likewise.
44486         * libio/wfileops.c: Likewise.
44488 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44490         [BZ #1349]
44491         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44492         (tst-malloc-usable-ENV): Set environment for test case.
44493         * malloc/hooks.c (malloc_check_get_size): New function to get
44494         requested size.
44495         * malloc/malloc.c (musable): Use malloc_check_get_size.
44496         * malloc/tst-malloc-usable.c: New test case.
44498 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44500         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44502 2012-09-05  Allan McRae  <allan@archlinux.org>
44504         [BZ #13966]
44505         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44506         determine header location.
44507         * configure: Regenerated.
44509 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44511         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44512         float format.
44513         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44514         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44515         format.
44516         (test): Regenerate.
44518 2012-09-04  David S. Miller  <davem@davemloft.net>
44520         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44521         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44522         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44524 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44526         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44527         failures.
44529         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44531 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44533         [BZ #9914]
44534         * libio/iogetdelim.c: Include <limits.h>.
44535         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44536         + len + 1 would overflow.
44538 2012-09-03  Andreas Jaeger  <aj@suse.de>
44540         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44541         * sysdeps/i386/fpu/libm-test-ulps: Update.
44543 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44545         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44546         Add s_sinf-sse2, s_conf-sse2.
44548         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44549         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44550         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44551         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44553         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44554         for using routine as __sinf_ia32.
44555         Use macro for function declaration and weak_alias.
44556         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44557         for using routine as __cosf_ia32.
44558         Use macro for function declaration and weak_alias.
44560         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44561         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44563         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44564         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44565         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44567         * math/libm-test.inc (cos_test): Add more test cases.
44568         (sin_test): Likewise.
44569         (sincos_test): Likewise.
44571 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44573         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44574         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44575         hidden.
44576         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44578 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44580         [BZ #14538]
44581         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44582         first element of the GOT.
44583         (elf_machine_load_address): Return the difference between
44584         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44586 2012-09-01  Allan McRae  <allan@archlinux.org>
44588         [BZ #13412]
44589         * configure.in (AWK): Require gawk version 3.0 or later.
44590         * configure: Regenerated.
44592 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44594         * sysdeps/unix/sysv/linux/kernel-features.h
44595         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44596         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44597         [__NR_clock_getres]: Make code unconditional.
44598         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44599         (clock_getcpuclockid): Remove code left unreachable by removal of
44600         conditionals.
44601         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44602         code unconditional.
44603         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44604         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44605         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44606         Make code unconditional.
44607         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44608         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44609         * sysdeps/unix/sysv/linux/clock_settime.c
44610         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44611         conditional code.
44612         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44613         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44615 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44617         [BZ #14476]
44618         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44619         scripts/test-installation.pl.
44621         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44622         and $ld_so_version if it is set.
44624 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44626         [BZ #14516]
44627         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44628         failure if reading from procfs failed.
44629         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44631 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44633         * sysdeps/unix/sysv/linux/kernel-features.h
44634         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44635         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44636         Remove conditional code.
44637         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44638         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44639         Remove conditional code.
44640         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44641         * sysdeps/unix/sysv/linux/i386/fxstat.c
44642         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44643         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44644         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44645         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44646         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44647         * sysdeps/unix/sysv/linux/i386/lxstat.c
44648         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44649         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44650         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44651         Remove conditional code.
44652         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44653         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44654         Remove conditional code.
44655         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44656         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44657         <kernel-features.h>.
44658         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44659         Remove.
44660         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44661         Remove conditional code.
44662         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44663         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44664         Remove conditional.
44666 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44668         [BZ #5400]
44669         * NEWS: Add fixed bug number.
44671 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44673         [BZ #14519]
44674         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44675         underflowing exponent in case of negative sign.
44676         * stdlib/tst-strtod-round-data: Add more tests.
44677         * stdlib/tst-strtod-round.c (tests): Regenerated.
44679         [BZ #3479]
44680         * stdlib/strtod_l.c (NDIG): Remove.
44681         (HEXNDIG): Likewise.
44682         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44683         smallest representable value.
44684         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44685         lie within an exact representation of 1/2 ulp of the result.
44686         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44687         unconditionally.
44688         (TENS_P9_IDX): Define unconditionally.
44689         (TENS_P9_SIZE): Likewise.
44690         (TENS_P10_IDX): Likewise.
44691         (TENS_P10_SIZE): Likewise.
44692         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44693         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44694         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44695         entries for 10^2^13 and 10^2^14.
44696         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44697         (TENS_P13_IDX): Define.
44698         (TENS_P13_SIZE): Likewise.
44699         (TENS_P14_IDX): Likewise.
44700         (TENS_P14_SIZE): Likewise.
44701         (_fpioconst_pow10): Change array size to
44702         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44703         unconditional.
44704         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44705         1024]: Add entries for 10^2^13 and 10^2^14.
44706         [LAST_POW10 > _LAST_POW10]: Remove #error.
44707         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44708         (_fpioconst_pow10): Change array size to
44709         FPIOCONST_POW10_ARRAY_SIZE.
44710         * stdlib/gen-fpioconst.c: New file.
44711         * stdlib/gen-tst-strtod-round.c: Likewise.
44712         * stdlib/tst-strtod-round-data: Likewise.
44713         * stdlib/tst-strtod-round.c: Likewise.
44714         * stdlib/Makefile (tests): Add tst-strtod-round.
44716         [BZ #14459]
44717         * stdlib/strtod_l.c: Include <stdint.h>.
44718         (NDEBUG): Do not define.
44719         (round_and_return): Change EXPONENT parameter to type intmax_t.
44720         Rearrange calculations to avoid internal overflow possibilities.
44721         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44722         Rearrange calculations to avoid internal overflow possibilities.
44723         Assert that number fits inside MPNSIZE limbs.
44724         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44725         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
44726         calculations and add assertions to avoid internal overflow
44727         possibilities.  Add casts to avoid signed/unsigned operations.
44728         * stdlib/tst-strtod-overflow.c: New file.
44729         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44731 2012-08-25  Marek Polacek  <polacek@redhat.com>
44733         * time/time.h: Fix some typos in comments.
44735 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44737         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44738         * posix/tst-rfc3484-2.c: Likewise.
44739         * posix/tst-rfc3484-3.c: Likewise.
44741 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44743         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44744         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44746 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44748         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44749         #include of fxstatat64.c.
44751 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44753         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44754         * shadow/getspent_r.c: Likewise.
44755         * shadow/getspnam.c: Likewise.
44756         * shadow/getspnam_r.c: Likewise.
44757         * gshadow/getsgent.c: Likewise.
44758         * gshadow/getsgent_r.c: Likewise.
44759         * gshadow/getsgnam.c: Likewise.
44760         * gshadow/getsgnam_r.c: Likewise.
44761         * inet/getnetbyad.c: Likewise.
44762         * inet/getnetbyad_r.c: Likewise.
44763         * inet/getnetbynm.c: Likewise.
44764         * inet/getnetbynm_r.c: Likewise.
44765         * inet/getnetent.c: Likewise.
44766         * inet/getnetent_r.c: Likewise.
44767         * inet/getproto.c: Likewise.
44768         * inet/getproto_r.c: Likewise.
44769         * inet/getprtent.c: Likewise.
44770         * inet/getprtent_r.c: Likewise.
44771         * inet/getprtname.c: Likewise.
44772         * inet/getprtname_r.c: Likewise.
44773         * inet/getrpcbyname.c: Likewise.
44774         * inet/getrpcbyname_r.c: Likewise.
44775         * inet/getrpcbynumber.c: Likewise.
44776         * inet/getrpcbynumber_r.c: Likewise.
44777         * inet/getrpcent.c: Likewise.
44778         * inet/getrpcent_r.c: Likewise.
44779         * inet/getaliasent.c: Likewise.
44780         * inet/getaliasent_r.c: Likewise.
44781         * inet/getaliasname.c: Likewise.
44782         * inet/getaliasname_r.c: Likewise.
44783         * nscd/getgrgid_r.c: Likewise.
44784         * nscd/getgrnam_r.c: Likewise.
44785         * nscd/gethstbyad_r.c: Likewise.
44786         * nscd/gethstbynm3_r.c: Likewise.
44787         * nscd/getpwnam_r.c: Likewise.
44788         * nscd/getpwuid_r.c: Likewise.
44789         * nscd/getsrvbynm_r.c: Likewise.
44790         * nscd/getsrvbypt_r.c: Likewise.
44791         * nscd/gai.c: Likewise.
44793         * configure.in (build_nscd): New substituted variable, set
44794         by --disable-build-nscd and defaults to $use_nscd.
44795         * configure: Regenerated.
44796         * config.make.in (build-nscd): New substituted variable.
44797         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44798         Change conditional to require [$(build-nscd) = yes] as well.
44799         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44801         [BZ# 13696]
44802         * configure.in (use_nscd): New substituted variable, set by
44803         --disable-nscd.  If enabled, define USE_NSCD.
44804         * configure: Regenerated.
44805         * config.h.in: Add USE_NSCD.
44806         * config.make.in (use-nscd): New substituted variable.
44807         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44808         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44809         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44810         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44811         (CFLAGS-getgrnam_r.c): Likewise.
44812         (CFLAGS-initgroups.c): Likewise.
44813         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44814         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44815         Variables removed.
44816         * inet/getnetgrent_r.c
44817         (nscd_setnetgrent): New function, broken out of ...
44818         (setnetgrent): ... here.  Call it.
44819         (innetgr): Conditionalize nscd bits on [USE_NSCD].
44820         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44821         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44822         * nscd/Makefile (routines, aux): Move definitions after include of
44823         Makeconfig.  Conditionalize on [$(use-nscd) != no].
44824         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44825         Conditionalize on [USE_NSCD].
44826         (is_nscd, nscd_init_cb): Likewise.
44827         (nss_load_library): Conditionalize init callback on [USE_NSCD].
44828         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44829         * nss/nss_db/db-init.c: Likewise.
44830         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44831         [USE_NSCD].
44832         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44833         (make_request): Use it.
44834         (cache_valid_p): New function.
44835         (__check_pf): Use it.
44836         * NEWS: Add item for --disable-nscd.
44838 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44840         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44841         to support sed >= 4.2.1-20-ga9bf076.
44842         * configure: Regenerated.
44844 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44846         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44847         Conditionalize whole body on [IREL].
44849 2012-08-22  Jeff Law <law@redhat.com>
44851         [BZ #14505]
44852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44853         if the family is PF_UNSPEC.
44855 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44857         * Makerules (lib-version): Rename from V.
44858         (install-lib-nosubdir): Change V to lib-version.
44860 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44862         [BZ #14252]
44863         * powerpc32/power6/wcschr.c: New file.
44864         * powerpc32/power6/wcscpy.c: New file.
44865         * powerpc32/power6/wcsrchr.c: New file.
44866         * powerpc64/power6/wcschr.c: New file.
44867         * powerpc64/power6/wcscpy.c: New file.
44868         * powerpc64/power6/wcsrchr.c: New file.
44870 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44872         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44873         (two_way_short_needle): Use it.
44874         * string/strstr.c (AVAILABLE1_USES_J): Define.
44875         * string/strcasestr.c: Likewise.
44877         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44878         array references.
44879         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44881         [BZ #11607]
44882         * NEWS: Add an entry.
44883         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44884         define their defaults.
44885         (two_way_short_needle): Detect end-of-string on-the-fly.
44886         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44887         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44888         * string/bug-strcasestr1.c: New test.
44889         * string/Makefile: Run it.
44891 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44893         [BZ #11607]
44894         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44895         the first character.
44897 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44899         * csu/elf-init.c (__libc_csu_irel): Function removed.
44900         * csu/libc-start.c (apply_irel): New function.
44901         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44903 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44905         * sysdeps/unix/sysv/linux/kernel-features.h
44906         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44907         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44908         <kernel-features.h>.
44909         [__NR_fadvise64_64]: Make code unconditional.
44910         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44911         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44912         !__NR_fadvise64_64)]: Likewise.
44913         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44914         !__NR_fadvise64_64))]: Likewise.
44915         [__NR_fadvise64]: Make code unconditional.
44916         [!__NR_fadvise64]: Remove conditional code.
44917         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44918         <kernel-features.h>.
44919         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44920         unconditional.
44921         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44922         conditional code.
44923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44924         not include <kernel-features.h>.
44925         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44926         unconditional.
44927         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44928         conditional code.
44929         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44930         include <kernel-features.h>.
44931         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44932         unconditional.
44933         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44934         conditional code.
44936 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44938         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44939         slight instruction rearrangements per scrollpipe analysis.
44940         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44942 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44944         * manual/syslog.texi (syslog; vsyslog, closelog):
44945         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44946         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44948         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44949         DSOCAPS to match condition on defining it.
44951 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44953         * sysdeps/unix/sysv/linux/kernel-features.h
44954         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44956         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44957         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44959         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44960         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44962         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44963         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44965         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44966         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44968         * sysdeps/unix/sysv/linux/kernel-features.h
44969         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44970         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44971         unconditional.
44972         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44973         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44974         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44975         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44976         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44977         Make code unconditional.
44978         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44979         (__mmap64) [!__NR_mmap2]: Likewise.
44980         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44981         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44982         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44983         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44984         [__NR_mmap2]: Make code unconditional.
44985         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44986         (__mmap64) [!__NR_mmap2]: Likewise.
44988 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44990         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44992 2012-08-18  Andreas Jaeger  <aj@suse.de>
44994         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44996 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44998         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44999         * include/unistd.h (__have_sock_cloexec): Likewise.
45000         (__have_pipe2): Likewise.
45001         (__have_dup3): Likewise.
45003 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45005         [BZ #9685]
45006         * include/unistd.h (__have_pipe2): Change define into an extern int.
45007         (__have_dup3): Likewise.
45008         * socket/have_sock_cloexec.c: Include fcntl.h.
45009         (__have_pipe2): New variable.
45010         (__have_dup3): Likewise.
45012 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45014         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45016 2012-08-17  Marek Polacek  <polacek@redhat.com>
45018         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45019         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45021 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45023         * configure.in: Add AC_SUBST for sysheaders.
45024         * configure: Regenerated.
45025         * config.make.in (sysheaders): New substituted variable.
45027         * sysdeps/unix/mkfifo.c: Moved ...
45028         * sysdeps/posix/mkfifo.c: ... here.
45029         * sysdeps/unix/mkfifoat.c: Moved ...
45030         * sysdeps/posix/mkfifoat.c: ... here.
45032         * sysdeps/unix/utime.c: Moved ...
45033         * sysdeps/posix/utime.c: ... here.
45035         * sysdeps/unix/time.c: Moved ...
45036         * sysdeps/posix/time.c: ... here.
45037         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45038         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45040         * sysdeps/unix/nice.c: Moved ...
45041         * sysdeps/posix/nice.c: ... here.
45043         * sysdeps/unix/alarm.c: Moved ...
45044         * sysdeps/posix/alarm.c: ... here.
45046         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45048 2012-08-17  Jeff Law <law@redhat.com>
45050         * intl/Makefile (codeset_mo): New variable.
45051         ($(codeset_mo)): New target.
45052         (tst-codeset.out): Depend on that.  Remove explicit rule.
45053         (tst-gettext3.out, tst-gettext5.out): Likewise.
45054         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45055         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45056         * intl/tst-codeset.sh: Remove.
45057         * intl/tst-gettext3.sh: Likewise.
45058         * intl/tst-gettext5.sh: Likewise.
45060 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45062         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45063         * sysdeps/unix/syscalls.list: ... here.
45065         * sysdeps/posix/getaddrinfo.c
45066         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45067         (gaiconf_init, gaiconf_reload): Use them.
45068         [!_STATBUF_ST_NSEC]
45069         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45070         Define using time_t rather than struct timespec.
45072         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45073         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45074         Macros removed.
45075         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45076         [!NO_THREADS].
45077         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45078         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45079         Likewise.
45081         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45082         __libc_cleanup_push argument.
45084         * bits/param.h: New file.
45085         * misc/sys/param.h: New file.
45086         * include/sys/param.h: New file.
45087         * misc/Makefile (headers): Add bits/param.h.
45088         * sysdeps/generic/sys/param.h: File removed.
45089         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45090         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45091         * sysdeps/mach/hurd/bits/param.h: New file.
45092         * sysdeps/mach/hurd/sys/param.h: File removed.
45094         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45095         last change.
45097         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45098         [_IO_MTSAFE_IO].
45099         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45100         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45101         New macros.
45103         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45104         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45105         rather than -D_IO_MTSAFE_IO conditionally.
45106         * stdio-common/Makefile (CPPFLAGS): Likewise.
45107         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45108         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45109         Use $(libio-mtsafe).
45110         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45111         of -D_IO_MTSAFE_IO.
45112         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45113         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45114         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45115         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45116         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45117         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45118         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45119         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45120         (CFLAGS-fread_u_chk.c): Likewise.
45121         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45122         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45123         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45124         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45125         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45126         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45127         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45128         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45129         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45131         * libio/Makefile: Test [$(libc-reentrant) = yes]
45132         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45134         * Makeconfig
45135         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45136         * sysdeps/pthread/configure: File removed.
45137         * sysdeps/pthread/Makeconfig: New file.
45138         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45139         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45141 2012-08-16  Gary Benson  <gbenson@redhat.com>
45143         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45144         unmapping the first object in a namespace.
45146 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45148         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45149         (__internal_setnetgrent): ... this.  Add internal_function to
45150         definition.  Add libc_hidden_def.
45151         (setnetgrent): Update caller.
45152         (internal_endnetgrent): Renamed to ...
45153         (__internal_endnetgrent): ... this.  Add internal_function to
45154         definition.  Add libc_hidden_def.
45155         (endnetgrent): Update caller.
45156         (internal_getnetgrent_r): Renamed to ...
45157         (__internal_getnetgrent_r): ... this.  Add internal_function to
45158         definition.  Add libc_hidden_def.
45159         (__getnetgrent_r): Update caller.
45160         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45162 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45164         * stdlib/longlong.h: Update from GCC.
45166 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45168         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45169         on _QL, which is set by umul_ppmm but never used.
45170         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45171         variables, which are set by GMP macros but never used.
45172         * stdio-common/_itowa.c (_itowa): Likewise.
45173         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45174         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45176 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45178         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45179         struct La_sh_regs is not constant.
45180         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45181         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45182         and struct La_sparc64_regs are not constant.
45184 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45186         * sysdeps/unix/sysv/linux/kernel-features.h
45187         (__ASSUME_POSIX_TIMERS): Remove.
45188         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45189         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45190         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45191         Make code unconditional.
45192         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45193         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45194         Make code unconditional.
45195         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45196         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45197         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45198         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45199         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45200         Make code unconditional.
45201         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45202         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45203         (__libc_missing_posix_timers): Remove.
45205 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45207         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45208         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45210         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45212         * elf/dl-sym.c: Include <stdlib.h>.
45214         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45215         constants, which avoids warnings in 32-bit builds.
45217         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45218         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45220         * misc/lseek.c: File moved to ...
45221         * io/lseek.c: ... here.
45223         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45225         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45226         shifting LEN more than 31 bits at once.
45228 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45230         [BZ #14195]
45231         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45232         segmentation fault for a case of two empty input strings.
45233         * string/test-strncasecmp.c (check1): Renamed to...
45234         (bz12205): ...this.
45235         (bz14195): Add new testcase for two empty input strings and N > 0.
45236         (test_main): Call new testcase, adapt for renamed function.
45238 2012-08-15  Andreas Jaeger  <aj@suse.de>
45240         [BZ #14090]
45241         * crypt/md5test2.c: New test, based on test supplied by Serge
45242         Belyshev <belyshev@depni.sinp.msu.ru>.
45243         * crypt/Makefile (xtests): Add md5test-giant..
45244         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45246 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45248         [BZ #14090]
45249         * crypt/md5.c (md5_process_block): Don't assume the buffer
45250         length is less than 2**32.
45251         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45252         length is less than 2**64.
45254 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45256         * string/str-two-way.h: Include <sys/param.h>.
45257         (MAX): Macro removed.
45259         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45260         Move #define and #undef of memmove to just before and after
45261         including <string.h>.
45263         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45264         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45265         and after including <string.h>.  Move declarations of
45266         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45267         to before #include "string/memmove.c".
45269         * include/dirent.h: Declare __getdirentries.
45271         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45272         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45274 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45276         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45277         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45278         * sysdeps/i386/configure: Regenerated.
45279         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45280         STABS_CURRENT_FILE, and STABS_FUN.
45281         (END): Remove call to STABS_FUN_END.
45282         (STABS_CURRENT_FILE1): Delete.
45283         (STABS_CURRENT_FILE): Likewise.
45284         (STABS_FUN): Likewise.
45285         (STABS_FUN_END): Likewise.
45286         (STABS_FUN2): Likewise.
45287         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45288         * sysdeps/x86_64/configure: Regenerated.
45290 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45292         * elf/dl-open.c: Include <atomic.h>.
45293         * elf/dl-lookup.c: Likewise.
45295 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45297         * sysdeps/unix/sysv/linux/kernel-features.h
45298         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45299         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45300         unconditionally.
45301         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45302         unconditionally.
45303         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45304         condition on __ASSUME_CLONE_THREAD_FLAGS.
45306 2012-08-14  Andreas Jaeger  <aj@suse.de>
45308         * sysdeps/i386/fpu/libm-test-ulps: Update.
45310 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45312         * include/atomic.h (atomic_exchange_and_add): Split into ...
45313         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45314         New atomic macros.
45316 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45320 2012-08-13  Jeff Law <law@redhat.com>
45322         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45323         null byte in the output string.
45325 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45327         * sysdeps/unix/sysv/linux/kernel-features.h
45328         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45329         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45330         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45331         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45332         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45333         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45334         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45336 2012-08-09  Jeff Law <law@redhat.com>
45338         [BZ #13939]
45339         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45340         When avoid_arena is set, don't retry in the that arena.  Pick the
45341         next one, whatever it might be.
45342         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45343         (arena_lock): Pass in new parameter to arena_get2.
45344         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45345         arena_get2.
45346         (__libc_malloc): Unify retrying after main arena failure with
45347         __libc_memalign version.
45348         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45350 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45352         [BZ #14166]
45353         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45354         to __redirect_strstr.
45355         (__strstr_sse42): Use typeof __redirect_strstr.
45356         (__strstr_ia32): Likewise.
45357         (__libc_strstr): New prototype.
45358         (strstr): Renamed to ...
45359         (__libc_strstr): This.
45360         (strstr): New strong alias of __libc_strstr.
45361         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45362         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45363         __redirect_time.
45364         Include <time.h>.
45365         (__libc_time): New prototype.
45366         (time_ifunc): Replace time with __libc_time.
45367         (time): New strong alias and hidden definition of __libc_time.
45368         (__GI_time): Remove strong alias.
45369         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45370         Include <stddef.h>.
45371         (memmove): Redefined to __redirect_memmove.
45372         (__memmove_sse2): Use typeof __redirect_memmove.
45373         (__memmove_ssse3): Likewise.
45374         (__memmove_ssse3_back): Likewise.
45375         (__libc_memmove): New prototype.
45376         (memmove): Renamed to ...
45377         (__libc_memmove): This.
45378         (memmove): New strong alias of __libc_memmove.
45380 2012-08-08  Mark Salter  <msalter@redhat.com>
45382         * elf/elf.h
45383         (R_MN10300_TLS_GD): Define.
45384         (R_MN10300_TLS_LD): Likewise.
45385         (R_MN10300_TLS_LDO): Likewise.
45386         (R_MN10300_TLS_GOTIE): Likewise.
45387         (R_MN10300_TLS_IE): Likewise.
45388         (R_MN10300_TLS_LE): Likewise.
45389         (R_MN10300_TLS_DTPMOD): Likewise.
45390         (R_MN10300_TLS_DTPOFF): Likewise.
45391         (R_MN10300_TLS_TPOFF): Likewise.
45392         (R_MN10300_SYM_DIFF): Likewise.
45393         (R_MN10300_ALIGN): Likewise.
45394         (R_MN10300_NUM): Update.
45396 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45398         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45399         Remove.
45401 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45403         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45405         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45406         sysdeps/unix -> sysdeps/posix move.
45407         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45409 2012-08-07      Allan McRae     <allan@archlinux.org>
45411         [BZ #14303]
45412         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45413         (SUNOS_CPP): Likewise.
45414         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45415         not found.
45416         (open_input): Call CPP using execvp.
45418 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45420         * sysdeps/unix/sysv/linux/kernel-features.h
45421         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45422         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45423         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45424         (__ASSUME_WAITID_SYSCALL): Likewise.
45425         * sysdeps/unix/sysv/linux/dl-execstack.c
45426         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45427         code unconditional.
45428         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45429         conditional code.
45430         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45431         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45432         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45433         code.
45434         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45435         unconditional.
45436         [__ASSUME_WAITID_SYSCALL]: Likewise.
45437         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45439 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45441         * sysdeps/unix/closedir.c: Renamed to ...
45442         * sysdeps/posix/closedir.c: ... here.
45443         * sysdeps/unix/dirfd.c: Renamed to ...
45444         * sysdeps/posix/dirfd.c: ... here.
45445         * sysdeps/unix/dirstream.h: Renamed to ...
45446         * sysdeps/posix/dirstream.h: ... here.
45447         * sysdeps/unix/fdopendir.c: Renamed to ...
45448         * sysdeps/posix/fdopendir.c: ... here.
45449         * sysdeps/unix/opendir.c: Renamed to ...
45450         * sysdeps/posix/opendir.c: ... here.
45451         * sysdeps/unix/readdir.c: Renamed to ...
45452         * sysdeps/posix/readdir.c: ... here.
45453         * sysdeps/unix/readdir_r.c: Renamed to ...
45454         * sysdeps/posix/readdir_r.c: ... here.
45455         * sysdeps/unix/rewinddir.c: Renamed to ...
45456         * sysdeps/posix/rewinddir.c: ... here.
45457         * sysdeps/unix/seekdir.c: Renamed to ...
45458         * sysdeps/posix/seekdir.c: ... here.
45459         * sysdeps/unix/telldir.c: Renamed to ...
45460         * sysdeps/posix/telldir.c: ... here.
45461         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45462         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45463         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45464         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45466         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45467         * bits/fcntl.h: ... here.
45469         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45470         not 0.
45471         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45472         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45473         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45474         (struct flock): Move l_start, l_len to the beginning.
45475         Use __pid_t for l_pid.
45476         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45477         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45478         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45479         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45480         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45481         [__USE_LARGEFILE64] (struct flock64): New type.
45482         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45484         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45485         * bits/dirent.h: ... here.
45487         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45488         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45490 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45492         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45493         Change from 2.6.0 to 2.6.16.
45494         * sysdeps/unix/sysv/linux/configure: Regenerated.
45495         * sysdeps/unix/sysv/linux/kernel-features.h
45496         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45497         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45498         version.
45499         (__ASSUME_UTIMES): Likewise.
45500         (__ASSUME_CLONE_STOPPED): Remove.
45501         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45502         architectures, not kernel version.
45503         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45504         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45505         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45506         (__ASSUME_WAITID_SYSCALL): Likewise.
45507         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45508         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45509         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45510         refer to older versions.
45512 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45514         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45515         Define alphasort64 as an alias.
45516         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45517         Define versionsort64 as an alias.
45518         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45519         Define scandir64 as an alias.
45520         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45521         Define scandirat64 as an alias.
45522         * dirent/alphasort64.c (alphasort64):
45523         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45524         * dirent/versionsort64.c: Likewise.
45525         * dirent/scandir64.c: Likewise.
45526         * dirent/scandirat64.c: Likewise.
45527         * sysdeps/wordsize-64/alphasort.c: File removed.
45528         * sysdeps/wordsize-64/alphasort64.c: File removed.
45529         * sysdeps/wordsize-64/scandir.c: File removed.
45530         * sysdeps/wordsize-64/scandir64.c: File removed.
45531         * sysdeps/wordsize-64/scandirat.c: File removed.
45532         * sysdeps/wordsize-64/scandirat64.c: File removed.
45533         * sysdeps/wordsize-64/versionsort.c: File removed.
45534         * sysdeps/wordsize-64/versionsort64.c: File removed.
45535         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45536         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45537         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45538         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45539         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45540         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45541         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45542         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45544         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45545         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45546         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45547         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45548         [defined __arch64__ || defined __sparcv9]
45549         (__INO_T_MATCHES_INO64_T): New macro.
45550         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45551         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45552         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45553         * sysdeps/unix/sysv/linux/bits/dirent.h
45554         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45555         (_DIRENT_MATCHES_DIRENT64): New macro.
45557         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45558         Define lockf64 as an alias.
45559         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45560         Define fseeko64 as an alias.
45561         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45562         Define ftello64 as an alias.
45563         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45564         Define _IO_fgetpos64 and fgetpos64 as aliases.
45565         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45566         Define _IO_fsetpos64 and fsetpos64 as aliases.
45567         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45568         Conditionalize body on this.
45569         * libio/fseeko64.c: Likewise.
45570         * libio/ftello64.c: Likewise.
45571         * libio/iofgetpos64.c: Likewise.
45572         * libio/iofsetpos64.c: Likewise.
45573         * sysdeps/wordsize-64/lockf.c: File removed.
45574         * sysdeps/wordsize-64/lockf64.c: File removed.
45575         * sysdeps/wordsize-64/fseeko.c: File removed.
45576         * sysdeps/wordsize-64/fseeko64.c: File removed.
45577         * sysdeps/wordsize-64/ftello.c: File removed.
45578         * sysdeps/wordsize-64/ftello64.c: File removed.
45579         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45580         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45581         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45582         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45583         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45584         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45585         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45586         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45587         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45588         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45589         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45590         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45591         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45592         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45594         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45595         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45596         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45597         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45598         [defined __arch64__ || defined __sparcv9]
45599         (__OFF_T_MATCHES_OFF64_T): New macro.
45600         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45601         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45603         (__OFF_T_MATCHES_OFF64_T): New macro.
45605 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45607         * stdlib/secure-getenv.c (__secure_getenv): Replace
45608         GLIBC_2_16 with GLIBC_2_17.
45610 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45612         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45613         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45615 2012-08-03  David S. Miller  <davem@davemloft.net>
45617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45619 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45621         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45622         Remove.
45623         (__ASSUME_CORRECT_SI_PID): Likewise.
45624         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45625         (__ASSUME_TMPFS_NAME): Likewise.
45626         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45627         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45628         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45629         (HAVE_AUX_SECURE): Make definition unconditional.
45630         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45631         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45633 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45635         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45636         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45637         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45638         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45639         __eloop_threshold instead of SYMLOOP_MAX.
45641         * sysdeps/generic/eloop-threshold.h: New file.
45642         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45643         of MAXSYMLINKS.
45644         * elf/chroot_canon.c (chroot_canon): Likewise.
45646 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45648         [BZ #13717]
45649         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45650         Change to 2.6.0 everywhere.
45651         * sysdeps/unix/sysv/linux/configure: Regenerated.
45652         * sysdeps/unix/sysv/linux/kernel-features.h
45653         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45654         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45655         kernel versions.
45656         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45657         (__ASSUME_FUTEX_REQUEUE): Remove.
45658         (__ASSUME_STATFS64): Define unconditionally.
45659         (__ASSUME_AT_SECURE): Likewise.
45660         (__ASSUME_CORRECT_SI_PID): Likewise.
45661         (__ASSUME_TGKILL): Define without depending on kernel version for
45662         i386.
45663         (__ASSUME_UTIMES): Likewise.
45664         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45665         kernel version.
45666         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45667         (__ASSUME_TMPFS_NAME): Likewise.
45668         * README: Update reference to Linux kernel versions.
45670 2012-08-02  Marek Polacek  <polacek@redhat.com>
45672         [BZ# 14150]
45673         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45674         libc_cv_asm_type_prefix with %.
45675         * configure: Regenerated.
45676         * include/libc-symbols.h: Remove comment about
45677         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45678         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45679         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45680         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45681         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45682         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45683         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45684         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45685         * elf/tst-unique2mod1.c: Likewise.
45686         * elf/tst-unique1mod2.c: Likewise.
45687         * elf/tst-unique1mod1.c: Likewise.
45688         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45689         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45690         Replace ASM_TYPE_DIRECTIVE with .type.
45691         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45692         * sysdeps/i386/sysdep.h: Likewise.
45693         * sysdeps/x86_64/sysdep.h: Likewise.
45694         * sysdeps/sh/sysdep.h: Likewise.
45695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45696         Do not define ASM_TYPE_DIRECTIVE.
45697         * sysdeps/powerpc/sysdep.h: Likewise.
45698         * sysdeps/powerpc/powerpc32/sysdep.h:
45699         Replace ASM_TYPE_DIRECTIVE with .type.
45700         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45701         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45702         * sysdeps/i386/fpu/e_powf.S: Likewise.
45703         * sysdeps/i386/fpu/e_expl.S: Likewise.
45704         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45705         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45706         * sysdeps/i386/fpu/e_pow.S: Likewise.
45707         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45708         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45709         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45710         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45711         * sysdeps/i386/fpu/e_log2.S: Likewise.
45712         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45713         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45714         * sysdeps/i386/fpu/e_powl.S: Likewise.
45715         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45716         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45717         * sysdeps/i386/fpu/e_logl.S: Likewise.
45718         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45719         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45720         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45721         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45722         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45723         * sysdeps/i386/fpu/e_log.S: Likewise.
45724         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45725         * sysdeps/i386/fpu/e_logf.S: Likewise.
45726         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45727         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45728         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45729         * sysdeps/i386/fpu/e_log10.S: Likewise.
45730         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45731         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45732         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45733         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45734         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45735         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45736         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45737         * sysdeps/i386/i686/strtok.S: Likewise.
45738         * sysdeps/i386/i386-mcount.S: Likewise.
45739         * sysdeps/i386/strtok.S: Likewise.
45740         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45741         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45742         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45743         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45744         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45745         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45746         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45747         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45748         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45749         * sysdeps/x86_64/_mcount.S: Likewise.
45750         * sysdeps/x86_64/strtok.S: Likewise.
45751         * sysdeps/sh/_mcount.S: Likewise.
45753 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45755         * libio/iofopen.c: Include <fcntl.h>.
45756         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45757         (_IO_fopen64, fopen64): Define as aliases.
45758         * libio/iofopen64.c: Include <fcntl.h>.
45759         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45760         Conditionalize body on this.
45761         * sysdeps/wordsize-64/iofopen.c: File removed.
45762         * sysdeps/wordsize-64/iofopen64.c: File removed.
45764 2012-08-01  Marek Polacek  <polacek@redhat.com>
45766         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45767         Use dlfcn directly instead of a variable.
45768         (binfmt-subdir): Do not define.
45769         (dlfcn): Likewise.
45771 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
45773         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45774         Remove all definitions.
45775         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45776         <kernel-features.h>.
45777         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45778         (miss_F_GETOWN_EX): Remove all definitions.
45779         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45780         macro definition.
45781         [!__ASSUME_FCNTL64]: Remove conditional code.
45782         [__ASSUME_FCNTL64]: Make code unconditional.
45783         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45784         <kernel-features.h>.
45785         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45786         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45787         (lockf64) [__NR_fcntl64]: Make code unconditional.
45788         (lockf64) [__ASSUME_FCNTL64]: Likewise.
45790         * sysdeps/unix/sysv/linux/kernel-features.h
45791         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45792         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45793         Make code unconditional.
45794         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45795         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45797         [__NR_vfork]: Make code unconditional.
45798         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45799         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45801         [__NR_vfork]: Make code unconditional.
45802         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45803         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45805 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45807         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45808         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45810         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45811         Define mkstemp64 as an alias.
45812         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45813         Define mkstemps64 as an alias.
45814         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45815         Define mkostemp64 as an alias.
45816         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45817         Define mkostemps64 as an alias.
45818         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45819         Conditionalize body on this.
45820         * misc/mkostemp64.c: Likewise.
45821         * misc/mkostemps64.c: Likewise.
45822         * misc/mkstemps64.c: Likewise.
45823         * sysdeps/wordsize-64/mkstemp64.c: File removed.
45824         * sysdeps/wordsize-64/mkostemp64.c: File removed.
45825         * sysdeps/wordsize-64/mkostemp.c: File removed.
45826         * sysdeps/wordsize-64/mkstemp.c: File removed.
45827         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45828         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45829         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45830         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45832         [BZ #14138]
45833         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45834         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45835         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45836         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45838         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45839         compat_symbol macros from <shlib-compat.h> rather than the underlying
45840         default_symbol_version and symbol_version macros, so that DEFAULT
45841         lines in shlib-versions are respected.
45842         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45844 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45846         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45847         Declare with warn_unused_result.
45848         (setgid, setregid, setegid, setresgid): Likewise.
45849         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45850         Likewise.
45851         * WUR-REPORT: Remove set*id functions.
45853 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45855         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45857 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45859         [BZ #10191]
45860         * include/sys/socket.h (__libc_accept, __libc_accept4):
45861         Add attribute_hidden.
45862         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45864         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45865         use of PTR_MANGLE.
45866         * inet/getnetgrent_r.c (setup): Likewise.
45868         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45870 2012-07-31  David S. Miller  <davem@davemloft.net>
45872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45874 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45876         [BZ #13629]
45877         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45878         value between 1.0 and 2.0 and smaller part has absolute value less
45879         than 1.0.
45880         * math/s_clog10.c (__clog10): Likewise.
45881         * math/s_clog10f.c (__clog10f): Likewise.
45882         * math/s_clog10l.c (__clog10l): Likewise.
45883         * math/s_clogf.c (__clogf): Likewise.
45884         * math/s_clogl.c (__clogl): Likewise.
45885         * math/libm-test.inc (clog_test): Add more tests.
45886         (clog10_test): Likewise.
45887         * sysdeps/i386/fpu/libm-test-ulps: Update.
45888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45890 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45892         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45893         Exit with zero in case no suitable GID is found, and write a
45894         message to standard error.
45896 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45898         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45899         rather than to 1.
45900         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45901         (MAXPATHLEN): Removed.
45902         (NOGROUP, NODEV): New macros.
45903         (setbit, clrbit, isset, isclr): New macros.
45904         (howmany, roundup, powerof2): New macros.
45905         (DEV_BSIZE): New macro.
45907         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45908         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45910         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45911         definition on [!__NO_LONG_DOUBLE_MATH].
45913         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45914         PTR_MANGLE and PTR_DEMANGLE.
45916         * socket/accept4.c (accept4): Rename to __libc_accept4.
45917         Define accept4 as a weak alias.
45919         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45920         on [_DIRENT_HAVE_D_TYPE].
45921         * io/ftw.c (ftw_dir): Likewise.
45923         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45925         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45927         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45928         Use the BSD numbers rather than the arbitrary ones we had.
45929         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45930         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45931         (SIGXCPU, SIGXFSZ): New macros.
45932         (_NSIG): Now 32.
45934         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45935         initializer on [_LIBC_REENTRANT].
45937         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45938         definitions inside [_POSIX_MAPPED_FILES].
45940         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45942         * dirent/opendir.c: Include <fcntl.h>.
45944         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45945         (__libc_getspecific): Likewise.
45946         (__libc_key_create): Likewise.
45948         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45949         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45950         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45951         (tmpfile64): Define as alias.
45952         * sysdeps/wordsize-64/tmpfile.c: File removed.
45953         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45954         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45955         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45957         * stdio-common/vfscanf.c: Include <stdbool.h>.
45958         * nss/makedb.c: Likewise.
45959         * stdio-common/_i18n_number.h: Likewise.
45960         * argp/argp-help.c: Likewise.
45961         * posix/wordexp.c: Likewise.
45962         * sysdeps/posix/spawni.c: Likewise.
45963         * nss/nss_files/files-initgroups.c: Likewise.
45964         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45965         * nss/nss_files/files-initgroups.c: Likewise.
45966         * nss/nss_db/db-netgrp.c: Likewise.
45967         * nss/nss_db/db-initgroups.c: Likewise.
45968         * io/fchmodat.c: Include <sys/stat.h>.
45970         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45971         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45973         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45974         [HAVE_MMAP].
45976         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45977         Add multiple inclusion protection.
45979 2012-07-27  David S. Miller  <davem@davemloft.net>
45981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45983 2012-07-27  Gary Benson  <gbenson@redhat.com>
45985         [BZ #14298]
45986         * elf/rtld.c: Include <stap-probe.h>.
45987         (dl_main): Added static probes "init_start" and "init_complete".
45988         * elf/dl-load.c: Include <stap-probe.h>.
45989         (lose): Take new parameter "nsid".
45990         Added static probe "map_failed".
45991         (_dl_map_object_from_fd): Pass namespace id to lose.
45992         Added static probe "map_start".
45993         (open_verify): Pass namespace id to lose.
45994         * elf/dl-open.c: Include <stap-probe.h>.
45995         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45996         and "reloc_complete".
45997         * elf/dl-close.c: Include <stap-probe.h>.
45998         (_dl_close_worker): Added static probes "unmap_start" and
45999         "unmap_complete".
46000         * elf/rtld-debugger-interface.txt: New file documenting the above.
46002 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46004         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46005         rather than a string variable.
46006         * sunrpc/rpc_main.c (h_output): Likewise.
46007         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46009 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46011         * inet/check_native.c: New file.
46013 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46015         [BZ #13629]
46016         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46017         if larger part has absolute value 1.0.
46018         * math/s_clog10.c (__clog10): Likewise.
46019         * math/s_clog10f.c (__clog10f): Likewise.
46020         * math/s_clog10l.c (__clog10l): Likewise.
46021         * math/s_clogf.c (__clogf): Likewise.
46022         * math/s_clogl.c (__clogl): Likewise.
46023         * math/libm-test.inc (clog_test): Add more tests.
46024         (clog10_test): Likewise.
46025         * sysdeps/i386/fpu/libm-test-ulps: Update.
46026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46028         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46029         (pltexit): Likewise.
46030         (La_regs): Likewise.
46031         (La_retval): Likewise.
46032         (int_retval): Likewise.
46033         Update #error for removed macros to refer only to definitions in
46034         tst-audit.h.
46035         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46036         macro.
46037         (pltexit): Likewise.
46038         (La_regs): Likewise.
46039         (La_retval): Likewise.
46040         (int_retval): Likewise.
46041         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46042         macro.
46043         (pltexit): Likewise.
46044         (La_regs): Likewise.
46045         (La_retval): Likewise.
46046         (int_retval): Likewise.
46047         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46048         macro.
46049         (pltexit): Likewise.
46050         (La_regs): Likewise.
46051         (La_retval): Likewise.
46052         (int_retval): Likewise.
46053         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46054         macro.
46055         (pltexit): Likewise.
46056         (La_regs): Likewise.
46057         (La_retval): Likewise.
46058         (int_retval): Likewise.
46059         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46060         macro.
46061         (pltexit): Likewise.
46062         (La_regs): Likewise.
46063         (La_retval): Likewise.
46064         (int_retval): Likewise.
46065         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46066         macro.
46067         (pltexit): Likewise.
46068         (La_regs): Likewise.
46069         (La_retval): Likewise.
46070         (int_retval): Likewise.
46071         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46072         macro definitions in tst-audit.h.
46073         * sysdeps/i386/tst-audit.h: New file.
46074         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46075         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46076         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46077         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46078         * sysdeps/sh/tst-audit.h: Likewise.
46079         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46080         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46081         * sysdeps/x86_64/tst-audit.h: Likewise.
46083 2012-07-26  Andreas Jaeger  <aj@suse.de>
46085         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46086         ptrace.
46088         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46089         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46090         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46091         PTRACE_O_MASK.
46092         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46093         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46094         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46096         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46097         value.
46099         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46100         _sigsys.
46101         (si_call_addr, si_syscall, si_arch): Define new macro.
46102         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46103         _sigsys.
46104         (si_call_addr, si_syscall, si_arch): Define new marcro.
46105         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46106         _sigsys.
46107         (si_call_addr, si_syscall, si_arch): Define new macro.
46108         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46109         _sigsys.
46110         (si_call_addr, si_syscall, si_arch): Define new macro.
46112 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46114         [BZ #13717]
46115         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46116         Change to 2.4.21 where previously 2.4.1.
46117         * sysdeps/unix/sysv/linux/configure: Regenerated.
46118         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46119         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46120         Linux kernel version.
46121         (__ASSUME_STD_AUXV): Remove.
46122         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46123         kernel version.
46124         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46125         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46126         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46127         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46128         (__ASSUME_NETLINK_SUPPORT): Likewise.
46129         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46130         (__no_netlink_support): Remove conditional definition.
46131         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46132         Remove.
46133         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46134         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46135         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46136         (if_nameindex_ioctl): Remove.
46137         (if_nameindex_netlink): Do not handle __no_netlink_support.
46138         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46139         code.
46140         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46141         Remove conditional code.
46142         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46143         code.
46144         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46145         unconditional.
46146         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46147         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46148         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46149         Remove.
46150         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46151         [!__ASSUME_STD_AUXV]: Remove conditional code.
46152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46153         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46154         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46156         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46157         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46158         code.
46159         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46161         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46162         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46163         conditional code.
46164         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46166         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46167         code.
46168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46169         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46170         conditional code.
46171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46172         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46173         code unconditional.
46174         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46175         conditional code.
46176         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46177         unconditional.
46178         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46179         conditional code.
46180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46181         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46182         unconditional.
46183         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46184         conditional code.
46185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46186         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46187         code unconditional.
46188         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46189         conditional code.
46190         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46191         unconditional.
46192         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46193         conditional code.
46194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46195         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46196         code unconditional.
46197         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46198         conditional code.
46199         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46200         unconditional.
46201         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46202         conditional code.
46204 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46206         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46207         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46208         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46209         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46210         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46211         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46212         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46213         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46214         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46215         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46216         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46217         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46218         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46219         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46220         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46221         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46222         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46223         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46224         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46225         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46226         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46227         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46228         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46230 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46232         * Versions.def: Add GLIBC_2.17.
46233         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46234         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46235         Introduce __libc_secure_getenv.
46236         * stdlib/Versions (2.17): Add secure_getenv
46237         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46238         * stdlib/secure-getenv.c: Rename __secure_getenv to
46239         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46240         symbol __secure_getenv for GLIBC_2.0.
46241         * stdlib/tst-secure-getenv.c: New.
46242         * stdlib/Makefile (tests): Add testcase.
46243         * manual/startup.texi (Environment Access): Document
46244         secure_getenv.
46245         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46246         __libc_secure_getenv.
46247         * inet/ruserpass.c (ruserpass): Likewise.
46248         * malloc/mtrace.c (mtrace): Likewise.
46249         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46250         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46251         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46252         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46253         HAVE_SECURE_GETENV.
46254         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46255         __secure_getenv to __libc_secure_getenv.
46256         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46258         Likewise.
46259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46260         Likewise.
46261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46263         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46269 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46271         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46272         (struct La_i86_retval): Likewise.
46273         (struct La_x86_64_regs): Likewise.
46274         (struct La_x86_64_retval): Likewise.
46275         (struct La_x32_regs): Likewise.
46276         (struct La_x32_retval): Likewise.
46277         (struct La_ppc32_regs): Likewise.
46278         (struct La_ppc32_retval): Likewise.
46279         (struct La_ppc64_regs): Likewise.
46280         (struct La_ppc64_retval): Likewise.
46281         (struct La_sh_regs): Likewise.
46282         (struct La_sh_retval): Likewise.
46283         (struct La_s390_32_regs): Likewise.
46284         (struct La_s390_32_retval): Likewise.
46285         (struct La_s390_64_regs): Likewise.
46286         (struct La_s390_64_retval): Likewise.
46287         (struct La_sparc32_regs): Likewise.
46288         (struct La_sparc32_retval): Likewise.
46289         (struct La_sparc64_regs): Likewise.
46290         (struct La_sparc64_retval): Likewise.
46291         (struct audit_ifaces): Remove architecture-specific pltenter and
46292         pltexit members.
46293         * sysdeps/i386/ldsodefs.h: New file.
46294         * sysdeps/powerpc/ldsodefs.h: Likewise.
46295         * sysdeps/s390/ldsodefs.h: Likewise.
46296         * sysdeps/sh/ldsodefs.h: Likewise.
46297         * sysdeps/sparc/ldsodefs.h: Likewise.
46298         * sysdeps/x86_64/ldsodefs.h: Likewise.
46300 2012-07-25  Marek Polacek  <polacek@redhat.com>
46302         [BZ #6808]
46303         * math/libm-test.inc (yn_test): Add another test.
46304         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46305         to ERANGE when the result is +-Inf.
46306         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46307         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46308         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46309         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46311 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46313         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46314         equal to 0.
46315         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46316         clock_t.
46317         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46319 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46321         * configure.in <sysdeps resolving>: Correct printing
46322         Implies_before.
46323         * configure: Regenerate.
46325 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46327         * math/w_ilogb.c: Include <limits.h>.
46328         * math/w_ilogbl.c: Likewise.
46330 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46332         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46333         va_copy.  Document allowing for unavailable va_copy only as
46334         pre-C99 compatibility.
46335         * manual/string.texi (Copying and Concatenation): Use va_copy
46336         instead of __va_copy in concat example.
46338 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46340         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46341         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46342         it if not null.
46344         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46345         with O_NOLINK passed to __file_name_lookup.
46347         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46348         with O_NOLINK passed to __file_name_lookup.
46350         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46351         negative N or less than NGIDS.
46353         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46354         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46355         enough.  Use memcpy instead of strncpy.
46357 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46359         * elf/Makefile (check-data): Remove.
46360         (localplt.data): New vpath directive.
46361         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46362         instead of $(check-data).
46363         * scripts/data/localplt-generic.data: Move to ...
46364         * sysdeps/generic/localplt.data: ... here.
46365         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46366         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46367         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46369         ... here.
46370         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46372         ... here.
46373         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46375         ... here.
46376         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46378         ... here.
46379         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46381         ... here.
46382         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46384         ... here.
46386 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46388         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46389         PPC32 and PPC64 files.
46390         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46391         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46393 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46395         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46396         __makecontext_ret to ...
46397         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46398         ... here and call exit if uc_link is NULL.  New file.
46399         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46400         __makecontext_ret.S.
46401         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46402         __makecontext_ret to ...
46403         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46404         ... here and call exit if uc_link is NULL.  New file.
46405         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46406         __makecontext_ret.S.
46408 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46410         * elf/elf.h (R_390_IRELATIVE): New definition.
46411         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46412         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46413         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46414         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46415         (elf_machine_lazy_rel): Likewise.
46416         * sysdeps/s390/dl-irel.h: New file.
46417         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46418         * sysdeps/s390/s390-64/memset.S: New asm code.
46419         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46420         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46421         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46422         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46423         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46424         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46425         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46426         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46427         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46428         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46429         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46430         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46431         * sysdeps/s390/s390-32/memset.S: New asm code.
46432         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46434 2012-07-17  Marek Polacek  <polacek@redhat.com>
46436         [BZ #14349]
46437         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46438         * sysdeps/s390/s390-64/configure.in: Likewise.
46439         * sysdeps/sparc/configure.in: Likewise.
46440         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46441         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46442         * sysdeps/i386/configure.in: Likewise.
46443         * sysdeps/x86_64/configure.in: Likewise.
46444         * sysdeps/sh/configure.in: Likewise.
46445         * sysdeps/s390/s390-32/configure: Regenerated.
46446         * sysdeps/s390/s390-64/configure: Likewise.
46447         * sysdeps/x86_64/configure: Likewise.
46448         * sysdeps/sh/configure: Likewise.
46449         * sysdeps/powerpc/powerpc64/configure: Likewise.
46450         * sysdeps/powerpc/powerpc32/configure: Likewise.
46451         * sysdeps/sparc/configure: Likwise.
46452         * sysdeps/i386/configure: Likewise.
46454         * elf/dl-open.c: Comment fixes.
46456 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46458         * Makefile [CXX] (check-data): Remove.
46459         [CXX] (c++-types.data): New vpath directive.
46460         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46461         vpath.  Do not allow for C++ type data being missing.
46462         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46463         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46464         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46465         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46466         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46467         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46468         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46470         ... here.
46471         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46473         ... here.
46474         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46476         ... here.
46477         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46479         ... here.
46480         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46482         ... here.
46483         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46485         ... here.
46486         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46488         ... here.
46489         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46492         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46493         definitions to architecture-specific files.
46494         (TLS_IE): Likewise.
46495         (TLS_LD): Likewise.
46496         (TLS_GD): Likewise.
46497         * sysdeps/i386/tls-macros.h: New file.
46498         * sysdeps/powerpc/tls-macros.h: Likewise.
46499         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46500         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46501         * sysdeps/sh/tls-macros.h: Likewise.
46502         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46503         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46504         * sysdeps/x86_64/tls-macros.h: Likewise.
46506 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46508         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46509         zero value for regular exit case.
46511         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46512         (__start_context): Preserve zero value for regular exit case.
46514 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46515             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46517         * manual/setjmp.texi (setcontext): Clarify normal process
46518         termination when uc_link is the null pointer.
46519         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46520         exit call.
46522 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46524         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46525         preprocessor.  Test for each exception mask separately.
46527 2012-07-16  Andreas Jaeger  <aj@suse.de>
46529         * po/ru.po: Update from translation team.
46531 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46533         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46534         equal to 0.
46535         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46536         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46537         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46538         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46539         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46541 2012-07-13  Andreas Jaeger  <aj@suse.de>
46543         * po/fr.po: Update from translation team.
46545 2012-07-12  Marek Polacek  <polacek@redhat.com>
46547         [BZ #14173]
46548         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46549         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46550         loop condition.
46552 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46554         [BZ #13717]
46555         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46556         Change to 2.4.1 where previously 2.4.0.
46557         * sysdeps/unix/sysv/linux/configure: Regenerated.
46558         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46559         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46560         version.
46561         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46562         (__ASSUME_AT_CLKTCK): Remove.
46563         (__ASSUME_AT_PAGESIZE): Likewise.
46564         (__ASSUME_AT_XID): Likewise.
46565         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46566         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46567         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46568         unconditionally.
46569         (HAVE_AUX_PAGESIZE): Likewise.
46570         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46571         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46572         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46574 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46576         [BZ #14307]
46577         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46578         the temporary buffer used to invoke __gethostbyname2_r,
46579         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46580         host_data / struct gaih_addrtuple.
46581         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46582         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46583         header file nss/nsswitch.h.
46584         * nss/nsswitch.h (global scope): Add definition of implementation
46585         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46586         resolv/nss_dns/dns-host.c).
46588 2012-07-11  Andreas Jaeger  <aj@suse.de>
46590         * po/fr.po: Update from translation team.
46592         * po/sv.po: Update from translation team
46593         * po/fr.po: Another update from translation team.
46595 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46597         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46598         for subnormals or multiply small sinh result by itself.
46599         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46602 2012-07-11  David S. Miller  <davem@davemloft.net>
46604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46606 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46608         [BZ #14347]
46609         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46610         (INTERNAL_MARK): Shift it here.
46612 2012-07-10  Marek Polacek  <polacek@redhat.com>
46614         [BZ #14151]
46615         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46616         libc_cv_asm_global_directive with .globl.
46617         * configure: Regenerated.
46618         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46619         with .globl.
46620         * sysdeps/i386/configure: Regenerated.
46621         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46622         with .globl.
46623         * sysdeps/x86_64/configure: Regenerated.
46624         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46625         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46626         * elf/tst-unique2mod2.c: Likewise.
46627         * elf/tst-unique2mod1.c: Likewise.
46628         * elf/tst-unique1mod2.c: Likewise.
46629         * elf/tst-unique1mod1.c: Likewise.
46630         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46631         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46632         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46633         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46634         * sysdeps/mach/sysdep.h: Likewise.
46635         * sysdeps/i386/sysdep.h: Likewise.
46636         * sysdeps/i386/i386-mcount.S: Likewise.
46637         * sysdeps/x86_64/_mcount.S: Likewise.
46638         * sysdeps/x86_64/sysdep.h: Likewise.
46639         * sysdeps/sh/_mcount.S: Likewise.
46640         * sysdeps/sh/sysdep.h: Likewise.
46641         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46642         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46643         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46644         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46645         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46646         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46647         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46648         * locale/localeinfo.h: Likewise.
46649         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46650         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46652 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46654         [BZ #14336]
46655         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46656         system".
46657         * manual/message.texi (The Uniforum approach): Likewise.
46658         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46659         (glibc iconv Implementation): Likewise.
46661 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46663         [BZ #14337]
46664         * math/s_clog.c (__clog): Avoid scaling a value down where that
46665         could result in underflow.
46666         * math/s_clog10.c (__clog10): Likewise.
46667         * math/s_clog10f.c (__clog10f): Likewise.
46668         * math/s_clog10l.c (__clog10l): Likewise.
46669         * math/s_clogf.c (__clogf): Likewise.
46670         * math/s_clogl.c (__clogl): Likewise.
46671         * math/libm-test.inc (clog_test): Add more tests.
46672         (clog10_test): Likewise.
46673         * sysdeps/i386/fpu/libm-test-ulps: Update.
46674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46676 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46678         [BZ #14283]
46679         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46680         by 7 not 8 to examine high bit of fractional part.
46682         [BZ #14042]
46683         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46684         for call to __mcount_internal.
46685         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46686         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46687         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46689 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46691         [BZ #14154]
46692         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46693         approximation for values within 0x1p-13f of an odd multiple of
46694         pi/4.
46695         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46696         exception.  Add more tests.
46697         * sysdeps/i386/fpu/libm-test-ulps: Update.
46699         [BZ #6778]
46700         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46701         inputs and return -1 for them.  Do not check for +Inf in case not
46702         reachable for +Inf.
46703         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46704         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46705         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46706         and return -1 for them.  Do not check for +Inf in case not
46707         reachable for +Inf.
46708         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46709         define.
46710         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46711         and return -1 for them.  Do not check for +Inf in case not
46712         reachable for +Inf.
46713         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46714         spurious underflow.
46715         * sysdeps/i386/fpu/libm-test-ulps: Update.
46716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46718 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46720         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46722 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46724         [BZ #14157]
46725         [BZ #14331]
46726         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46727         could result in spurious underflow.  Scale down values above
46728         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46729         * math/s_csqrtf.c (__csqrtf): Likewise.
46730         * math/s_csqrtl.c (__csqrtl): Likewise.
46731         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46732         spurious underflow.
46733         * sysdeps/i386/fpu/libm-test-ulps: Update.
46734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46736 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46738         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46739         xopen-msg.sed.
46740         * catgets/xopen-msg.awk: New file.
46741         * catgets/xopen-msg.sed: Removed.
46743         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46744         po2text.sed.
46745         * intl/po2test.awk: New file.
46746         * intl/po2test.sed: Removed.
46748 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46750         [BZ #14328]
46751         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46752         or multiply small sinh result by itself.
46753         * math/s_ctanf.c (__ctanf): Likewise.
46754         * math/s_ctanh.c (__ctanh): Likewise.
46755         * math/s_ctanhf.c (__ctanhf): Likewise.
46756         * math/s_ctanhl.c (__ctanhl): Likewise.
46757         * math/s_ctanl.c (__ctanl): Likewise.
46758         * math/libm-test.inc (ctan_test_tonearest): New function.
46759         (ctan_test_towardzero): Likewise.
46760         (ctan_test_downward): Likewise.
46761         (ctan_test_upward): Likewise.
46762         (ctanh_test_tonearest): Likewise.
46763         (ctanh_test_towardzero): Likewise.
46764         (ctanh_test_downward): Likewise.
46765         (ctanh_test_upward): Likewise.
46766         (main): Call these new functions.
46767         * sysdeps/i386/fpu/libm-test-ulps: Update.
46768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46770 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
46772         * .gitignore: Delete /ports entry.
46774 2012-07-03  Andreas Jaeger  <aj@suse.de>
46776         * po/bg.po: Update from translation team.
46777         * po/cs.po: Likewise.
46778         * po/de.po: Likewise.
46779         * po/hr.po: Likewise.
46780         * po/nl.pl: Likewise.
46781         * po/pl.po: Likewise.
46782         * po/vi.po: Likewise.
46784 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
46786         * Makeconfig [!+link] (+link-before-libc): New variable.
46787         [!+link] (+link-after-libc): Likewise.
46788         [!+link] (+link-tests): Likewise.
46789         [!+link] (+link): Define in terms of $(+link-before-libc) and
46790         $(+link-after-libc).
46791         [!+link-static] (+link-static-before-libc): New variable.
46792         [!+link-static] (+link-static-after-libc): Likewise.
46793         [!+link-static] (+link-static-tests): Likewise.
46794         [!+link-static] (+link-static): Define in terms of
46795         $(+link-static-before-libc) and $(+link-static-after-libc).
46796         [build-shared] (link-libc-before-gnulib): New variable.
46797         [build-shared] (link-libc-tests): Likewise.
46798         [build-shared] (link-libc): Define in terms of
46799         $(link-libc-before-gnulib).
46800         [!build-shared] (link-libc-tests): New variable.
46801         (link-libc-static-tests): New variable.
46802         [!gnulib] (gnulib-arch): New variable.
46803         [!gnulib] (gnulib-tests): Likewise.
46804         [!gnulib] (static-gnulib-arch): Likewise.
46805         [!gnulib] (static-gnulib-tests): Likewise.
46806         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
46807         Define with "=" instead of ":=".
46808         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
46809         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
46810         * Rules (binaries-all-notests): New variable.
46811         (binaries-all-tests): Likewise.
46812         (binaries-static-notests): Likewise.
46813         (binaries-static-tests): Likewise.
46814         (binaries-all): Define using $(binaries-all-notests) and
46815         $(binaries-all-tests).
46816         (binaries-static): Define using $(binaries-static-notests) and
46817         $(binaries-static-tests).
46818         (binaries-shared-tests): New variable.
46819         (binaries-shared-notests): Likewise.
46820         (binaries-shared): Remove variable.
46821         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46822         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46823         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46824         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46825         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46826         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46827         * elf/Makefile (sln-modules): New variable.
46828         (extra-objs): Add $(sln-modules:=.o).
46829         (ldconfig-modules): Add static-stubs.
46830         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46831         * elf/static-stubs.c: New file.
46833         [BZ #14283]
46834         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46835         by 7 not 8 to examine high bit of fractional part.  Use volatile
46836         variables when splitting into final array of floats if
46837         __FLT_EVAL_METHOD__ != 0.
46838         * math/libm-test.inc (cos_test): Add another test.
46839         (sin_test): Likewise.
46840         * sysdeps/i386/fpu/libm-test-ulps: Update.
46842         [BZ #14273]
46843         * math/libm-test.inc (cosh_test): Add more tests.
46845         * version.h (RELEASE): Set to "development".
46846         (VERSION): Set to "2.16.90".
46848 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46850         * NEWS: Update copyright. Remove last-updated date.
46851         Mention math library bug fixes and timezone data changes.
46852         * README: Mention GNU/Hurd, x32, and HPPA support status.
46854 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46856         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46858 2012-06-27  Andreas Jaeger  <aj@suse.de>
46860         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46862 2012-06-25  Andreas Jaeger  <aj@suse.de>
46864         * sysdeps/s390/fpu/libm-test-ulps: Update.
46866 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46867             Thomas Schwinge  <thomas@codesourcery.com>
46869         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46870         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46871         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46872         fanotify_mark.
46874 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46876         * sysdeps/mach/start.c: Remove file.
46877         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46878         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46879         * sysdeps/sh/init-first.c: Likewise.
46881         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46882         registers for frame unwinding purposes, add CFI directives.
46883         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46884         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46885         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46886         Likewise.
46888         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46889         __fortify_fail returning.
46890         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46892         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46893         sysdeps/sh/____longjmp_chk.S.
46894         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46895         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46896         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46897         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46899         * sysdeps/sh/abort-instr.h: New file.
46900         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46901         process in case exit returns.
46903         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46904         initialize the GOT register before use.
46906         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46907         calculation of ARGC > 4.
46909         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46910         meaningful names to some local labels.
46912 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46913             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46915         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46916         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46917         (__arch_compare_and_exchange_val_16_acq): Likewise.
46918         (__arch_compare_and_exchange_val_32_acq): Likewise.
46919         (atomic_exchange_and_add): Fix gUSA sequence.
46920         (atomic_add): Likewise.
46921         (atomic_add_negative): Likewise.
46922         (atomic_add_zero): Likewise.
46923         (atomic_bit_test_set): Likewise.
46925 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46927         [BZ #13579]
46928         * include/link.h (struct link_map): Add l_free_initfini.
46929         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46930         l_initfini.
46931         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46932         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46933         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46934         set.
46936 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46938         * configure.in: Use AC_LANG_SOURCE.
46939         * configure: Regenerate.
46941 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46943         * configure.in (libc_cv_localstatedir): New substituted variable.
46944         * configure: Regenerated.
46945         * config.make.in (localstatedir): New variable, substituted from
46946         libc_cv_localstatedir.
46947         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46948         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46949         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46950         * sysdeps/gnu/configure: Regenerated.
46952 2012-06-21  Jeff Law  <law@redhat.com>
46954         [BZ #14277]
46955         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46956         free.  Simplify list management for _LIBC case.
46958 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46960         [BZ #14273]
46961         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46962         Clear sign bit of 64-bit integer value before comparing against
46963         overflow value.
46965         * sysdeps/mach/configure: Regenerated.
46967 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46969         [BZ #14278]
46970         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46972 2012-06-21  Jeff Law  <law@redhat.com>
46974         [BZ #13882]
46975         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46976         uint16_t for elements in the "seen" array to avoid char overflows.
46977         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46978         * elf/dl-open.c (dl_open_worker): Likewise.
46980 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46982         * scripts/list-sources.sh: Scan PORTS for translations.
46983         * po/libc.pot: Regenerated.
46985 2012-06-21  Andreas Jaeger  <aj@suse.de>
46987         [BZ #12194]
46988         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46989         warning.
46990         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46991         * bits/byteswap-16.h (__bswap_16): Likewise.
46992         * bits/byteswap.h (__bswap_constant_16): Likewise.
46994 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46996         [BZ #14117]
46997         * sysdeps/i386/fpu_control.h: Removed.
46998         * sysdeps/x86_64/fpu_control.h: Moved to ...
46999         * sysdeps/x86/fpu_control.h: Here.
47001         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47002         (_FPU_SETCW): Likewise.
47004 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47006         [BZ #14117]
47007         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47008         * sysdeps/x86/fpu/bits/mathinline.h: This.
47009         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47011         [BZ #14050]
47012         [BZ #14117]
47013         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47014         functions if __x86_64__ is defined.
47016 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47018         * string/endian.h: Add !__ASSEMBLER__ condition for including
47019         conversion interfaces.
47021 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47023         [BZ #14241]
47024         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47025         of ABS(x) in calculating zero to negative powers other than odd
47026         integers.
47027         * math/libm-test.inc (pow_test): Add more tests.
47029 2012-06-15  Andreas Jaeger  <aj@suse.de>
47031         * manual/contrib.texi (Contributors): Update entry of Liubov
47032         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47033         Machado Filho.
47035 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47037         * string/string.h: Add __wur to GNU version of strerror_r.
47039 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47041         [BZ #14229]
47042         * string/Makefile (tests): Add tst-strtok_r.
47043         * string/tst-strtok_r.c: New file.
47044         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47045         RAX_LP/RDX_LP on SAVE_PTR.
47047 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47049         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47051 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47053         * libm_test.inc (csqrt_test): Allow more spurious underflow
47054         exceptions.
47055         (j0_test): Likewise.
47056         (j1_test): Likewise.
47057         (y0_test): Likewise.
47058         (y1_test): Likewise.
47060 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47062         * po/Makefile (libc.pot): Use UTF-8 charset.
47064 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47066         [BZ #14210]
47067         Suppress sign-conversion warning from FD_SET.
47068         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47069         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47070         not unsigned long int.
47071         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47073 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47075         [BZ #14050]
47076         [BZ #14117]
47077         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47078         __extern_always_inline instead of __extern_inline.
47079         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47080         (__signbit): Likewise.
47081         (__signbitl): Support C++ namespace.
47082         (lrintf): New inline function.
47083         (lrint): Likewise.
47084         (llrintf): Likewise.
47085         (llrint): Likewise.
47086         (fmaxf): Likewise.
47087         (fmax): Likewise.
47088         (fminf): Likewise.
47089         (fmin): Likewise.
47090         (rint): Likewise.
47091         (rintf): Likewise.
47092         (ceil): Likewise.
47093         (ceilf): Likewise.
47094         (floor): Likewise.
47095         (floorf): Likewise.
47096         (nearbyint): Likewise.
47097         (nearbyintf): Likewise.
47099 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47101         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47102         non-default versions.
47104 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47106         [BZ #14218]
47107         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47109 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47111         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47112         (FE_UPWARD, FE_DOWNWARD): Don't define.
47113         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47114         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47116         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47117         reading it.
47118         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47119         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47121 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47123         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47124         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47125         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47126         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47128 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47130         [BZ #14117]
47131         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47132         * sysdeps/i386/fpu/Implies: New file.
47133         * sysdeps/x86_64/fpu/Implies: Likewise.
47134         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47135         * sysdeps/x86/fpu/bits/fenv.h: This.
47137         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47138         __SSE_MATH__.
47140 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47142         [BZ #14134]
47143         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47144         character 0xffff that matches the last element of the
47145         conversion table.
47147 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47149         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47150         fmodl commit.
47152 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47154         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47155         values higher than 25.6283.
47157 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47159         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47160         subnormal exponent extraction and add some __builtin_expect.
47161         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47162         Fix for subnormal mantissa calculation.
47164 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47166         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47167         cpu2 is -1 and errno is not ENOSYS.
47169 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47171         [BZ #14117]
47172         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47173         * sysdeps/x86/bits/string.h: This.
47174         * sysdeps/x86_64/bits/string.h: Removed.
47176         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47177         if not compiling for x86-64, but compiling for >= i486.
47179         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47180         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47182         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47183         New macro from Linux kernel 3.4.0.
47184         (FP_XSTATE_MAGIC2): Likewise.
47185         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47186         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47187         (struct _fpx_sw_bytes): New struct.
47188         (struct _xsave_hdr): Likewise.
47189         (struct _ymmh_state): Likewise.
47190         (struct _xstate): Likewise.
47192         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47193         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47194         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47195         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47196         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47197         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47199         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47200         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47201         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47202         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47203         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47204         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47206 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47208         [BZ #13743]
47209         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47210         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47211         (sysdep_headers): Include sys/platform/ppc.h.
47212         * sysdeps/powerpc/test-gettimebase.c: Test for
47213         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47214         * manual/Makefile (appendices): Include platform.texi.
47215         * manual/contrib.texi (Contributors): Update @node pointers.
47216         * manual/maint.texi (Maintenance): Likewise.
47217         (Platform): New node.
47218         * manual/platform.texi: New file.  Document the new features.
47220 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47221             Jakub Jelinek  <jakub@redhat.com>
47223         [BZ #14188]
47224         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47225         where __builtin_expect is unavailable.
47227 2012-06-03  David S. Miller  <davem@davemloft.net>
47229         * stdlib/longlong.h: Updated from GCC.
47231 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47233         [BZ #14042]
47234         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47235         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47236         __mcount_internal.
47237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47238         (GLIBC_2.16): Likewise.
47240 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47242         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47244 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47247         (default-abi): New variable.
47248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47249         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47250         variable.
47251         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47252         Likewise.
47253         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47254         Likewise.
47255         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47256         Likewise.
47258         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47259         definition.  Document in comment.
47261 2012-06-01  David S. Miller  <davem@davemloft.net>
47263         * stdlib/longlong.h: Updated from GCC.
47265 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47267         [BZ #14117]
47268         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47269         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47270         sys/debugreg.h sys/io.h here.
47271         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47272         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47273         sys/io.h.
47274         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47275         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47276         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47277         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47278         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47279         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47281         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47282         Define only if __x86_64__ is defined.
47284 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47286         [BZ #14048]
47287         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47288         Use int64_t for variable i.
47289         * math/libm-test.inc (fmod_test): Add more tests.
47291         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47292         z computation is not scheduled after fetestexcept.
47293         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47294         Use math_force_eval instead of asm to ensure calculation scheduled
47295         before exception test.
47296         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47297         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47299 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47301         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47302         computation is not scheduled after fetestexcept.
47304 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47306         [BZ #14117]
47307         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47308         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47310 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47312         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47313         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47315 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47317         [BZ #14117]
47318         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47319         <bits/wordsize.h>.
47320         (__WCHAR_MIN): Support __WORDSIZE == 64.
47321         (__WCHAR_MAX): Likewise.
47323         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47324         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47326         [BZ #14183]
47327         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47328         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47330         [BZ #14117]
47331         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47332         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47334         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47335         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47337         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47338         Defined to 1 if __x86_64__ isn't defined.
47339         (_STAT_VER_LINUX_OLD): New.
47340         (st_atime): Remove duplicate.
47341         (st_mtime): Likewise.
47342         (st_ctime): Likewise.
47344 2012-05-31  David S. Miller  <davem@davemloft.net>
47346         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47347         entries.
47349 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47351         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47352         gen-libm-test.pl.
47354         [BZ #14132]
47355         * elf/dl-reloc.c: Include <_itoa.h>.
47356         (_dl_reloc_bad_type): Remove use of INTUSE.
47357         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47358         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47359         * stdio-common/psiginfo.c (psiginfo): Likewise.
47360         * stdio-common/psignal.c (psignal): Likewise.
47361         * string/strsignal.c (strsignal): Likewise.
47362         * include/signal.h (_sys_siglist): Declare hidden proto.
47363         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47364         INTVARDEF with libc_hidden_data_def.
47365         * stdio-common/itoa-udigits.c: Likewise.
47366         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47367         (_itoa_lower_digits_internal): Remove declaration.
47368         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47369         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47370         (_sys_sigabbrev_internal): Remove aliases.
47371         (_sys_siglist): Define hidden alias.
47373 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47375         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47376         bits/sysctl.h.
47378 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47380         [BZ #14117]
47381         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47382         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47384         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47385         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47386         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47387         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47388         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47389         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47391         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47392         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47393         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47395         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47396         with __addr.
47397         (insw): Likewise.
47398         (insl): Likewise.
47399         (outsb): Likewise.
47400         (outsw): Likewise.
47401         (outsl): Likewise.
47403         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47404         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47405         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47407         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47408         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47409         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47410         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47411         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47412         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47414         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47415         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47417         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47418         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47420         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47421         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47422         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47424         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47425         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47426         to ...
47427         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47429         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47430         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47431         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47433         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47434         for x86-64.
47435         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47437 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47439         * math/math.h (M_El): Use two more decimal places.
47440         (M_LOG2El): Likewise.
47441         (M_LOG10El): Likewise.
47442         (M_LN2l): Likewise.
47443         (M_LN10l): Likewise.
47444         (M_PIl): Likewise.
47445         (M_PI_2l): Likewise.
47446         (M_PI_4l): Likewise.
47447         (M_1_PIl): Likewise.
47448         (M_2_PIl): Likewise.
47449         (M_2_SQRTPIl): Likewise.
47450         (M_SQRT2l): Likewise.
47451         (M_SQRT1_2l): Likewise.
47453 2012-05-31  David S. Miller  <davem@davemloft.net>
47455         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47456         values between float registers.
47457         * sysdeps/sparc/sparc64/memset.S: Likewise.
47458         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47460 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47462         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47463         -D_FORTIFY_SOURCE=1.
47464         (CPPFLAGS-tst-longjmp_chk.c): Define.
47465         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47466         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47467         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47468         CFLAGS-tst-wchar-h.c.
47470 2012-05-31  Marek Polacek  <polacek@redhat.com>
47472         [BZ #14132]
47473         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47474         __endmntent_internal): Remove declaration.
47475         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47476         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47477         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47479 2012-05-30  David S. Miller  <davem@davemloft.net>
47481         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47482         (___Q_simulate_exceptions): Use real FP ops rather than writing
47483         into the %fsr.
47484         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47485         Likewise.
47487 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47489         [BZ #14117]
47490         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47491         * sysdeps/x86/bits/xtitypes.h: This.
47493         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47494         * sysdeps/x86/bits/wordsize.h: This.
47496         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47497         * sysdeps/x86/bits/huge_vall.h: This.
47499         * sysdeps/i386/bits/select.h: Removed.
47500         * sysdeps/x86_64/bits/select.h: Renamed to ...
47501         * sysdeps/x86/bits/select.h: This.
47503         * sysdeps/i386/bits/setjmp.h: Removed.
47504         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47505         * sysdeps/x86/bits/setjmp.h: This.
47507         * sysdeps/i386/bits/mathdef.h: Removed.
47508         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47509         * sysdeps/x86/bits/mathdef.h: This.
47511 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47513         [BZ #14132]
47514         * include/sys/socket.h (__connect_internal)
47515         (__libc_sa_len_internal): Remove declaration.
47516         (__connect, __libc_sa_len): Declare hidden_proto.
47517         (SA_LEN): Remove use of INTUSE.
47518         * socket/connect.c: Add libc_hidden_def.
47519         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47520         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47521         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47522         alias.
47523         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47524         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47525         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47526         of adding _internal alias.
47528 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47530         [BZ #14117]
47531         * sysdeps/i386/bits/link.h: Removed.
47532         * sysdeps/i386/bits/linkmap.h: Likewise.
47533         * sysdeps/x86_64/bits/link.h: Renamed to ...
47534         * sysdeps/x86/bits/link.h: This.
47535         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47536         * sysdeps/x86/bits/linkmap.h: This.
47538         * sysdeps/i386/bits/endian.h: Removed.
47539         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47540         * sysdeps/x86/bits/endian.h: This.
47542         * sysdeps/i386/bits/byteswap.h: Removed.
47543         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47544         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47545         * sysdeps/x86/bits/byteswap.h: This.
47546         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47547         * sysdeps/x86/bits/byteswap-16.h: This.
47548         * sysdeps/i386/Implies: Add x86.
47549         * sysdeps/x86_64/Implies: Likewise.
47551 2012-05-30  David S. Miller  <davem@davemloft.net>
47553         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47554         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47555         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47556         (FP_TRAPPING_EXCEPTIONS): Define.
47557         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47558         (FP_TRAPPING_EXCEPTIONS): Define.
47559         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47560         subnormals only when inexact has been signalled or underflow
47561         exceptions are enabled.
47562         (_FP_PACK_CANONICAL): Likewise.
47564 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47566         [BZ #14183]
47567         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47568         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47570 2012-05-30  Richard Henderson  <rth@twiddle.net>
47572         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47573         with #ifndef NOT_IN_libc.
47575         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47576         marked to avoid plt entry.
47578 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47580         [BZ #14112]
47581         * Makeconfig (default-abi): New macro.
47582         (abi-includes): Likewise.
47583         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47584         $(abi-$(default-abi)-lib-soname) for soname if defined.
47585         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47586         abi-variants.
47587         * Makefile (installed-stubs): Likewise.
47588         * include/stubs-biarch.h: Removed.
47589         * scripts/lib-names.awk: Only handle one library at a time.
47590         * scripts/soversions.awk: Remove WORDSIZE support.
47591         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47592         entries.
47593         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47594         Removed.
47595         (syscall-list-default-condition): Likewise.
47596         (syscall-list-default-condition): Likewise.
47597         (syscall-list-includes): Likewise.
47598         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47599         syscall-list-* with abi-*.  Handle undefined abi-variants.
47600         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47601         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47602         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47603         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47604         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47605         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47606         Removed.
47607         (syscall-list-32-options): Likewise.
47608         (syscall-list-32-condition): Likewise.
47609         (syscall-list-64-options): Likewise.
47610         (syscall-list-64-condition): Likewise.
47611         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47612         macro.
47613         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47614         Renamed to ...
47615         (abi-*): This.
47616         (abi-64-ld-soname): New macro.
47617         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47618         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47619         Renamed to ...
47620         (abi-*): This.
47621         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47622         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47624 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47626         * sysdeps/unix/sysv/linux/kernel-features.h
47627         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47628         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47629         include <kernel-features.h>.
47630         [!__NR_ftruncate64]: Remove conditional code.
47631         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47632         [__NR_ftruncate64]: Make code unconditional.
47633         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47634         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47635         include <kernel-features.h>.
47636         [!__NR_ftruncate64]: Remove conditional code.
47637         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47638         [__NR_ftruncate64]: Make code unconditional.
47639         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47641         include <kernel-features.h>.
47642         [!__NR_ftruncate64]: Remove conditional code.
47643         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47644         [__NR_ftruncate64]: Make code unconditional.
47645         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47647         include <kernel-features.h>.
47648         [!__NR_ftruncate64]: Remove conditional code.
47649         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47650         [__NR_ftruncate64]: Make code unconditional.
47651         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47653         * configure.in (libc_cv_fpie): Weaken to a compile test using
47654         LIBC_TRY_CC_OPTION.
47655         * configure: Regenerated.
47657 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47663         Refreshed.
47664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47670         Refreshed.
47672 2012-05-27  David S. Miller  <davem@davemloft.net>
47674         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47675         (___Q_zero): New.
47676         (__Q_simulate_exceptions): Return void.  Change to simulate
47677         exceptions by writing into the %fsr.
47678         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47679         (__Qp_handle_exceptions): Likewise.
47680         (numbers): Delete.
47681         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47682         __Qp_handle_exceptions.
47683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47684         __Qp_handle_exceptions.
47685         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47686         as unused and give dummy FP_RND_NEAREST initializer.
47687         (FP_INHIBIT_RESULTS): Define.
47688         (___Q_simulate_exceptions): Update declaration.
47689         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47690         formatting.
47691         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47692         as unused and give dummy FP_RND_NEAREST initializer.
47693         (__Qp_handle_exceptions): Update declaration.
47694         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47695         formatting.
47697 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47699         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47700         the temporary FPU control word.
47701         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47702         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47703         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47704         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47705         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47706         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47707         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47708         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47709         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47710         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47711         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47713 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47715         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47716         fields.
47718 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47720         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47721         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47722         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47723         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47724         Likewise.
47725         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47726         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47727         Likewise.
47729 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47731         * po/h.po: Update from translation team.
47733 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47735         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47737         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47738         handling of denormals.
47739         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47740         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47741         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47742         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47743         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47744         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47745         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47746         Likewise.
47748 2012-05-26  Marek Polacek  <polacek@redhat.com>
47750         [BZ #14152]
47751         * math/libm-test.inc (fma_test): Don't always expect underflow
47752         exception.
47754 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47756         [BZ #12416]
47757         * elf/tst-execstack.c: Include stackinfo.h.
47758         (do_test): Adjust test case to ensure that pthread_getattr_np
47759         behaviour remains the same after marking stack executable.
47761 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47763         * sysdeps/unix/sysv/linux/kernel-features.h
47764         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47765         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47766         kernel-features.h.
47767         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47768         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47769         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47770         kernel-features.h.
47771         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47772         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47774 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
47776         * configure.in: Define the default includes to being none.
47777         * configure: Regenerated.
47779 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47781         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47782         * sysdeps/x86_64/setjmp.S: Likewise.
47783         * sysdeps/i386/bsd-setjmp.S: Likewise.
47784         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47785         * sysdeps/i386/setjmp.S: Likewise.
47786         * sysdeps/i386/__longjmp.S: Likewise.
47787         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47788         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47790         * include/stap-probe.h: New file.
47791         * configure.in: Handle --enable-systemtap.
47792         * configure: Regenerated.
47793         * config.h.in (USE_STAP_PROBE): New #undef.
47794         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47795         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47796         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47798 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47800         [BZ #13717]
47801         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47802         to 2.4.0 where earlier.
47803         * sysdeps/unix/sysv/linux/configure: Regenerated.
47804         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47805         <kernel-features.h>.
47806         [__ASSUME_32BITUIDS]: Make code unconditional.
47807         [!__ASSUME_32BITUIDS]: Remove conditional code.
47808         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47809         <kernel-features.h>.
47810         [__ASSUME_32BITUIDS]: Make code unconditional.
47811         [!__ASSUME_32BITUIDS]: Remove conditional code.
47812         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47813         [__ASSUME_32BITUIDS]: Make code unconditional.
47814         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47815         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47816         <kernel-features.h>.
47817         [__ASSUME_32BITUIDS]: Make code unconditional.
47818         [!__ASSUME_32BITUIDS]: Remove conditional code.
47819         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47820         <kernel-features.h>.
47821         [__ASSUME_32BITUIDS]: Make code unconditional.
47822         [!__ASSUME_32BITUIDS]: Remove conditional code.
47823         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47824         <kernel-features.h>.
47825         [__ASSUME_32BITUIDS]: Make code unconditional.
47826         [!__ASSUME_32BITUIDS]: Remove conditional code.
47827         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47828         <kernel-features.h>.
47829         [__ASSUME_32BITUIDS]: Make code unconditional.
47830         [!__ASSUME_32BITUIDS]: Remove conditional code.
47831         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47832         <kernel-features.h>.
47833         [__ASSUME_32BITUIDS]: Make code unconditional.
47834         [!__ASSUME_32BITUIDS]: Remove conditional code.
47835         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47836         <kernel-features.h>.
47837         [__ASSUME_32BITUIDS]: Make code unconditional.
47838         [!__ASSUME_32BITUIDS]: Remove conditional code.
47839         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47840         <kernel-features.h>.
47841         [__ASSUME_32BITUIDS]: Make code unconditional.
47842         [!__ASSUME_32BITUIDS]: Remove conditional code.
47843         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47844         <kernel-features.h>.
47845         [__ASSUME_32BITUIDS]: Make code unconditional.
47846         [!__ASSUME_32BITUIDS]: Remove conditional code.
47847         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47848         <kernel-features.h>.
47849         [__ASSUME_32BITUIDS]: Make code unconditional.
47850         [!__ASSUME_32BITUIDS]: Remove conditional code.
47851         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47852         <kernel-features.h>.
47853         [__ASSUME_32BITUIDS]: Make code unconditional.
47854         [!__ASSUME_32BITUIDS]: Remove conditional code.
47855         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47856         <kernel-features.h>.
47857         [__NR_setresgid] (__setresgid): Do not declare.
47858         [__ASSUME_32BITUIDS]: Make code unconditional.
47859         [!__ASSUME_32BITUIDS]: Remove conditional code.
47860         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47861         <kernel-features.h>.
47862         [__NR_setresuid] (__setresuid): Do not declare.
47863         [__ASSUME_32BITUIDS]: Make code unconditional.
47864         [!__ASSUME_32BITUIDS]: Remove conditional code.
47865         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
47866         <kernel-features.h>.
47867         [__ASSUME_32BITUIDS]: Make code unconditional.
47868         [!__ASSUME_32BITUIDS]: Remove conditional code.
47869         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
47870         <kernel-features.h>.
47871         [__ASSUME_32BITUIDS]: Make code unconditional.
47872         [!__ASSUME_32BITUIDS]: Remove conditional code.
47873         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
47874         <kernel-features.h>.
47875         [__ASSUME_32BITUIDS]: Make code unconditional.
47876         [!__ASSUME_32BITUIDS]: Remove conditional code.
47877         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47878         <kernel-features.h>.
47879         [__ASSUME_32BITUIDS]: Make code unconditional.
47880         [!__ASSUME_32BITUIDS]: Remove conditional code.
47881         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47882         <kernel-features.h>.
47883         [__ASSUME_32BITUIDS]: Make code unconditional.
47884         [!__ASSUME_32BITUIDS]: Remove conditional code.
47885         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47886         <kernel-features.h>.
47887         [__ASSUME_32BITUIDS]: Make code unconditional.
47888         [!__ASSUME_32BITUIDS]: Remove conditional code.
47889         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47890         <kernel-features.h>.
47891         [__ASSUME_32BITUIDS]: Make code unconditional.
47892         [!__ASSUME_32BITUIDS]: Remove conditional code.
47893         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47894         <kernel-features.h>.
47895         [__ASSUME_32BITUIDS]: Make code unconditional.
47896         [!__ASSUME_32BITUIDS]: Remove conditional code.
47897         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47898         <kernel-features.h>.
47899         [__ASSUME_32BITUIDS]: Make code unconditional.
47900         [!__ASSUME_32BITUIDS]: Remove conditional code.
47901         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47902         <kernel-features.h>.
47903         [__ASSUME_32BITUIDS]: Make code unconditional.
47904         [!__ASSUME_32BITUIDS]: Remove conditional code.
47905         * sysdeps/unix/sysv/linux/kernel-features.h
47906         (__ASSUME_SETRESUID_SYSCALL): Remove.
47907         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47908         (__ASSUME_32BITUIDS): Likewise.
47909         (__ASSUME_LDT_WORKS): Likewise.
47910         (__ASSUME_O_DIRECTORY): Likewise.
47911         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47912         architecture but not kernel version.
47913         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47914         (__ASSUME_MMAP2_SYSCALL): Likewise.
47915         (__ASSUME_STAT64_SYSCALL): Likewise.
47916         (__ASSUME_IPC64): Likewise.
47917         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47918         <kernel-features.h>.
47919         [__ASSUME_32BITUIDS]: Make code unconditional.
47920         [!__ASSUME_32BITUIDS]: Remove conditional code.
47921         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47922         <kernel-features.h>.
47923         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47924         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47925         132096]: Remove conditional code.
47926         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47927         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47928         <kernel-features.h>.
47929         [__ASSUME_32BITUIDS]: Make code unconditional.
47930         [!__ASSUME_32BITUIDS]: Remove conditional code.
47931         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47932         <kernel-features.h>.
47933         [__ASSUME_32BITUIDS]: Make code unconditional.
47934         [!__ASSUME_32BITUIDS]: Remove conditional code.
47935         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47936         <kernel-features.h>.
47937         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47938         unconditional.
47939         (__setresgid): Do not declare.
47940         [__ASSUME_32BITUIDS]: Make code unconditional.
47941         [!__ASSUME_32BITUIDS]: Remove conditional code.
47942         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47943         <kernel-features.h>.
47944         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47945         unconditional.
47946         (__setresuid): Do not declare.
47947         [__ASSUME_32BITUIDS]: Make code unconditional.
47948         [!__ASSUME_32BITUIDS]: Remove conditional code.
47949         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47950         <kernel-features.h>.
47951         [__ASSUME_32BITUIDS]: Make code unconditional.
47952         [!__ASSUME_32BITUIDS]: Remove conditional code.
47953         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47954         <kernel-features.h>.
47955         [__ASSUME_32BITUIDS]: Make code unconditional.
47956         [!__ASSUME_32BITUIDS]: Remove conditional code.
47958 2012-05-25  Richard Henderson  <rth@twiddle.net>
47960         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47961         dl_hwcap to ifunc resolver.
47962         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47963         elf_ifunc_invoke.
47964         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47965         dl_hwcap to ifunc resolver.
47966         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47968 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47970         [BZ #14153]
47971         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47972         for |x| <= 2**-26, not 2**-57.
47973         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47974         exception.
47976 2012-05-24  Jeff Law  <law@redhat.com>
47978         * stdio-common/Makefile (tests): Add bug25.
47979         * stdio-common/bug25.c: New test.
47981 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47983         [BZ #13576]
47984         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47985         multiple of MALLOC_ALIGNMENT in size.
47986         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47988 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47990         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47991         Require >= 256.
47992         (FILENAME_MAX): Use macro-int-constant.
47993         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47994         (_IOFBF): Use macro-int-constant.
47995         (_IOLBF): Likewise.
47996         (_IONBF): Likewise.
47997         (SEEK_CUR): Likewise.
47998         (SEEK_END): Likewise.
47999         (SEEK_SET): Likewise.
48000         (TMP_MAX): Likewise.
48001         (EOF): Use macro-int-constant.  Require < 0.
48002         (NULL): Use macro-constant.  Require == 0.
48003         (stdin): Require type to be FILE *.
48004         (stdout): Likewise.
48005         (stderr): Likewise.
48006         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48007         macro-int-constant.
48008         (EXIT_SUCCESS): Likewise.
48009         (NULL): Use macro-constant.  Require == 0.
48010         (RAND_MAX): Use macro-int-constant.
48011         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48012         [C99-based standards] (strtof): Require function.
48013         [C99-based standards] (strtold): Likewise.
48014         [C99-based standards] (strtoll): Likewise.
48015         [C99-based standards] (strtoull): Likewise.
48016         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48017         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48018         [ISO || ISO99 || ISO11] (math.h): Likewise.
48019         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48020         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48021         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48023 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48025         [BZ #14132]
48026         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48027         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48028         * intl/dgettext.c (DCGETTEXT): Likewise.
48029         * intl/gettext.c (DCGETTEXT): Likewise.
48030         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48031         * posix/regex_internal.h (gettext): Likewise.
48032         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48033         Remove declaration.
48034         * include/argz.h (__argz_count_internal)
48035         (__argz_stringify_internal): Remove declaration.
48036         (__argz_count, __argz_stringify): Declare hidden proto.
48037         * intl/dcgettext.c: Remove use of INTDEF.
48038         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48039         * string/argz-stringify.c: Likewise.
48040         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48041         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48042         Declare hidden proto.
48043         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48044         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48045         Declare hidden proto.
48046         * include/stdio.h (__asprintf_internal): Don't declare.
48047         (__asprintf): Don't define as macro.  Declare hidden proto.
48048         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48049         (__fsetlocking): Declare hidden proto.
48050         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48051         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48052         hidden proto.
48053         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48054         (_IO_setlinebuf): Remove use of INTUSE.
48055         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48056         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48057         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48058         Remove declaration.
48059         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48060         (_IO_do_flush): Remove use of INTUSE.
48061         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48062         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48063         (_IO_adjust_column, _IO_least_wmarker)
48064         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48065         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48066         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48067         (_IO_default_doallocate, _IO_wdefault_doallocate)
48068         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48069         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48070         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48071         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48072         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48073         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48074         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48075         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48076         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48077         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48078         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48079         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48080         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48081         proto.
48082         (_IO_flush_all_internal, _IO_adjust_column_internal)
48083         (_IO_default_uflow_internal, _IO_default_finish_internal)
48084         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48085         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48086         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48087         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48088         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48089         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48090         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48091         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48092         (_IO_file_close_internal, _IO_file_close_it_internal)
48093         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48094         (_IO_file_init_internal, _IO_file_attach_internal)
48095         (_IO_file_fopen_internal, _IO_file_read_internal)
48096         (_IO_file_sync_internal, _IO_file_seek_internal)
48097         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48098         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48099         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48100         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48101         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48102         (_IO_list_all_internal, _IO_link_in_internal)
48103         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48104         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48105         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48106         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48107         (_IO_do_write_internal, _IO_padn_internal)
48108         (_IO_getline_info_internal, _IO_getline_internal)
48109         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48110         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48111         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48112         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48113         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48114         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48115         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48116         with libc_hidden_ver, remove use of INTUSE.
48117         * libio/genops.c: Likewise.
48118         * libio/freopen.c: Likewise.
48119         * libio/freopen64.c: Likewise.
48120         * libio/iofclose.c: Likewise.
48121         * libio/iofdopen.c: Likewise.
48122         * libio/iofflush.c: Likewise.
48123         * libio/iofflush_u.c: Likewise.
48124         * libio/iofgets.c: Likewise.
48125         * libio/iofgets_u.c: Likewise.
48126         * libio/iofopen.c: Likewise.
48127         * libio/iofopncook.c: Likewise.
48128         * libio/iofread.c: Likewise.
48129         * libio/iofread_u.c: Likewise.
48130         * libio/ioftell.c: Likewise.
48131         * libio/iofwrite.c: Likewise.
48132         * libio/iogetline.c: Likewise.
48133         * libio/iogets.c: Likewise.
48134         * libio/iogetwline.c: Likewise.
48135         * libio/iopadn.c: Likewise.
48136         * libio/iopopen.c: Likewise.
48137         * libio/ioseekoff.c: Likewise.
48138         * libio/ioseekpos.c: Likewise.
48139         * libio/iosetbuffer.c: Likewise.
48140         * libio/iosetvbuf.c: Likewise.
48141         * libio/ioungetc.c: Likewise.
48142         * libio/ioungetwc.c: Likewise.
48143         * libio/iovdprintf.c: Likewise.
48144         * libio/iovsprintf.c: Likewise.
48145         * libio/iovsscanf.c: Likewise.
48146         * libio/memstream.c: Likewise.
48147         * libio/obprintf.c: Likewise.
48148         * libio/oldfileops.c: Likewise.
48149         * libio/oldiofclose.c: Likewise.
48150         * libio/oldiofdopen.c: Likewise.
48151         * libio/oldiofopen.c: Likewise.
48152         * libio/oldiopopen.c: Likewise.
48153         * libio/oldstdfiles.c: Likewise.
48154         * libio/putc.c: Likewise.
48155         * libio/setbuf.c: Likewise.
48156         * libio/setlinebuf.c: Likewise.
48157         * libio/stdfiles.c: Likewise.
48158         * libio/strops.c: Likewise.
48159         * libio/vasprintf.c: Likewise.
48160         * libio/vscanf.c: Likewise.
48161         * libio/vsnprintf.c: Likewise.
48162         * libio/vswprintf.c: Likewise.
48163         * libio/wfiledoalloc.c: Likewise.
48164         * libio/wfileops.c: Likewise.
48165         * libio/wgenops.c: Likewise.
48166         * libio/wmemstream.c: Likewise.
48167         * libio/wstrops.c: Likewise.
48168         * libio/__fpurge.c: Likewise.
48169         * libio/__fsetlocking.c: Likewise.
48170         * assert/assert.c: Likewise.
48171         * debug/fgets_chk.c: Likewise.
48172         * debug/fgets_u_chk.c: Likewise.
48173         * debug/fread_chk.c: Likewise.
48174         * debug/fread_u_chk.c: Likewise.
48175         * debug/gets_chk.c: Likewise.
48176         * debug/obprintf_chk.c: Likewise.
48177         * debug/vasprintf_chk.c: Likewise.
48178         * debug/vdprintf_chk.c: Likewise.
48179         * debug/vsnprintf_chk.c: Likewise.
48180         * debug/vsprintf_chk.c: Likewise.
48181         * malloc/mtrace.c: Likewise.
48182         * misc/error.c: Likewise.
48183         * misc/syslog.c: Likewise.
48184         * stdio-common/asprintf.c: Likewise.
48185         * stdio-common/fxprintf.c: Likewise.
48186         * stdio-common/getw.c: Likewise.
48187         * stdio-common/isoc99_fscanf.c: Likewise.
48188         * stdio-common/isoc99_scanf.c: Likewise.
48189         * stdio-common/isoc99_vfscanf.c: Likewise.
48190         * stdio-common/isoc99_vscanf.c: Likewise.
48191         * stdio-common/isoc99_vsscanf.c: Likewise.
48192         * stdio-common/printf-prs.c: Likewise.
48193         * stdio-common/printf_fp.c: Likewise.
48194         * stdio-common/printf_fphex.c: Likewise.
48195         * stdio-common/printf_size.c: Likewise.
48196         * stdio-common/putw.c: Likewise.
48197         * stdio-common/scanf.c: Likewise.
48198         * stdio-common/sprintf.c: Likewise.
48199         * stdio-common/tmpfile.c: Likewise.
48200         * stdio-common/vfprintf.c: Likewise.
48201         * stdio-common/vfscanf.c: Likewise.
48202         * stdlib/strfmon_l.c: Likewise.
48203         * sunrpc/openchild.c: Likewise.
48204         * sunrpc/xdr_stdio.c: Likewise.
48205         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48206         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48208 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48210         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48212         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48213         in the third column, to generate for the shared library an IFUNC
48214         that uses _dl_vdso_vsym.
48215         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48216         * Makeconfig (object-suffixes-noshared): New variable.
48218         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48219         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48220         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48221         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48223         [BZ #14132]
48224         * include/sys/time.h (__gettimeofday): Remove macro.
48225         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48226         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48227         Remove INTDEF.
48228         (__gettimeofday): Add libc_hidden_def.
48229         (gettimeofday): Add libc_hidden_weak.
48230         * sysdeps/mach/gettimeofday.c: Likewise.
48231         * sysdeps/posix/gettimeofday.c: Likewise.
48232         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48233         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48234         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48235         (__gettimeofday_internal): Remove strong_alias.
48236         (__gettimeofday): Add libc_hidden_def.
48237         (gettimeofday): Add libc_hidden_weak.
48238         * sysdeps/unix/syscalls.list (gettimeofday):
48239         Remove __gettimeofday_internal alias.
48241 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48242             H.J. Lu  <hongjiu.lu@intel.com>
48244         [BZ #12495]
48245         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48246         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48247         (largebin_index_32_big): New.
48248         (largebin_index): Use it for 16-byte alignment.
48249         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48250         correction with front_misalign.
48252 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48256         Likewise.
48257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48258         Likewise.
48259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48260         Likewise.
48261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48262         Likewise.
48263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48264         Likewise.
48265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48266         Likewise.
48267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48268         Likewise.
48269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48270         Likewise.
48271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48272         Likewise.
48273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48274         Likewise.
48275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48276         Likewise.
48277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48278         Likewise.
48280         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48281         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48283 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48285         [BZ #10846]
48286         [BZ #14036]
48287         * math/libm-test.inc (exp_test): Add test from bug 14036.
48288         (pow_test): Add test from bug 10846.
48290         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48291         and other flags.
48292         (special_function): Do not include flags in test name.
48293         (parse_args): Likewise.
48294         * sysdeps/i386/fpu/libm-test-ulps: Update.
48295         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48296         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48297         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48300         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48301         exceptions.
48302         * math/libm-test.inc ("Philosophy"): Update comment about
48303         exception testing.
48304         (UNDERFLOW_EXCEPTION): New macro.
48305         (UNDERFLOW_EXCEPTION_OK): Likewise.
48306         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48307         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48308         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48309         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48310         (INVALID_EXCEPTION_OK): Update value.
48311         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48312         (OVERFLOW_EXCEPTION_OK): Likewise.
48313         (IGNORE_ZERO_INF_SIGN): Likewise.
48314         (test_exceptions): Handle underflow exceptions.
48315         (acos_test): Update for underflow exception expectations.
48316         (cexp_test): Likewise.
48317         (clog_test): Likewise.
48318         (clog10_test): Likewise.
48319         (csqrt_test): Likewise.
48320         (ctan_test): Likewise.
48321         (ctanh_test): Likewise.
48322         (exp_test): Likewise.
48323         (exp10_test): Likewise.
48324         (exp2_test): Likewise.
48325         (expm1_test): Likewise.
48326         (fma_test): Likewise.
48327         (j0_test): Likewise.
48328         (jn_test): Likewise.
48329         (nexttoward_test): Likewise.
48330         (pow_test): Likewise.
48331         (scalbn_test): Likewise.
48332         (scalbln_test): Likewise.
48333         (tan_test): Likewise.
48334         (y1_test): Likewise.
48335         * sysdeps/i386/fpu/libm-test-ulps: Update.
48336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48338 2012-05-23  David S. Miller  <davem@davemloft.net>
48340         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48341         (__libc_sigaction): Remove unused local variables.
48343 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48345         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48347 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48349         mktime: avoid signed integer overflow
48350         * time/mktime.c (__mktime_internal): Do not mishandle the case
48351         where diff == INT_MIN.
48353         mktime: simplify computation of average
48354         * time/mktime.c (ranged_convert): Use new time_t_avg function
48355         instead of rolling our own (probably-slower) code.
48357         mktime: do not assume signed right shift propagates sign bit
48358         * time/mktime.c (isdst_differ): New static function.
48359         (__mktime_internal): No need to normalize tm_isdst now.
48360         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48361         tm_isdst values.
48363         mktime: merge another wrapv change from gnulib
48364         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48365         from some compilers.
48367         mktime: remove incorrect attempt at unusual arithmetics
48368         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48369         The code didn't really work on such machines anyway.
48370         (TYPE_MINIMUM): Assume two's complement.
48371         (twos_complement_arithmetic): Verify that long_int and time_t
48372         are two's complement (or unsigned, in the latter case).
48374         mktime: check signed shifts on long_int and time_t, too
48375         * time/mktime.c (SHR): Check that shifts work as desired
48376         on the types long_int and time_t too, as SHR is used on
48377         such types.
48379         mktime: do not assume 'long' is wide enough
48380         * time/mktime.c (verify): Move decl up.
48381         (long_int): New type.
48382         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48383         to remove assumption in the code that 'long' is wide enough to
48384         store year values.  This assumption is not true on x32 and on
48385         some non-glibc platforms.
48387         mktime: merge wrapv change from gnulib
48388         * time/mktime.c (WRAPV): New macro.
48389         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48390         (guess_time_tm, __mktime_internal): Do not assume that signed
48391         integer overflow wraps around; modern compilers generate code
48392         where this assumption is no longer valid.
48394 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48396         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48397         Replace "jmp L(pseudo_end)" with "ret".
48398         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48399         Likewise.
48401 2012-05-23  Andreas Jaeger  <aj@suse.de>
48403         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48404         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48406 2012-05-23  Andreas Jaeger  <aj@suse.de>
48407             Maximilian Attems  <max@stro.at>
48409         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48410         New macros.
48412 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48414         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48415         code so that pseudo_end is just ret and the stack pointer is
48416         correct also for static library in error case.
48418 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48420         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48421         move to syscalls.list.
48422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48427         * manual/install.texi (Running make install): Do not mention Linux
48428         kernel version for which pt_chown is not needed.
48429         (Linux): Do not mention problems with nscd with 2.0 kernels.
48430         * INSTALL: Regenerated.
48432 2012-05-23  Andreas Jaeger  <aj@suse.de>
48434         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48435         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48436         macro.
48437         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48438         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48439         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48440         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48441         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48442         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48443         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48444         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48445         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48446         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48447         * sysdeps/unix/sysv/linux/bits/in.h
48448         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48450 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48452         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48453         (PREPARE_VERSION): Just use assert instead, it will be elided
48454         under [NDEBUG] anyway.
48456 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48458         * sysdeps/unix/sysv/linux/Makefile: Include
48459         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48460         (sysdep_routines): Remove sysctl.
48461         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48462         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48463         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48464         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48465         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48467 2012-05-22  Andreas Jaeger  <aj@suse.de>
48469         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48470         that pseudo_end is just ret and the stack pointer is correct also
48471         for static library in error case.
48473 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48475         [BZ #14122]
48476         * nss/nsswitch.c (defconfig_entries): New variable.
48477         (__nss_database_lookup): Don't leak defconfig entries.
48478         (nss_parse_service_list): Don't leak on error paths.
48479         (free_database_entries): New function.
48480         (free_defconfig): New function.
48481         (free_mem): Move common code to free_database_entries.
48483 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48485         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48486         Add arch_prctl.
48487         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48489         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48490         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48491         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48492         New macro.
48493         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48494         (INTERNAL_SYSCALL_TYPES): Likewise.
48495         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48496         (LOAD_REGS_TYPES_[1-6]): Likewise.
48497         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48498         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48500 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48502         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48503         copysignl for GLIBC_2_0.
48504         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48505         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48506         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48507         logbl for GLIBC_2_0.
48508         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48509         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48511 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48513         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48514         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48516         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48517         Use "neg %eax".
48519         * time/mktime.c: Update copyright years.
48521 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48523         mktime: merge comment-quoting-style change from gnulib
48524         * time/mktime.c: Quote 'like this' in comments.
48525         The GNU coding standards suggest that we no longer quote `like this',
48526         as "`" and "'" are typically rendered asymmetrically nowadays.
48527         The typical gnulib style is to quote 'like this' when quoting
48528         code, and "like this" when quoting English.
48530         * time/mktime.c (compile-command): Add "-I.".
48532         mktime: merge mktime-internal.h change from gnulib
48533         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48535         mktime: merge time_r change from gnulib
48536         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48538         mktime: merge DEBUG change from gnulib
48539         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48540         case system <time.h> has a #define.
48542         mktime: merge <sys/types.h> change from gnulib
48543         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48544         since <time.t> is now guaranteed to define time_t.
48546         mktime: merge HAVE_CONFIG_H change from gnulib
48547         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48549 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48551         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48552         Use "neg %eax".
48554         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48555         __rlim_t cast.
48556         (struct rusage): Use anonymous union to pad each field to
48557         __syscall_slong_t.
48559 2012-05-21  David S. Miller  <davem@davemloft.net>
48561         * Makefules (o-iterator): Remove .s cases.
48562         (compile-command.s): Delete.
48563         (COMPILE.s): Delete.
48564         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48566 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48568         * configure.in (libc_cv_predef_stack_protector): Only consider
48569         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48570         * configure: Regenerated.
48572 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48575         New macro.  Use R*LP on int and pointer.
48576         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48577         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48578         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48579         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48581         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48582         [__WORDSIZE_TIME64_COMPAT32] instead of
48583         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48584         (struct utmp): Likewise.
48585         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48586         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48587         Renamed to ...
48588         (__WORDSIZE_TIME64_COMPAT32): This.
48589         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48590         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48591         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48592         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48593         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48594         (__WORDSIZE_TIME64_COMPAT32): New macro.
48596 2012-05-21  Andreas Jaeger  <aj@suse.de>
48598         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48599         only if [SHARED]. Add prototype for __wcschr_ia32.
48601 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48603         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48604         of %rbp unmolested in the jmp_buf while mangling the low bits.
48605         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48606         unmolested high bits of %rbp while demangling the low bits.
48607         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48609 2012-05-21  Andreas Jaeger  <aj@suse.de>
48611         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48612         * sunrpc/svc_simple.c: Use it for registerrpc.
48613         * sunrpc/xcrypt.c: Use it for passwd2des.
48615         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48617 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48619         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48620         Don't define if [__SYSCALL_WORDSIZE != 32].
48621         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48622         New macro.
48624 2012-05-21  Bruno Haible  <bruno@clisp.org>
48625             Andreas Jaeger  <aj@suse.de>
48627         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48628         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48629         inptr and inend for must_buffer_ch.
48630         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48631         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48632         * stdio-common/Makefile (tests): Remove bug15.
48633         (bug15-ENV): Remove macro.
48634         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48635         anymore.
48637 2012-05-19  Andreas Jaeger  <aj@suse.de>
48638             Roland McGrath  <roland@hack.frob.com>
48640         * manual/contrib.texi: Completely rewritten. It contains now an
48641         alphabetical list of contributors and their contributions.
48643 2012-05-21  Richard Henderson  <rth@twiddle.net>
48645         * misc/getauxval.c (__getauxval): Use unsigned long int.
48646         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48647         (getauxval): Use unsigned long int.
48649 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48651         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48653 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48655         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48656         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48657         __alignof__ (long double).
48659 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48663 2012-05-20  Richard Henderson  <rth@twiddle.net>
48665         * misc/getauxval.c: New file.
48666         * misc/sys/auxv.h: New file.
48667         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48668         (routines): Add getauxval.
48669         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48670         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48671         * elf/dl-sysdep.c (_dl_auxv): Remove.
48672         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48673         * elf/dl-support.c (_dl_auxv): New variable.
48674         (_dl_aux_init): Initialize it.
48675         * manual/startup.texi (Auxiliary Vector): New node.
48676         * sysdeps/generic/bits/hwcap.h: New file.
48677         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48678         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48679         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48680         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48681         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48682         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48684         Update.
48685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48688         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48694 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48698 2012-05-19  David S. Miller  <davem@davemloft.net>
48700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48702 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48704         [BZ #14123]
48705         * math/s_ccosh.c: Include <float.h>
48706         (__ccosh): Avoid internal overflow calculating sinh and cosh
48707         values before multiplying by sin and cos values.
48708         * math/s_ccoshf.c: Likewise.
48709         * math/s_ccoshl.c: Likewise.
48710         * math/s_csin.c: Likewise.
48711         * math/s_csinf.c: Likewise.
48712         * math/s_csinl.c: Likewise.
48713         * math/s_csinh.c: Likewise.
48714         * math/s_csinhf.c: Likewise.
48715         * math/s_csinhl.c: Likewise.
48716         * math/libm-test.inc (ccos_test): Add more tests.
48717         (ccosh_test): Likewise.
48718         (csin_test): Likewise.
48719         (csinh_test): Likewise.
48720         * sysdeps/i386/fpu/libm-test-ulps: Update.
48721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48723 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48725         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48726         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48728         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48730 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48732         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48733         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48734         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48735         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48736         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48737         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48738         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48739         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48740         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48741         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48742         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48743         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48744         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48745         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48746         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48747         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48748         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48749         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48750         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48751         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48752         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48753         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48754         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48755         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48756         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48757         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48758         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48759         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48760         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48761         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48762         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48764 2012-05-18  Andreas Jaeger  <aj@suse.de>
48766         * csu/.gitignore: Delete.
48768 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48770         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48771         (timex): Use __syscall_slong_t.
48773 2012-05-18  Andreas Jaeger  <aj@suse.de>
48774             Carlos O'Donell  <carlos_odonell@mentor.com>
48776         * manual/install.texi (Configuring and compiling): Update
48777         description about files modified in the source directory.
48778         * INSTALL: Regenerated.
48780 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48782         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48783         value.  Use "or" to set return value to -1.
48784         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48785         negate return value.
48787 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48789         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48790         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48791         failure if the compiler has Graphite support disabled.
48792         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48793         Likewise.
48794         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48795         (CFLAGS-memmove.c): Likewise.
48796         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48797         Likewise.
48799 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48801         * sysdeps/x86_64/x32/_itoa.h: New file.
48803         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48804         getdents system call only if kernel and user dirents have the
48805         same d_ino and d_off.
48807         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48808         LLONG_MAX != LONG_MAX.
48809         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48810         (_fitoa_word): Likewise.
48812         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48813         years.
48814         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48815         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48816         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48818         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48819         include <bits/wordsize.h>.  Check __x86_64__ instead of
48820         __WORDSIZE.
48821         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48822         if __x86_64__ is defined.  Use anonymous union on fpstate.
48824         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48825         anonymous union.
48827 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
48829         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48830         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48831         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48832         Refer to _rtld_local_ro instead of _rtld_global_ro.
48833         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48834         Likewise.
48835         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48836         Likewise.
48837         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48838         Likewise.
48839         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48840         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48841         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48843         * sysdeps/powerpc/powerpc32/dl-machine.c
48844         (__elf_machine_runtime_setup) [PROF]: Don't reference
48845         _dl_prof_resolve.
48847 2012-05-18  Andreas Jaeger  <aj@suse.de>
48849         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48850         function only available for GCCs before 3.4 since GCC 3.4
48851         introduced a builtin.
48852         (lrint): Likewise.
48853         (llrintf): Likewise.
48854         (llrint): Likewise.
48855         (fmaxf): Likewise.
48856         (fmax): Likewise.
48857         (fminf): Likewise.
48858         (fmin): Likewise.
48859         (rint): Likewise.
48860         (rintf): Likewise.
48861         (nearbyint): Likewise.
48862         (nearbyintf): Likewise.
48863         (ceil): Likewise.
48864         (ceilf): Likewise.
48865         (floor): Likewise.
48866         (floorf): Likewise.
48868 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48870         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48871         on both fields and cast pointer to __syscall_ulong_t.
48873         * bits/types.h (__fsword_t): New type.
48874         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48875         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48876         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48877         (__FSWORD_T_TYPE): Likewise.
48878         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48879         (__FSWORD_T_TYPE): Likewise.
48880         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48881         (__FSWORD_T_TYPE): Likewise.
48882         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48883         (__FSWORD_T_TYPE): Likewise.
48884         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48885         __SWORD_TYPE with __fsword_t.
48886         (statfs64): Likewise.
48888 2012-05-17  David S. Miller  <davem@davemloft.net>
48890         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48892 2012-05-17  Andreas Jaeger  <aj@suse.de>
48894         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48895         warning.
48897 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48899         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48901 2012-05-17  Andreas Jaeger  <aj@suse.de>
48903         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48904         when it is used.
48906 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48908         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48910 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48912         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48913         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48915 2012-05-17  Andreas Jaeger  <aj@suse.de>
48916             Carlos O'Donell  <carlos_odonell@mentor.com>
48918         [BZ #14059]
48919         * sysdeps/x86_64/multiarch/init-arch.h
48920         (bit_YMM_Usable): Rename to...
48921         (bit_AVX_Usable): ... this.
48922         (bit_FMA4_Usable): New macro.
48923         (bit_XMM_state): New macro.
48924         (bit_YMM_state): New macro.
48925         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48926         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48927         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48928         (CPUID_OSXSAVE): New macro.
48929         (CPUID_AVX): New macro.
48930         (CPUID_FMA4): New macro.
48931         (index_YMM_Usable): Rename to...
48932         (index_AVX_Usable): ... this.
48933         (HAS_AVX): Use HAS_ARCH_FEATURE.
48934         (HAS_FMA4): Likewise.
48935         (HAS_YMM_USABLE): Remove.
48936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48937         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48938         are present.
48939         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48940         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48941         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48942         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48943         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48945 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48947         * math/libm-test.c: Support platforms without multiple rounding modes.
48948         * math/bug-nextafter.c: Support platforms without FP exceptions.
48949         * math/bug-nexttoward.c: Likewise.
48950         * math/test-fenv.c: Likewise.
48951         * math/test-misc.c: Likewise.
48952         * stdlib/bug-getcontext.c: Likewise.
48954 2012-05-17  Andreas Jaeger  <aj@suse.de>
48956         * manual/examples/search.c (critter_cmp): Change signature to
48957         avoid warnings.
48958         * manual/string.texi (Collation Functions): Likewise.
48960 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48962         * bits/types.h: Fold copyright years.
48963         * bits/typesizes.h: Likewise.
48964         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48965         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48966         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48967         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48968         * time/time.h: Likewise.
48970 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48972         [BZ #208]
48973         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48974         in instead of returning them.  Return void.
48975         (__libc_mallinfo): Accumulate over all arenas.
48976         (__malloc_stats): Adjust for change in int_mallinfo interface.
48978 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48980         [BZ #10375]
48981         * configure.in (NM): Add AC_CHECK_TOOL for it.
48982         (libc_extra_cflags): New substituted variable.
48983         Check for -fstack-protector being used implicitly.
48984         * configure: Regenerated.
48985         * config.make.in (config-extra-cflags): New variable,
48986         gets @libc_extra_cflags@.
48987         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48989         [BZ #10375]
48990         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48991         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48992         * configure: Regenerated.
48993         * config.make.in (CPPUNDEFS): New substituted variable.
48994         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48995         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48996         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48998 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49000         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49001         (mq_attr): Use __syscall_slong_t.
49003 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49005         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49006         Check __x86_64__ instead of __WORDSIZE.
49007         (_STAT_VER_LINUX): Likewise.
49008         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49009         __syscall_ulong_t and __syscall_slong_t.
49010         (stat64): Likewise.
49012 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49016 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49018         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49020 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49022         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49023         __syscall_ulong_t.
49025         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49026         include <bits/wordsize.h>.  Check __x86_64__ instead of
49027         __WORDSIZE.
49028         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49029         defined.
49030         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49032         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49033         include <bits/wordsize.h>.  Check __x86_64__ instead of
49034         __WORDSIZE.
49035         (user_regs_struct): Use "__extension__ unsigned long long"
49036         instead of "unsigned long" if __x86_64__ is defined.
49037         (user): Likewise.  Pad after pointer field if __ILP32__ is
49038         defined.
49040 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49042         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49043         versions 5 to 9.
49044         * configure: Regenerated.
49045         * manual/install.texi (texinfo): Increase version requirement to
49046         4.5 or later.
49047         * INSTALL: Regenerated.
49049         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49051 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49053         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49055         * sysdeps/x86_64/x32/ffs.c: New file.
49057         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49058         __syscall_ulong_t.
49059         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49060         defined.  Use __syscall_ulong_t.
49061         (shminfo): Use __syscall_ulong_t.
49062         (shm_info): Likewise.
49064         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49065         __syscall_ulong_t.
49067         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49068         <bits/wordsize.h>.
49069         (msgqnum_t): Use __syscall_ulong_t.
49070         (msglen_t): Likewise.
49071         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49072         __syscall_ulong_t.
49074         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49075         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49077         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49079         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49080         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49082         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49083         __syscall_slong_t.
49085         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49086         include <bits/wordsize.h>.  Check __x86_64__ instead of
49087         __WORDSIZE.
49089         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49090         "unsigned long long int" if __x86_64__ is defined.
49091         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49093         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49094         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49095         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49097         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49098         <stdint.h>.
49099         (GET_PC): Cast to uintptr_t first.
49100         (GET_FRAME): Likewise.
49101         (GET_STACK): Likewise.
49103         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49104         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49105         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49106         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49107         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49108         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49109         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49110         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49111         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49112         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49113         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49114         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49115         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49116         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49117         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49118         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49119         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49120         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49121         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49122         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49123         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49124         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49125         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49126         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49127         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49128         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49129         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49130         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49131         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49133 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49135         * Makerules (+depfiles): Also collect depfiles from .oS in
49136         $(extra-objs).
49137         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49138         .oS, $(libnldbl-routines)).
49140         * Makerules (native-compile-mkdep-flags): Define.
49141         * sunrpc/Makefile (extra-objs): Add $(addprefix
49142         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49143         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49144         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49145         calling $(make-target-directory).
49147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49149         * bits/types.h (__snseconds_t): Removed.
49150         * time/time.h (struct timespec): Replace __snseconds_t with
49151         __syscall_slong_t.
49152         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49153         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49154         Likewise.
49155         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49156         (__SNSECONDS_T_TYPE): Likewise.
49157         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49158         (__SNSECONDS_T_TYPE): Likewise.
49159         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49160         (__SNSECONDS_T_TYPE): Likewise.
49162 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49164         * sysdeps/mach/hurd/bits/typesizes.h
49165         (__SYSCALL_SLONG_TYPE): New macro.
49166         (__SYSCALL_ULONG_TYPE): Likewise.
49168 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49170         * bits/types.h (__syscall_slong_t): New type.
49171         (__syscall_ulong_t): Likewise.
49173         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49174         (__SYSCALL_ULONG_TYPE): Likewise.
49175         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49176         (__SYSCALL_SLONG_TYPE): Likewise.
49177         (__SYSCALL_ULONG_TYPE): Likewise.
49178         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49179         (__SYSCALL_SLONG_TYPE): Likewise.
49180         (__SYSCALL_ULONG_TYPE): Likewise.
49181         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49182         (__SYSCALL_SLONG_TYPE): Likewise.
49183         (__SYSCALL_ULONG_TYPE): Likewise.
49185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49187         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49188         Add sigaltstack-offsets.sym.
49189         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49190         <sigaltstack-offsets.h>.
49191         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49192         longjmp_msg pointer.
49193         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49194         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49195         signal stack.
49196         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49198 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49200         * elf/stackguard-macros.h: Remove file.
49201         * sysdeps/generic/stackguard-macros.h: New file.
49202         * sysdeps/i386/stackguard-macros.h: Likewise.
49203         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49204         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49205         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49206         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49207         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49208         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49209         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49210         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49211         <elf/stackguard-macros.h>.
49213         [BZ #14109]
49214         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49215         __aligned__ in attribute.
49216         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49217         (gregset_t): Likewise.
49219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49221         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49222         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49223         * sysdeps/x86_64/x32/Implies-after: New file.
49225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49227         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49228         and access return value for _dl_profile_fixup.  Use R10_LP to
49229         load frame size.
49231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49233         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49237         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49238         * sysdeps/x86_64/x32/sysdep.h: New file.
49240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49242         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49243         * sysdeps/x86_64/setjmp.S: Likewise.
49245 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49247         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49248         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49249         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49250         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49251         remove unused global constant.
49253 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49255         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49256         include of <not-cancel.h>.
49258 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49260         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49262 2012-05-15  Jeff Law  <law@redhat.com>
49263             Andreas Jaeger  <aj@suse.de>
49265         [BZ #13594]
49266         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49267         out from...
49268         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49269         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49270         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49271         code changing __hst_map_handle.map.
49273 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49275         * configure.in (sysnames): Look for Implies-before and Implies-after
49276         files.
49277         * configure: Regenerated.
49279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49281         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49282         8-byte data alignment with LP_SIZE alignment.
49284 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49286         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49287         into R10_LP.
49289 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49291         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49293 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49295         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49296         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49297         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49298         Likewise.
49299         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49303         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49304         (stackinfo_sub_sp): Likewise.
49306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49308         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49309         RAX_LP.
49311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49313         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49314         into R*_LP.
49316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49318         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49319         sizes into R*_LP.
49321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49323         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49327         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49328         into R11_LP and load __x86_64_shared_cache_size_half into
49329         R8_LP.
49331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49333         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49334         R8_LP.
49336 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49338         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49339         logb for POWER7.
49340         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49341         logbf for POWER7.
49342         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49343         logbl for POWER7.
49344         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49345         powerpc32/power7/fpu/s_logb.c via #include.
49346         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49347         powerpc32/power7/fpu/s_logbf.c via #include.
49348         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49349         powerpc32/power7/fpu/s_logbl.c via #include.
49351 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49353         * README.libm: Remove file.
49355 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49357         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49358         count for x32.  Use R*_LP and omit operand-size suffix.
49360 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49362         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49363         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49364         * sysdeps/x86_64/x32/shlib-versions: New file.
49366 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49368         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49369         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49370         Use _dl_fatal_printf instead.
49372 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49374         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49375         set if not set by the user.  Do not allow for being unset.
49376         * sysdeps/unix/sysv/linux/configure: Regenerated.
49378 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49380         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49381         the `q' suffix from lea and replace .quad with ASM_ADDR.
49383 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49385         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49386         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49387         instead of $17.
49388         (PTR_DEMANGLE): Likewise.
49390 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49392         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49393         (LP_OP): Likewise.
49394         (ASM_ADDR): Likewise.
49395         (RAX_LP): Likewise.
49396         (RBP_LP): Likewise.
49397         (RBX_LP): Likewise.
49398         (RCX_LP): Likewise.
49399         (RDI_LP): Likewise.
49400         (RSI_LP): Likewise.
49401         (RSP_LP): Likewise.
49402         (R8_LP): Likewise.
49403         (R9_LP): Likewise.
49404         (R10_LP): Likewise.
49405         (R10_LP): Likewise.
49406         (R11_LP): Likewise.
49407         (R12_LP): Likewise.
49408         (R13_LP): Likewise.
49409         (R14_LP): Likewise.
49410         (R15_LP): Likewise.
49412 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49414         * sysdeps/x86_64/x32/dl-machine.h: New file.
49416 2012-05-14  Andreas Jaeger  <aj@suse.de>
49418         * manual/Makefile (subdir): Remove export of subdir.
49419         (all): Remove target.
49420         (.PHONY): Remove all from list.
49421         (mkinstalldirs): Remove.
49422         (.PHONY): Remove installdirs from list.
49423         ($(inst_infodir)/libc.info): Use make-target-directory.
49424         (installdirs): Remove.
49425         (subdir_%): Remove.
49426         (glibc-targets): Remove.
49427         (lib): Remove.
49428         (stubs): Remove.
49429         ($(objpfx)stubs ../po/manual.pot): Remove.
49430         ($(objpfx)stamp%): Remove.
49431         (make-target-directory): Remove.
49432         (subdir_install): Remove.
49433         (routines): Remove.
49434         (aux): Remove.
49435         (sources): Remove.
49436         (objects): Remove.
49437         (headers): Remove.
49439         [BZ #13750]
49440         * manual/.gitignore: Remove, it's not needed anymore.
49441         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49442         all files in it.
49443         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49444         directory.
49445         (texis): Renamed to $(objpfx)texis.
49446         (texis-path): New, contains path to generated files.
49447         (chapters.%): Use texis-path for complete path, add extra argument
49448         libc-texinfo.sh.
49449         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49450         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49451         (summary,texi, stamp-summary): Use complete path of
49452         files. Generate files in build dir.
49453         (dir-add.texi): Build in build dir.
49454         (libm-err.texi,stamp-libm-err): Likewise.
49455         (version.texi, stamp-version): Likewise.
49456         (.%c.texi): Likewise.
49457         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49458         (mostlyclean): Remove target.
49459         (realclean): Remove target.
49460         (generated): Add new variable with contents from mostlyclean and
49461         realclean, remove entries duplicated in common-mostlyclean, add
49462         stamp-libm-err and stamp-version.
49463         (generated-dirs): Add libc directory.
49464         ($(inst_infodir)/libc.info): Install files from build dir.
49466         * manual/install.texi (Configuring and compiling): Adjust since
49467         the info files are not part of the tar ball anymore.
49469 2012-05-14  Andreas Jaeger  <aj@suse.de>
49471         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49472         variable.
49474 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49476         [BZ #13717]
49477         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49478         to 2.2.0 where earlier.
49479         * sysdeps/unix/sysv/linux/configure: Regenerated.
49480         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49481         Remove conditional code.
49482         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49483         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49484         Remove conditional code.
49485         [!__NR_lchown]: Likewise.
49486         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49487         [__NR_lchown]: Likewise.
49488         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49489         comment referencing __ASSUME_LCHOWN_SYSCALL.
49490         * sysdeps/unix/sysv/linux/i386/sigaction.c
49491         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49492         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49493         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49494         Remove conditional code.
49495         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49496         (__protocol_available): Remove #if 0 code.
49497         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49498         conditional code.
49499         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49500         * sysdeps/unix/sysv/linux/kernel-features.h
49501         (__ASSUME_GETCWD_SYSCALL): Don't define.
49502         (__ASSUME_REALTIME_SIGNALS): Likewise.
49503         (__ASSUME_PREAD_SYSCALL): Likewise.
49504         (__ASSUME_PWRITE_SYSCALL): Likewise.
49505         (__ASSUME_POLL_SYSCALL): Likewise.
49506         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49507         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49508         non-SPARC.
49509         (__ASSUME_SIOCGIFNAME): Don't define.
49510         (__ASSUME_MSG_NOSIGNAL): Likewise.
49511         (__ASSUME_SENDFILE): Define unconditionally.
49512         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49513         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49514         conditional code.
49515         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49516         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49517         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49518         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49519         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49520         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49521         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49523         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49524         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49526         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49527         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49529         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49530         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49532         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49533         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49535         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49536         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49538         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49539         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49541         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49542         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49544         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49545         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49546         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49547         Remove conditional code.
49548         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49549         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49550         Remove conditional code.
49551         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49552         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49553         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49554         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49555         Remove conditional code.
49556         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49557         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49558         Remove conditional code.
49559         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49560         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49561         Remove conditional code.
49562         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49563         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49564         Remove conditional code.
49565         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49566         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49567         Remove conditional code.
49568         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49569         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49570         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49571         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49572         * sysdeps/unix/sysv/linux/sigaction.c
49573         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49574         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49575         * sysdeps/unix/sysv/linux/sigpending.c
49576         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49577         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49578         * sysdeps/unix/sysv/linux/sigprocmask.c
49579         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49580         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49581         * sysdeps/unix/sysv/linux/sigsuspend.c
49582         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49583         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49584         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49585         (__libc_missing_rt_sigs): Remove.
49586         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49587         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49588         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49589         Remove conditional code.
49590         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49591         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49592         return 1.
49593         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49594         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49595         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49596         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49598 2012-05-14  Andreas Jaeger  <aj@suse.de>
49600         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49601         it's not used in glibc.
49602         (__coshm1): Likewise.
49603         (__acosh1p): Likewise.
49604         (__sgn): Likewise.
49606         * manual/string.texi (Copying and Concatenation): Add missing
49607         variable in concat example.
49608         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49610 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49612         [BZ #14103]
49613         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49614         __builtin_clzl with __builtin_clzll.
49616 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49618         [BZ #14104]
49619         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49620         libc_freeres_ptr.
49622 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49624         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49625         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49626         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49627         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49629 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49631         * NEWS: Update ia64 info.
49633 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49635         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49636         used as bcopy.
49638 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49640         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49641         * sysdeps/unix/syscalls.list (dup3): Likewise.
49642         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49643         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49645 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49647         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49648         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49650 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49652         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49653         thread pointer.
49654         (TLS_IE): Use mov/add instead of movq/addq to load thread
49655         pointer.
49656         (TLS_GD_PREFIX): New.
49657         (TLS_GD): Use it.
49659 2012-05-11  David S. Miller  <davem@davemloft.net>
49661         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49662         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49663         (_FPU_SETCW): Likewise.
49665 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49667         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49668         is 32-byte aligned.
49670 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49672         [BZ #11837]
49673         * iconvdata/gb18030.c: Update tables.
49674         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49675         characters specially.
49676         (BODY for TO_LOOP): Add encoding of missing ranges.
49678 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49680         [BZ #13673]
49681         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49682         * sysdeps/mach/hurd/dup3.c: Likewise.
49683         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49684         * sysdeps/powerpc/memmove.c:: Likewise.
49686 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49688         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49689         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49691 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49693         * elf/elf.h (R_X86_64_RELATIVE64): New.
49694         (R_X86_64_NUM): Updated.
49695         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49696         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49697         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49698         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49699         tst-quad1pie tst-quad2pie
49700         (modules-names): Add tst-quadmod1 tst-quadmod2.
49701         ($(objpfx)tst-quad1): New dependency.
49702         ($(objpfx)tst-quad2): Likewise.
49703         ($(objpfx)tst-quad1pie): Likewise.
49704         ($(objpfx)tst-quad2pie): Likewise.
49705         * sysdeps/x86_64/tst-quad1.c: New file.
49706         * sysdeps/x86_64/tst-quad1pie.c: New file.
49707         * sysdeps/x86_64/tst-quad2.c: Likewise.
49708         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49709         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49710         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49711         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49712         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49714 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49716         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49717         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49718         * streams/stropts.h (t_scalar_t): Define type.
49720         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49721         (_PATH_PRESERVE): Set to "/var/lib".
49722         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49724         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49725         instead of int.
49727         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49728         if __dir_mkfile succeeded.
49730         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49731         checking for _hurd_dtablesize.  Unlock it right after having
49732         finished _hurd_dtable allocation.
49734 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49736         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49737         * sysdeps/mach/hurd/configure: Regenerated.
49738         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49739         special-casing to...
49740         * sysdeps/gnu/configure.in: ... this new file.
49741         * sysdeps/unix/sysv/linux/configure: Regenerated.
49742         * sysdeps/gnu/configure: New generated file.
49744         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49745         for Linux: use nsec instead of usec, as well as:
49746         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49747         members of type struct timespec.
49748         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49749         New macros.
49750         (struct stat64): Likewise.
49751         (_STATBUF_ST_NSEC): New macro.
49752         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49754         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49755         __strtoul_internal rather than strtoul.
49757 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49759         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49760         and reject them.
49762 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49764         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49765         which preserves existing values.
49766         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49768 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49770         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49771         TIMEOUT values.  Return EINVAL for NFDS values either negative or
49772         greater than FD_SETSIZE.
49774 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49776         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49777         allocated, call __vm_protect to finish enabling the existing space, and
49778         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49779         allocate the remainder.
49781 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49783         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49784         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
49786 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49788         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49789         sysdeps/mach/hurd/readlink.c.
49791         * posix/tst-sysconf.c (posix_options): Only use
49792         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49793         _POSIX_SYNCHRONIZED_IO when they are defined
49794         * sysdeps/mach/hurd/bits/posix_opt.h:
49795         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49796         (_XOPEN_REALTIME): Undefine macro.
49797         (_XOPEN_REALTIME_THREADS): Undefine macro.
49798         (_XOPEN_SHM): Undefine macro.
49799         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49800         macro to -1.
49801         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49802         macro to -1.
49803         (_POSIX_ASYNC_IO): Undefine macro.
49804         (_POSIX_PRIORITIZED_IO): Undefine macro.
49805         (_POSIX_SPIN_LOCKS): Define macro to -1.
49807         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49808         SA_NODEFER, SA_RESETHAND.
49809         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49810         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49811         F_DUPFD_CLOEXEC.
49813 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49815         * elf/Makefile (pldd-modules): Define unconditionally.
49817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49819         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49821 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49823         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49824         Return ENOENT when name is empty.
49825         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49827 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49829         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49831         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49833 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49835         Fix mlock in all cases except non-readable pages.
49836         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49837         instead of VM_PROT_ALL as parameter to __vm_wire function.
49839         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49840         (__mkdir): When path is `/', just fail with EEXIST.
49841         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49843 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49845         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49846         <sys/uio.h> (for writev).
49847         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49848         and <sys/param.h> (for MIN).
49850 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49852         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49853         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49854         if interrupted.
49856 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49858         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49859         Depend on against $(link-rpcuserlibs).
49861 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49863         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49864         (__libc_stack_end): Do not use attribute_relro.
49865         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49866         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49867         to libthread-provided value.
49868         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49869         attribute_relro.
49871 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49873         [BZ #3748]
49874         * bits/libc-lock.h (__libc_once_get): New macro.
49875         * sysdeps/mach/bits/libc-lock.h: Likewise.
49876         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49877         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49878         instead of using implementation details.
49880         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49881         * libio/freopen.c: Likewise.
49882         * libio/freopen64.c: Likewise.
49883         * misc/syslog.c: Likewise.
49884         * nscd/connections.c: Likewise.
49885         * nscd/netgroupcache.c: Likewise.
49886         * sysdeps/posix/getcwd.c: Likewise.
49888 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49890         * math/w_ilogbf.c: Add #include <limits.h>.
49892 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49894         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49895         path instead of returning without unlocking.
49897         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49898         immediate-write ioctls.
49899         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49901 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49903         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49904         __builtin_frame_address instead of making assumptions about the
49905         location of the return address relative to DATA.  Force early load of
49906         the return address.
49907         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49908         __builtin_frame_address.
49910         dup3 for GNU Hurd.
49911         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49912         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49913         implement dup3 and do some further code clean-ups.
49914         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49915         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49917 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49919         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49921         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49922         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49923         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49924         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49925         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49926         d->port.lock.
49928         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49929         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49930         when handler == SIG_ERR, not when handler != SIG_ERR.
49932 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49934         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49935         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49936         definitions.
49938         accept4 for GNU Hurd.
49939         * include/sys/socket.h (__libc_accept4): New prototype.
49940         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49941         to implement __libc_accept4.
49942         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49943         __libc_accept4.
49944         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49946         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49947         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49948         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49949         signal-defines.sym.
49951 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49953         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49955 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49957         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49958         assertion on O_CLOEXEC flag.
49959         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49960         * hurd/intern-fd.c: Likewise.
49961         * hurd/port2fd.c: Likewise.
49963 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49965         [BZ #3906]
49966         * bits/in.h (IPV6_PKTINFO): Define new macro.
49967         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49969 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49971         [BZ #13954]
49972         [BZ #13955]
49973         [BZ #13956]
49974         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49975         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49976         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49977         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49978         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49979         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49980         * math/libm-test.inc (logb_test) : Additional logb tests.
49982 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49983             Andreas Jaeger  <aj@suse.de>
49985         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49986         * configure: Regenerated.
49987         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49988         * config.make.in (link-obsolete-rpc): New substituted variable.
49989         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49990         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49991         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49992         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49993         so that libc.a contains the symbols.
49994         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49995         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49996         * sunrpc/auth_none.c: Likewise.
49997         * sunrpc/auth_unix.c: Likewise.
49998         * sunrpc/authdes_prot.c: Likewise.
49999         * sunrpc/authuxprot.c: Likewise.
50000         * sunrpc/clnt_gen.c: Likewise.
50001         * sunrpc/clnt_perr.c: Likewise.
50002         * sunrpc/clnt_raw.c: Likewise.
50003         * sunrpc/clnt_simp.c: Likewise.
50004         * sunrpc/clnt_tcp.c: Likewise.
50005         * sunrpc/clnt_udp.c: Likewise.
50006         * sunrpc/clnt_unix.c: Likewise.
50007         * sunrpc/des_crypt.c: Likewise.
50008         * sunrpc/des_soft.c: Likewise.
50009         * sunrpc/get_myaddr.c: Likewise.
50010         * sunrpc/key_call.c: Likewise.
50011         * sunrpc/key_prot.c: Likewise.
50012         * sunrpc/netname.c: Likewise.
50013         * sunrpc/pm_getmaps.c: Likewise.
50014         * sunrpc/pm_getport.c: Likewise.
50015         * sunrpc/pmap_clnt.c: Likewise.
50016         * sunrpc/pmap_prot.c: Likewise.
50017         * sunrpc/pmap_prot2.c: Likewise.
50018         * sunrpc/pmap_rmt.c: Likewise.
50019         * sunrpc/publickey.c: Likewise.
50020         * sunrpc/rpc_cmsg.c: Likewise.
50021         * sunrpc/rpc_common.c: Likewise.
50022         * sunrpc/rpc_dtable.c: Likewise.
50023         * sunrpc/rpc_prot.c: Likewise.
50024         * sunrpc/rpc_thread.c: Likewise.
50025         * sunrpc/rtime.c: Likewise.
50026         * sunrpc/svc.c: Likewise.
50027         * sunrpc/svc_auth.c: Likewise.
50028         * sunrpc/svc_raw.c: Likewise.
50029         * sunrpc/svc_run.c: Likewise.
50030         * sunrpc/svc_tcp.c: Likewise.
50031         * sunrpc/svc_udp.c: Likewise.
50032         * sunrpc/svc_unix.c: Likewise.
50033         * sunrpc/svcauth_des.c: Likewise.
50034         * sunrpc/xcrypt.c: Likewise.
50035         * sunrpc/xdr.c: Likewise.
50036         * sunrpc/xdr_array.c: Likewise.
50037         * sunrpc/xdr_float.c: Likewise.
50038         * sunrpc/xdr_intXX_t.c: Likewise.
50039         * sunrpc/xdr_mem.c: Likewise.
50040         * sunrpc/xdr_rec.c: Likewise.
50041         * sunrpc/xdr_ref.c: Likewise.
50042         * sunrpc/xdr_sizeof.c: Likewise.
50043         * sunrpc/xdr_stdio.c: Likewise.
50045 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50047         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50048         change.  Update copyright years.
50050 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50052         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50054 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50055             Joseph Myers  <joseph@codesourcery.com>
50056             Paul Pluzhnikov  <ppluzhnikov@google.com>
50058         [BZ #14012]
50059         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50060         requiring rpcgen.
50061         [cross-compiling] (extra-libs): Likewise.
50062         [cross-compiling] (extra-libs-others): Likewise.
50063         [cross-compiling] (librpcsvc-routines): Likewise.
50064         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50065         [cross-compiling] (omit-deps): Likewise.
50066         (sunrpc-CPPFLAGS): New variable.
50067         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50068         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50069         (cross-rpcgen-objs): New variable.
50070         (extra-objs): Append $(cross-rpcgen-objs).
50071         ($(cross-rpcgen-objs)): New rule.
50072         ($(objpfx)cross-rpcgen): Likewise.
50073         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50074         comment.
50075         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50076         ($(objpfx)x%.stmp): Likewise.
50077         * sunrpc/proto.h [IS_IN_build] (_): Define.
50078         [IS_IN_build] (_libc_intl_domainname): Likewise.
50080 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50082         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50083         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50084         and R_X86_64_TPOFF64.
50086 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50088         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50089         sysdeps/unix/sysv/syscalls.list.
50090         (stime): Likewise.
50091         (utime): Likewise.
50092         * sysdeps/unix/sysv/syscalls.list: Remove file.
50094 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50096         [BZ #3440]
50097         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50098         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50099         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50100         (__LC_IDENTIFICATION): Make these macros useful in #if
50101         expressions, as required by C99.
50103 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50105         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50106         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50107         after this.
50109 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50111         * stdlib/longlong.h: Updated from GCC.
50113 2012-05-09  Andreas Jaeger  <aj@suse.de>
50115         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50116         default is first entry.
50117         (run_mode): Set type.
50118         (main): Remove informal message about syslog.
50119         (options): Fix typo.
50121         [BZ #14053]
50122         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50123         to asm.
50124         (lrint): Likewise.
50125         (llrintf): Likewise.
50126         (llrint): Likewise.
50127         (rint): Likewise.
50128         (rintf): Likewise.
50129         (nearbyint): Likewise.
50130         (nearbyintf): Likewise.
50132 2012-05-09  Andreas Jaeger  <aj@suse.de>
50133             Pedro Alves  <palves@redhat.com>
50135         * nscd/nscd.c (run_mode): Use enum.
50136         (main): Cleanup coding style issue.
50138 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50139             Andreas Jaeger  <aj@suse.de>
50141         * nscd/nscd.c (go_background): Replaced with...
50142         (run_mode): ... this.
50143         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50144         (options): Add -F --foreground.
50145         (main): Implement it.
50146         (parse_opt): Parse it.
50148 2012-05-09  Andreas Jaeger  <aj@suse.de>
50150         [BZ #14083]
50151         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50152         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50153         -Wconversion warning.
50154         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50155         Likewise.
50157 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50159         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50160         == 0.
50161         (LC_ALL): Use macro-int-constant.
50162         (LC_COLLATE): Likewise.
50163         (LC_CTYPE): Likewise.
50164         (LC_MESSAGES): Likewise.
50165         (LC_MONETARY): Likewise.
50166         (LC_NUMERIC): Likewise.
50167         (LC_TIME): Likewise.
50168         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50169         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50170         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50171         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50172         Specify type.
50173         [C99-based standards] (float_t): Expect type.
50174         [C99-based standards] (double_t): Expect type.
50175         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50176         type.
50177         [C99-based standards] (HUGE_VALL): Likewise.
50178         [C99-based standards] (INFINITY): Likewise.
50179         [C99-based standards] (NAN): Likewise.
50180         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50181         [C99-based standards] (FP_NAN): Likewise.
50182         [C99-based standards] (FP_NORMAL): Likewise.
50183         [C99-based standards] (FP_SUBNORMAL): Likewise.
50184         [C99-based standards] (FP_ZERO): Likewise.
50185         [C99-based standards] (FP_FAST_FMA): Use
50186         optional-macro-int-constant.  Specify type.  Require == 1.
50187         [C99-based standards] (FP_FAST_FMAF): Likewise.
50188         [C99-based standards] (FP_FAST_FMAL): Likewise.
50189         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50190         [C99-based standards] (FP_ILOGBNAN): Likewise.
50191         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50192         Specify type.
50193         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50194         [C99-based standards] (math_errhandling): Specify type.
50195         [ISO99 || ISO11] (signgam): Do not allow.
50196         [non-C99-based standards] (copysignf): Do not allow.
50197         [non-C99-based standards] (exp2f): Likewise.
50198         [non-C99-based standards] (log2f): Likewise.
50199         [non-C99-based standards] (modff): Allow.
50200         [non-C99-based standards] (erff): Do not allow.
50201         [non-C99-based standards] (erfcf): Likewise.
50202         [non-C99-based standards] (gammaf): Likewise.
50203         [non-C99-based standards] (hypotf): Likewise.
50204         [non-C99-based standards] (j0f): Likewise.
50205         [non-C99-based standards] (j1f): Likewise.
50206         [non-C99-based standards] (jnf): Likewise.
50207         [non-C99-based standards] (lgammaf): Likewise.
50208         [non-C99-based standards] (tgammaf): Likewise.
50209         [non-C99-based standards] (y0f): Likewise.
50210         [non-C99-based standards] (y1f): Likewise.
50211         [non-C99-based standards] (ynf): Likewise.
50212         [non-C99-based standards] (isnanf): Likewise.
50213         [non-C99-based standards] (acoshf): Likewise.
50214         [non-C99-based standards] (asinhf): Likewise.
50215         [non-C99-based standards] (atanhf): Likewise.
50216         [non-C99-based standards] (cbrtf): Likewise.
50217         [non-C99-based standards] (expm1f): Likewise.
50218         [non-C99-based standards] (ilogbf): Likewise.
50219         [non-C99-based standards] (log1pf): Likewise.
50220         [non-C99-based standards] (logbf): Likewise.
50221         [non-C99-based standards] (nextafterf): Likewise.
50222         [non-C99-based standards] (remainderf): Likewise.
50223         [non-C99-based standards] (rintf): Likewise.
50224         [non-C99-based standards] (scalbf): Likewise.
50225         [non-C99-based standards] (copysignl): Likewise.
50226         [non-C99-based standards] (exp2l): Likewise.
50227         [non-C99-based standards] (log2l): Likewise.
50228         [non-C99-based standards] (modfl): Allow.
50229         [non-C99-based standards] (erfl): Do not allow.
50230         [non-C99-based standards] (erfcl): Likewise.
50231         [non-C99-based standards] (gammal): Likewise.
50232         [non-C99-based standards] (hypotl): Likewise.
50233         [non-C99-based standards] (j0l): Likewise.
50234         [non-C99-based standards] (j1l): Likewise.
50235         [non-C99-based standards] (jnl): Likewise.
50236         [non-C99-based standards] (lgammal): Likewise.
50237         [non-C99-based standards] (tgammal): Likewise.
50238         [non-C99-based standards] (y0l): Likewise.
50239         [non-C99-based standards] (y1l): Likewise.
50240         [non-C99-based standards] (ynl): Likewise.
50241         [non-C99-based standards] (isnanl): Likewise.
50242         [non-C99-based standards] (acoshl): Likewise.
50243         [non-C99-based standards] (asinhl): Likewise.
50244         [non-C99-based standards] (atanhl): Likewise.
50245         [non-C99-based standards] (cbrtl): Likewise.
50246         [non-C99-based standards] (expm1l): Likewise.
50247         [non-C99-based standards] (ilogbl): Likewise.
50248         [non-C99-based standards] (log1pl): Likewise.
50249         [non-C99-based standards] (logbl): Likewise.
50250         [non-C99-based standards] (nextafterl): Likewise.
50251         [non-C99-based standards] (remainderl): Likewise.
50252         [non-C99-based standards] (rintl): Likewise.
50253         [non-C99-based standards] (scalbl): Likewise.
50254         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50255         [non-C99-based standards] (FP_*): Do not allow.
50256         [C99-based standards] (FP_*): Change to
50257         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50258         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50259         allow.
50260         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50261         (SIG_ERR): Likewise.
50262         [X/Open-based standards] (SIG_HOLD): Likewise.
50263         (SIG_IGN): Likewise.
50264         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50265         positive value.
50266         (SIGFPE): Likewise.
50267         (SIGILL): Likewise.
50268         (SIGINT): Likewise.
50269         (SIGSEGV): Likewise.
50270         (SIGTER): Likewise.
50271         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50272         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50273         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50274         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50275         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50276         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50277         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50278         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50279         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50280         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50281         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50282         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50283         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50284         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50285         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50286         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50287         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50288         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50289         [X/Open-based standards] (SIGTRAP): Likewise.
50290         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50291         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50292         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50293         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50294         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50295         allow.
50297 2012-05-08  Ian Wienand  <ianw@vmware.com>
50299         [BZ #14080]
50300         * time/tzset.c (__tzset_parse_tz): Update default rules for
50301         daylight time changes in the Energy Policy Act of 2005.
50303 2012-05-09  Andreas Jaeger  <aj@suse.de>
50305         [BZ #13983]
50306         * elf/ldconfig.c (parse_conf): Change string to make clear that
50307         ldconfig only issued a warning if ld.so.conf does not exist.
50309 2012-05-08  David S. Miller  <davem@davemloft.net>
50311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50312         movxtod instead of popping the value on the stack.
50314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50316 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50318         * config.h.in: Add HAVE_ARM_PCS_VFP.
50320 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50322         [BZ #13979]
50323         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50324         checking but the checks are disabled for any reason.
50326 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50328         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50329         and ELF64_R_TYPE with ELFW(R_TYPE).
50331 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50333         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50334         (ulimit): Likewise.
50336         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50337         (settimeofday): Likewise.
50339 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50341         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50342         a struct th_u2 inside the union, and move tu_block/tu_code into
50343         a new th_u3 union of tu_block/tu_code inside of that.  Move
50344         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50345         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50346         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50347         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50348         (th_stuff): Change to th_u1.tu_stuff.
50349         (th_data): Define.
50350         (th_msg): Change to th_u1.th_u2.tu_data.
50352 2012-05-07  David S. Miller  <davem@davemloft.net>
50354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50356         [BZ #14074]
50357         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50358         (SETUP_PIC_REG): Use it.
50359         (SETUP_PIC_REG_LEAF): Use it.
50361 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50363         [BZ #13885]
50364         [BZ #13923]
50365         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50366         USE_AS_EXPM1L.
50367         (EXPL_FINITE): Likewise.
50368         (FLDLOG): Likewise.
50369         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50370         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50371         e_expl.S.
50372         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50373         USE_AS_EXPM1L.
50374         (EXPL_FINITE): Likewise.
50375         (FLDLOG): Likewise.
50376         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50377         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50378         e_expl.S.
50379         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50380         test of -max_value argument for long double.
50381         * sysdeps/i386/fpu/libm-test-ulps: Update.
50382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50384 2012-05-06  David S. Miller  <davem@davemloft.net>
50386         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50387         quad soft-float symbols whose references which are compiler
50388         generated.
50389         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50391 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50393         [BZ #13884]
50394         [BZ #13914]
50395         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50396         USE_AS_EXP10L.
50397         (EXPL_FINITE): Likewise.
50398         (FLDLOG): Likewise.
50399         (c0): Likewise.
50400         (c1): Likewise.
50401         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50402         Adjust comments for base varying.
50403         (__expl_finite): Change alias to EXPL_FINITE.
50404         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50405         e_expl.S.
50406         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50407         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50408         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50409         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50410         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50411         USE_AS_EXP10L.
50412         (EXPL_FINITE): Likewise.
50413         (FLDLOG): Likewise.
50414         (c0): Likewise.
50415         (c1): Likewise.
50416         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50417         Adjust comments for base varying.
50418         (__expl_finite): Change alias to EXPL_FINITE.
50419         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50420         tests for bugs.
50421         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50423         [BZ #14064]
50424         * math/libm-test.inc (check_float_internal): Correct ulp
50425         calculation for subnormal expected results.
50427 2012-05-06  Andreas Jaeger  <aj@suse.de>
50429         * Makeconfig (+math-flags): New, set to -frounding-math.
50430         (+cflags): Add +math-flags so that all of glibc gets compiled with
50431         it.
50433         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50435 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50437         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50438         Disable one test.
50440         [BZ #13787]
50441         [BZ #13922]
50442         [BZ #14036]
50443         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50444         (__ieee754_expl): Allow for and saturate large arguments.
50445         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50446         (u_threshold): Likewise.
50447         (__exp): Call __ieee754_exp before checking for overflow and
50448         underflow.
50449         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50450         (u_threshold): Likewise.
50451         (__expf): Call __ieee754_expf before checking for overflow and
50452         underflow.
50453         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50454         (u_threshold): Likewise.
50455         (__expl): Call __ieee754_expl before checking for overflow and
50456         underflow.
50457         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50458         (__ieee754_expl): Allow for and saturate large arguments.
50459         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50460         missing overflow exception on overflow.
50461         (expm1_test): Do not allow missing overflow exception on overflow.
50463         * sysdeps/i386/fpu/e_expl.c: Move to ...
50464         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50465         rather than using inline asm.
50466         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50467         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50468         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50470         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50471         (nice): Likewise.
50472         (poll): Likewise.
50473         (signal): Likewise.
50474         (time): Likewise.
50475         (times): Likewise.
50477 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50479         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50480         sysdeps/unix/common/syscalls.list.
50481         (fchmod): Likewise.
50482         (fchown): Likewise.
50483         (ftruncate): Likewise.
50484         (getrusage): Likewise.
50485         (gettimeofday): Likewise.
50486         (setpgid): Likewise.
50487         (setregid): Likewise.
50488         (setreuid): Likewise.
50489         (sigaction): Likewise.
50490         (truncate): Likewise.
50491         (vhangup): Likewise.
50492         * sysdeps/unix/common/syscalls.list: Remove file.
50493         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50494         * sysdeps/unix/sysv/linux/Implies: Likewise.
50496 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50498         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50500         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50501         Moved to ...
50502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50503         Here.
50504         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50505         to ...
50506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50507         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50508         to ...
50509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50510         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50511         to ...
50512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50513         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50514         to ...
50515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50516         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50517         to ...
50518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50519         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50520         to ...
50521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50522         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50523         to ...
50524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50525         Here.
50526         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50527         to ...
50528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50529         Here.
50530         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50531         to ...
50532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50533         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50534         Moved to ...
50535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50536         Here.
50537         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50538         to ...
50539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50541 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50543         * sysdeps/unix/common/bits/dirent.h: Remove file.
50544         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50546         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50547         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50548         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50549         * sysdeps/unix/bsd/isatty.c: Likewise.
50550         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50551         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50552         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50554 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50556         [BZ #13563]
50557         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50558         long double comparison inaccuracies.
50559         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50562 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50564         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50565         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50567 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50569         [BZ #14049]
50570         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50571         nonzero digits before rounding a hex value.
50572         * stdlib/tst-strtod.c (tests): Add another test.
50574 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50576         * sysdeps/s390/fpu/libm-test-ulps: Update.
50578 2012-05-03  Andreas Jaeger  <aj@suse.de>
50580         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50581         does not get optimized out.
50582         (malloc_opt_barrier): New.
50584 2012-05-03  Andreas Jaeger  <aj@suse.de>
50585             Roland McGrath  <roland@hack.frob.com>
50587         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50588         intermediate file deletion.
50589         (generated): Add .symlist files.
50591 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50593         [BZ #13775]
50594         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50595         Redirect under this condition.
50596         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50597         [__USE_GNU] (__dprintf_chk): Not under this condition.
50598         [__USE_GNU] (__vdprintf_chk): Likewise.
50599         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50600         under this condition.
50601         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50602         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50603         [__USE_XOPEN2K8] (vdprintf): Likewise.
50604         [__USE_GNU] (__dprintf_chk): Not under this condition.
50605         [__USE_GNU] (__vdprintf_chk): Likewise.
50606         [__USE_GNU] (dprintf): Likewise.
50607         [__USE_GNU] (vdprintf): Likewise.
50609 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50611         * elf/Makefile (common-generated): Set this instead of generated for
50612         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50613         $(all-built-dso)-derived lists.
50615 2012-05-03  Andreas Jaeger  <aj@suse.de>
50617         * sysdeps/i386/fpu/libm-test-ulps: Update.
50619         * FAQ: Removed.
50620         * FAQ.in: Likewise.
50621         * scripts/gen-FAQ.pl: Likewise.
50622         * manual/install.texi (Installation): Point to online location of
50623         FAQ.
50624         * Makefile (files-for-dist): Remove FAQ.
50625         (FAQ): Remove.
50627 2012-05-02  Allan McRae  <allan@archlinux.org>
50629         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50630         (LDFLAGS-reldepmod5.so): Likewise.
50631         (LDFLAGS-reldep6mod1.so): Likewise.
50632         (LDFLAGS-reldep6mod4.so): Likewise.
50633         (LDFLAGS-reldep8mod3.so): Likewise.
50634         (LDFLAGS-unload4mod1.so): Likewise.
50635         (LDFLAGS-unload4mod2.so): Likewise.
50636         (LDFLAGS-tst-initorder): Likewise.
50637         (LDFLAGS-tst-initordera2.so): Likewise.
50638         (LDFLAGS-tst-initordera3.so): Likewise.
50639         (LDFLAGS-tst-initordera4.so): Likewise.
50640         (LDFLAGS-tst-initorderb2.so): Likewise.
50641         (LDFLAGS-noload): Likewise.
50642         (LDFLAGS-next): Likewise.
50643         (LDFLAGS-order2mod1.so): Likewise.
50644         (LDFLAGS-order2mod2.so): Likewise.
50645         (LDFLAGS-tst-initorder2): Likewise.
50646         (LDFLAGS-tst-initorder2a.so): Likewise.
50647         (LDFLAGS-tst-initorder2b.so): Likewise.
50648         (LDFLAGS-tst-initorder2c.so): Likewise.
50649         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50651 2012-05-02  David S. Miller  <davem@davemloft.net>
50653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50655 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50657         [BZ #14055]
50658         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50660 2012-05-02  Andreas Jaeger  <aj@suse.de>
50662         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50663         since we manipulate rounding mode.
50664         (CPPFLAGS-test-idouble.c): Likewise.
50665         (CPPFLAGS-test-ifloat.c): Likewise.
50666         (CFLAGS-test-ldouble.c): Likewise.
50667         (CFLAGS-test-double.c): Likewise.
50668         (CFLAGS-test-float.c): Likewise.
50669         (CFLAGS-test-misc.c): Likewise.
50670         (CFLAGS-test-test-fenv.c): Likewise.
50672 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50674         [BZ #2550]
50675         [BZ #2570]
50676         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50677         comparisons to determine direction to adjust input.
50679 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50681         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50682         output to the target.
50684         * scripts/localplt.awk: New file.
50685         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50686         (check-localplt-CFLAGS): Variable removed.
50687         ($(all-built-dso:=.jmprel)): New static pattern rule.
50688         (generated): Add those targets.
50689         (localplt-built-dso): New variable.
50690         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50692         * elf/check-localplt.c: File removed.
50694         * scripts/check-execstack.awk: New file.
50695         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50696         (check-execstack-CFLAGS): Variable removed.
50697         ($(objpfx)check-execstack.h): Target removed.
50698         ($(objpfx)execstack-default): New target.
50699         (generated): Add that instead of check-execstack.h.
50700         ($(all-built-dso:=.phdr)): New static pattern rule.
50701         (generated): Add those targets.
50702         * elf/check-execstack.c: File removed.
50704         * scripts/check-textrel.awk: New file.
50705         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50706         (check-textrel-CFLAGS): Variable removed.
50707         (all-built-dso): Use := to define.o
50708         ($(all-built-dso:=.dyn)): New static pattern rule.
50709         (generated): Add those targets.
50710         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50711         * config.make.in (READELF): New substituted variable.
50712         * elf/check-textrel.c: File removed.
50714 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50716         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50717         allow.
50718         * conform/data/ctype.h-data [C99-based standards] (isblank):
50719         Expect function.
50720         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50721         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50722         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50723         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50724         Specify type.  Require positive value.
50725         (EILSEQ): Likewise.
50726         (ERANGE): Likewise.
50727         [ISO || POSIX] (EILSEQ): Do not expect.
50728         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50729         Specify type.  Require positive value.
50730         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50731         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50732         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50733         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50734         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50735         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50736         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50737         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50738         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50739         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50740         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50741         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50742         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50743         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50744         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50745         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50746         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50747         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50748         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50749         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50750         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50751         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50752         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50753         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50754         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50755         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50756         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50757         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50758         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50759         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50760         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50761         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50762         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50763         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50764         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50765         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50766         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50767         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50768         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50769         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50770         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50771         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50772         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50773         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50774         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50775         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50776         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50777         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50778         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50779         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50780         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50781         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50782         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50783         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50784         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50785         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50786         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50787         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50788         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50789         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50790         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50791         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50792         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50793         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50794         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50795         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50796         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50797         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50798         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50799         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50800         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50801         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50802         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50803         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50804         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50805         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50806         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50807         Require >= 2.
50808         (FLT_ROUNDS): Expect as macro, not constant.
50809         (FLT_MANT_DIG): Use macro-int-constant.
50810         (DBL_MANT_DIG): Likewise.
50811         (LDBL_MANT_DIG): Likewise.
50812         (FLT_DIG): Likewise.
50813         (DBL_DIG): Likewise.
50814         (LDBL_DIG): Likewise.
50815         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
50816         (DBL_MIN_EXP): Likewise.
50817         (LDBL_MIN_EXP): Likewise.
50818         (FLT_MAX_EXP): Use macro-int-constant.
50819         (DBL_MAX_EXP): Likewise.
50820         (LDBL_MAX_EXP): Likewise.
50821         (FLT_MAX_10_EXP): Likewise.
50822         (DBL_MAX_10_EXP): Likewise.
50823         (LDBL_MAX_10_EXP): Likewise.
50824         (FLT_MAX): Use macro-constant.
50825         (DBL_MAX): Likewise.
50826         (LDBL_MAX): Likewise.
50827         (FLT_EPSILON): Use macro-constant.  Give upper bound.
50828         (DBL_EPSILON): Likewise.
50829         (LDBL_EPSILON): Likewise.
50830         (FLT_MIN): Likewise.
50831         (DBL_MIN): Likewise.
50832         (LDBL_MIN): Likewise.
50833         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50834         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50835         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50836         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50837         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50838         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50839         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50840         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50841         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50842         [ISO11] (FLT_TRUE_MIN): Likewise.
50843         [ISO11] (LDBL_TRUE_MIN): Likewise.
50844         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50845         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50846         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50847         (SCHAR_MAX): Likewise.
50848         (UCHAR_MAX): Likewise.
50849         (CHAR_MIN): Likewise.
50850         (CHAR_MAX): Likewise.
50851         (MB_LEN_MAX): Use macro-int-constant.
50852         (SHRT_MIN): Use macro-int-constant.  Specify type.
50853         (SHRT_MAX): Likewise.
50854         (USHRT_MAX): Likewise.
50855         (INT_MAX): Likewise.
50856         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50857         bound negative.
50858         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50859         bound with "U".
50860         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50861         bound with "L".
50862         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50863         bound negative.  Suffix upper bound with "L".
50864         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50865         bound with "UL".
50866         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50867         Specify type.
50868         [C99-based standards] (LLONG_MAX): Likewise.
50869         [C99-based standards] (ULLONG_MAX): Likewise.
50870         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50871         == 0.
50872         [ISO11] (max_align_t): Require type.
50873         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50875         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50876         from $CFLAGS, without defining away __attribute__ calls.
50877         (checknamespace): Use $CFLAGS_namespace.
50879         * conform/conformtest.pl (@keywords): Only include C99 keywords
50880         for standards based on C99 or C11.
50882         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50883         Disable tests.
50884         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50885         UNIX98]: Likewise.
50887         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50888         usability of symbols in #if.
50890         * conform/conformtest.pl: If macro or constant types start
50891         "promoted:", expect the symbol to be of the following type
50892         promoted by the integer promotions.
50894         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50895         in one place.  Also handle "macro-constant".
50897         * conform/conformtest.pl: Only accept expected macro values with
50898         "==".  Parse all "macro" lines in one place.
50899         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50901         * conform/conformtest.pl: Handle braced types on "constant" lines
50902         instead of handling "typed-constant".
50903         * conform/data/signal.h-data: Use "constant" instead of
50904         "typed-constant".
50906         * conform/conformtest.pl: Handle "optional-" at start of lines in
50907         one place rather than duplicating several cases.  Handle each
50908         format of "macro" line with initial "optional-".
50910         * conform/conformtest.pl: Only accept expected constant or
50911         optional-constant values with "==".  Parse all "constant" lines in
50912         one place.  Parse all "optional-constant" lines in one place.
50913         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50914         * conform/data/fmtmsg.h-data: Likewise.
50915         * conform/data/netinet/in.h-data: Likewise.
50916         * conform/data/tar.h-data: Likewise.
50917         * conform/data/limits.h-data: Use "==" form on "constant" and
50918         "optional-constant" lines.
50920         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50921         Use -std=c99 for XOPEN2K.
50922         (@knownproblems): Remove.
50923         (newtoken): Don't check %isknown.
50925         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50926         Do not expect macro.
50927         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50928         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50929         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50930         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50931         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50932         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50933         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50934         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50935         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50936         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50937         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50938         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50939         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50940         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50941         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50942         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50943         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50944         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50945         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50946         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50947         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50948         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50949         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50950         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50951         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50952         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50953         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50954         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50955         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50956         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50957         [XPG3] (acosh): Likewise.
50958         [XPG3] (asinh): Likewise.
50959         [XPG3] (atanh): Likewise.
50960         [XPG3] (cbrt): Likewise.
50961         [XPG3] (expm1): Likewise.
50962         [XPG3] (ilogb): Likewise.
50963         [XPG3] (log1p): Likewise.
50964         [XPG3] (logb): Likewise.
50965         [XPG3] (nextafter): Likewise.
50966         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50967         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50968         [XPG3] (remainder): Likewise.
50969         [XPG3] (rint): Likewise.
50970         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50971         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50972         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50973         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50974         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50975         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50976         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50977         [UNIX98 || XOPEN2K] (scalb): Expect.
50978         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50979         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50980         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50981         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50982         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50983         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50984         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50985         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50986         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50987         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50988         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50989         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50990         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50991         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50992         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50993         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50994         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50995         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50996         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50997         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50998         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50999         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51000         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51001         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51002         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51003         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51004         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51005         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51006         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51007         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51008         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51009         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51010         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51011         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51012         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51013         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51014         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51015         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51016         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51017         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51018         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51019         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51020         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51021         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51022         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51023         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51024         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51025         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51026         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51027         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51028         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51029         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51030         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51031         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51032         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51033         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51034         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51035         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51036         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51037         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51038         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51039         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51040         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51041         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51042         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51043         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51044         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51045         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51046         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51047         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51048         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51049         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51050         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51051         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51052         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51053         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51054         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51055         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51056         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51057         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51058         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51059         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51060         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51061         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51062         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51063         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51064         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51065         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51066         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51067         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51068         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51069         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51070         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51071         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51072         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51073         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51074         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51075         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51076         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51077         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51078         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51079         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51080         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51081         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51082         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51083         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51084         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51085         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51086         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51087         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51088         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51089         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51090         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51091         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51092         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51093         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51094         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51095         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51096         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51097         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51098         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51099         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51100         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51101         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51102         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51103         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51104         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51105         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51106         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51107         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51108         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51109         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51110         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51111         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51112         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51113         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51114         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51116         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51117         _XOPEN_SOURCE_EXTENDED for XPG4.
51119         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51121         * Makeconfig (localtime): Remove variable.
51122         (inst_localtime-file): Likewise.
51124 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51127         Update.
51128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51129         Update.
51130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51131         Update.
51132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51133         Update.
51134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51135         Update.
51136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51137         Update.
51138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51139         Update.
51140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51141         Update.
51142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51143         Update.
51145 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51147         [BZ #2550]
51148         [BZ #2570]
51149         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51150         comparisons to determine direction to adjust input.
51151         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51152         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51153         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51154         Likewise.
51155         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51156         Likewise.
51157         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51158         Likewise.
51159         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51160         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51161         Likewise.
51162         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51163         Likewise.
51164         * math/libm-test.inc (nexttoward_test): Add more tests.
51166 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51168         [BZ #14040]
51169         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51170         in version GLIBC_2.1, not GLIBC_2.0.
51171         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51172         Likewise.
51174 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51176         [BZ #13942]
51177         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51178         (1 - x) * (1 + x).
51179         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51180         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51181         * math/libm-test.inc (acos_test): Add more tests.
51182         (asin_test): Likewise.
51183         * sysdeps/i386/fpu/libm-test-ulps: Update.
51184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51186         [BZ #14034]
51187         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51188         of square root.
51189         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51190         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51191         * math/libm-test.inc (acos_test_tonearest): New function.
51192         (acos_test_towardzero): Likewise.
51193         (acos_test_downward): Likewise.
51194         (acos_test_upward): Likewise.
51195         (asin_test_tonearest): Likewise.
51196         (asin_test_towardzero): Likewise.
51197         (asin_test_downward): Likewise.
51198         (asin_test_upward): Likewise.
51199         (main): Call the new functions.
51200         * sysdeps/i386/fpu/libm-test-ulps: Update.
51201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51203         [BZ #13884]
51204         [BZ #13924]
51205         * math/e_exp10.c: Include <float.h>.
51206         (__ieee754_exp10): Handle underflow here rather than multiplying
51207         large negative argument by M_LN10.
51208         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51209         of __ieee754_expf.
51210         * math/e_exp10l.c: Include <float.h>.
51211         (__ieee754_exp10l): Handle underflow here rather than multiplying
51212         large negative argument by M_LN10l.
51213         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51214         spurious overflow exception on underflow.
51216 2012-04-29  Marek Polacek  <polacek@redhat.com>
51218         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51219         (__fortify_function): New macro.
51220         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51221         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51222         __extern_always_inline.
51223         * libio/bits/stdio2.h: Likewise.
51224         * libio/bits/stdio.h: Likewise.
51225         * string/string.h: Likewise.
51226         * string/bits/string3.h: Likewise.
51227         * include/stdio.h: Likewise.
51228         * stdlib/bits/stdlib.h: Likewise.
51229         * stdlib/stdlib.h: Likewise.
51230         * rt/bits/mqueue2.h: Likewise.
51231         * rt/mqueue.h: Likewise.
51232         * posix/bits/unistd.h: Likewise.
51233         * posix/unistd.h: Likewise.
51234         * io/bits/poll2.h: Likewise.
51235         * io/bits/fcntl2.h: Likewise.
51236         * io/fcntl.h: Likewise.
51237         * io/sys/poll.h: Likewise.
51238         * misc/bits/syslog.h: Likewise.
51239         * misc/bits/syslog-ldbl.h: Likewise.
51240         * misc/sys/syslog.h: Likewise.
51241         * socket/bits/socket2.h: Likewise.
51242         * socket/sys/socket.h: Likewise.
51243         * debug/tst-chk1.c: Likewise.
51244         * wcsmbs/bits/wchar2.h: Likewise.
51245         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51246         * wcsmbs/wchar.h: Likewise.
51248 2012-04-29  Andreas Jaeger  <aj@suse.de>
51250         * Makerules (tests): Remove enable-check-abi protection.
51251         (check-abi-warn): Remove.
51252         (check-abi-%): Remove check-abi-warn usage.
51254         * configure.in: Remove check-abi configure option.
51255         * configure: Regenerated.
51256         * config.make.in (enable-check-abi): Remove.
51258 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51260         [BZ #14033]
51261         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51262         double functions to double *_finite functions.
51264         [BZ #13941]
51265         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51266         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51267         LDBL_MIN_EXP.
51268         * stdio-common/Makefile (tests): Add tst-sprintf3.
51269         * stdio-common/tst-sprintf3.c: New file.
51271         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51272         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51274 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51276         * conform/conformtest.pl: Remove duplicate typed-constant
51277         handling.
51279 2012-04-28  David S. Miller  <davem@davemloft.net>
51281         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51282         (check-abi-%): Remove AWK script prerequisite and explicit
51283         abilist directory.
51284         (check-abi): Rewrite to just diff the symlist with the abilist.
51285         (config-tls, config-abi-config): Delete, no longer used.
51286         (update-abi-%): Remove AWK script and explicit abilist directory.
51287         (update-abi): Rewrite to simply compare and conditionally copy the
51288         symlist and the sysdep abilist file.  Remove update-abi-config
51289         checks.
51290         * abilist/ld.abilist: Remove.
51291         * abilist/libBrokenLocale.abilist: Remove.
51292         * abilist/libanl.abilist: Remove.
51293         * abilist/libcrypt.abilist: Remove.
51294         * abilist/libdl.abilist: Remove.
51295         * abilist/librt.abilist: Remove.
51296         * abilist/libthread_db.abilist: Remove.
51297         * abilist/libutil.abilist: Remove.
51298         * scripts/extract-abilist.awk: Remove.
51299         * scripts/merge-abilist.awk: Remove.
51300         * sysdeps/generic/libcidn.abilist: New file.
51301         * sysdeps/generic/libnss_compat.abilist: New file.
51302         * sysdeps/generic/libnss_db.abilist: New file.
51303         * sysdeps/generic/libnss_dns.abilist: New file.
51304         * sysdeps/generic/libnss_files.abilist: New file.
51305         * sysdeps/generic/libnss_hesiod.abilist: New file.
51306         * sysdeps/generic/libnss_nis.abilist: New file.
51307         * sysdeps/generic/libnss_nisplus.abilist: New file.
51308         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51309         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51310         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51311         file.
51312         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51313         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51314         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51315         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51316         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51317         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51318         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51319         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51320         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51321         file.
51322         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51323         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51324         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51325         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51326         file.
51327         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51328         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51329         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51330         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51331         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51332         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51333         file.
51334         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51335         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51336         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51337         file.
51338         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51339         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51340         New file.
51341         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51342         New file.
51343         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51344         New file.
51345         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51346         New file.
51347         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51348         New file.
51349         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51350         New file.
51351         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51352         New file.
51353         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51354         New file.
51355         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51356         New file.
51357         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51358         New file.
51359         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51360         New file.
51361         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51362         New file.
51363         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51364         New file.
51365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51366         file.
51367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51368         New file.
51369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51370         New file.
51371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51372         file.
51373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51374         New file.
51375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51376         New file.
51377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51378         file.
51379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51380         New file.
51381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51382         New file.
51383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51384         New file.
51385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51386         New file.
51387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51388         New file.
51389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51390         New file.
51391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51393         file.
51394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51395         New file.
51396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51397         file.
51398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51399         file.
51400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51401         file.
51402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51403         file.
51404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51405         file.
51406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51407         New file.
51408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51409         file.
51410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51411         file.
51412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51413         New file.
51414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51415         file.
51416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51418         file.
51419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51420         New file.
51421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51422         file.
51423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51424         file.
51425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51426         file.
51427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51428         file.
51429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51430         file.
51431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51432         New file.
51433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51434         file.
51435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51436         file.
51437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51438         New file.
51439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51440         file.
51441         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51442         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51443         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51444         file.
51445         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51446         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51447         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51448         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51449         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51450         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51451         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51452         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51453         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51454         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51457         file.
51458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51459         New file.
51460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51461         file.
51462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51463         file.
51464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51465         file.
51466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51467         file.
51468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51469         file.
51470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51471         New file.
51472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51473         New file.
51474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51475         file.
51476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51477         New file.
51478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51479         file.
51480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51482         file.
51483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51484         New file.
51485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51486         file.
51487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51488         file.
51489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51490         file.
51491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51492         file.
51493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51494         file.
51495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51496         New file.
51497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51498         New file.
51499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51500         file.
51501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51502         New file.
51503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51504         file.
51506 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51508         * conform/conformtest.pl: Fix typo in handling typed-constant from
51509         allow-header.
51511 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51513         * README: Cut down references to pre-2.6 Linux kernels and
51514         Linuxthreads.  Update lists of configurations in libc and ports
51515         and sort alphabetically.  Say "or newer" with Linux kernel version
51516         requirements.
51518         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51520 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51522         [BZ #887]
51523         * math/libm-test.inc (logb_test_downward): New test to expose
51524         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51525         rounding mode.
51527 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51529         [BZ #14027]
51530         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51531         to be done.
51532         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51533         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51535 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51537         * sysdeps/unix/i386/brk.S: Remove file.
51538         * sysdeps/unix/i386/dl-brk.S: Likewise.
51539         * sysdeps/unix/i386/pipe.S: Likewise.
51540         * sysdeps/unix/i386/sigreturn.S: Likewise.
51541         * sysdeps/unix/i386/syscall.S: Likewise.
51542         * sysdeps/unix/i386/vfork.S: Likewise.
51543         * sysdeps/unix/i386/wait.S: Likewise.
51545         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51546         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51548         * configure.in (arm*-none*): Do not allow without
51549         --enable-hacker-mode.
51550         (netbsd*): Remove case setting base_os.
51551         (386bsd*): Likewise.
51552         (freebsd*): Likewise.
51553         (bsdi*): Likewise.
51554         (osf*): Likewise.
51555         (sunos*): Likewise.
51556         (ultrix*): Likewise.
51557         (newsos*): Likewise.
51558         (dynix*): Likewise.
51559         (*bsd*): Likewise.
51560         (sysv*): Likewise.
51561         (isc*): Likewise.
51562         (esix*): Likewise.
51563         (sco*): Likewise.
51564         (minix*): Likewise.
51565         (irix4*): Likewise.
51566         (irix6*): Likewise.
51567         (solaris[2-9]*): Likewise.
51568         (none): Likewise.
51569         * configure: Regenerated.
51571 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51573         [BZ #11521]
51574         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51575         overflow or cancellation in calculating denominator.
51576         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51577         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51578         down expression to avoid unexpected rounding in newer GCCs.
51579         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51581 2012-04-26  David S. Miller  <davem@davemloft.net>
51583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51584         long-double compat symbols.
51585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51599 2012-04-25  David S. Miller  <davem@davemloft.net>
51601         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51602         HWCAP_* values only after the memory barriers have been defined.
51603         (atomic_full_barrier): Define.
51604         (atomic_read_barrier): Define.
51605         (atomic_write_barrier): Define.
51607 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51609         * shlib-versions: Add libgcc_s version information.
51610         * sysdeps/generic/libgcc_s.h: Remove.
51611         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51612         libgcc_s.h.
51613         * sysdeps/gnu/unwind-resume.c: Likewise.
51614         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51616 2012-04-25  David S. Miller  <davem@davemloft.net>
51618         * sysdeps/unix/sparc/brk.S: Delete.
51619         * sysdeps/unix/sparc/dl-brk.S: Delete.
51620         * sysdeps/unix/sparc/pipe.S: Delete.
51621         * sysdeps/unix/sparc/sysdep.S: Delete.
51622         * sysdeps/unix/sparc/sysdep.h: Delete.
51623         * sysdeps/unix/sparc/vfork.S: Delete.
51624         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51625         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51626         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51627         (ret_ERRVAL, r0, r1, MOVE): Define.
51628         (JUMPTARGET): Remove.
51629         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51630         sysdeps/unix/sparc/sysdep.h
51631         (ENTRY, END): Remove.
51632         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51634 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51636         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51637         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51638         -DIS_IN_build.
51640         * timezone/README: Update upstream location and email address for
51641         tzcode and tzdata.
51642         * timezone/zdump.c: Update from tzcode 2012b.
51643         * timezone/zic.c: Likewise.
51645         * configure.in (libc_cv_as_needed): Remove test.
51646         * configure: Regenerated.
51647         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51648         conditional definition.
51649         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51650         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51651         * config.make.in (have-as-needed): Remove variable.
51653 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51654             Paul Pluzhnikov  <ppluzhnikov@google.com>
51656         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51657         strings correctly.
51659 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51661         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51662         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51663         * sysdeps/sh/strlen.S: Likewise.
51665 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51667         * sysdeps/unix/fork.S: Remove file.
51668         * sysdeps/unix/i386/fork.S: Likewise.
51669         * sysdeps/unix/sparc/fork.S: Likewise.
51671         * sysdeps/unix/system.c: Remove file.
51672         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51674         * sysdeps/unix/getegid.S: Remove file.
51675         * sysdeps/unix/geteuid.S: Likewise.
51677 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51679         * scripts/check-localplt.awk: New file.
51680         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51681         of diff.
51682         * scripts/data/localplt-generic.data: Add a comment.
51684         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51685         NODE when __dir_mkfile failed.
51686         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51687         Reported by Ludovic Courtès <ludo@gnu.org>.
51689 2012-04-24  Andreas Jaeger  <aj@suse.de>
51691         * Makerules (common-clean): Also remove gen-as-const-headers
51692         files.
51694 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51696         * Makerules (native-compile): Do not change working directory for
51697         build.  Use $(OUTPUT_OPTION) in command.
51698         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51700 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51702         [BZ #13886]
51703         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51704         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51705         * math/libm-test.inc (floor_test): Add more tests.
51706         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51708 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51710         * sysdeps/unix/getdents.c: Remove file.
51711         * sysdeps/unix/sysv/getdents.c: Likewise.
51712         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51714         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51715         sysdeps/unix/mman/syscalls.list.
51716         (mmap): Likewise.
51717         (mprotect): Likewise.
51718         (msync): Likewise.
51719         (munmap): Likewise.
51720         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51721         * sysdeps/unix/mman/syscalls.list: Remove.
51722         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51724         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51725         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51726         * configure: Regenerated.
51727         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51728         $(libgcc_s_suffix).
51729         * config.make.in (libgcc_s_suffix): Remove variable.
51731 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51733         * sysdeps/unix/sysv/gethostname.c: Move to ...
51734         * sysdeps/posix/gethostname.c: ... here.
51736         * sysdeps/unix/execve.S: Remove file.
51738         * sysdeps/unix/_exit.S: Remove file.
51740 2012-04-23  Andreas Jaeger  <aj@suse.de>
51742         [BZ #13739]
51743         * manual/Makefile: Remove make dist support, there's no
51744         need for a stand-alone documentation tar ball.
51745         (TEXI2DVI): Define always, it's not in Makeconfig.
51746         (dist): Removed.
51747         (tar-it): Removed.
51748         (edition): Removed.
51749         (glibc-doc-$(edition).tar): Removed
51750         (%.Z): Removed.
51751         (%.gz): Removed.
51752         (%.uu): Removed.
51753         (ETAGS): Remove, it's in Makeconfig.
51754         (move-if-change): Remove, it's in Makeconfig.
51756 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51758         [BZ #13970]
51759         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51760         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51761         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51762         (strtod_l, strtof_l, strtold_l): Remove __wur.
51763         It is not necessarily an error to ignore strtol's return value.
51764         One can reliably look at the stored endptr to decide whether
51765         the number had valid syntax.
51767 2012-04-21  Andreas Jaeger  <aj@suse.de>
51769         [BZ #13739]
51770         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51772 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
51774         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51775         * sysdeps/unix/sysv/Versions: Remove file.
51777 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
51779         [BZ #13927]
51780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51782 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
51784         [BZ #7064]
51785         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51786         version from __vm86.
51788 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
51790         * sysdeps/unix/common/lxstat.c: Remove file.
51791         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51793         * sysdeps/unix/sysv/Makefile: Remove file.
51795         * sysdeps/unix/sysv/direct.h: Remove file.
51797         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51798         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51799         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51800         * sysdeps/unix/sysv/bits/signum.h: Likewise.
51801         * sysdeps/unix/sysv/bits/stat.h: Likewise.
51802         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51803         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51805         * sysdeps/unix/sysv/setrlimit.c: Remove file.
51807         * sysdeps/unix/xmknod.c: Remove file.
51808         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51810         * sysdeps/unix/sysv/settimeofday.c: Remove file.
51812         * sysdeps/unix/sysv/i386/time.S: Remove file.
51814         * sysdeps/unix/fxstat.c: Remove file.
51815         * sysdeps/unix/xstat.c: Likewise.
51816         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51818         * sysdeps/unix/sysv/sigaction.c: Remove file.
51820         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51821         (sysdep_headers): Remove variable.
51822         [termio.h not in sysdep_headers] (generated): Likewise.
51823         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51824         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51825         * sysdeps/unix/sysv/tcdrain.c: Likewise.
51826         * sysdeps/unix/sysv/tcflow.c: Likewise.
51827         * sysdeps/unix/sysv/tcflush.c: Likewise.
51828         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51829         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51830         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51831         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51832         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51834         * sysdeps/unix/siglist.c: Remove file.
51836         * sysdeps/unix/getppid.S: Remove file.
51838         * sysdeps/unix/mkdir.c: Remove file.
51839         * sysdeps/unix/rmdir.c: Likewise.
51841 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51843         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51844         ERR_MAX value.
51845         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51846         errlist-compat value.
51848 2012-04-18  David S. Miller  <davem@davemloft.net>
51850         * sysdeps/generic/memcopy.h (reg_char): Delete.
51851         * debug/strcat_chk.c: Use char, not reg_char.
51852         * debug/strcpy_chk.c: Likewise.
51853         * debug/strncat_chk.c: Likewise.
51854         * debug/strncpy_chk.c: Likewise.
51855         * string/memchr.c: Likewise.
51856         * string/memrchr.c: Likewise.
51857         * string/rawmemchr.c: Likewise.
51858         * string/strcat.c: Likewise.
51859         * string/strchr.c: Likewise.
51860         * string/strchrnul.c: Likewise.
51861         * string/strcmp.c: Likewise.
51862         * string/strcpy.c: Likewise.
51863         * string/strncat.c: Likewise.
51864         * string/strncmp.c: Likewise.
51865         * string/strncpy.c: Likewise.
51867 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51869         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51870         __builtin_memcopy is called when src and dest ranges are known to not
51871         overlap.
51873 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51875         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51876         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51877         fwd_align_merge macro call.
51878         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51879         bwd_align_merge macro call.
51880         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51882 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51884         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51885         bwd_align_merge macros.
51886         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51887         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51888         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51890 2012-04-18  David S. Miller  <davem@davemloft.net>
51892         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51894 2012-04-18  Andreas Jaeger  <aj@suse.de>
51896         [BZ# 6794]
51897         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51898         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51899         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51901         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51902         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51903         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51905         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51906         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51907         Adjust for changed ldbl-128 files.
51909         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51910         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51911         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51913 2012-04-17  David S. Miller  <davem@davemloft.net>
51915         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51917 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51919         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51920         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51921         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51922         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51923         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51924         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51926 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51928         [BZ #6794]
51929         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51930         * math/libm-test.inc: Add ilogb errno and exception tests.
51931         * math/w_ilogb.c: New file: ilogb wrapper.
51932         * math/w_ilogbf.c: New file: ilogbf wrapper.
51933         * math/w_ilogbl.c: New file: ilogbl wrapper.
51934         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51935         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51936         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51937         exception being thrown with 0.0 as argument.
51938         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51939         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51940         exception being thrown with 0.0 as argument.
51941         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51942         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51943         exception being thrown with 0.0 as argument.
51944         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51945         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51946         exception being thrown with 0.0 as argument.
51947         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51948         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51949         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51950         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51951         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51952         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51953         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51954         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51955         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51957 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51959         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51960         with altivec.
51962 2012-04-16  Marek Polacek  <polacek@redhat.com>
51964         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51966 2012-04-16  Marek Polacek  <polacek@redhat.com>
51968         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51969         operands of fdivp instruction.
51971 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51973         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51974         * elf/tst-auditmod3b.c: Likewise.
51975         * elf/tst-auditmod4b.c: Likewise.
51976         * elf/tst-auditmod5b.c: Likewise.
51977         * elf/tst-auditmod6b.c: Likewise.
51978         * elf/tst-auditmod6c.c: Likewise.
51979         * elf/tst-auditmod7b.c: Likewise.
51980         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51981         * sysdeps/x86_64/preconfigure.in: Likewise.
51982         * sysdeps/x86_64/preconfigure: Regenerated.
51984 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51986         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51987         __ILP32__.
51989 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51991         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51992         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51994 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51996         [BZ #13973]
51997         * locale/iso-639.def: Fix gl language name. Spotted by
51998         Yaron Shahrabani.
52000 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52002         [BZ #2074]
52003         * libio/libio.h (__io_write_fn): Update comment.
52005 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52007         [BZ #2074]
52008         * stdio.texi (Hook Functions): The user provided writer function
52009         is not allowed to return -1.
52011 2012-04-11  David S. Miller  <davem@davemloft.net>
52013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52015 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52017         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52018         Add a leading slash to rtkaio.
52020 2012-04-11  Jim Meyering  <meyering@redhat.com>
52022         [BZ #11959]
52023         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52024         It is not necessarily an error to ignore fwrite's return
52025         value.  One can reliably use ferror to test for errors after
52026         the fact.
52028 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52030         * bits/types.h (__snseconds_t): New type.
52031         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52033         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52034         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52035         (__SNSECONDS_T_TYPE): Likewise.
52036         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52037         (__SNSECONDS_T_TYPE): Likewise.
52038         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52039         (__SNSECONDS_T_TYPE): Likewise.
52041 2012-04-10  Andreas Jaeger  <aj@suse.de>
52043         [BZ #2636]
52044         * manual/time.texi (Processor Time): Return type of times is
52045         elapsed real time since an arbitrary point in the past.
52046         (CPU Time): Move CLK_TCK from here...
52047         (Processor Time): ...to here.  Correct description.
52048         * manual/conf.texi (Constants for Sysconf): Correct description of
52049         _SC_CLK_TCK.
52051 2012-04-10  David S. Miller  <davem@davemloft.net>
52053         [BZ #13967]
52054         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52055         where the is a gap between DT_REL(A) and DT_JMPREL.
52057 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52059         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52060         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52061         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52063 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52065         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52066         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52067         (dl_main): Handle --inhibit-cache.
52068         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52069         _dl_inhibit_cache.
52070         * elf/dl-load.c (_dl_map_object): Use it.
52071         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52073 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52075         [BZ #13872]
52076         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52077         (__ieee754_powl): Saturate large exponents rather than testing for
52078         overflow of y*log2(x).
52079         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52080         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52081         exceptions.
52083         [BZ #11521]
52084         * math/s_ctan.c: Include <float.h>.
52085         (__ctan): Avoid internal overflow or cancellation in calculating
52086         denominator.
52087         * math/s_ctanf.c: Likewise.
52088         * math/s_ctanl.c: Likewise.
52089         * math/s_ctanh.c: Likewise.
52090         * math/s_ctanhf.c: Likewise.
52091         * math/s_ctanhl.c: Likewise.
52092         * math/libm-test.inc (ctan_test): Add more tests.
52093         (ctanh_test): Likewise.
52094         * sysdeps/i386/fpu/libm-test-ulps: Update.
52095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52097 2012-04-09  Andreas Jaeger  <aj@suse.de>
52099         [BZ #6894]
52100         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52101         is an optional BSD extension.
52103         [BZ #10254]
52104         * manual/stdio.texi (Opening Streams): Document additional fopen
52105         parameters.
52107 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52109         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52110         %eax without telling the compiler.
52112 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52114         [BZ # 13963]
52115         * manual/install.texi: Use sourceware.org.
52117 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52119         [BZ #13873]
52120         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52121         (__ieee754_pow): Generate overflow and underflow using huge*huge
52122         and tiny*tiny rather than just returning constant infinity or zero
52123         for large exponents.
52124         * math/libm-test.inc (pow_test): Require overflow exceptions for
52125         applicable cases of large exponents.
52127         [BZ #706]
52128         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52129         (__ieee754_pow): Use iterative multiplication algorithm only for
52130         integer exponents with absolute value below 1024.  Check for odd
52131         integer exponents when using algorithm for real exponents.
52132         * math/libm-test.inc (pow_test): Add more tests.
52133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52135 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52137         [BZ #13705]
52138         * math/libm-test.inc (exp_test): Do not allow overflow exception
52139         on underflow test.
52141 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52143         [BZ #13705]
52144         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52145         instead of __kernel_standard_f.
52147 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52149         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52150         * sysdeps/x86_64/memset_chk.S: Likewise.
52152 2012-04-08  Andreas Jaeger  <aj@suse.de>
52154         [BZ #10153]
52155         * manual/startup.texi (Environment Access): Describe return value
52156         for putenv and setenv.
52158         [BZ #6895]
52159         * manual/filesys.texi (Directory Entries): Add description for
52160         DT_LNK.
52162         [BZ #6890]
52163         * manual/filesys.texi (Directory Entries): Clarify that it's file
52164         system not operating system in the description of DT_UNKNOWN.
52166         [BZ #6578]
52167         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52169 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52171         [BZ #6649]
52172         * manual/llio.texi (Opening and Closing Files): Add cross
52173         reference to explain mode argument.
52175 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52177         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52178         * sysdeps/x86_64/memset_chk.S: Likewise.
52180 2012-04-07  David S. Miller  <davem@davemloft.net>
52182         * elf/elf.h (R_SPARC_WDISP10): Define.
52183         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52184         R_SPARC_SIZE32.
52185         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52186         R_SPARC_SIZE64 and R_SPARC_H34.
52188 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52190         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52191         conditions and remove no longer applicable assertion.
52193 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52195         * bits/byteswap.h: Include <features.h>.
52196         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52197         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52199 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52201         * bits/byteswap.h (__bswap_16): Removed.
52202         Include <bits/byteswap-16.h> to get __bswap_16.
52203         * sysdeps/i386/bits/byteswap.h: Likewise.
52204         * sysdeps/s390/bits/byteswap.h: Likewise.
52205         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52206         * bits/byteswap-16.h: New file.
52207         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52208         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52209         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52210         * string/Makefile (headers): Add bits/byteswap-16.h.
52212 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52214         [BZ #13895]
52215         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52216         extra indirection.
52217         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52218         * nss/tst-nss-static.c: New.
52220 2012-04-06  Robert Millan  <rmh@gnu.org>
52222         [BZ #6486]
52223         * manual/llio.texi (File Position Primitive): lseek
52224         refers to WHENCE when it really means OFFSET.
52226 2012-04-06  Andreas Jaeger  <aj@suse.de>
52228         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52229         strncmp declarations.
52231         * abilist/libc.abilist: Add __poll and __ppoll.
52233 2012-04-05  David S. Miller  <davem@davemloft.net>
52235         * scripts/check-local-headers.sh: Accept a host triplet in the
52236         path matched by the exclude regexp.
52238         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52239         definition.
52240         * sysdeps/powerpc/powerpc32/dl-machine.h
52241         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52242         * sysdeps/s390/s390-32/dl-machine.h
52243         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52244         * sysdeps/sparc/sparc32/dl-machine.h
52245         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52246         * sysdeps/sparc/sparc64/dl-machine.h
52247         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52249         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52250         lazy binding.
52251         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52252         undefined symbol errors.
52254         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52255         DT_NEEDED entries.
52257 2012-04-05  Michael Matz  <matz@suse.de>
52259         [BZ #13592]
52260         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52262 2012-04-05  Andreas Jaeger  <aj@suse.de>
52264         [BZ #13908]
52265         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52266         comment.
52268 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52270         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52271         which ROUND is no valid rounding mode.
52273 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52275         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52276         read again.
52277         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52279 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52281         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52282         an exception using FPU order intentionally.
52284 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52286         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52287         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52288         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52289         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52291 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52293         [BZ #12340]
52294         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52295         EINVAL when BUFLEN is too smal.
52297 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52299         [BZ #13553]
52300         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52301         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52303 2012-04-03  Andreas Jaeger  <aj@suse.de>
52305         [BZ #13938]
52306         * manual/setjmp.texi (System V contexts): Fix sentence.
52308         [BZ #13926]
52309         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52310         New macro for this case.
52311         [!__GNUC__] (__bswap_64): New inline function for this case.
52312         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52313         * bits/byteswap.h: Likewise.
52314         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52315         ull, guard with __GLIBC_HAVE_LONG_LONG.
52317         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52318         __GLIBC_HAVE_LONG_LONG.
52320         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52321         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52323 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52325         [BZ #13691]
52326         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52327         inptr and inend, rather than using last_ch.
52329 2012-04-02  David S. Miller  <davem@davemloft.net>
52331         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52332         * stdio-common/printf-parse.h (read_int): Change return type to
52333         'int', return -1 on INT_MAX overflow.
52334         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52335         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52336         overflows INT_MAX.  Check for overflow of in-format-string precision
52337         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52338         SIZE_MAX not INT_MAX for integer overflow test.
52339         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52340         skip the construct in the format string but do not record anything.
52341         * stdio-common/bug22.c: Adjust to test both width/prevision
52342         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52343         explicitly for proper errno values.
52345 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52347         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52348         CHAR_MAX.
52349         * string/test-strcmp.c [! WIDE]: Likewise.
52350         * time/tst-mktime2.c: Likewise for INT_MAX.
52351         * string/test-string.h: #include <sys/param.h> for MIN.
52353         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52354         * sysdeps/i386/init-first.c (init): Likewise.
52355         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52356         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52357         * sysdeps/sh/init-first.c (init): Likewise.
52359 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52361         * po/ru.po: Update from translation team.
52362         * po/vi.po: Likewise.
52364 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52366         * resolv/nss_dns/dns-host.c: Merge copyright years.
52368 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52370         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52371         Optimize memcpy with prefetch if
52372         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52373         src, dst pointers have unequal 16 byte alignments.
52375 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52377         [BZ #13928]
52378         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52379         from a CNAME entry and return the minimum ttl for the query.
52380         (gaih_getanswer_slice): Likewise.
52382 2012-03-30  Jeff Law  <law@redhat.com>
52384         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52385         due to long keys.
52386         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52387         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52389         * resolv/nss_dns/dns-host.c: Update copyright year.
52391 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52393         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52394         requests to save a system call.  Fix check that all bytes are sent.
52396         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52397         comments for sendmmsg.
52399 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52401         [BZ #13691]
52402         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52403         with only 1 character between 0x0041 and 0x01b0.
52404         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52405         * wcsmbs/tst-mbsnrtowcs.c: New file.
52407 2012-03-29  David S. Miller  <davem@davemloft.net>
52409         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52410         small copies by hand.
52412 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52414         [BZ #13761]
52415         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52416         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52417         group memberships.
52419 2012-03-28  David S. Miller  <davem@davemloft.net>
52421         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52422         that branches into memcpy.
52423         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52424         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52425         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52426         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52427         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52428         bits.
52429         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52430         implementation too.
52431         * sysdeps/sparc/mempcpy.S: New file.
52433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52434         the IFUNC routine in the libc case.
52435         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52437         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52438         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52439         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52440         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52441         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52442         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52443         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52444         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52446         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52447         loop to 256 bytes instead of 64 bytes and fix test signedness.
52449         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52450         * sysdeps/sparc/sparc32/Makefile: rather than here...
52451         * sysdeps/sparc/sparc64/Makefile: and here.
52453 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52455         * malloc/mallocbug.c: Avoid warnings about unused variables.
52457 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52459         [BZ #13760]
52460         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52461         in the right place. Discard and retry query if response is
52462         larger than input buffer size.
52464 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52466         [BZ #369]
52467         [BZ #2678]
52468         [BZ #3866]
52469         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52470         x for large integer exponent.
52471         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52472         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52473         sign of result as needed afterwards.
52474         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52475         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52476         result for underflowing pow the same as for overflow.
52477         (__kernel_standard_l): Handle powl overflow and underflow here
52478         rather than calling __kernel_standard.
52479         * math/libm-test.inc (pow_test): Add more tests.
52481         [BZ #3868]
52482         [BZ #13879]
52483         [BZ #13910]
52484         [BZ #13911]
52485         [BZ #13912]
52486         [BZ #13913]
52487         [BZ #13915]
52488         [BZ #13916]
52489         [BZ #13917]
52490         [BZ #13918]
52491         [BZ #13919]
52492         [BZ #13920]
52493         [BZ #13921]
52494         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52495         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52496         (__kernel_standard_l): New function.
52497         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52498         __kernel_standard.
52499         * math/w_acosl.c (__acosl): Likewise.
52500         * math/w_asinl.c (__asinl): Likewise.
52501         * math/w_atan2l.c (__atan2l): Likewise.
52502         * math/w_atanhl.c (__atanhl): Likewise.
52503         * math/w_coshl.c (__coshl): Likewise.
52504         * math/w_exp10l.c (__exp10l): Likewise.
52505         * math/w_exp2l.c (__exp2l): Likewise.
52506         * math/w_fmodl.c (__fmodl): Likewise.
52507         * math/w_hypotl.c (__hypotl): Likewise.
52508         * math/w_j0l.c (__j0l, __y0l): Likewise.
52509         * math/w_j1l.c (__j1l, __y1l): Likewise.
52510         * math/w_jnl.c (__jnl, __ynl): Likewise.
52511         * math/w_lgammal.c (__lgammal): Likewise.
52512         * math/w_log10l.c (__log10l): Likewise.
52513         * math/w_log2l.c (__log2l): Likewise.
52514         * math/w_logl.c (__logl): Likewise.
52515         * math/w_powl.c (__powl): Likewise.
52516         * math/w_remainderl.c (__remainderl): Likewise.
52517         * math/w_scalbl.c (sysv_scalbl): Likewise.
52518         * math/w_sinhl.c (__sinhl): Likewise.
52519         * math/w_sqrtl.c (__sqrtl): Likewise.
52520         * math/w_tgammal.c (__tgammal): Likewise.
52521         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52522         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52523         * math/libm-test.inc (acos_test): Add more tests.
52524         (acosh_test): Likewise.
52525         (asin_test): Likewise.
52526         (atanh_test): Likewise.
52527         (exp_test): Likewise.
52528         (exp10_test): Likewise.
52529         (exp2_test): Likewise.
52530         (expm1_test): Likewise.
52531         (lgamma_test): Likewise.
52532         (log_test): Likewise.
52533         (log10_test): Likewise.
52534         (log1p_test): Likewise.
52535         (log2_test): Likewise.
52536         (pow_test): Do not allow some spurious overflow exceptions.
52537         (sqrt_test): Add more tests.
52538         (tgamma_test): Likewise.
52539         (y0_test): Likewise.
52540         (y1_test): Likewise.
52541         (yn_test): Likewise.
52543 2012-03-27  Anton Blanchard  <anton@samba.org>
52545         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52546         MAP_HUGETLB.
52547         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52548         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52549         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52551 2012-03-27  David S. Miller  <davem@davemloft.net>
52553         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52555         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52556         have-as-vis3 check.
52558 2012-03-27  Andreas Jaeger  <aj@suse.de>
52560         * sysdeps/x86_64/elf/configure.in: Moved to ...
52561         * sysdeps/x86_64/configure.in: ... here.
52562         * sysdeps/x86_64/elf/start.S: Moved to ...
52563         * sysdeps/x86_64/start.S: ... here.
52564         * sysdeps/x86_64/elf/configure: Delete.
52566         * sysdeps/x86_64/configure.in: Merge contents from
52567         sysdeps/i386/configure.in (without i686 check).
52569         * sysdeps/i386/elf/Versions: Merge into ...
52570         * sysdeps/i386/Versions: ... this.
52571         * sysdeps/i386/elf/Versions: Delete file.
52572         * sysdeps/i386/elf/start.S: Moved to ...
52573         * sysdeps/i386/start.S: ...here.
52574         * sysdeps/i386/elf/configure.in: Merge into...
52575         * sysdeps/i386/configure.in: ...here.
52576         * sysdeps/i386/elf/configure.in: Delete file.
52577         * sysdeps/i386/elf/configure: Delete file.
52579         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52580         * debug/backtracesyms.c: ... here.
52581         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52582         * debug/backtracesymsfd.c: ... here.
52583         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52584         * sysdeps/generic/ifunc-sel.h: ... here.
52586         * sysdeps/unix/i386/start.c: Delete file.
52587         * sysdeps/unix/sparc/start.c: Delete file.
52588         * sysdeps/unix/start.c: Delete file.
52590         * sysdeps/sh/elf/configure.in: Moved to ...
52591         * sysdeps/sh/configure.in: ... here.
52592         * sysdeps/sh/elf/start.S: Moved to ...
52593         * sysdeps/sh/start.S: ... here.
52594         * sysdeps/sh/elf/configure: Delete file.
52596         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52597         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52598         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52599         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52600         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52601         * sysdeps/powerpc/powerpc64/start.S: here.
52602         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52603         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52604         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52605         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52606         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52608         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52609         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52610         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52611         * sysdeps/powerpc/powerpc32/start.S: ... here.
52612         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52613         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52614         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52616         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52617         * sysdeps/powerpc/ifunc-sel.h: ... here.
52618         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52619         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52621         * sysdeps/sparc/elf/configure.in: Moved to ...
52622         * sysdeps/sparc/configure.in: ... here.
52623         * sysdeps/sparc/elf/configure: Delete file.
52624         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52625         * sysdeps/sparc/sparc32/start.S: ... here.
52626         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52627         * sysdeps/sparc/sparc64/start.S: ... here.
52628         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52629         * sysdeps/sparc/sparc32/Makefile: ... this.
52630         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52631         * sysdeps/sparc/sparc64/Makefile: ... this.
52633         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52634         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52635         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52636         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52637         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52638         * sysdeps/s390/s390-32/setjmp.S: ... here.
52639         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52640         * sysdeps/s390/s390-32/configure.in: ... here.
52641         * sysdeps/s390/s390-32/elf/configure: Delete file.
52642         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52643         * sysdeps/s390/s390-32/start.S: ... here.
52645         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52646         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52647         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52648         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52649         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52650         * sysdeps/s390/s390-64/setjmp.S: ... here.
52651         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52652         * sysdeps/s390/s390-64/configure.in: ... here
52653         * sysdeps/s390/s390-64/elf/configure: Delete file.
52654         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52655         * sysdeps/s390/s390-64/start.S: ... here.
52656         * sysdeps/s390/s390-64/elf/configure: Delete.
52658         * configure.in: Remove support for elf directories in sysdeps.
52660         * configure: Regenerated.
52661         * sysdeps/i386/configure: Regenerated.
52662         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52663         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52664         * sysdeps/s390/s390-32/configure: Regenerated.
52665         * sysdeps/s390/s390-64/configure: Regenerated.
52666         * sysdeps/sh/configure: Regenerated.
52667         * sysdeps/sparc/configure: Regenerated.
52668         * sysdeps/x86_64/configure: Regenerated.
52670 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52674         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52675         denormal result into account.
52677 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52679         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52680         Reported by Allan McRae <allan@archlinux.org>.
52682 2012-03-23  Jeff Law  <law@redhat.com>
52684         * nss/getnssent.c (__nss_getent): Fix typo.
52686 2012-03-23  David S. Miller  <davem@davemloft.net>
52688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52690 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52692         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52693         to pad to uint64_t for each field.
52694         (dl_tls_index): Replace unsigned long with uint64_t.
52696 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52697         Paul Pluzhnikov  <ppluzhnikov@google.com>
52699         [BZ #6528]
52700         * grp/Makefile (otherlibs): Don't set it.
52701         * inet/Makefile (otherlibs): Likewise.
52702         * login/Makefile (otherlibs): Likewise.
52703         * nscd/Makefile (otherlibs): Likewise.
52704         * posix/Makefile (otherlibs): Likewise.
52705         * pwd/Makefile (otherlibs): Likewise.
52706         * rt/Makefile (otherlibs): Likewise.
52707         * sunrpc/Makefile (otherlibs): Likewise.
52708         * nss/Makefile (otherlibs): Likewise.
52709         Add libnss_files to routines and static-only-routines.
52710         ($(objpfx)getent): Remove rule.
52711         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52712         static-only-routines.
52714 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52716         [BZ #13892]
52717         * math/s_cexp.c: Include <float.h>.
52718         (__cexp): Handle exp result overflowing not necessarily
52719         overflowing both real and imaginary parts of result.
52720         * math/s_cexpf.c: Likewise.
52721         * math/s_cexpl.c: Likewise.
52722         * math/libm-test.inc (cexp_test): Add more tests.
52723         * sysdeps/i386/fpu/libm-test-ulps: Update.
52724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52726 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52728         * include/link.h (ELFW): New macro.
52729         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52730         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52732 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52734         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52735         with uint64_t.
52737 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52739         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52740         declaration.
52741         (struct La_x32_retval): Likewise.
52743 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52745         * sysdeps/x86_64/preconfigure.in: New file.
52746         * sysdeps/x86_64/preconfigure: New generated file.
52748 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52750         [BZ #13824]
52751         * math/e_exp2l.c: Include <float.h>.
52752         (__ieee754_exp2l): Handle overflow and underflow cases
52753         separately.  Only pass fractional part of argument to
52754         __ieee754_expl.
52755         * math/libm-test.inc (exp2_test): Add more tests.
52757         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52758         negating x to take absolute value.
52759         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52760         Likewise.
52761         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52762         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52763         Likewise.
52764         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52765         computing low part if x was negated.
52766         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52768 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52770         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52771         la_x32_gnu_pltexit.
52772         (pltexit): Cast int_retval to ptrdiff_t.
52773         * elf/tst-auditmod3b.c: Likewise.
52774         * elf/tst-auditmod4b.c: Likewise.
52775         * elf/tst-auditmod5b.c: Likewise.
52776         * elf/tst-auditmod6b.c: Likewise.
52777         * elf/tst-auditmod6c.c: Likewise.
52778         * elf/tst-auditmod7b.c: Likewise.
52780         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52781         and x32_gnu_pltexit.
52783         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52784         __ELF_NATIVE_CLASS.
52785         (La_x32_regs): New macro.
52786         (La_x32_retval): Likewise.
52787         (la_x32_gnu_pltenter): New function prototype.
52788         (la_x32_gnu_pltexit): Likewise.
52790 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
52792         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52793         exponent.
52795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52797         * configure.in (libc_cv_cc_nofma): Check for option to disable
52798         generation of FMA instructions.
52799         * configure: Regenerate.
52800         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52801         * sysdeps/ieee754/dbl-64/Makefile: New file.
52802         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52803         Remove brandred-fma4.
52804         (CFLAGS-brandred-fma4.c): Remove.
52805         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52806         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52807         define.
52808         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52809         define.
52811 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52813         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52814         LLONG_MAX != LONG_MAX.
52815         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52816         (_fitoa_word): Likewise.
52817         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52818         LLONG_MAX != LONG_MAX.
52819         * stdio-common/_itowa.h: Include <_itoa.h>.
52820         (_itowa_word): Use _ITOA_WORD_TYPE on value.
52821         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
52822         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
52823         only if not defined.
52824         (_ITOA_WORD_TYPE): Likewise.
52825         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52826         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52828 2012-03-21  David S. Miller  <davem@davemloft.net>
52830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52832 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52834         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52835         of x86_64 when setting libc_cv_slibdir, libdir and
52836         libc_cv_localedir.
52837         * sysdeps/unix/sysv/linux/configure: Regenerated.
52839 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52841         * manual/lang.texi (Old Varargs): Remove section.
52842         (How Variadic): Update menu.
52843         (va_start): Do not mention varargs.h.
52845 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52846             Joseph Myers  <joseph@codesourcery.com>
52848         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52849         link test.
52850         * configure: Regenerated.
52852 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52854         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52855         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52856         conformtest.pl
52858 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52860         * NOTES: Remove.
52861         * Makefile (files-for-dist): Remove NOTES.
52862         (NOTES): Remove rule.
52863         * README: Don't refer to NOTES.
52864         * manual/creature.texi: Don't include macros.texi.
52865         * manual/intro.texi (creature.texi): Remove comment referring to
52866         NOTES.
52868         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52869         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52870         * configure: Regenerated.
52871         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52872         LIBC_TRY_CC_OPTION.
52873         (libc_cv_as_i686): Likewise.
52874         (libc_cv_cc_avx): Likewise.
52875         (libc_cv_cc_sse2avx): Likewise.
52876         (libc_cv_cc_fma4): Likewise.
52877         (libc_cv_cc_novzeroupper): Likewise.
52878         * sysdeps/i386/configure: Regenerated.
52880         [BZ #13883]
52881         * sysdeps/i386/fpu/s_cexp.S: Remove.
52882         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52883         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52884         * math/libm-test.inc (cexp_test): Add more tests.
52885         * sysdeps/i386/fpu/libm-test-ulps: Update.
52886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52888 2012-03-21  Allan McRae  <allan@archlinux.org>
52890         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52892 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52894         [BZ #13871]
52895         * math/w_exp2.c: Do not include <float.h>.
52896         (o_threshold, u_threshold): Remove.
52897         (__exp2): Calculate result before checking finiteness and calling
52898         __kernel_standard.
52899         * math/w_exp2f.c: Likewise.
52900         * math/w_exp2l.c: Likewise.
52901         * math/libm-test.inc (exp2_test): Require overflow exception for
52902         1e6 input.
52904         [BZ #3866]
52905         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52906         range of signed 64-bit integers before using fistpll.  Remove
52907         checks for whether integers fit in mantissa bits.
52908         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52909         the range of signed 32-bit integers before using fistpl.  Remove
52910         checks for whether integers fit in mantissa bits.
52911         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52912         (__ieee754_powl): Test for y outside the range of signed 64-bit
52913         integers before using fistpll.  Reduce 64-bit values to 63-bit
52914         ones as needed.
52915         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52916         divide-by-zero is raised for zero to large negative powers.
52917         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52918         (__ieee754_powl): Test for y outside the range of signed 64-bit
52919         integers before using fistpll.  Reduce 64-bit values to 63-bit
52920         ones as needed.
52921         * math/libm-test.inc (pow_test): Add more tests.
52923 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52925         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52926         <stdio-common/_itoa.h>.
52927         * debug/segfault.c: Likewise.
52928         * elf/dl-cache.c: Likewise.
52929         * elf/dl-minimal.c: Likewise.
52930         * elf/dl-misc.c: Likewise.
52931         * elf/dl-sysdep.c: Likewise.
52932         * elf/dl-version.c: Likewise.
52933         * elf/rtld.c: Likewise.
52934         * hurd/hurdsock.c: Likewise.
52935         * hurd/lookup-retry.c: Likewise.
52936         * malloc/malloc.c: Likewise.
52937         * malloc/mtrace.c: Likewise.
52938         * nscd/nscd_getgr_r.c: Likewise.
52939         * nscd/nscd_getpw_r.c: Likewise.
52940         * nscd/nscd_getserv_r.c: Likewise.
52941         * posix/getopt_init.c: Likewise.
52942         * posix/wordexp.c: Likewise.
52943         * stdio-common/_itoa.c: Likewise.
52944         * stdio-common/printf_fphex.c: Likewise.
52945         * stdio-common/vfprintf.c: Likewise.
52946         * string/_strerror.c: Likewise.
52947         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52948         * sysdeps/i386/i686/hp-timing.h: Likewise.
52949         * sysdeps/mach/_strerror.c: Likewise.
52950         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52951         * sysdeps/mach/hurd/sethostid.c: Likewise.
52952         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52953         * sysdeps/mach/xpg-strerror.c: Likewise.
52954         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52955         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52956         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52957         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52958         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52959         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52960         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52961         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52962         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52963         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52964         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52965         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52966         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52967         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52968         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52969         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52970         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52971         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52972         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52973         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52974         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52976         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52978         * stdio-common/_itoa.h: Moved to ...
52979         * sysdeps/generic/_itoa.h: Here.
52981         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52983         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52984         instead of "_itoa.h" and "_itowa.h".
52985         * stdio-common/vfprintf.: Likewise.
52987 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52989         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52990         <bits/wordsize.h>.
52991         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52992         (__signbit): Likwise.
52993         (llrintf): Likwise.
52994         (llrint): Likwise.
52996 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52998         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52999         __WORDSIZE != 64.
53001 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53003         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53004         OVERFLOW_EXCEPTION_OK.
53005         * math/libm-test.inc ("Philosophy"): Update comment about
53006         exception testing.
53007         (OVERFLOW_EXCEPTION): Define.
53008         (OVERFLOW_EXCEPTION_OK): Likewise.
53009         (INVALID_EXCEPTION_OK): Renumber.
53010         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53011         (IGNORE_ZERO_INF_SIGN): Likewise.
53012         (test_exceptions): Handle FE_OVERFLOW.
53013         (exp10_test): Expect overflow exceptions.
53014         (exp2_test): Likewise.
53015         (expm1_test): Likewise.
53016         (nextafter_test): Likewise.
53017         (pow_test): Likewise.
53018         (scalbn_test): Likewise.
53019         (scalbln_test): Likewise.
53021 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53023         * sysdeps/x86_64/bits/atomic.h
53024         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53025         64bit integer.
53026         (atomic_exchange_acq): Likewise.
53027         (__arch_exchange_and_add_body): Likewise.
53028         (__arch_add_body): Likewise.
53029         (atomic_add_negative): Likewise.
53030         (atomic_add_zero): Likewise.
53032 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53034         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53035         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53037 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53039         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53040         Check __x86_64__ instead of __WORDSIZE.
53042 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53044         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53046 2012-03-19  David S. Miller  <davem@davemloft.net>
53048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53050         * sysdeps/sparc/fpu/fenv_private.h: New file.
53051         * sysdeps/sparc/fpu/math_private.h: Use it.
53052         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53053         Remove.
53054         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53055         (libc_feholdexcept_setroundl): Remove.
53056         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53057         Remove.
53058         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53059         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53061 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53063         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53064         int64_t instead of long int.
53065         (INSERT_WORDS64): Likwise.
53067 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53069         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53070         _Unwind_GetCFA return to _Unwind_Ptr first.
53072 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53074         [BZ #13629]
53075         * math/s_clog.c: Include <float.h>.
53076         (__clog): Scale large or subnormal inputs.
53077         * math/s_clogf.c: Likewise.
53078         * math/s_clogl.c: Likewise.
53079         * math/s_clog10.c: Include <float.h>.
53080         (M_LOG10_2): Define.
53081         (__clog10): Scale large or subnormal inputs.
53082         * math/s_clog10f.c: Likewise.
53083         * math/s_clog10l.c: Likewise.
53084         * math/libm-test.inc (clog_test): Add more tests.
53085         (clog10_test): Likewise.
53086         * sysdeps/i386/fpu/libm-test-ulps: Update.
53087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53089         [BZ #11451]
53090         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53091         x and y.
53092         * math/libm-test.inc (atan2_test): Add another test.
53094         * Makerules (common-objdir-compile): Remove.
53095         * sysdeps/unix/Makefile (config-generated): Do not add
53096         $(unix-generated) to variable.
53097         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53098         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53099         Remove rule.
53100         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53101         Likewise.
53102         [generic bits/local_lim.h] (before-compile): Do not append to
53103         variable.
53104         [generic bits/local_lim.h] (common-generated): Likewise.
53105         [generic sys/param.h] (before-compile): Do not append to variable.
53106         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53107         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53108         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53109         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53110         include.
53111         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53112         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53113         [generic sys/param.h] ($(addprefix
53114         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53115         [generic sys/param.h] (common-generated): Do not append to
53116         variable.
53117         [generic sys/param.h] (sysdep_headers): Likewise.
53118         [generic bits/errno.h] (before-compile): Do not append to
53119         variable.
53120         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53121         rule.
53122         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53123         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53124         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53125         [generic bits/errno.h] (common-generated): Do not append to
53126         variable.
53127         [generic bits/ioctls.h] (before-compile): Do not append to
53128         variable.
53129         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53130         rule.
53131         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53132         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53133         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53134         rule.
53135         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53136         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53137         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53138         [generic bits/ioctls.h] (common-generated): Do not append to
53139         variable.
53140         [generic sys/syscall.h] (syscall.h): Remove variable.
53141         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53142         rule.
53143         [generic sys/syscall.h] (before-compile): Do not append to
53144         variable.
53145         [generic sys/syscall.h] (common-generated): Likewise.
53146         * sysdeps/unix/errnos-tmpl.c: Remove file.
53147         * sysdeps/unix/errnos.awk: Likewise.
53148         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53149         * sysdeps/unix/ioctls.awk: Likewise.
53150         * sysdeps/unix/mk-local_lim.c: Likewise.
53151         * sysdeps/unix/snarf-ioctls: Likewise.
53153 2012-03-19  Richard Henderson  <rth@twiddle.net>
53155         * sysdeps/i386/fpu/fenv_private.h: New file.
53156         * sysdeps/i386/fpu/math_private.h: Use it.
53157         (math_opt_barrier, math_force_eval): Remove.
53158         (libc_feholdexcept_setround_53bit): Remove.
53159         (libc_feupdateenv_53bit): Remove.
53160         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53161         (math_opt_barrier, math_force_eval): Remove.
53162         (libc_feholdexcept): Remove.
53163         (libc_feholdexcept_setround): Remove.
53164         (libc_fetestexcept, libc_fesetenv): Remove.
53165         (libc_feupdateenv_test): Remove.
53166         (libc_feupdateenv, libc_feholdsetround): Remove.
53167         (libc_feresetround): Remove.
53169         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53170         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53172         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53173         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53174         (libc_feupdateenv_testl): New.
53175         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53176         (libc_feupdateenv_testf): New.
53177         (libc_feupdateenv): Use libc_feupdateenv_test.
53178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53179         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53181         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53182         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53183         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53184         (libc_feresetround_noex): New.
53185         (libc_feresetround_noexf): New.
53186         (libc_feresetround_noexl): New.
53187         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53188         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53189         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53190         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53191         SET_RESTORE_ROUND.
53192         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53193         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53194         (__cos): Likewise.
53195         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53196         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53197         SET_RESTORE_ROUND_NOEX.
53198         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53199         SET_RESTORE_ROUND_NOEXF.
53200         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53201         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53202         (libc_feholdsetroundf): New.
53203         (libc_feresetround, libc_feresetroundf): New.
53205         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53206         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53207         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53209         * sysdeps/generic/math_private.h: Include <fenv.h>.
53210         (default_libc_feholdexcept): New.
53211         (default_libc_feholdexcept_setround): New.
53212         (default_libc_fesetenv, default_libc_feupdateenv): New.
53213         (libc_feholdexcept): Only define if undefined.
53214         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53215         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53216         (libc_feholdexcept_setroundl): Likewise.
53217         (libc_feholdexcept_setround_53bit): Likewise.
53218         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53219         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53220         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53221         (libc_feupdateenv_53bit): Likewise.
53222         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53223         (libc_feholdexcept): Convert from macro to inline function.
53224         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53225         (libc_fesetenv, libc_feupdateenv): Likewise.
53227         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53228         not previously defined.
53229         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53230         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53231         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53232         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53233         * sysdeps/ieee754/flt-32/math_private.h: New file.
53234         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53235         math_private.h below SET_FLOAT_WORD.
53236         (__isnan, __isinf_ns, __finite): Remove.
53237         (__isnanf, __isinf_nsf, __finitef): Remove.
53239 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53243 2012-03-17  David S. Miller  <davem@davemloft.net>
53245         [BZ #6471]
53246         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53247         for 2.16.
53249 2012-03-16  David S. Miller  <davem@davemloft.net>
53251         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53252         warnings.
53254         [BZ #6471]
53255         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53256         properly.
53257         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53258         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53259         sysdep_routines when subdir is sysvipc.
53260         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53261         __getshmlba helper.
53263         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53265 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53267         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53268         [__LP64__].
53270 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53272         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53273         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53274         (__lround): Renamed to ...
53275         (__llround): This.  Replace long int with long long int.
53276         Define lround functions as aliases of llround functions.
53277         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53279 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53281         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53282         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53283         adresses to uintptr_t.  Replace "long int" and "unsigned long
53284         int" with "greg_t" on va_arg.
53286 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53288         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53289         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53291         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53292         Move e_machine check before EI_CLASS check.  Handle x32
53293         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53294         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53295         SKIP_EM_IA_64 and include
53296         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53298         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53299         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53300         (add_system_dir): New macro.
53302         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53303         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53305 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53307         [BZ #2551]
53308         [BZ #2552]
53309         [BZ #2553]
53310         [BZ #2554]
53311         [BZ #2562]
53312         [BZ #2563]
53313         [BZ #2565]
53314         [BZ #2566]
53315         [BZ #2576]
53316         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53317         (y0): Likewise.
53318         * math/w_j0f.c (j0f): Likewise.
53319         (y0f): Likewise.
53320         * math/w_j0l.c (__j0l): Likewise.
53321         (__y0l): Likewise.
53322         * math/w_j1.c (j1): Likewise.
53323         (y1): Likewise.
53324         * math/w_j1f.c (j1f): Likewise.
53325         (y1f): Likewise.
53326         * math/w_j1l.c (__j1l): Likewise.
53327         (__y1l): Likewise.
53328         * math/w_jn.c (jn): Likewise.
53329         (yn): Likewise.
53330         * math/w_jnf.c (jnf): Likewise.
53331         (ynf): Likewise.
53332         * math/w_jnl.c (__jnl): Likewise.
53333         (__ynl): Likewise.
53334         * math/libm-test.inc (j0_test): Add more tests.
53335         (j1_test): Likewise.
53336         (jn_test): Likewise.  Add trailing semicolon to existing test.
53337         (y0_test): Likewise.
53338         (y1_test): Likewise.
53339         * sysdeps/i386/fpu/libm-test-ulps: Update.
53340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53342         [BZ #13851]
53343         [BZ #13854]
53344         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53345         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53346         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53347         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53348         (__tanl): Set errno for infinite argument.
53349         * sysdeps/i386/fpu/mptan.c: Remove.
53350         * sysdeps/i386/fpu/s_tan.S: Likewise.
53351         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53352         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53353         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53354         * math/libm-test.inc (tan_test): Add more tests and enable more
53355         tests for double and long double.
53356         * sysdeps/i386/fpu/libm-test-ulps: Update.
53357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53359 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53361         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53362         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53364 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53366         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53367         * configure.in: Use it for both main tree and add-ons.
53368         * configure: Regenerated.
53370 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53372         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53374 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53376         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53377         in comment.
53379         [BZ #13851]
53380         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53381         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53382         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53383         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53384         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53385         infinite argument.
53386         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53387         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53388         != 0 for prec == 2.
53389         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53390         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53391         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53392         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53393         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53394         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53395         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53396         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53397         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53398         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53399         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53400         * math/libm-test.inc (cos_test): Add more tests and enable more
53401         tests for long double.
53402         (sin_test): Likewise.
53403         (sincos_test): Likewise.
53404         * sysdeps/i386/fpu/libm-test-ulps: Update.
53405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53407 2012-03-16  David S. Miller  <davem@davemloft.net>
53409         * sysdeps/sparc/fpu/math_private.h: New file.
53411 2012-03-15  David S. Miller  <davem@davemloft.net>
53413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53414         file.
53415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53417         file.
53418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53423         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53424         sysdep routines.
53425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53427         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53428         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53430         * sysdeps/sparc/sparc-ifunc.h: New file.
53431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53432         sparc-ifunc.h
53433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53435         Likewise.
53436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53437         Likewise.
53438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53442         Likewise.
53443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53448         Likewise.
53449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53450         Likewise.
53451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53457         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53458         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53463         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53465         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53469         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53470         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53471         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53472         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53473         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53474         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53476 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53478         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53479         scaling.
53480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53482 2012-03-15  Andreas Jaeger  <aj@suse.de>
53484         [BZ #13852]
53485         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53486         ieee754/flt-32 implementation for sin, cos and sincos.
53487         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53488         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53489         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53490         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53491         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53492         ieee754/flt-32 implementation for tan.
53494         * math/libm-test.inc (cos_test): Enable some large input tests for
53495         float as well
53496         (sin_test): Likewise.
53497         (sincos_test): Likewise.
53498         (tan_test): Add tests for large input.
53500         * sysdeps/i386/fpu/libm-test-ulps: Update.
53502 2012-03-15  Andreas Jaeger  <aj@suse.de>
53504         [BZ #13658]
53505         * math/libm-test.inc (cos_test): Add more test cases.
53506         (sin_test): Likewise.
53507         (sincos_test): Likewise.
53509 2012-03-15  Andreas Jaeger  <aj@suse.de>
53511         [BZ #13837]
53512         * math/libm-test.inc (cos_test): Add a test case for large input
53513         value.
53514         (sin_test): Likewise.
53515         (sincos_test): Likewise.
53517 2012-03-15  Andreas Jaeger  <aj@suse.de>
53518             Joseph Myers  <joseph@codesourcery.com>
53520         [BZ #13658]
53521         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53522         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53523         * sysdeps/i386/fpu/branred.c: Likewise.
53524         * sysdeps/i386/fpu/dosincos.c: Likewise.
53525         * sysdeps/i386/fpu/mpa.c: Likewise.
53526         * sysdeps/i386/fpu/s_cos.S: Likewise.
53527         * sysdeps/i386/fpu/s_sin.S: Likewise.
53528         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53529         * sysdeps/i386/fpu/sincos32.c: Likewise.
53531         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53532         Define.
53533         (libc_feupdateenv_53bit): Define.
53534         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53535         Define.
53536         (libc_feupdateenv_53bit): Define.
53538         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53539         53 bit (without extend i386 double precision).
53541         * math/libm-test.inc (sincos_test): Add tests for large input.
53542         (sin): Likewise.
53543         (cos): Likewise.
53545         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53547 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53551 2012-03-15  David S. Miller  <davem@davemloft.net>
53553         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53554         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53555         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53556         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53564         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53565         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53566         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53567         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53569         file.
53570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53572         file.
53573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53575         file.
53576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53578         file.
53579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53580         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53581         fmin/fmax sysdep routines.
53582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53584 2012-03-14  David S. Miller  <davem@davemloft.net>
53586         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53588         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53589         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53590         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53591         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53592         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53593         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53594         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53595         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53596         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53597         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53601         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53602         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53603         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53604         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53605         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53606         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53607         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53608         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53609         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53610         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53611         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53612         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53613         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53614         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53615         routines.
53616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53617         file.
53618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53620         file.
53621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53623         file.
53624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53626         file.
53627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53629         file.
53630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53632         file.
53633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53634         file.
53635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53636         file.
53637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53638         file.
53639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53640         New file.
53641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53642         file.
53643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53644         file.
53645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53647         file.
53648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53650         file.
53651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53653         file.
53654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53656         VIS3 routines.
53658         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53659         New file.
53661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53663         * sysdeps/sparc/configure.in: New file.
53664         * sysdeps/sparc/configure: Generate.
53665         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53666         * configure: Regenerate.
53667         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53668         * config.make.in (have-as-vis3): New.
53669         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53670         available use -Av9d instead of -Av9a.
53671         * sysdeps/sparc/sparc64/Makefile: Likewise.
53672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53674         New file.
53675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53676         file.
53677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53678         New file.
53679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53680         file.
53681         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53682         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53683         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53684         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53685         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53687         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53688         fzeros/fnegs to load 0x80000000 into a float register instead of
53689         using the stack.
53690         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53692 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53694         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53695         bits/syscall.h.
53696         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53697         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53698         ($(inst_includedir)/bits/syscall.h): Remove rule.
53699         ($(objpfx)bits/syscall.d): Include instead of
53700         $(objpfx)syscall-list.d.
53701         (generated): Change syscall-list.h and syscall-list.d to
53702         bits/syscall.h and bits/syscall.d.
53704 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53706         [BZ #13846]
53707         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53709 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53711         [BZ #13841]
53712         * math/s_csqrt.c: Include <float.h>.
53713         (__csqrt): Scale large or subnormal inputs.
53714         * math/s_csqrtf.c: Likewise.
53715         * math/s_csqrtl.c: Likewise.
53716         * math/libm-test.inc (csqrt_test): Add more tests.
53717         * sysdeps/i386/fpu/libm-test-ulps: Update.
53718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53720         [BZ #13840]
53721         * math/libm-test.inc (hypot_test): Add more tests.
53723 2012-03-13  David S. Miller  <davem@davemloft.net>
53725         [BZ #13840]
53726         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53727         double-precision for the calculation instead of scaling.
53729 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53731         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53732         manipulate bits before adding and subtracting TWO52[sx].
53733         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53734         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53735         Likewise.
53736         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53738 2012-03-13  David S. Miller  <davem@davemloft.net>
53740         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53741         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53742         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53743         rtld-global-offsets.h
53744         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53746         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53747         large parameters.
53749         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53751         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53752         'err' in the ifdef scope in which it is actually used.
53754         * nss/nss_db/db-init.c: Include string.h
53756 2012-03-12  David S. Miller  <davem@davemloft.net>
53758         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53759         masking out of the most significant byte of random value used.
53760         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53761         Fix coding style in previous change.
53763         * sysdeps/unix/sysv/linux/kernel-features.h
53764         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53765         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53766         expression.
53767         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53768         later.
53770 2012-03-11  David S. Miller  <davem@davemloft.net>
53772         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53773         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53774         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53775         for 'resultvar' otherwise things get truncated on 64-bit.
53777         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53778         Fix masking out of the most significant byte of random value used.
53780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53782 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
53784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53786 2012-03-09  David S. Miller  <davem@davemloft.net>
53788         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53789         variables with appropriate CPP guards.
53790         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53791         from the frame pointer, not the stack pointer.  Correct layout
53792         comments.  Fix test on resulting framesize and the management of
53793         the outregs buffer for pltexit.  Preserve floating point return
53794         values across _dl_call_pltexit call.
53795         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53796         framesize and the management of the outregs buffer for pltexit.
53797         Preserve floating point return values across _dl_call_pltexit
53798         call.
53799         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53800         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53801         (la_sparc64_gnu_pltexit): New functions.
53802         (print_exit): Fix format string for return register value.
53804 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
53806         * sunrpc/Makefile (others): Add rpcgen.
53807         ($(objpfx)rpcgen): Remove special build rule and dependency on
53808         libc.
53809         * sunrpc/rpcgen.c: New file.
53811 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
53813         [BZ #13673]
53814         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53815         * stdio-common/bug-vfprintf-nargs.c: Likewise.
53816         * sysdeps/i386/crti.S: Likewise.
53817         * sysdeps/i386/crtn.S: Likewise.
53818         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53819         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53820         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53821         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53822         * sysdeps/sh/crti.S: Likewise.
53823         * sysdeps/sh/crtn.S: Likewise.
53824         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53826         [BZ #13673]
53827         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53828         with URL.
53829         * locale/programs/locfile-kw.gperf: Likewise.
53830         * locale/programs/charmap-kw.h: Regenerated.
53831         * locale/programs/locfile-kw.h: Likewise.
53833         [BZ #13673]
53834         * intl/plural.y: Replace FSF snail mail address with URL.
53835         * intl/plural.c: Regenerated.
53837 2012-03-09  Richard Henderson  <rth@twiddle.net>
53839         * include/math_private.h: Remove file.
53840         * math/math_private.h: Move file ...
53841         * sysdeps/generic/math_private.h: ... here.
53843         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53844         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53845         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53847         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53848         and <math_private.h>.
53849         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53850         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53851         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53852         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53853         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53854         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53855         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53856         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53857         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53858         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53859         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53860         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53861         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53862         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53863         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53864         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53865         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53866         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53867         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53868         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53869         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53870         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53871         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53872         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53873         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53874         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53875         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53876         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53877         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53878         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53879         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53880         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53881         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53882         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53883         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53884         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53885         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53886         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53887         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53888         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53889         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53890         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53891         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53892         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53893         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53894         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53895         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53896         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53897         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53898         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53899         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53900         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53901         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53902         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53903         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53904         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53905         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53906         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53907         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53908         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53909         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53910         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53911         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53912         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53913         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53914         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53915         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53916         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53917         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53918         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53919         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53920         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53921         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53922         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53923         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53924         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53925         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53926         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53927         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53928         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53929         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53930         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53931         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53932         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53933         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53934         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53935         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53936         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53937         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53938         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53939         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53940         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53941         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53942         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53943         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53944         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53945         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53946         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53947         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53948         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53949         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53950         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53951         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53952         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53953         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53954         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53955         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53956         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53957         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53958         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53959         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53960         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53961         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53962         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53963         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53964         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53965         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53966         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53967         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53968         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53969         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53970         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53971         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53972         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53973         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53974         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53975         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53976         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53977         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53978         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53979         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53980         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53981         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53982         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53983         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53984         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53985         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53986         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53987         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53988         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53989         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53990         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53991         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53992         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53993         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53994         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53995         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53996         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53997         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53998         * sysdeps/ieee754/k_standard.c: Likewise.
53999         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54000         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54001         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54002         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54003         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54004         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54005         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54006         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54007         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54008         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54009         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54010         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54011         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54012         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54013         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54014         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54015         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54016         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54017         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54018         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54019         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54020         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54021         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54022         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54023         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54024         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54025         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54026         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54027         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54028         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54029         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54030         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54031         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54032         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54033         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54034         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54035         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54036         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54037         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54038         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54039         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54040         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54041         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54042         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54043         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54044         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54045         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54046         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54047         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54048         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54049         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54050         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54051         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54052         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54053         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54054         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54055         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54056         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54057         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54058         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54059         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54060         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54061         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54062         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54063         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54064         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54065         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54066         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54067         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54068         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54069         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54070         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54071         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54072         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54073         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54074         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54075         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54076         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54077         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54078         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54079         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54080         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54081         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54082         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54083         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54084         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54085         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54086         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54087         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54088         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54089         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54090         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54091         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54092         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54093         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54094         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54095         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54096         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54097         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54098         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54099         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54100         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54101         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54102         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54103         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54104         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54105         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54106         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54107         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54108         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54109         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54110         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54111         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54112         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54113         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54114         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54115         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54116         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54117         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54118         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54119         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54120         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54121         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54122         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54123         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54124         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54125         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54126         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54127         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54128         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54129         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54130         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54131         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54132         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54133         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54134         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54135         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54136         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54137         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54138         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54139         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54140         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54141         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54142         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54143         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54144         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54145         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54146         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54147         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54148         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54149         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54150         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54151         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54152         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54153         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54154         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54155         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54156         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54157         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54158         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54159         * sysdeps/ieee754/s_lib_version.c: Likewise.
54160         * sysdeps/ieee754/s_matherr.c: Likewise.
54161         * sysdeps/ieee754/s_signgam.c: Likewise.
54162         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54163         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54164         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54165         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54166         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54167         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54168         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54169         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54170         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54171         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54172         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54173         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54174         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54175         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54176         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54177         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54178         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54179         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54180         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54181         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54182         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54184 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54186         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54187         * sunrpc/rpc_main.c: Likewise.
54188         * sunrpc/rpc_svcout.c: Likewise.
54190 2012-03-09  David S. Miller  <davem@davemloft.net>
54192         * include/math_private.h: New file.
54194 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54196         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54197         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54198         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54199         from <bits/socket_type.h>.
54200         (enum __socket_type): Don't define here.
54201         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54202         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54203         bits/socket_type.h.
54205         [BZ #13566]
54206         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54207         checking __USE_GNU.
54209         * Makerules ($(inst_includedir)/%.h): New rule.
54210         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54211         (install-others): Remove variable setting.
54212         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54214 2012-03-08  Richard Henderson  <rth@twiddle.net>
54216         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54217         from macro to inline function; merge with the
54218         !__LIBC_INTERNAL_MATH_INLINES version.
54219         (__ieee754_sqrtf): Likewise.
54221         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54222         to inline function.
54223         (__rintf, __floor, __floorf): Likewise.
54225         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54226         macro to inline function.
54227         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54229         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54230         not <math/math_private.h>.
54232 2012-03-08  David S. Miller  <davem@davemloft.net>
54234         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54235         copyright year.
54236         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54238 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54240         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54241         normalization.
54242         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54243         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54245 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54247         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54248         be defined individually, they must be defined as a block.  Define
54249         S for printing a string instead of hidint the different by using a
54250         macro for adding the 'l'.
54251         * stdio-common/tst-fphex-wide.c: Adjust.
54253 2012-03-07  Marek Polacek  <polacek@redhat.com>
54255         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54257 2012-03-08  Marek Polacek  <polacek@redhat.com>
54259         [BZ #13806]
54260         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54261         * stdio-common/tst-fphex.c: Define a few macros to make the
54262         test reusable.  Use them.
54263         * stdio-common/tst-fphex-wide.c: New file.
54265 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54267         [BZ #6911]
54268         * manual/macros.texi (gnusystems): New macro.
54269         (nongnusystems): Likewise.
54270         (gnulinuxhurdsystems): Likewise.
54271         (gnuhurdsystems): Likewise..
54272         (gnulinuxsystems): Likewise.
54273         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54274         variants of the GNU system, not "GNU system".
54275         * manual/conf.texi: Likewise.
54276         * manual/errno.texi: Likewise.  Update example of errno macro
54277         expansion.
54278         * manual/filesys.texi: Likewise.
54279         (getumask): Document as specific to GNU/Hurd.
54280         * manual/install.texi: Likewise.  Reword some references to
54281         GNU/Linux.
54282         * manual/intro.texi: Likewise.
54283         * manual/io.texi: Likewise.
54284         (File Name Portability): Detail which constraints are inapplicable
54285         to all GNU systems and which are only inapplicable to GNU/Hurd.
54286         * manual/job.texi: Likewise.
54287         * manual/llio.texi: Likewise.
54288         (O_NOCTTY): Document as present on GNU/Linux.
54289         * manual/maint.texi: Likewise.
54290         * manual/memory.texi: Likewise.
54291         * manual/pattern.texi: Likewise.
54292         * manual/pipe.texi: Likewise.
54293         * manual/process.texi: Likewise.
54294         * manual/resource.texi: Likewise.
54295         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54296         child on GNU/Hurd.
54297         * manual/setjmp.texi: Likewise.
54298         * manual/signal.texi: Likewise.
54299         * manual/startup.texi: Likewise.
54300         * manual/stdio.texi: Likewise.
54301         * manual/terminal.texi: Likewise.
54302         (ONLCR): Document as POSIX.
54303         (OXTABS): Document availability on GNU/Linux as XTABS.
54304         (ONOEOT): Document availability separately from other bits.
54305         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54306         * manual/time.texi: Likewise.
54307         * manual/users.texi: Likewise.
54308         * INSTALL: Regenerated.
54309         * sysdeps/gnu/errlist.c: Regenerated.
54311         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54312         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54313         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54314         puts.
54315         * configure: Regenerated.
54317 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54319         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54320         default includes instead of AC_HEADER_CHECK.
54321         * sysdeps/i386/configure: Regenerated.
54323         [BZ #10716]
54324         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54325         * math/s_cacoshf.c (__cacoshf): Likewise.
54326         * math/s_cacoshl.c (__cacoshl): Likewise.
54327         * math/s_casinh.c (__casinh): Set signs of result from argument.
54328         * math/s_casinhf.c (__casinhf): Likewise.
54329         * math/s_casinhl.c (__casinhl): Likewise.
54330         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54331         (casinh_test): Add more tests.
54332         * sysdeps/i386/fpu/libm-test-ulps: Update.
54333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54335 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54337         * po/zh_TW.po: Update from translation team.
54339         * login/Makefile (distribute): Remove variable.
54340         * catgets/Makefile: Likewise.
54341         * mach/Makefile: Likewise.
54342         * malloc/Makefile: Likewise.
54343         * misc/Makefile: Likewise.
54344         * iconv/Makefile: Likewise.
54345         * nscd/Makefile: Likewise.
54346         * hurd/Makefile: Likewise.
54347         * manual/Makefile: Likewise.
54348         * locale/Makefile: Likewise.
54349         * intl/Makefile: Likewise.
54350         * conform/Makefile: Likewise.
54351         * nss/Makefile: Likewise.
54352         * time/Makefile: Likewise.
54353         * soft-fp/Makefile: Likewise.
54354         * dirent/Makefile: Likewise.
54355         * gmon/Makefile: Likewise.
54356         * po/Makefile: Likewise.
54357         * rt/Makefile: Likewise.
54358         * socket/Makefile: Likewise.
54359         * math/Makefile: Likewise.
54360         * signal/Makefile: Likewise.
54361         * debug/Makefile: Likewise.
54362         * elf/Makefile: Likewise.
54363         * timezone/Makefile: Likewise.
54364         * stdlib/Makefile: Likewise.
54365         * iconvdata/Makefile: Likewise.
54366         * sunrpc/Makefile: Likewise.
54367         * io/Makefile: Likewise.
54368         * argp/Makefile: Likewise.
54369         * inet/Makefile: Likewise.
54370         * hesiod/Makefile: Likewise.
54371         * grp/Makefile: Likewise.
54372         * csu/Makefile: Likewise.
54373         * wctype/Makefile: Likewise.
54374         * crypt/Makefile: Likewise.
54375         * libio/Makefile: Likewise.
54376         * string/Makefile: Likewise.
54377         * nis/Makefile: Likewise.
54378         * resolv/Makefile: Likewise.
54379         * stdio-common/Makefile: Likewise.
54380         * wcsmbs/Makefile: Likewise.
54381         * dlfcn/Makefile: Likewise.
54382         * posix/Makefile: Likewise.
54384         [BZ #6959]
54385         * timezone/Makefile: Don't install timezone files, just the programs
54386         and scripts.
54388 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54390         * nss/databases.def: Add missing gshadow entry.
54392         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54394 2012-03-06  Marek Polacek  <polacek@redhat.com>
54396         [BZ #13726]
54397         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54398         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54399         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54400         * stdio-common/tst-long-dbl-fphex.c: New file.
54402 2012-03-06  David S. Miller  <davem@davemloft.net>
54404         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54405         (set_obp_int): New function.
54406         (get_obp_int): New function.
54407         (__get_clockfreq_via_dev_openprom): Likewise.
54408         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54409         Avoid unused variable warnings on 'val' and use builtin_expect.
54410         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54411         __builtin_expect.
54412         (INLINE_CLONE_SYSCALL): Likewise.
54414 2012-03-05  David S. Miller  <davem@davemloft.net>
54416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54418 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54422         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54423         only for |x| >= 40.
54424         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54426 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54428         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54429         Replace gettimeofday with __vdso_gettimeofday.
54431         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54432         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54433         __vdso_clock_gettime and __vdso_getcpu.
54435         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54436         time with __vdso_time.
54438 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54440         * manual/lang.texi (size_t): Note types to which size_t may be
54441         equivalent with the GNU C Library, but do not describe when
54442         differences between them are significant.
54444 2012-03-05  Andreas Jaeger  <aj@suse.de>
54446         * sysdeps/i386/fpu/libm-test-ulps: Update.
54448 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54450         [BZ #3976]
54451         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54452         (__ieee754_pow): Save and restore rounding mode and use
54453         round-to-nearest for main computations.
54454         * math/libm-test.inc (pow_test_tonearest): New function.
54455         (pow_test_towardzero): Likewise.
54456         (pow_test_downward): Likewise.
54457         (pow_test_upward): Likewise.
54458         (main): Call the new functions.
54459         * sysdeps/i386/fpu/libm-test-ulps: Update.
54460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54462         [BZ #3976]
54463         * math/libm-test.inc (cosh_test_tonearest): New function.
54464         (cosh_test_towardzero): Likewise.
54465         (cosh_test_downward): Likewise.
54466         (cosh_test_upward): Likewise.
54467         (sinh_test_tonearest): Likewise.
54468         (sinh_test_towardzero): Likewise.
54469         (sinh_test_downward): Likewise.
54470         (sinh_test_upward): Likewise.
54471         (main): Call the new functions.
54472         * sysdeps/i386/fpu/libm-test-ulps: Update.
54473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54475 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54477         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54478         default stack guard is set in last bytes.
54479         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54481 2012-03-05  Kees Cook  <keescook@chromium.org>
54483         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54485         [BZ #13656]
54486         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54487         possibly allocate from heap instead of stack.
54488         * stdio-common/bug-vfprintf-nargs.c: New file.
54489         * stdio-common/Makefile (tests): Add nargs overflow test.
54491 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54495 2012-03-03  Marek Polacek  <polacek@redhat.com>
54497         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54498         * math/math_private.h: Likewise.
54499         * stdlib/tst-strtod.c: Likewise.
54500         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54501         * sysdeps/x86_64/bits/atomic.h: Likewise.
54503 2012-03-02  David S. Miller  <davem@davemloft.net>
54505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54509         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54510         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54511         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54512         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54514 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54516         [BZ #13792]
54517         * manual/examples/README: New file, says the example source files
54518         can be used under GPL>=2.
54519         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54520         line containing just "*/".
54521         * manual/examples/add.c: Add copyright header (GPL>=2).
54522         * manual/examples/argp-ex1.c: Likewise.
54523         * manual/examples/argp-ex2.c: Likewise.
54524         * manual/examples/argp-ex3.c: Likewise.
54525         * manual/examples/argp-ex4.c: Likewise.
54526         * manual/examples/atexit.c: Likewise.
54527         * manual/examples/db.c: Likewise.
54528         * manual/examples/dir.c: Likewise.
54529         * manual/examples/dir2.c: Likewise.
54530         * manual/examples/execinfo.c: Likewise.
54531         * manual/examples/filecli.c: Likewise.
54532         * manual/examples/filesrv.c: Likewise.
54533         * manual/examples/fmtmsgexpl.c: Likewise.
54534         * manual/examples/genpass.c: Likewise.
54535         * manual/examples/inetcli.c: Likewise.
54536         * manual/examples/inetsrv.c: Likewise.
54537         * manual/examples/isockad.c: Likewise.
54538         * manual/examples/longopt.c: Likewise.
54539         * manual/examples/memopen.c: Likewise.
54540         * manual/examples/memstrm.c: Likewise.
54541         * manual/examples/mkfsock.c: Likewise.
54542         * manual/examples/mkisock.c: Likewise.
54543         * manual/examples/mygetpass.c: Likewise.
54544         * manual/examples/pipe.c: Likewise.
54545         * manual/examples/popen.c: Likewise.
54546         * manual/examples/rprintf.c: Likewise.
54547         * manual/examples/search.c: Likewise.
54548         * manual/examples/select.c: Likewise.
54549         * manual/examples/setjmp.c: Likewise.
54550         * manual/examples/sigh1.c: Likewise.
54551         * manual/examples/sigusr.c: Likewise.
54552         * manual/examples/stpcpy.c: Likewise.
54553         * manual/examples/strdupa.c: Likewise.
54554         * manual/examples/strftim.c: Likewise.
54555         * manual/examples/strncat.c: Likewise.
54556         * manual/examples/subopt.c: Likewise.
54557         * manual/examples/swapcontext.c: Likewise.
54558         * manual/examples/termios.c: Likewise.
54559         * manual/examples/testopt.c: Likewise.
54560         * manual/examples/testpass.c: Likewise.
54561         * manual/examples/timeval_subtract.c: Likewise.
54563         [BZ #13792]
54564         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54565         function to ...
54566         * manual/timeval_subtract.c.texi: ... here, new file.
54568 2012-03-02  David S. Miller  <davem@davemloft.net>
54570         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54572 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54574         [BZ #3976]
54575         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54576         (__sin): Save and restore rounding mode and use round-to-nearest
54577         for all computations.
54578         (__cos): Save and restore rounding mode and use round-to-nearest
54579         for all computations.
54580         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54581         <fenv.h>.
54582         (tan): Save and restore rounding mode and use round-to-nearest for
54583         all computations.
54584         * math/libm-test.inc (cos_test_tonearest): New function.
54585         (cos_test_towardzero): Likewise.
54586         (cos_test_downward): Likewise.
54587         (cos_test_upward): Likewise.
54588         (sin_test_tonearest): Likewise.
54589         (sin_test_towardzero): Likewise.
54590         (sin_test_downward): Likewise.
54591         (sin_test_upward): Likewise.
54592         (tan_test_tonearest): Likewise.
54593         (tan_test_towardzero): Likewise.
54594         (tan_test_downward): Likewise.
54595         (tan_test_upward): Likewise.
54596         (main): Call the new functions.
54597         * sysdeps/i386/fpu/libm-test-ulps: Update.
54598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54600         [BZ #10135]
54601         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54602         small n, then large n, before computing and testing k+n.
54603         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54604         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54605         Likewise.
54606         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54607         Likewise.
54608         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54609         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54610         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54611         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54612         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54613         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54614         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54615         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54616         * math/libm-test.inc (scalbn_test): Add more tests.
54617         (scalbln_test): Likewise.
54619         * manual/filesys.texi (mode_t): Describe constraints on size and
54620         signedness, not exact equivalence to a particular type.
54621         (ino_t): Likewise.
54622         (ino64_t): Likewise.
54623         (dev_t): Likewise.
54624         (nlink_t): Likewise.
54625         (blkcnt_t): Likewise.
54626         (blkcnt64_t): Likewise.
54627         * manual/llio.texi (off_t): Likewise.
54629         [BZ #3976]
54630         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54631         (__ieee754_exp): Save and restore rounding mode and use
54632         round-to-nearest for all computations.
54633         * math/libm-test.inc (exp_test_tonearest): New function.
54634         (exp_test_towardzero): Likewise.
54635         (exp_test_downward): Likewise.
54636         (exp_test_upward): Likewise.
54637         (main): Call the new functions.
54638         * sysdeps/i386/fpu/libm-test-ulps: Update.
54639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54641 2012-03-01  Chris Demetriou  <cgd@google.com>
54643         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54644         have predictable order.
54646 2012-03-01  David S. Miller  <davem@davemloft.net>
54648         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54650         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54651         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54652         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54653         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54655         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54656         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54657         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54659         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54660         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54661         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54662         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54663         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54667         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54668         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54669         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54671         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54672         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54673         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54674         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54675         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54676         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54677         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54678         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54679         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54680         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54681         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54682         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54683         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54684         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54685         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54686         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54687         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54688         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54689         * sysdeps/sparc/elf/configure: Regenerated.
54691 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54693         * configure.in (AS, LD): Require binutils 2.20 or later.
54694         * configure: Regenerated.
54695         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54696         as required minimum version.
54697         * INSTALL: Regenerated.
54699         [BZ #2541]
54700         [BZ #4108]
54701         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54702         before squaring exponent.
54703         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54704         bottom long double and 27 bits of top long double before squaring
54705         exponent.
54706         * math/libm-test.inc (erfc_test): Add more tests.
54707         * sysdeps/i386/fpu/libm-test-ulps: Update.
54708         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54711 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54713         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54714         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54715         containing bit-fields.
54716         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54717         * soft-fp/single.h (_FP_UNION_S): Likewise.
54718         * soft-fp/double.h (_FP_UNION_D): Likewise.
54720 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54722         [BZ #13786]
54723         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54724         not include ../strcmp.S.
54725         [USE_AS_STRNCASECMP_L]: Likewise.
54726         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54727         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54728         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54729         (__strncasecmp_l_ia32): Define as alias to
54730         __strncasecmp_l_nonascii.
54732         [BZ #5794]
54733         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54734         * sysdeps/i386/fpu/libm-test-ulps: Update.
54735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54737         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54740 2012-02-29  Jeff Law  <law@redhat.com>
54742         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54743         out of bounds read.
54745 2012-02-29  Marek Polacek  <polacek@redhat.com>
54747         [BZ #13706]
54748         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54749         * elf/Makefile: Add rules to run tst-unused-dep.out.
54751 2012-02-28  David S. Miller  <davem@davemloft.net>
54753         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54754         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54755         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54756         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54757         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54758         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54760 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54762         * math/libm-test.inc (llround_test): Move one test from
54763         lround_test.  Use TEST_f_L in moved test.
54764         (lround_test): Move misplaced test to llround_test.  Add testcase
54765         from bug 2561.
54767 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
54769         * sysdeps/x86_64/fpu/e_expf.S: New file.
54770         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54772 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
54774         [BZ #13637]
54775         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54776         of remain_len that may cause incomplete multi-byte character and
54777         false match.
54778         * posix/bug-regex33.c: New file.
54779         * posix/Makefile (tests): Add bug-regex33.
54781 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
54783         * manual/macros.texi: New file.
54784         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54785         * manual/libc.texinfo: Include macros.texi.
54786         * manual/creatute.texi: Likewise.
54787         * manual/install.texi: Likewise.
54788         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54789         @glibcadj{} in references to the GNU C Library.
54790         * manual/charset.texi: Likewise.
54791         * manual/conf.texi: Likewise.
54792         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
54793         when not using those macros.
54794         * manual/creature.texi: Likewise.
54795         * manual/crypt.texi: Likewise.
54796         * manual/errno.texi: Likewise.
54797         * manual/filesys.texi: Likewise.
54798         * manual/header.texi: Likewise.
54799         * manual/install.texi: Likewise.
54800         * manual/intro.texi: Likewise.
54801         * manual/io.texi: Likewise.
54802         * manual/job.texi: Likewise.
54803         * manual/lang.texi: Likewise.
54804         * manual/libc.texiinfo: Likewise.
54805         * manual/llio.texi: Likewise.
54806         * manual/locale.texi: Likewise.
54807         * manual/maint.texi: Likewise.
54808         * manual/math.texi: Likewise.
54809         * manual/memory.texi: Likewise.
54810         * manual/message.texi: Likewise.
54811         * manual/nss.texi: Likewise.
54812         * manual/pattern.texi: Likewise.
54813         * manual/process.texi: Likewise.
54814         * manual/resource.texi: Likewise.
54815         * manual/search.texi: Likewise.
54816         * manual/setjmp.texi: Likewise.
54817         * manual/signal.texi: Likewise.
54818         * manual/socket.texi: Likewise.
54819         * manual/startup.texi: Likewise.
54820         * manual/stdio.texi: Likewise.
54821         * manual/string.texi: Likewise.
54822         * manual/sysinfo.texi: Likewise.
54823         * manual/syslog.texi: Likewise.
54824         * manual/terminal.texi: Likewise.
54825         * manual/time.texi: Likewise.
54826         * manual/users.texi: Likewise.
54827         * INSTALL: Regenerated.
54828         * NOTES: Regenerated.
54829         * sysdeps/gnu/errlist.c: Regenerated.
54831 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
54833         * include/dirent.h: Include <dirstream.h> before
54834         <dirent/dirent.h>.
54836 2012-02-28  David S. Miller  <davem@davemloft.net>
54838         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54839         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54840         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54841         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54843 2012-02-27  David S. Miller  <davem@davemloft.net>
54845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54847         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54848         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54851         frame pointer instead of stack pointer relative arg slot.
54852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54853         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54854         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54856 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54858         [BZ #3992]
54859         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54861 2012-02-27  David S. Miller  <davem@davemloft.net>
54863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54867         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54868         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54869         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54870         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54872 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54874         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54875         later.  Allow versions 5-9.
54876         * configure: Regenerated.
54877         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54878         required minimum version and 4.6 as recommended version.  Do not
54879         mention bugs in GCC 2.7 and 2.8.
54880         * INSTALL: Regenerated.
54882 2012-02-27  David S. Miller  <davem@davemloft.net>
54884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54888         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54889         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54890         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54891         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54893         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54894         manipulate bits before adding and subtracting TWO112[sx].
54895         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54897 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54899         [BZ #13775]
54900         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54901         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54902         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54903         being in POSIX, because they are in 1003.1-2008.
54905         * rt/tst-aio.c: Include <fcntl.h>.
54906         * rt/tst-aio7.c: Likewise.
54907         * rt/tst-aio64.c: Likewise.
54909         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54911 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54913         * manual/install.texi (--with-headers): Describe headers as
54914         interface headers, not private headers.
54915         (Specific advice for GNU/Linux systems): Describe use of headers
54916         from "make headers_install", not private headers from older
54917         kernels.
54918         * INSTALL: Regenerated.
54919         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54920         Change to 2.6.19.
54921         * sysdeps/unix/sysv/linux/configure: Regenerated.
54923         * manual/llio.texi (fclean): Remove documentation.
54925         * manual/Makefile (libc-texi-generated): New variable.  Include
54926         version.texi.
54927         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54928         $(libc-texi-generated), not duplicated list of files.
54929         (version.texi, stamp-version): New rules.
54930         (realclean): Remove $(libc-texi-generated), not individual files
54931         from that list.  Do not remove dir-add.texinfo.
54932         * manual/libc.texinfo: Comment out uses of edition numbers and
54933         references to printed manual.  Remove last-updated dates.
54934         (EDITION): Comment out.
54935         (ISBN): Likewise.
54936         (VERSION, UPDATED): Remove.
54937         (version.texi): Include.
54939 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54941         * sysdeps/posix/spawni.c: Include <signal.h>.
54942         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54943         * sysdeps/pthread/aio_fsync.c: Likewise.
54945 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54947         * conform/Makefile (tests): Run only when not cross-compiling and
54948         when fast-check is not defined.
54950         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54951         * conform/data/limits.h-data: Fixes for POSIX2008.
54952         * conform/run-conformtest.sh: Run all tests.
54953         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54954         headers.
54955         * include/bits/dlfcn.h: Likewise.
54956         * include/langinfo.h: Likewise.
54957         * include/monetary.h: Likewise.
54958         * include/sys/poll.h: Likewise.
54960         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54961         for __USE_GNU.
54962         * posix/spawn.h: Define __need_sigset_t.
54963         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54964         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54965         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54966         to get sigevent_t only.
54967         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54968         only for __USE_GNU.
54969         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54970         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54971         process_vm_writev only for __USE_GNU.
54972         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54974         * conform/Makefile: For now ignore errors from run-conformtest.
54975         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54976         POSIX to avoid namespace pollution.  Don't prepend headers.
54977         * conform/data/aio.h-data: Fixes for POSIX testing.
54978         * conform/data/fcntl.h-data: Likewise.
54979         * conform/data/glob.h-data: Likewise.
54980         * conform/data/grp.h-data: Likewise.
54981         * conform/data/pthread.h-data: Likewise.
54982         * conform/data/pwd.h-data: Likewise.
54983         * conform/data/signal.h-data: Likewise.
54984         * conform/data/spawn.h-data: Likewise.
54985         * conform/data/stdio.h-data: Likewise.
54986         * conform/data/stdlib.h-data: Likewise.
54987         * conform/data/stropts.h-data: Likewise.
54988         * conform/data/sys/mman.h-data: Likewise.
54989         * conform/data/sys/stat.h-data: Likewise.
54990         * conform/data/sys/types.h-data: Likewise.
54991         * conform/data/sys/wait.h-data: Likewise.
54992         * conform/data/time.h-data: Likewise.
54993         * conform/data/unistd.h-data: Likewise.
54994         * conform/data/utime.h-data: Likewise.
54996         * io/sys/stat.h: fchmod was always in POSIX.
54997         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54998         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54999         * rt/aio.h: Define __need_timespec before including <time.h>.
55000         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55001         struct.  Add forward declaration of pthread_attr_t and use it in
55002         sigevent.
55003         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55004         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55005         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55006         always remove CLK_TCK definition.
55008 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55010         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55012 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55014         * conform/run-conformtest.sh: New file.
55015         * conform/Makefile: Run run-conformtest for tests.
55016         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55017         support.
55019         * conform/data/uchar.h-data: New file.
55020         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55021         * conform/data/arpa/inet.h-data: Likewise.
55022         * conform/data/assert.h-data: Likewise.
55023         * conform/data/complex.h-data: Likewise.
55024         * conform/data/cpio.h-data: Likewise.
55025         * conform/data/ctype.h-data: Likewise.
55026         * conform/data/dirent.h-data: Likewise.
55027         * conform/data/dlfcn.h-data: Likewise.
55028         * conform/data/errno.h-data: Likewise.
55029         * conform/data/fcntl.h-data: Likewise.
55030         * conform/data/float.h-data: Likewise.
55031         * conform/data/fmtmsg.h-data: Likewise.
55032         * conform/data/fnmatch.h-data: Likewise.
55033         * conform/data/ftw.h-data: Likewise.
55034         * conform/data/glob.h-data: Likewise.
55035         * conform/data/grp.h-data: Likewise.
55036         * conform/data/iconv.h-data: Likewise.
55037         * conform/data/inttypes.h-data: Likewise.
55038         * conform/data/langinfo.h-data: Likewise.
55039         * conform/data/libgen.h-data: Likewise.
55040         * conform/data/limits.h-data: Likewise.
55041         * conform/data/locale.h-data: Likewise.
55042         * conform/data/math.h-data: Likewise.
55043         * conform/data/monetary.h-data: Likewise.
55044         * conform/data/mqueue.h-data: Likewise.
55045         * conform/data/ndbm.h-data: Likewise.
55046         * conform/data/net/if.h-data: Likewise.
55047         * conform/data/netdb.h-data: Likewise.
55048         * conform/data/netinet/in.h-data: Likewise.
55049         * conform/data/nl_types.h-data: Likewise.
55050         * conform/data/poll.h-data: Likewise.
55051         * conform/data/pthread.h-data: Likewise.
55052         * conform/data/pwd.h-data: Likewise.
55053         * conform/data/regex.h-data: Likewise.
55054         * conform/data/sched.h-data: Likewise.
55055         * conform/data/search.h-data: Likewise.
55056         * conform/data/semaphore.h-data: Likewise.
55057         * conform/data/setjmp.h-data: Likewise.
55058         * conform/data/signal.h-data: Likewise.
55059         * conform/data/spawn.h-data: Likewise.
55060         * conform/data/stdarg.h-data: Likewise.
55061         * conform/data/stdio.h-data: Likewise.
55062         * conform/data/stdlib.h-data: Likewise.
55063         * conform/data/string.h-data: Likewise.
55064         * conform/data/strings.h-data: Likewise.
55065         * conform/data/stropts.h-data: Likewise.
55066         * conform/data/sys/ipc.h-data: Likewise.
55067         * conform/data/sys/mman.h-data: Likewise.
55068         * conform/data/sys/msg.h-data: Likewise.
55069         * conform/data/sys/resource.h-data: Likewise.
55070         * conform/data/sys/select.h-data: Likewise.
55071         * conform/data/sys/sem.h-data: Likewise.
55072         * conform/data/sys/shm.h-data: Likewise.
55073         * conform/data/sys/socket.h-data: Likewise.
55074         * conform/data/sys/stat.h-data: Likewise.
55075         * conform/data/sys/statvfs.h-data: Likewise.
55076         * conform/data/sys/time.h-data: Likewise.
55077         * conform/data/sys/timeb.h-data: Likewise.
55078         * conform/data/sys/times.h-data: Likewise.
55079         * conform/data/sys/types.h-data: Likewise.
55080         * conform/data/sys/uio.h-data: Likewise.
55081         * conform/data/sys/un.h-data: Likewise.
55082         * conform/data/sys/utsname.h-data: Likewise.
55083         * conform/data/sys/wait.h-data: Likewise.
55084         * conform/data/syslog.h-data: Likewise.
55085         * conform/data/tar.h-data: Likewise.
55086         * conform/data/termios.h-data: Likewise.
55087         * conform/data/utime.h-data: Likewise.
55088         * conform/data/utmpx.h-data: Likewise.
55089         * conform/data/varargs.h-data: Likewise.
55090         * conform/data/wchar.h-data: Likewise.
55091         * conform/data/wctype.h-data: Likewise.
55092         * conform/data/wordexp.h-data: Likewise.
55094         * include/stropts.h: New file.
55095         * include/uchar.h: New file.
55096         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55097         * include/assert.h: Likewise.
55098         * include/ctype.h: Likewise.
55099         * include/dirent.h: Likewise.
55100         * include/dlfcn.h: Likewise.
55101         * include/fcntl.h: Likewise.
55102         * include/fnmatch.h: Likewise.
55103         * include/glob.h: Likewise.
55104         * include/grp.h: Likewise.
55105         * include/libio.h: Likewise.
55106         * include/locale.h: Likewise.
55107         * include/math.h: Likewise.
55108         * include/net/if.h: Likewise.
55109         * include/netdb.h: Likewise.
55110         * include/netinet/in.h: Likewise.
55111         * include/pthread.h: Likewise.
55112         * include/pwd.h: Likewise.
55113         * include/regex.h: Likewise.
55114         * include/sched.h: Likewise.
55115         * include/search.h: Likewise.
55116         * include/setjmp.h: Likewise.
55117         * include/signal.h: Likewise.
55118         * include/stdio.h: Likewise.
55119         * include/stdlib.h: Likewise.
55120         * include/string.h: Likewise.
55121         * include/sys/cdefs.h: Likewise.
55122         * include/sys/mman.h: Likewise.
55123         * include/sys/msg.h: Likewise.
55124         * include/sys/resource.h: Likewise.
55125         * include/sys/select.h: Likewise.
55126         * include/sys/socket.h: Likewise.
55127         * include/sys/stat.h: Likewise.
55128         * include/sys/statvfs.h: Likewise.
55129         * include/sys/time.h: Likewise.
55130         * include/sys/times.h: Likewise.
55131         * include/sys/uio.h: Likewise.
55132         * include/sys/utsname.h: Likewise.
55133         * include/sys/wait.h: Likewise.
55134         * include/termios.h: Likewise.
55135         * include/time.h: Likewise.
55136         * include/ulimit.h: Likewise.
55137         * include/unistd.h: Likewise.
55138         * include/utime.h: Likewise.
55139         * include/wchar.h: Likewise.
55140         * include/wctype.h: Likewise.
55141         * include/wordexp.h: Likewise.
55143         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55145         * time/time.h: TIME_UTC must be a macro.
55146         Make timespec_get available for ISO C11 only as well.
55148 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55150         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55151         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55153 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55155         * configure.in: Use -o not -a in test for unsupported multi-arch.
55157 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55159         * manual/texinfo.tex: Update to version 2012-01-19.16.
55161 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55163         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55165 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55167         [BZ #13738]
55168         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55169         * manual/fdl-1.3.texi: New file.
55170         * manual/fdl-1.1.texi: File removed.
55172         [BZ #13738]
55173         * manual/libc.texinfo (FDL_VERSION): New @set.
55174         Use it for mention of FDL in cover text.
55175         (Documentation License): Use it in @include file name.
55177 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55178             Roland McGrath  <roland@hack.frob.com>
55180         [BZ #5461]
55181         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55182         (not LONG_LONG_MAX and LONG_LONG_MIN.
55183         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55184         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55185         name.
55186         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55188 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55190         [BZ #2547]
55191         [BZ #11365]
55192         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55193         manipulate bits before adding and subtracting TWO23[sx].
55194         * math/libm-test.inc (nearbyint_test): Add more tests.
55196 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55198         [BZ #2548]
55199         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55200         bits before adding and subtracting TWO23[sx].
55201         * math/libm-test.inc (rint_test): Add more tests.
55202         (rint_test_tonearest): Likewise.
55203         (rint_test_towardzero): Likewise.
55204         (rint_test_downward): Likewise.
55205         (rint_test_upward: Likewise.
55207 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55209         [BZ #10110]
55210         * include/stdc-predef.h: New file.  Extracted from features.h.
55211         * include/features.h: Include stdc-predef.h.
55212         * Makefile (headers): Add stdc-predef.h.
55213         * CONFORMANCE (Compiler limitations): Update.
55215 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55217         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55219 2012-02-21  David S. Miller  <davem@davemloft.net>
55221         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55222         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55224 2012-02-20  David S. Miller  <davem@davemloft.net>
55226         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55227         using a normal save/restore sequence, rather than allocating a
55228         dummy stack frame just to store a frame pointer and restore.
55229         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55231 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55233         * manual/install.texi: Fix stray word in line-wrapped comment.
55235 2012-02-20  David S. Miller  <davem@davemloft.net>
55237         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55238         both binutils and gcc support GOTDATA.
55240         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55241         "rd %pc" in the PIC register setup sequences.
55243         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55244         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55245         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55246         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55247         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55248         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55249         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55250         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55251         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55252         (SYSCALL_ERROR_HANDLER): Likewise.
55253         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55254         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55255         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55256         (SYSCALL_ERROR_HANDLER): Likewise.
55258         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55259         (HAVE_GCC_GOTDATA): New.
55260         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55261         relocation support in both binutils and gcc.
55262         * sysdeps/sparc/elf/configure: Regenerate.
55264         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55265         * sysdeps/sparc/sparc32/elf/configure: Delete.
55266         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55267         * sysdeps/sparc/sparc64/elf/configure: Delete.
55268         * sysdeps/sparc/elf/configure.in: New file.
55269         * sysdeps/sparc/elf/configure: Generate.
55271         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55272         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55273         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55274         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55275         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55277 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55279         * manual/install.texi: Do not mention specific glibc version
55280         numbers.
55281         * manual/libc.texinfo (VERSION, UPDATED): Update.
55282         (@copying): Use @copyright{} and range of years.
55284 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55286         [BZ #13695]
55287         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55288         [crti.S not in sysdirs] (generated): Do not append.
55289         [crti.S not in sysdirs] (omit-deps): Likewise.
55290         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55291         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55292         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55293         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55294         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55295         Likewise.
55296         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55297         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55298         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55299         * csu/defs.awk: Remove file.
55300         * sysdeps/generic/initfini.c: Likewise.
55301         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55302         variable.
55303         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55304         Likewise.
55306 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55308         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55309         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55310         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55311         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55312         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55313         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55314         <bits/epoll.h>.
55315         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55316         (__EPOLL_PACKED): Define to empty if not defined by
55317         <bits/epoll.h>.
55318         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55319         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55320         bits/epoll.h.
55322 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55324         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55325         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55326         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55327         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55328         <bits/timerfd.h>.
55329         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55330         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55331         bits/timerfd.h.
55333 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55335         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55336         in C locale.
55337         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55338         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55339         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55342 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55344         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55345         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55347 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55349         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55350         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55351         defined.
55352         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55353         Likewise.
55354         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55355         entry for 2.16.
55357 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55359         * math/w_acos.c: Use non-signaling floating-point comparisons.
55360         * math/w_acosf.c: Likewise.
55361         * math/w_acosh.c: Likewise.
55362         * math/w_acoshf.c: Likewise.
55363         * math/w_acoshl.c: Likewise.
55364         * math/w_acosl.c: Likewise.
55365         * math/w_asin.c: Likewise.
55366         * math/w_asinf.c: Likewise.
55367         * math/w_asinl.c: Likewise.
55368         * math/w_atanh.c: Likewise.
55369         * math/w_atanhf.c: Likewise.
55370         * math/w_atanhl.c: Likewise.
55371         * math/w_exp2.c: Likewise.
55372         * math/w_exp2f.c: Likewise.
55373         * math/w_exp2l.c: Likewise.
55374         * math/w_j0.c: Likewise.
55375         * math/w_j0f.c: Likewise.
55376         * math/w_j0l.c: Likewise.
55377         * math/w_j1.c: Likewise.
55378         * math/w_j1f.c: Likewise.
55379         * math/w_j1l.c: Likewise.
55380         * math/w_jn.c: Likewise.
55381         * math/w_jnf.c: Likewise.
55382         * math/w_log.c: Likewise.
55383         * math/w_log10.c: Likewise.
55384         * math/w_log10f.c: Likewise.
55385         * math/w_log10l.c: Likewise.
55386         * math/w_log2.c: Likewise.
55387         * math/w_log2f.c: Likewise.
55388         * math/w_log2l.c: Likewise.
55389         * math/w_logf.c: Likewise.
55390         * math/w_logl.c: Likewise.
55391         * math/w_sqrt.c: Likewise.
55392         * math/w_sqrtf.c: Likewise.
55393         * math/w_sqrtl.c: Likewise.
55394         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55395         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55396         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55397         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55398         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55400 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55402         [BZ #9739]
55403         * manual/string.texi (strnlen): Use correct parameter name in
55404         equivalent expression.
55406 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55408         [BZ #11174]
55409         * manual/users.texi (seteuid): Consistently use neweuid for
55410         argument name.
55412 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55414         [BZ #13704]
55415         * manual/nss.texi (Services in the NSS configuration): Correct
55416         list of services in example configuration file.
55418 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55420         [BZ #11322]
55421         * manual/arith.texi: Remove statements about negative zero
55422         behaving identically to zero.
55424 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55426         [BZ #5993]
55427         * manual/install.texi: Do not document upgrading from libc5.
55429 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55431         [BZ #4596]
55432         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55434 2012-02-18  David S. Miller  <davem@davemloft.net>
55436         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55437         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55438         %o7 across the call.
55439         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55440         instead.
55441         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55442         SETUP_PIC_REG_LEAF.
55443         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55444         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55445         * sysdeps/sparc/crtn.S: Likewise.
55447 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55449         * aout/Makefile: Remove.
55451 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55453         [BZ #13058]
55454         * manual/examples/argp-ex1.c (main): Format definition in GNU
55455         style.
55456         * manual/examples/argp-ex2.c (main): Likewise.
55457         * manual/examples/argp-ex3.c (main): Likewise.
55458         * manual/examples/argp-ex4.c (main): Likewise.
55459         * manual/examples/longopt.c (main): Use new-style prototype
55460         definition.
55461         * manual/examples/strncat.c (main): Specify return type and use
55462         (void) for arguments.
55463         * manual/examples/subopt.c (main): Use char **argv argument.
55465 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55467         [BZ #5077]
55468         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55469         rounding modes.
55471 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55473         [BZ #6907]
55474         * manual/string.texi (strchr): Change when strchrnul is
55475         recommended.
55477 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55479         [BZ #174]
55480         * manual/locale.texi (setlocale): Document LOCPATH.
55482 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55484         [BZ #10210]
55485         * manual/process.texi (execle): Move @dots{} before last argument.
55487 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55489         [BZ #12047]
55490         * manual/charset.texi (Generic Charset Conversion): Fix typo
55491         (LC_TYPE -> LC_CTYPE).
55493 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55495         [BZ #5805]
55496         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55497         (scalbnf): Likewise.
55498         (scalbnl): Likewise.
55499         (scalbln): Likewise.
55500         (scalblnf): Likewise.
55501         (scalblnl): Likewise.
55502         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55503         (vwarnx): Likewise.
55504         (verr): Likewise.
55505         (verrx): Likewise.
55506         * manual/filesys.texi (telldir): Use braces around return type.
55507         * manual/llio.texi (mmap): Add space after comma.
55508         (mmap64): Likewise.
55509         * manual/math.texi (jn): Use @var{} on parameter names.
55510         (jnf): Likewise.
55511         (jnl): Likewise.
55512         (yn): Likewise.
55513         (ynf): Likewise.
55514         (ynl): Likewise.
55515         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55516         line.
55517         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55518         "...".
55519         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55520         (sched_get_priority_max): Likewise.
55521         * manual/signal.texi (sigvec): Add space after comma.
55522         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55523         names.
55524         (if_indextoname): Likewise.
55525         (if_freenameindex): Likewise.
55526         (sendto): Use ',' instead of '.' in prototype.
55527         * manual/startup.texi (syscall): Use @dots{} instead of literal
55528         "...".
55529         * manual/stdio.texi (__fpending): Separate initial words of
55530         paragraph from @deftypefun line.
55531         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55532         "...".
55533         (vsyslog): Use @var{} on parameter names.
55534         * manual/terminal.texi (stty): Use @var{} on parameter names.
55535         * manual/users.texi (getutmp): Use @var{} on parameter names.
55536         (getutmpx): Likewise.
55538 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55540         [BZ #6884]
55541         * manual/stdio.texi (fopen): Fix typos in description of
55542         ",ccs=STRING".
55544 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55546         [BZ #4026]
55547         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55548         get clock_id definition.
55550 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55552         [BZ #4822]
55553         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55554         (madvise): Cast every argument to void on its own.
55556 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55558         [BZ #9902]
55559         * manual/startup.texi (Exit Status): Fix typo.
55561 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55563         [BZ #10140]
55564         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55565         * manual/examples/argp-ex2.c: Likewise.
55566         * manual/examples/argp-ex3.c: Likewise.
55568 2012-02-16  Richard Henderson  <rth@redhat.com>
55570         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55571         * sysdeps/s390/s390-32/initfini.c: Remove.
55572         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55573         * sysdeps/s390/s390-64/initfini.c: Remove.
55575 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55577         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55578         compiler output for sysdeps/generic/initfini.c.
55579         * sysdeps/sh/elf/initfini.c: Remove file.
55581 2012-02-16  David S. Miller  <davem@davemloft.net>
55583         [BZ #11494]
55584         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55586         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55587         * sysdeps/sparc/crti.S: New file.
55588         * sysdeps/sparc/crtn.S: New file.
55589         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55590         * sysdeps/sparc/sparc64/Makefile: Likewise.
55592 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55594         [BZ #3335]
55595         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55597 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55599         [BZ #4822]
55600         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55602         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55603         (write, read, close): Likewise.
55604         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55606 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55608         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55609         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55610         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55611         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55612         <bits/signalfd.h>.
55613         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55614         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55615         bits/signalfd.h.
55617 2012-02-14  Marek Polacek  <polacek@redhat.com>
55619         * sysdeps/x86_64/crti.S: New file.
55620         * sysdeps/x86_64/crtn.S: New file.
55621         * sysdeps/x86_64/elf/initfini.c: Remove file.
55623 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55625         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55626         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55627         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55628         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55629         <bits/inotify.h>.
55630         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55631         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55632         bits/inotify.h.
55634 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55636         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55637         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55638         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55639         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55640         <bits/eventfd.h>.
55641         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55643         bits/eventfd.h.
55645 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55647         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55648         __feraiseexcept instead of feraiseexcept.
55650         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55651         nanosleep invocations.
55652         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55653         strings, and add error checking for a nanosleep invocations.
55655 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55657         Replace FSF snail mail address with URLs, as per GNU coding standards.
55658         Most of the snail mail addresses were wrong anyway, and omitting
55659         them makes the source code easier to maintain.  Almost all of the
55660         changes are to license notices and to locale LC_IDENTIFICATION
55661         addresses, except for this one:
55662         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55663         not its snail mail address.
55665 2012-02-09  Richard Henderson  <rth@twiddle.net>
55667         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55668         of kernel-features.h.
55670         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55672 2012-02-08  Marek Polacek  <polacek@redhat.com>
55674         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55675         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55676         * sysdeps/gnu/_G_config.h: Likewise.
55677         * sysdeps/generic/_G_config.h: Likewise.
55679 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55681         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55682         tests.
55683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55685         * sysdeps/powerpc/powerpc32/crti.S: New file.
55686         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55687         * sysdeps/powerpc/powerpc64/crti.S: New file.
55688         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55690         * Makeconfig (have-initfini): Don't set.
55691         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55692         * configure.in (nopic_initfini): Don't substitute.
55693         * config.h.in (HAVE_INITFINI): Don't #undef.
55694         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55695         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55697 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55699         Support crti.S and crtn.S provided directly by architectures.
55700         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55701         [crti.S in sysdirs] (omit-deps): Likewise.
55702         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55703         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55704         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55705         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55706         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55707         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55708         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55709         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55710         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55711         compiler output for sysdeps/generic/initfini.c.
55712         * sysdeps/i386/elf/Makefile: Remove file.
55713         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55715 2012-02-07  Marek Polacek  <polacek@redhat.com>
55717         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55718         * sysdeps/gnu/_G_config.h: Likewise.
55719         * sysdeps/mach/hurd/_G_config.h: Likewise.
55721 2012-02-07  Marek Polacek  <polacek@redhat.com>
55723         * math/Makefile (tests): Add tst-CMPLX2.
55724         * math/tst-CMPLX2.c: New file.
55726 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
55728         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55730         * math/libm-test.inc (jn_test): Add missing L suffix.
55732 2012-02-06  Marek Polacek  <polacek@redhat.com>
55734         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55735         * sysdeps/i386/fpu/e_powf.S: Likewise.
55736         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55737         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55738         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55739         * sysdeps/i386/fpu/e_pow.S: Likewise.
55740         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55741         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55742         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55743         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55744         * sysdeps/i386/fpu/e_log2.S: Likewise.
55745         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55746         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55747         * sysdeps/i386/fpu/e_powl.S: Likewise.
55748         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55749         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55750         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55751         * sysdeps/i386/fpu/e_logl.S: Likewise.
55752         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55753         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55754         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55755         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55756         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55757         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55758         * sysdeps/i386/fpu/e_log.S: Likewise.
55759         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55760         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55761         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55762         * sysdeps/i386/fpu/e_logf.S: Likewise.
55763         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55764         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55765         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55766         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55767         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55768         * sysdeps/i386/fpu/e_log10.S: Likewise.
55769         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55770         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55771         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55772         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55773         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55774         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55775         * sysdeps/i386/asm-syntax.h: Likewise.
55776         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55777         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55778         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55779         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55780         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55781         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55782         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55783         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55784         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55785         * sysdeps/powerpc/sysdep.h: Likewise.
55786         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55787         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55789 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55791         [BZ #411]
55792         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55794 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55796         * sysdeps/i386/sysdep.h: Include <features.h>.
55797         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55798         version.
55800 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
55802         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55803         Define.
55804         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55805         LOAD_PIC_REG_STR.
55807 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55809         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55810         (SETUP_PIC_REG): Use GET_PC_THUNK.
55811         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55812         macro.
55814 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55816         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55817         for non-PIC compilation.
55818         (SETUP_PIC_REG): Add .p2align directive.
55819         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55820         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55821         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55822         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55823         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55824         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55825         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55826         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55827         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55828         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55829         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55830         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55831         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55832         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55833         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55834         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55835         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55836         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55837         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55838         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55839         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55840         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55841         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55842         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55843         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55844         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55845         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55846         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55847         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55848         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55849         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55850         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55851         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55852         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55853         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55854         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55855         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55856         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55857         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55858         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55859         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55861 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55863         * math/tst-CMPLX.c: Include <stdio.h>.
55865 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55867         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55868         float.
55869         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55870         * sysdeps/sparc/bits/mathdef.h: Likewise.
55872 2012-01-31  Marek Polacek  <polacek@redhat.com>
55874         * libio/libio.h: Don't define _PARAMS.
55875         * locale/programs/config.h: Don't define PARAMS.
55876         * stdlib/strtol_l.c: Likewise.
55877         (__strtol_l): Remove PARAMS from the prototype.
55879 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55881         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55882         names.  Just use the correct names.  Remove unnecessary wrapper
55883         functions.
55884         * malloc/arena.c: Likewise.
55885         * malloc/hooks.c: Likewise.
55887         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55888         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55889         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55891 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55893         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55894         into tail calls.
55895         (update_get_addr): New function.
55896         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55897         GET_ADDR_MODULE parameter.
55899 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55901         * crypt/cert.c: Remove __STDC__ conditionals.
55902         * crypt/crypt-entry.c: Likewise.
55903         * crypt/crypt_util.c: Likewise.
55904         * libio/filedoalloc.c: Likewise.
55905         * libio/fileops.c: Likewise.
55906         * libio/genops.c: Likewise.
55907         * libio/iofclose.c: Likewise.
55908         * libio/iofdopen.c: Likewise.
55909         * libio/iofopen.c: Likewise.
55910         * libio/iofopen64.c: Likewise.
55911         * libio/iogetdelim.c: Likewise.
55912         * libio/iopopen.c: Likewise.
55913         * libio/obprintf.c: Likewise.
55914         * libio/oldfileops.c: Likewise.
55915         * libio/oldiofclose.c: Likewise.
55916         * libio/oldiofdopen.c: Likewise.
55917         * libio/oldiofopen.c: Likewise.
55918         * libio/oldiopopen.c: Likewise.
55919         * libio/wfiledoalloc.c: Likewise.
55920         * libio/wgenops.c: Likewise.
55921         * locale/programs/xmalloc.c: Likewise.
55922         * misc/syslog.c: Likewise.
55923         * stdio-common/xbug.c: Likewise.
55924         * string/memchr.c: Likewise.
55925         * string/memcmp.c: Likewise.
55926         * string/memrchr.c: Likewise.
55927         * string/rawmemchr.c: Likewise.
55928         * sysdeps/posix/getcwd.c: Likewise.
55929         * time/strftime_l.c: Likewise.
55931 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55933         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55934         * config.make.in (config-cflags-sse2avx): Define.
55935         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55936         Fix typo.
55938 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55940         * scripts/config.guess: Update from upstream config git repository.
55941         * scripts/config.sub: Likewise.
55943 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55945         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55946         (EM_NUM): Update.
55947         (R_TILEPRO_*, R_TILEGX_*): New macros.
55949         * scripts/firstversions.awk: Fix bug in version range handling.
55951         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55953         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55955         * include/sys/epoll.h: New file.
55956         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55957         libc_hidden_def.
55959 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55961         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55962         Avoid unnecessary __WORDSIZE == 64 test.
55963         (fmaxf): Use VEX format if possible.
55964         (fmax): Likewise.
55965         (fminf): Likewise.
55966         (fmin): Likewise.
55968         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55969         * math/math_private.h: Remove libc_fegetround* and
55970         libc_fesetround*.
55971         * sysdeps/i386/configure.in: Check for -msse2avx.
55972         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55973         also if SSE2AVX is defined.
55974         Remove libc_fegetround* and libc_fesetround*.
55975         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55976         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55977         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55978         of HAS_YMM_USABLE.
55979         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55980         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55981         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55982         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55983         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55985         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55987 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55989         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55990         size is not set.
55991         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55993 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55995         [BZ #13618]
55996         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55997         relocation.
55998         * Makeconfig (libm): Define.
55999         * elf/Makefile: Add rules to build and run tst-relsort1.
56000         * elf/tst-relsort1.c: New file.
56001         * elf/tst-relsort1mod1.c: New file.
56002         * elf/tst-relsort1mod2.c: New file.
56004 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56006         * math/s_ldexp.c: Remove __STDC__ conditionals.
56007         * math/s_ldexpf.c: Likewise.
56008         * math/s_ldexpl.c: Likewise.
56009         * math/s_nextafter.c: Likewise.
56010         * math/s_nexttowardf.c: Likewise.
56011         * math/s_significand.c: Likewise.
56012         * math/s_significandf.c: Likewise.
56013         * math/s_significandl.c: Likewise.
56014         * math/w_jnl.c: Likewise.
56015         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56016         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56017         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56018         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56019         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56020         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56021         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56022         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56023         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56024         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56025         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56026         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56027         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56028         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56029         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56030         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56031         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56032         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56033         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56034         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56035         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56036         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56037         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56038         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56039         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56040         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56041         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56042         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56043         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56044         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56045         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56046         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56047         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56048         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56049         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56050         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56051         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56052         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56053         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56054         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56055         * sysdeps/ieee754/k_standard.c: Likewise.
56056         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56057         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56058         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56059         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56060         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56061         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56062         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56063         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56064         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56065         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56066         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56067         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56068         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56069         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56070         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56071         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56072         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56073         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56074         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56075         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56076         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56077         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56078         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56079         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56080         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56081         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56082         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56083         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56084         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56085         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56086         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56087         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56088         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56089         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56090         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56091         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56092         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56093         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56094         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56095         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56096         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56097         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56098         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56099         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56100         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56101         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56102         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56103         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56104         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56105         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56106         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56107         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56108         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56109         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56110         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56111         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56112         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56113         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56114         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56115         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56116         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56117         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56118         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56119         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56120         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56121         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56122         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56123         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56124         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56125         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56126         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56127         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56128         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56129         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56130         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56131         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56132         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56133         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56134         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56135         * sysdeps/ieee754/s_matherr.c: Likewise.
56136         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56137         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56138         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56139         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56141 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56143         * crypt/md5.h: Remove __STDC__ conditionals.
56144         * libio/libioP.h: Likewise.
56145         * locale/programs/config.h: Likewise.
56146         * sysdeps/generic/sysdep.h: Likewise.
56147         * sysdeps/i386/asm-syntax.h: Likewise.
56148         * sysdeps/s390/asm-syntax.h: Likewise.
56149         * sysdeps/unix/sysdep.h: Likewise.
56150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56153 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56155         * libio/libio.h: Remove __STDC__ conditionals.
56156         * malloc/obstack.h: Likewise.
56157         * math/complex.h: Likewise.
56158         * math/math.h: Likewise.
56159         * sysdeps/generic/_G_config.h: Likewise.
56160         * sysdeps/gnu/_G_config.h: Likewise.
56161         * sysdeps/mach/hurd/_G_config.h: Likewise.
56162         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56163         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56164         * sysdeps/sparc/bits/mathdef.h: Likewise.
56166 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56168         [BZ #13583]
56169         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56170         Clean up HAS_* macros.
56171         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56172         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56173         possible.
56174         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56175         HAS_AVX.
56176         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56177         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56178         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56179         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56180         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56182 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56184         * elf/tst-unique3.cc (gets): Remove declaration.
56185         * elf/tst-unique3lib.cc (gets): Likewise.
56186         * elf/tst-unique3lib2.cc (gets): Likewise.
56187         * elf/tst-unique4.cc (gets): Likewise.
56189 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56191         * include/stdio.h: Add C++ protection.  Add gets declarations and
56192         definitions.
56193         * debug/tst-chk1.c: Don't declare gets here.
56194         * stdio-common/tst-gets.c: Likewise.
56196 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56198         * posix/glob: Remove directory.
56200 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56202         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56204 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56206         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56207         of the non-standard EPFNOSUPPORT.
56209 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56211         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56212         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56213         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56215 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56217         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56219 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56221         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56222         transient errors.
56223         * nscd/grpcache.c (cache_addgr): Likewise.
56224         * nscd/hstcache.c (cache_addhst): Likewise.
56225         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56226         * nscd/pwdcache.c (cache_addpw): Likewise.
56227         * nscd/servicescache.c (cache_addserv): Likewise.
56229 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56231         * malloc/malloc.c: Various cleanups.
56232         * malloc/hooks.c: Likewise.
56234         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56235         * stdlib/bug-fmtmsg1.c: New file.
56237         * stdlib/fmtmsg.c (init): Add missing unlock.
56238         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56240 2012-01-12  Marek Polacek  <polacek@redhat.com>
56242         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56243         and _GNU_SOURCE.
56245 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56247         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56248         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56249         macro to ensure uniqueness of label name.
56250         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56251         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56253 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56255         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56257         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56258         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56259         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56260         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56262 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56264         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56266         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56267         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56268         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56270         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56272         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56273         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56274         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56275         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56277         * math/bits/math-finite.h: Add ldexp support.
56279 2012-01-10  Marek Polacek  <polacek@redhat.com>
56281         * locale/programs/localedef.h (show_archive_content): Add noreturn
56282         attribute.
56284 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56286         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56288 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56290         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56292         * io/Makefile (headers): Add bits/poll2.h.
56294 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56297         typo #include statement.
56299 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56301         * include/sys/cdefs.h: Define __attribute_alloc_size.
56302         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56303         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56304         * elf/pldd.c: Likewise.
56305         * iconv/iconv_charmap.c: Likewise.
56306         * iconv/iconvconfig.c: Likewise.
56307         * iconv/strtab.c: Likewise.
56308         * locale/programs/locale.c: Likewise.
56309         * locale/programs/localedef.h: Likewise.
56310         * locale/programs/simple-hash.c: Likewise.
56311         * nscd/nscd.h: Likewise.
56312         * nss/makedb.c: Likewise.
56313         * sysdeps/generic/ldconfig.h: Likewise.
56314         * locale/programs/localedef.c: Remove xmalloc prototype.
56315         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56317 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56319         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56320         appropriate.
56322 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56324         * math/Makefile (tests): Add tst-CMPLX.
56325         * math/tst-CMPLX.c: New file.
56327         * math/complex.h (CMPLXL): Fix typo.
56329         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56330         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56331         GLIBC_2.16.
56332         * debug/tst-chk1.c: Add poll and ppoll tests.
56333         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56334         * include/sys/poll.h: Add hidden proto for ppoll.
56335         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56336         * sysdeps/mach/hurd/ppoll.c: Likewise.
56337         * io/ppoll.c: Likewise.
56338         * debug/poll_chk.c: New file.
56339         * debug/ppoll_chk.c: New file.
56340         * include/bits/poll2.h: New file.
56341         * io/bits/poll2.h: New file.
56343         [BZ #1350]
56344         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56346         * configure.in: static is always set to yes.  Remove.
56347         * config.make.in: Don't set build-static.
56348         * Makeconfig: Remove use of build-static.
56349         * dlfcn/Makefile: Likewise.
56350         * elf/Makefile: Likewise.
56351         * math/Makefile: Likewise.
56352         * misc/Makefile: Likewise.
56353         * nptl/Makefile: Likewise.
56354         * sysdeps/mach/hurd/Makefile: Likewise.
56356         * configure.in: PWD_P is not used anymore.
56357         * config.make.in: Remove PWD_P entry.
56359         * configure.in: Remove last remnants of RANLIB.
56360         No need to check for signed size_t anymore.
56361         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56362         and IA-64.
56363         Remove __builtin_expect test because we require at least gcc 3.4.
56364         * aclocal.m4: Likewise.
56366         * wcsmbs/mbrtoc16.c: Implement using towc function.
56367         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56368         * wcsmbs/wcsmbsload.c: Likewise.
56369         * iconv/gconv_simple.c: Likewise.
56370         * iconv/gconv_int.h: Likewise.
56371         * iconv/gconv_builtin.h: Likewise.
56372         * iconv/iconv_prog.c: Remove CHAR16 handling.
56374         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56376         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56378         * configure.in: Remove --with-elf and --enable-bounded options.
56379         Dont set base_machine for ia64.  More non-ELF conditions removed.
56380         Remove testing and setting of leading underscore information.
56381         * config.make.in (build-bounded): Set to no.
56382         * config.h.in: Remove NO_UNDERSCORES entry.
56383         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56384         them.
56385         * csu/start.c: Remove !NO_UNDERSCORE code.
56386         * locale/localeinfo.h: Likewise.
56387         * sysdeps/generic/machine-gmon.h: Likewise.
56388         * sysdeps/generic/sysdep.h: Likewise.
56389         * sysdeps/i386/sysdep.h: Likewise.
56390         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56391         * sysdeps/mach/sysdep.h: Likewise.
56392         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56393         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56394         * sysdeps/sh/sysdep.h: Likewise.
56395         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56396         * sysdeps/unix/i386/sysdep.S: Likewise.
56397         * sysdeps/unix/sparc/start.c: Likewise.
56398         * sysdeps/unix/sparc/sysdep.S: Likewise.
56399         * sysdeps/unix/sparc/sysdep.h: Likewise.
56400         * sysdeps/unix/start.c: Likewise.
56401         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56402         * sysdeps/x86_64/sysdep.h: Likewise.
56404 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56406         [BZ #13553]
56407         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56408         for non-gcc.
56409         * argp/argp-fmtstream.h: Use const instead __const.
56410         * argp/argp.h: Likewise.
56411         * assert/assert.h: Likewise.
56412         * bits/fenv.h: Likewise.
56413         * bits/sched.h: Likewise.
56414         * bits/sigset.h: Likewise.
56415         * bits/sigthread.h: Likewise.
56416         * catgets/nl_types.h: Likewise.
56417         * conform/data/pthread.h-data: Likewise.
56418         * crypt/crypt-private.h: Likewise.
56419         * crypt/crypt.h: Likewise.
56420         * crypt/crypt_util.c: Likewise.
56421         * ctype/ctype.h: Likewise.
56422         * debug/execinfo.h: Likewise.
56423         * debug/mbsnrtowcs_chk.c: Likewise.
56424         * debug/mbsrtowcs_chk.c: Likewise.
56425         * debug/wcsnrtombs_chk.c: Likewise.
56426         * debug/wcsrtombs_chk.c: Likewise.
56427         * debug/wcstombs_chk.c: Likewise.
56428         * dirent/dirent.h: Likewise.
56429         * dlfcn/dlfcn.h: Likewise.
56430         * elf/neededtest4.c: Likewise.
56431         * grp/grp.h: Likewise.
56432         * gshadow/gshadow.h: Likewise.
56433         * iconv/gconv.h: Likewise.
56434         * iconv/gconv_int.h: Likewise.
56435         * iconv/gconv_simple.c: Likewise.
56436         * iconv/iconv.h: Likewise.
56437         * iconv/loop.c: Likewise.
56438         * iconv/skeleton.c: Likewise.
56439         * include/aio.h: Likewise.
56440         * include/aliases.h: Likewise.
56441         * include/argz.h: Likewise.
56442         * include/arpa/inet.h: Likewise.
56443         * include/assert.h: Likewise.
56444         * include/dirent.h: Likewise.
56445         * include/dlfcn.h: Likewise.
56446         * include/execinfo.h: Likewise.
56447         * include/fcntl.h: Likewise.
56448         * include/fenv.h: Likewise.
56449         * include/glob.h: Likewise.
56450         * include/grp.h: Likewise.
56451         * include/libintl.h: Likewise.
56452         * include/mntent.h: Likewise.
56453         * include/netdb.h: Likewise.
56454         * include/pwd.h: Likewise.
56455         * include/rpc/netdb.h: Likewise.
56456         * include/sched.h: Likewise.
56457         * include/search.h: Likewise.
56458         * include/shadow.h: Likewise.
56459         * include/signal.h: Likewise.
56460         * include/stdio.h: Likewise.
56461         * include/stdlib.h: Likewise.
56462         * include/string.h: Likewise.
56463         * include/sys/socket.h: Likewise.
56464         * include/sys/stat.h: Likewise.
56465         * include/sys/statfs.h: Likewise.
56466         * include/sys/statvfs.h: Likewise.
56467         * include/sys/syslog.h: Likewise.
56468         * include/sys/time.h: Likewise.
56469         * include/sys/uio.h: Likewise.
56470         * include/time.h: Likewise.
56471         * include/unistd.h: Likewise.
56472         * include/utmp.h: Likewise.
56473         * include/wchar.h: Likewise.
56474         * include/wctype.h: Likewise.
56475         * inet/aliases.h: Likewise.
56476         * inet/arpa/inet.h: Likewise.
56477         * inet/netinet/ether.h: Likewise.
56478         * inet/netinet/in.h: Likewise.
56479         * intl/libintl.h: Likewise.
56480         * io/bits/fcntl2.h: Likewise.
56481         * io/fcntl.h: Likewise.
56482         * io/ftw.h: Likewise.
56483         * io/sys/poll.h: Likewise.
56484         * io/sys/stat.h: Likewise.
56485         * io/sys/statfs.h: Likewise.
56486         * io/sys/statvfs.h: Likewise.
56487         * io/utime.h: Likewise.
56488         * libio/bits/stdio.h: Likewise.
56489         * libio/bits/stdio2.h: Likewise.
56490         * libio/libio.h: Likewise.
56491         * libio/libioP.h: Likewise.
56492         * libio/stdio.h: Likewise.
56493         * locale/lc-ctype.c: Likewise.
56494         * locale/locale.h: Likewise.
56495         * login/utmp.h: Likewise.
56496         * malloc/arena.c: Likewise.
56497         * malloc/malloc.c: Likewise.
56498         * malloc/malloc.h: Likewise.
56499         * malloc/mcheck.c: Likewise.
56500         * malloc/mtrace.c: Likewise.
56501         * math/bits/mathcalls.h: Likewise.
56502         * math/fenv.h: Likewise.
56503         * math/math_private.h: Likewise.
56504         * misc/bits/error.h: Likewise.
56505         * misc/bits/syslog.h: Likewise.
56506         * misc/err.h: Likewise.
56507         * misc/error.h: Likewise.
56508         * misc/fstab.h: Likewise.
56509         * misc/mntent.h: Likewise.
56510         * misc/regexp.h: Likewise.
56511         * misc/search.h: Likewise.
56512         * misc/sgtty.h: Likewise.
56513         * misc/sys/mman.h: Likewise.
56514         * misc/sys/syslog.h: Likewise.
56515         * misc/sys/uio.h: Likewise.
56516         * misc/sys/xattr.h: Likewise.
56517         * misc/ttyent.h: Likewise.
56518         * nis/rpcsvc/ypclnt.h: Likewise.
56519         * nss/nss.h: Likewise.
56520         * posix/bits/unistd.h: Likewise.
56521         * posix/fnmatch.h: Likewise.
56522         * posix/glob.h: Likewise.
56523         * posix/sched.h: Likewise.
56524         * posix/spawn.h: Likewise.
56525         * posix/sys/wait.h: Likewise.
56526         * posix/unistd.h: Likewise.
56527         * posix/wordexp.h: Likewise.
56528         * pwd/pwd.h: Likewise.
56529         * resolv/netdb.h: Likewise.
56530         * resource/sys/resource.h: Likewise.
56531         * rt/aio.h: Likewise.
56532         * rt/bits/mqueue2.h: Likewise.
56533         * rt/mqueue.h: Likewise.
56534         * shadow/shadow.h: Likewise.
56535         * signal/signal.h: Likewise.
56536         * socket/send.c: Likewise.
56537         * socket/sendto.c: Likewise.
56538         * socket/sys/socket.h: Likewise.
56539         * stdio-common/printf.h: Likewise.
56540         * stdlib/bits/stdlib.h: Likewise.
56541         * stdlib/fmtmsg.h: Likewise.
56542         * stdlib/monetary.h: Likewise.
56543         * stdlib/stdlib.h: Likewise.
56544         * stdlib/ucontext.h: Likewise.
56545         * streams/stropts.h: Likewise.
56546         * string/argz.h: Likewise.
56547         * string/bits/string2.h: Likewise.
56548         * string/string.h: Likewise.
56549         * string/strings.h: Likewise.
56550         * sunrpc/rpc/auth.h: Likewise.
56551         * sunrpc/rpc/auth_des.h: Likewise.
56552         * sunrpc/rpc/clnt.h: Likewise.
56553         * sunrpc/rpc/netdb.h: Likewise.
56554         * sunrpc/rpc/pmap_clnt.h: Likewise.
56555         * sunrpc/rpc/xdr.h: Likewise.
56556         * sysdeps/generic/inttypes.h: Likewise.
56557         * sysdeps/generic/net/if.h: Likewise.
56558         * sysdeps/generic/sys/swap.h: Likewise.
56559         * sysdeps/gnu/net/if.h: Likewise.
56560         * sysdeps/gnu/utmpx.h: Likewise.
56561         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56562         * sysdeps/i386/i486/bits/string.h: Likewise.
56563         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56564         * sysdeps/s390/bits/string.h: Likewise.
56565         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56566         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56567         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56568         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56569         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56570         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56571         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56572         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56573         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56574         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56575         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56576         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56577         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56578         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56579         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56580         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56581         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56582         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56583         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56584         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56585         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56586         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56587         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56588         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56589         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56590         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56591         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56592         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56593         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56594         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56595         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56596         * sysvipc/sys/ipc.h: Likewise.
56597         * sysvipc/sys/msg.h: Likewise.
56598         * sysvipc/sys/sem.h: Likewise.
56599         * sysvipc/sys/shm.h: Likewise.
56600         * termios/termios.h: Likewise.
56601         * time/sys/time.h: Likewise.
56602         * time/time.h: Likewise.
56603         * wcsmbs/bits/wchar2.h: Likewise.
56604         * wcsmbs/uchar.h: Likewise.
56605         * wcsmbs/wchar.h: Likewise.
56606         * wctype/wctype.h: Likewise.
56608         [BZ #13551]
56609         * Makeconfig: Remove all but ELF support including AIX support.
56610         * Makerules: Likewise.
56611         * config.h.in: Likewise.
56612         * config.make.in: Likewise.
56613         * configure: Likewise.
56614         * configure.in: Likewise.
56615         * csu/Makefile: Likewise.
56616         * csu/version.c: Likewise.
56617         * debug/Makefile: Likewise.
56618         * dlfcn/Makefile: Likewise.
56619         * elf/Makefile: Likewise.
56620         * extra-lib.mk: Likewise.
56621         * iconv/Makefile: Likewise.
56622         * include/libc-symbols.h: Likewise.
56623         * include/shlib-compat.h: Likewise.
56624         * resolv/Makefile: Likewise.
56625         * resolv/res_libc.c: Likewise.
56626         * rt/Makefile: Likewise.
56627         * sysdeps/i386/asm-syntax.h: Likewise.
56628         * sysdeps/i386/sysdep.h: Likewise.
56629         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56630         * sysdeps/mach/sysdep.h: Likewise.
56631         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56632         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56633         * sysdeps/s390/asm-syntax.h: Likewise.
56634         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56635         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56636         * sysdeps/sh/sysdep.h: Likewise.
56637         * sysdeps/unix/sparc/sysdep.h: Likewise.
56638         * sysdeps/wordsize-32/divdi3.c: Likewise.
56639         * sysdeps/x86_64/sysdep.h: Likewise.
56641         * argp/Versions: Remove _argp_unlock_xxx.
56643         [BZ #13559]
56644         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56645         * abilist/libBrokenLocale.abilist: Likewise.
56646         * abilist/libanl.abilist: Likewise.
56647         * abilist/libc.abilist: Likewise.
56648         * abilist/libcrypt.abilist: Likewise.
56649         * abilist/libdl.abilist: Likewise.
56650         * abilist/libm.abilist: Likewise.
56651         * abilist/libnsl.abilist: Likewise.
56652         * abilist/libpthread.abilist: Likewise.
56653         * abilist/libresolv.abilist: Likewise.
56654         * abilist/librt.abilist: Likewise.
56655         * abilist/libthread_db.abilist: Likewise.
56656         * abilist/libutil.abilist: Likewise.
56657         * abilist/libnss_db.abilist: New file.
56659         * scripts/abilist.awk: Add support for indirect functions.
56661         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56663         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56665         * shlib-versions: Remove entries for ports architectures.
56667         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56668         files in ports.
56669         * elf/stackguard-macros.h: Remove support for IA-64.
56670         * elf/tst-auditmod1.c: Likewise.
56671         * sysdeps/generic/ldsodefs.h: Likewise.
56673         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56674         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56675         configure files.
56677         [BZ #13552]
56678         * configure.in: Remove --enable-omitfp support.
56679         * FAQ.in: Adjust.
56680         * config.make.in: Likewise.
56681         * Makeconfig: Likewise.
56682         * manual/install.texi: Likewise.
56684         In case anyone cares, the IA-64 architecture could move to ports.
56685         * sysdeps/ia64/*: Removed.
56686         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56687         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56689         [BZ #13555]
56690         * configure.in: Remove entries for unsupported architectures.
56692         [BZ #13533]
56693         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56694         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56695         routines.
56696         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56697         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56698         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56699         fall back to using wcrtomb.
56700         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56701         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56702         renaming.
56703         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56704         * wcsmbs/tst-c16c32-1.c: New file.
56706         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56707         local variable.
56709         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56711         * elf/tst-unique3.cc: Add explicit declaration of gets.
56712         * elf/tst-unique3lib.cc: Likewise.
56713         * elf/tst-unique3lib2.cc: Likewise.
56714         * elf/tst-unique4.cc: Likewise.
56716         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56718 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56720         [BZ #13566]
56721         * assert/assert.h (static_assert): Don't define for C++.
56722         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56723         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56725 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
56727         * iconv/loop.c (single loop): Fix assertion in storing of
56728         remaining bytes.
56730         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56732 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56734         * posix/getconf.c: Update copyright year.
56735         * nss/getent.c: Likewise.
56736         * nss/makedb.c: Likewise.
56737         * iconv/iconvconfig.c: Likewise.
56738         * iconv/iconv_prog.c: Likewise.
56739         * elf/ldconfig.c: Likewise.
56740         * elf/pldd.c: Likewise.
56741         * elf/sotruss.ksh: Likewise.
56742         * catgets/gencat.c: Likewise.
56743         * csu/version.c: Likewise.
56744         * elf/ldd.bash.in: Likewise.
56745         * elf/sprof.c (print_version): Likewise.
56746         * locale/programs/locale.c: Likewise.
56747         * locale/programs/localedef.c: Likewise.
56748         * login/programs/pt_chown.c: Likewise.
56749         * nscd/nscd.c (print_version): Likewise.
56750         * debug/xtrace.sh: Likewise.
56751         * malloc/memusage.sh: Likewise.
56752         * malloc/mtrace.pl: Likewise.
56753         * debug/catchsegv.sh: Likewise.
56755 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56757         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56758         pure attribute.
56760 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56762         [BZ #13533]
56763         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56764         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56765         transformations.
56766         * iconv/gconv_int.h: Likewise.
56767         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56768         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56769         from libc for GLIBC_2.16.
56770         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56771         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56772         * wcsmbs/uchar.h: Really define mbstate_t.
56773         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56774         * wcsmbs/c16rtomb.c: New file.
56775         * wcsmbs/mbrtoc16.c: New file.
56776         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56777         for C/POSIX locale.
56778         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56779         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56781         * wcsmbs/wchar.h: Add missing __restrict.
56783 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56785         [BZ #13532]
56786         * time/Makefile (routines): Add timespec_get.
56787         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56788         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
56789         timespec for ISO C11.
56790         * time/timespec_get.c: New file.
56791         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56792         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56794         [BZ #13531]
56795         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56796         * stdlib/stdlib.h: Declare aligned_alloc.
56797         * Versions.def: Add GLIBC_2.16 for libc.
56798         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56800         [BZ 13527]
56801         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56802         ISO C11.
56804         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56805         code.
56807         [BZ #13528]
56808         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56810         [BZ #13529]
56811         * assert/assert.h (static_assert): Define.
56813         * version.h: Update for 2.16 development version.
56815         [BZ #13526]
56816         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56817         _ISOC11_SOURCE.
56819         * version.h (RELEASE): Bump for 2.15 release.
56820         * include/features.h (__GLIBC_MINOR__): Bump to 15.
56822         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56823         Patch by Marek Polacek <mpolacek@redhat.com>.
56825         * bits/byteswap.h: Protect long long constants with __extension__.
56826         * sysdeps/i386/bits/byteswap.h: Likewise.
56827         * sysdeps/ia64/bits/byteswap.h: Likewise.
56828         * sysdeps/s390/bits/byteswap.h: Likewise.
56829         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56831 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56833         [BZ #13540]
56834         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56835         destination buffer.
56836         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56838 2011-12-23  Marek Polacek  <polacek@redhat.com>
56840         * elf/dl-addr.c (determine_info): Add inline keyword.
56841         * elf/tst-auditmod4b.c (check_avx): Likewise.
56842         * elf/tst-auditmod6b.c (check_avx): Likewise.
56843         * elf/tst-auditmod6c.c (check_avx): Likewise.
56844         * elf/tst-auditmod7b.c (check_avx): Likewise.
56846 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56848         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56849         !__SSE_MATH__.
56851 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56853         [BZ #13540]
56854         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56855         processing for last bytes.
56857 2011-08-06  Bruno Haible  <bruno@clisp.org>
56859         [BZ #13061]
56860         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56861         U+0385, not to U+1FEE.
56863         [BZ #13062]
56864         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56865         entry for U+00A5 U+0301.
56867 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56869         [BZ #13166]
56870         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56871         buffer for the output is too small.
56873         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56874         optimization.
56876         [BZ #13185]
56877         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56878         SSE flags if possible.
56880 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56882         [BZ #13540]
56883         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56884         processing for last bytes.
56886 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56888         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56889         (syscall-list-default-options, syscall-list-default-condition)
56890         (syscall-list-includes): Define.
56891         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56892         list of ABIs and options and #if conditions for each ABI.  Do not
56893         handle common syscalls between ABIs specially.
56894         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56895         Remove.
56896         (syscall-list-variants, syscall-list-32bit-options)
56897         (syscall-list-32bit-condition, syscall-list-64bit-options)
56898         (syscall-list-64bit-condition): Define.
56899         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56900         (syscall-list-variants, syscall-list-32bit-options)
56901         (syscall-list-32bit-condition, syscall-list-64bit-options)
56902         (syscall-list-64bit-condition): Define.
56903         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56904         Remove.
56905         (syscall-list-variants, syscall-list-32bit-options)
56906         (syscall-list-32bit-condition, syscall-list-64bit-options)
56907         (syscall-list-64bit-condition): Define.
56908         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56909         Remove.
56910         (syscall-list-variants, syscall-list-32bit-options)
56911         (syscall-list-32bit-condition, syscall-list-64bit-options)
56912         (syscall-list-64bit-condition): Define.
56914 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56916         * locale/iso-639.def: Add brx entry.
56918         [BZ #13328]
56919         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56920         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56922         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56923         __feraiseexcept_renamed.
56925 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56927         [BZ #13538]
56928         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56929         EPOLLET with unsigned values.
56930         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56931         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56933         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56934         to large cancellation.
56935         * math/s_cacoshf.c: Likewise.
56936         * math/s_cacoshl.c: Likewise.
56938 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56940         [BZ #13305]
56941         [BZ #12786]
56942         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56943         * math/s_cacoshf.c: Likewise.
56944         * math/s_cacoshl.c: Likewise.
56946 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56948         [BZ #13439]
56949         * iconv/gconv.h: Define __GCONV_SWAP.
56950         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56951         * iconvdata/utf-16.c: Likewise.
56952         * iconvdata/utf-32.c: Likewise.
56954 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56956         [BZ #13524]
56957         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56958         numerator after shifting it by one limb.
56960 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56962         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56963         under [__USE_EXTERN_INLINES].
56965 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56967         [BZ #13446]
56968         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56970 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56972         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56973         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56974         optimized code.
56975         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56976         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56977         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56978         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56979         for strncasecmp/strncasecmp_l compilation.
56980         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56981         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56983 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56985         [BZ #13484]
56986         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56987         of __asm__.
56989 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56991         [BZ #13506]
56992         * time/tzfile.c (__tzfile_read): Check values from file header.
56994 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56996         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56997         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56998         * powerpc/powerpc32/dl-start.S: Likewise.
56999         * powerpc/powerpc32/elf/start.S: Likewise.
57000         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57001         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57002         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57003         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57004         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57005         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57006         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57007         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57008         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57009         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57010         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57011         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57012         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57013         * powerpc/powerpc32/memset.S: Likewise.
57014         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57015         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57016         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57017         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57018         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57019         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57020         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57021         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57022         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57023         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57024         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57025         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57026         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57028 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57030         * math/libm-test.inc: Added more nearbyint tests.
57031         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57032         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57033         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57034         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57036 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57038         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57039         FD_CLOEXEC.
57041 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57043         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57044         Add wcscpy-ssse3 wcscpy-c.
57045         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57046         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57047         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57048         * sysdeps/x86_64/wcschr.S: New file.
57049         * sysdeps/x86_64/wcsrchr.S: New file.
57050         * string/test-strcmp.c: Remove checking of wcscmp function for
57051         wrong alignments.
57052         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57053         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57054         wcsrchr-sse2 wcsrchr-c.
57055         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57056         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57057         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57058         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57059         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57060         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57061         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57062         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57063         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57064         * wcsmbc/wcschr.c (WCSCHR): New macro.
57066 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57068         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57069         * wcsmbs/test-wcsrchr.c: New file.
57070         * string/test-strrchr.c: Add wcsrchr support.
57071         (WIDE): New macro.
57072         * wcsmbs/test-wcscpy.c: New file.
57073         * string/test-strcpy.c: Add wcscpy support.
57074         (WIDE): New macro.
57076 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57078         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57079         the inner loop.
57081 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57083         [BZ #13472]
57084         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57086 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57088         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57089         Minor optimizations.
57091         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57092         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57093         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57095 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57097         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57098         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57099         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57100         for gcc to avoid warnings.
57101         * inet/Makefile (tests): Add tst-checks.
57102         * inet/tst-checks.c: New file.
57104         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57105         warning.
57107         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57108         __wmemcmp_sse2.
57110         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57111         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57113         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57115 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57117         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57118         problem.
57120         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57122 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57124         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57125         conditional on GCC version.
57126         (__arch_compare_and_exchange_val_8_acq)
57127         (__arch_compare_and_exchange_val_16_acq)
57128         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57129         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57130         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57132 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57134         * sysdeps/sh/backtrace.c: New file.
57136 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57138         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57139         parenthesis.
57141 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57143         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57144         falling back to utime.
57146 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57148         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57149         expectations for float.
57151 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57153         * locale/weight.h (findidx): Add parameter len.
57154         * locale/weightwc.h (findidx): Likewise.
57155         * posix/fnmatch_loop.c (FCT): Adjust caller.
57156         * posix/regcomp.c (build_equiv_class): Likewise.
57157         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57158         * posix/regexec.c (check_node_accept_bytes): Likewise.
57159         * string/strcoll_l.c (STRCOLL): Likewise.
57160         * string/strxfrm_l.c (STRXFRM): Likewise.
57162 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57164         * Makefile.in: Remove CVSOPT handling.
57165         * configure.in: Remove use of AC_REVISION.
57166         * iconvdata/Makefile (distribute): No need to filter out CVS.
57167         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57168         handling.
57170 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57172         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57173         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57174         [USE_AS_STRNCASECMP_L]: Likewise.
57175         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57176         NO_TLS_DIRECT_SEG_REFS.
57177         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57178         Fix argument offsets for non-PIC.
57179         [USE_AS_STRNCASECMP_L]: Likewise.
57180         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57181         NO_TLS_DIRECT_SEG_REFS.
57183 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57185         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57186         O_CLOEXEC.
57187         * locale/loadlocale.c (_nl_load_locale): Likewise.
57189 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57191         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57192         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57193         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57194         (SYSCALL_GETTIME): Set errno on error.
57196         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57197         count references to noai6ai_cached.
57199 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57201         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57203         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57204         FD_CLOEXEC for /proc/self/maps.
57206         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57207         FD_CLOEXEC for /proc/meminfo.
57209         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57210         gai.conf.
57212         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57213         FD_CLOEXEC for given file.
57215         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57217         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57218         FD_CLOEXEC for /etc/hosts.
57219         (_gethtent): Likewise.
57221         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57223         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57224         cancellation and set FD_CLOEXEC for /etc/netgroup.
57226         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57227         reading /etc/publickey.
57229         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57230         allow cancellation when reading /etc/group.
57232         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57233         cancellation.
57234         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57236         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57237         when using data file.
57239         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57241         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57242         (write_nis_obj): Use "c" and "e" in fopen.
57244         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57246         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57248         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57250         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57252         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57253         locale.alias.
57255         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57257         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57259         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57261         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57262         file parsing and set FD_CLOEXEC.
57264 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57266         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57268 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57270         * malloc/arena.c (arena_get2): Don't call reused_arena when
57271         _int_new_arena failed.
57273 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57275         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57276         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57277         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57278         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57279         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57280         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57281         to compile strcasecmp and strncasecmp.
57282         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57283         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57285         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57287 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57289         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57290         locale-defines.sym to gen-as-const-headers.
57291         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57292         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57293         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57294         to compile strcasecmp and strncasecmp.
57295         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57296         strcasecmp_l and strncasecmp_l.
57297         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57298         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57299         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57300         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57301         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57302         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57303         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57304         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57305         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57306         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57307         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57309 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57311         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57312         result of SYSDEP_GETTIME_CPU to retval.
57313         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57314         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57316         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57317         variable.
57319         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57320         mantissa words.
57321         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57323         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57324         from unused variable.
57326         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57327         DWARF definitions.
57328         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57329         for assembling.
57331         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57332         over namespaces.
57334         * sunrpc/rpc_prot.c (rejected): Fix case value.
57336         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57337         unsigned long long int to avoid warnings in shift.
57339         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57340         of use of trans.
57341         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57342         variable tmp.
57344         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57345         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57346         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57348         * nis/nis_table.c (nis_list): Use variable of correct type for
57349         result of __follow_path call.
57351 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57353         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57354         of math functions ceil, trunc, floor, round, and sqrt, when
57355         avaliable on the platform.
57356         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57357         name clash.
57358         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57359         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57360         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57362 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57364         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57365         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57367 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57369         * include/unistd.h: Fix __readlink return type.
57370         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57372 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57374         * stdlib/ucontext.h: Undo last change for makecontext.
57376 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57378         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57380         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57381         * setjmp/setjmp.h: Mark functions as non-leaf.
57382         * setjmp/bits/setjmp2.h: Likewise.
57383         * stdlib/ucontext.h: Likewise.
57385 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57387         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57388         (reused_arena): Don't check arena limit.
57389         (arena_get2): Atomically check arena limit.
57391 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57393         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57394         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57396         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57397         instructions.
57399 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57401         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57402         handler when locking.
57404         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57405         Fix size of allocated buffer.
57407 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57409         [BZ #10103]
57410         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57411         declarations for long double functions.
57412         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57414         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57416 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57418         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57419         installed.
57421         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57422         is disabled.
57424 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57426         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57428 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57430         * include/alloca.h (stackinfo_alloca_round): Define.
57431         (extend_alloca): Use it.
57432         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57433         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57434         here.
57436         * scripts/check-local-headers.sh: Ignore libaudit.h.
57438         * nscd/Makefile (extra-objs): Make recursively expanded.
57440 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57442         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57443         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57445         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57446         * posix/tst-rfc3484-2.c: Likewise.
57447         * posix/tst-rfc3484-3.c: Likewise.
57449         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57450         process_vm_writev.
57451         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57452         process_vm_writev.
57453         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57454         process_vm_writev from libc using GLIBC_2.15 version.
57456         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57458 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57460         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57461         stack usage.
57463 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57465         [BZ #13367]
57466         * nss/getent.c (initgroups_keys): Show error message in case no group
57467         names are given.
57469         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57470         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57471         __bump_nl_timestamp.
57472         * nscd/connections (nscd_init): When host database is served open
57473         netlink socket and request notification about configuration changes.
57474         (main_loop_poll): Track netlink file descriptor and bump timestamp
57475         in case data becomes available.
57476         (main_loop_epoll): Likewise.
57477         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57478         (database_pers_head): Add extra_data fileds.
57479         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57480         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57481         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57482         Adjust caller.
57483         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57484         in6ai data, call __free_in6ai.
57485         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57486         Add -DHAVE_NETLINK.
57487         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57488         interface information.  Reuse previous data if netlink timestamp
57489         is not changed.
57490         (__bump_nl_timestamp): New function.
57491         (__free_in6ai): New function.
57493 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57495         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57496         close_not_cancel_no_status here.
57497         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57499 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57501         [BZ #13276]
57502         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57503         return value.
57505         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57506         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57507         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57509 2011-07-03  Andreas Jaeger  <aj@suse.de>
57511         [BZ #10709]
57512         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57513         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57514         * math/libm-test.inc (sin_test): Add test case.
57516 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57518         [BZ #13337]
57519         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57520         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57522         * elf/chroot_canon.c (chroot_canon): Cleanups.
57524         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57526         [BZ #13335]
57527         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57528         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57530         * string/test-strchr.c: Make usable for strchrnul testing.
57531         * string/test-strchrnul.c: New file.
57532         * string/Makefile (strop-tests): Add strchrnul.
57534         * po/it.po: Update from translation team.
57535         * po/es.po: Likewise.
57537 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57539         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57540         the three constants needed as parameters.  Drop the others.
57541         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57542         __m128i_strloadu_tolower.
57543         Create and initialize variable zero and use it in all the places
57544         where _mm_setzero_si128 was used.
57546         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57547         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57548         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57549         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57550         anymore.
57551         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57552         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57553         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57554         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57555         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57556         __mpranred, __mptan.
57557         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57558         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57559         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57560         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57561         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57562         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57563         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57564         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57565         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57567 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57569         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57570         redefine if SHARED.
57571         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57573         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57574         wide char related routines to wcsmbs subdir.
57576 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57578         [BZ #13344]
57579         * misc/sys/cdefs.h (__THROWNL): Define.
57580         * posix/unistd.h: Use __THREADNL instead of __THREAD
57581         for memory synchronization functions.
57583 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57585         [BZ #13349]
57586         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57587         doesn't exist.
57588         * manual/stdio.texi (Obstack Streams): Node removed.
57590 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57592         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57593         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57594         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57596         * math/math_private.h (math_force_eval): Allow non-addressable
57597         arguments.
57598         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57600 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57602         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57603         file is not needed.
57605         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57606         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57607         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57608         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57609         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57610         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57611         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57612         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57613         Add AVX variants.
57614         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57615         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57616         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57617         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57618         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57619         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57620         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57621         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57622         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57623         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57624         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57625         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57626         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57627         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57628         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57629         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57630         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57631         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57632         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57634         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57635         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57637         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57638         place.  Use VEX encoding when compiling for AVX.
57640 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57642         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57643         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57645         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57647 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57649         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57650         useless if() expression.
57651         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57652         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57653         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57654         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57655         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57656         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57657         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57658         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57659         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57660         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57661         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57662         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57663         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57664         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57665         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57666         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57667         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57668         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57669         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57671         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57673 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57675         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57676         condition.
57677         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57679 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57681         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57682         .text section.  Avoid duplicate constants.
57683         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57684         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57685         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57686         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57687         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57688         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57689         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57690         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57691         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57692         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57693         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57694         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57695         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57696         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57697         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57698         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57699         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57700         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57701         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57702         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57703         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57704         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57705         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57706         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57707         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57708         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57709         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57710         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57711         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57712         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57713         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57714         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57715         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57716         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57717         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57718         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57719         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57720         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57721         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57722         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57723         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57724         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57725         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57726         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57727         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57729 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57731         * sysdeps/x86_64/dla.h: Move to ...
57732         * sysdeps/x86_64/fpu/dla.h: ...here.
57733         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57734         situations.  Use __builtin_fma only for gcc 4.6 and up.
57736         * config.make.in: Add have-mfma4 entry.
57737         * configure.in: Substitute libc_cv_cc_fma4.
57738         * math/Makefile (dbl-only-routines): Add sincostab.
57739         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57740         Use __sincostab not sincos.
57741         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57742         name is a macro.
57743         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57744         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57745         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57746         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
57747         using __copysign.
57748         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57749         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57750         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57751         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57752         and __inv.
57753         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57754         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57755         __copysign.
57756         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57757         define aliases when function name is a macro.
57758         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57759         sysdeps/ieee754/dbl-64/sincos.tbl.
57760         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57761         fma4-enabled routines.
57762         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57763         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57764         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57765         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57766         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57767         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57768         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57769         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57770         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57771         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57772         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57773         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57774         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57775         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57776         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57777         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57778         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57779         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57780         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57781         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57782         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57783         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57784         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57785         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57786         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57787         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57788         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57789         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57790         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57791         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57793         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57794         rename.
57795         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57796         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57797         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57798         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57799         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57800         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57801         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57802         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57804 2011-10-24  Andreas Schwab  <schwab@redhat.com>
57806         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57808 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57810         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57812         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57813         prediction.
57814         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57816         * string/strnlen.c: Don't define STRNLEN, reverse logic.
57817         Remove unused variable magic_bits.
57818         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57820         * string/strnlen.c: Define and use STRNLEN macro.
57821         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57822         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57823         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57824         * wcsmbs/wcslen.c: Define and use WCSLEN.
57825         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57826         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57827         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57828         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57829         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57830         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57831         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57833 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57835         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57836         strnlen-sse2-no-bsf.
57837         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57838         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57839         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57840         Add strnlen support.
57841         (USE_AS_STRNLEN): New macro.
57842         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57843         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57844         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57845         * sysdeps/x86_64/wcslen.S: New file.
57847 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57849         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57850         XMM-moves are used for copying on small sizes.
57852 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57854         * wcsmbs/Makefile (strop-tests): Add wcschr.
57855         * wcsmbs/test-wcschr.c: New file.
57856         * string/test-strchr.c: Update.
57857         Add wcschr support.
57858         (WIDE): New macro.
57860 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57862         * wcsmbs/Makefile (strop-tests): Add wcslen.
57863         * wcsmbs/test-wcslen.c: New file.
57864         * string/test-strlen.c: Update.
57865         Add wcslen support.
57866         (WIDE): New macro.
57868 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57870         * po/it.po: Update from translation team.
57872 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57874         * sysdeps/x86_64/wcscmp.S: Update.
57875         Fix wrong comparison semantics.
57876         wcscmp shall use signed comparison not unsigned.
57877         Don't use substraction to avoid overflow bug.
57878         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57879         * wcsmbc/wcscmp.c: Likewise.
57880         * string/test-strcmp.c: Likewise.
57881         Add new tests to check cases with negative values.
57883 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57885         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57886         * sysdeps/x86_64/dla.h: ...here.  New file.
57887         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57888         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57889         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57890         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57891         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57892         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57893         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57894         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57895         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57897 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57899         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57900         __ynl_finite aliases.
57902 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57906         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57907         define DLA_FMA.
57908         [DLA_FMA] (EMULV): Use DLA_FMA.
57909         [DLA_FMA] (MUL12): Use EMULV.
57910         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57911         that are not needed.
57912         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57913         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57914         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57915         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57916         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57917         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57918         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57920 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57922         * math/s_nan.c: Undef __nan.
57923         * math/s_nanf.c: Undef __nanf.
57924         * math/s_nanl.c: Undef __nanl.
57925         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57926         "math_private.h".
57928 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57930         * math/s_catan.c: Add branch predictions.
57931         * math/s_catanf.c: Likewise.
57932         * math/s_catanh.c: Likewise.
57933         * math/s_catanhf.c: Likewise.
57934         * math/s_catanhl.c: Likewise.
57935         * math/s_catanl.c: Likewise.
57936         * math/s_cexp.c: Likewise.
57937         * math/s_cexpf.c: Likewise.
57938         * math/s_cexpl.c: Likewise.
57939         * math/s_clog.c: Likewise.
57940         * math/s_clog10.c: Likewise.
57941         * math/s_clog10f.c: Likewise.
57942         * math/s_clog10l.c: Likewise.
57943         * math/s_clogf.c: Likewise.
57944         * math/s_clogl.c: Likewise.
57945         * math/s_csqrt.c: Likewise.
57946         * math/s_csqrtf.c: Likewise.
57947         * math/s_csqrtl.c: Likewise.
57948         * math/s_ctanf.c: Likewise.
57949         * math/s_ctanh.c: Likewise.
57950         * math/s_ctanhf.c: Likewise.
57951         * math/s_ctanhl.c: Likewise.
57952         * math/s_ctanl.c: Likewise.
57954         * math/math_private.h: Define __nan, __nanf, __nanl.
57955         * math/s_cacosh.c: Include <math_private.h>.
57956         * math/s_cacoshl.c: Likewise.
57957         * math/s_casinh.c: Likewise.
57958         * math/s_casinhf.c: Likewise.
57959         * math/s_casinhl.c: Likewise.
57960         * math/s_ccos.c: Rely entire on ccosh.
57961         * math/s_ccosf.c: Rely entire on ccoshf.
57962         * math/s_ccosl.c: Rely entirely on ccoshl.
57963         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57964         Remove tests for FE_INVALID.
57965         * math/s_ccoshf.c: Likewise.
57966         * math/s_ccoshl.c: Likewise.
57967         * math/s_csin.c: Likewise.
57968         * math/s_csinf.c: Likewise.
57969         * math/s_csinh.c Likewise.
57970         * math/s_csinhf.c: Likewise.
57971         * math/s_csinhl.c: Likewise.
57972         * math/s_csinl.c: Likewise.
57973         * math/s_ctan.c: Likewise.
57974         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57975         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57976         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57978 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57981         compilation problems.
57983         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57984         __builtin_expect.
57986 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57988         * sysdeps/i386/configure.in: Test for -mfma4 option.
57989         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57990         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57991         COMMON_CPUID_INDEX_80000001.
57992         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57993         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57994         use it if FMA3 is not supported.
57995         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57997         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57998         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58000 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58002         [BZ #12892]
58003         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58004         it would create a cycle with a link time dependency.
58006 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58008         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58009         instruction.
58010         * string/Makefile (strop-tests): Add rawmemchr.
58011         * string/test-rawmemchr.c: New file.
58013         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58014         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58015         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58016         when compiling str{,n}casecmp and when AVX is available.  Hook up
58017         new optimized code in initializers.
58019 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58021         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58022         __feraiseexcept instead of feraiseexcept.
58024 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58026         * math/math_private.h: Define defaults for libc_fetestexcept and
58027         libc_feupdateenv.
58028         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58029         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58030         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58031         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58032         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58033         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58034         libc_fetestexcept and libc_feupdateenv.
58036         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58037         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58038         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58039         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58040         libc_feholdexcept_setround.
58042         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58043         Add s_nearbyint-c and s_nearbyintf-c.
58044         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58045         nearbyintf inlines.
58046         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58047         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58048         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58049         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58051         * math/math_private.h: Define defaults for libc_fegetround,
58052         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58053         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58054         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58055         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58056         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58057         standard functions.
58058         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58059         Remove comments and hacks for old compiler versions.
58060         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58061         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58062         libc_feholdexceptl.
58064 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58066         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58067         (__feraiseexcept_renamed): Add __NTH.
58068         (feraiseexcept): Add __NTH.  Rename local variables to fix
58069         namespace violations.
58071 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58073         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58075         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58077         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58078         recently added interfaces.
58079         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58081         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58082         about macro parameter expansion.
58084         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58085         __NO_MATH_INLINES is defined.  Cleanups.
58087         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58088         and __floorf is target has SSE4.1.
58089         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58090         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58091         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58092         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58094         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58095         name.
58096         (floorf): Likewise.
58098         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58100 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58102         * misc/sys/cdefs.h: Fix last change.
58104         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58105         database lookup.
58107 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58109         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58111         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58112         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58113         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58114         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58115         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58116         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58117         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58118         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58119         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58120         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58121         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58122         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58123         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58124         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58125         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58126         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58127         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58128         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58129         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58130         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58131         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58132         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58134         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58135         ceil, ceilf, floor, floorf.
58137         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58138         Perform IRELATIVE relocations last.
58140         * elf/do-rel.h: Add another parameter nrelative, replacing the
58141         local variable with the same name.  Change name of the function
58142         to end in Rel or Rela (uppercase).
58143         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58144         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58145         elf_dynamic_do_##reloc function.
58147 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58149         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58150         is sufficient, at least on modern CPUs.
58152         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58154         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58155         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58157         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58158         __expl_finite.
58159         * math/bits/math-finite.h: Add entries for exp.
58160         * math/e_expl.c: Add __*_finite alias.
58161         * sysdeps/i386/fpu/e_exp.S: Likewise.
58162         * sysdeps/i386/fpu/e_expf.S: Likewise.
58163         * sysdeps/i386/fpu/e_expl.c: Likewise.
58164         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58165         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58166         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58167         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58168         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58169         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58170         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58172         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58173         is sufficient, at least on modern CPUs.
58175         * ctype/ctype-info.c (__ctype_init): Define.
58176         * include/ctype.h (__ctype_init): Declare.
58177         (__ctype_b_loc): The variable is always initialized.
58178         (__ctype_toupper_loc): Likewise.
58179         (__ctype_tolower_loc): Likewise.
58180         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58181         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58183 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58185         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58187         * configure.in: Also look in $cxxmachine/include for C++ system
58188         headers.
58190 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58192         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58193         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58194         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58195         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58196         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58197         (USE_AS_WMEMCMP): New macro.
58198         Fixing indents.
58199         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58200         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58201         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58202         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58203         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58204         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58205         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58206         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58207         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58208         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58209         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58210         (USE_AS_WMEMCMP): New macro.
58211         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58212         * sysdeps/string/test-memcmp.c: Update.
58213         Fix simple_wmemcmp.
58214         Add new tests.
58215         * wcsmbs/wmemcmp.c: Update.
58216         (WMEMCMP): New macro.
58217         Fix overflow bug.
58219 2011-10-12  Andreas Jaeger  <aj@suse.de>
58221         [BZ #13268]
58222         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58224 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58226         * libio/iofwide.c (do_length): Avoid warning.
58228         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58230 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58232         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58234         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58235         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58236         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58237         * sysdeps/i386/i686/fpu/e_log.S: New file.
58238         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58239         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58241         * ctype/ctype.h: Add support for inlined isXXX functions when
58242         compiling C++ code.
58244 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58246         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58248         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58250 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58252         [BZ #13291]
58253         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58255 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58257         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58258         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58259         feraiseexcept.
58261         * sysdeps/x86_64/memrchr.S: Check for zero size.
58263         * string/stratcliff.c: Add memrchr tests.
58265 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58267         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58268         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58269         rawmemchr-sse2 rawmemchr-sse2-bsf.
58270         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58271         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58272         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58273         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58274         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58275         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58276         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58277         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58278         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58279         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58280         * string/memrchr.c (MEMRCHR): New macro.
58282 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58284         Add integration with gcc's -ffinite-math-only and optimize wrapper
58285         functions in libm.
58286         * Versions.def: Define GLIBC_2.15 version for libm.
58287         * math/Makefile (headers): Add bits/math-finite.h.
58288         * math/bits/math-finite.h: New file.
58289         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58290         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58291         * math/e_acoshl.c: Add __*_finite alias.
58292         * math/e_acosl.c: Likewise.
58293         * math/e_asinl.c: Likewise.
58294         * math/e_atan2l.c: Likewise.
58295         * math/e_atanhl.c: Likewise.
58296         * math/e_coshl.c: Likewise.
58297         * math/e_exp10.c: Likewise.
58298         * math/e_exp10f.c: Likewise.
58299         * math/e_exp10l.c: Likewise.
58300         * math/e_exp2l.c: Likewise.
58301         * math/e_fmodl.c: Likewise.
58302         * math/e_gammal_r.c: Likewise.
58303         * math/e_hypotl.c: Likewise.
58304         * math/e_j0l.c: Likewise.
58305         * math/e_j1l.c: Likewise.
58306         * math/e_jnl.c: Likewise.
58307         * math/e_lgammal_r.c: Likewise.
58308         * math/e_log10l.c: Likewise.
58309         * math/e_log2l.c: Likewise.
58310         * math/e_logl.c: Likewise.
58311         * math/e_powl.c: Likewise.
58312         * math/e_sinhl.c: Likewise.
58313         * math/e_sqrtl.c: Likewise.
58314         * math/e_scalb.c: Completely rewritten and optimized.
58315         * math/e_scalbf.c: Likewise.
58316         * math/e_scalbl.c: Likewise.
58317         * math/w_acos.c: Likewise.
58318         * math/w_acosf.c: Likewise.
58319         * math/w_acosl.c: Likewise.
58320         * math/w_acosh.c: Likewise.
58321         * math/w_acoshf.c: Likewise.
58322         * math/w_acoshl.c: Likewise.
58323         * math/w_asin.c: Likewise.
58324         * math/w_asinf.c: Likewise.
58325         * math/w_asinl.c: Likewise.
58326         * math/w_atan2.c: Likewise.
58327         * math/w_atan2f.c: Likewise.
58328         * math/w_atan2l.c: Likewise.
58329         * math/w_atanh.c: Likewise.
58330         * math/w_atanhf.c: Likewise.
58331         * math/w_atanhl.c: Likewise.
58332         * math/w_exp10.c: Likewise.
58333         * math/w_exp10f.c: Likewise.
58334         * math/w_exp10l.c: Likewise.
58335         * math/w_fmod.c: Likewise.
58336         * math/w_fmodf.c: Likewise.
58337         * math/w_fmodl.c: Likewise.
58338         * math/w_j0.c: Likewise.
58339         * math/w_j0f.c: Likewise.
58340         * math/w_j0l.c: Likewise.
58341         * math/w_j1.c: Likewise.
58342         * math/w_j1f.c: Likewise.
58343         * math/w_j1l.c: Likewise.
58344         * math/w_jn.c: Likewise.
58345         * math/w_jnf.c: Likewise.
58346         * math/w_log.c: Likewise.
58347         * math/w_logf.c: Likewise.
58348         * math/w_logl.c: Likewise.
58349         * math/w_log10.c: Likewise.
58350         * math/w_log10f.c: Likewise.
58351         * math/w_log10l.c: Likewise.
58352         * math/w_log2.c: Likewise.
58353         * math/w_log2f.c: Likewise.
58354         * math/w_log2l.c: Likewise.
58355         * math/w_pow.c: Likewise.
58356         * math/w_powf.c: Likewise.
58357         * math/w_powl.c: Likewise.
58358         * math/w_remainder.c: Likewise.
58359         * math/w_remainderf.c: Likewise.
58360         * math/w_remainderl.c: Likewise.
58361         * math/w_scalb.c: Likewise.
58362         * math/w_scalbf.c: Likewise.
58363         * math/w_scalbl.c: Likewise.
58364         * math/w_sqrt.c: Likewise.
58365         * math/w_sqrtf.c: Likewise.
58366         * math/w_sqrtl.c: Likewise.
58367         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58368         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58369         used.
58370         * math/math_private.h: Declare __kernel_standard_f.
58371         * math/w_cosh.c: Remove cruft and optimize a bit.
58372         * math/w_coshf.c: Likewise.
58373         * math/w_coshl.c: Likewise.
58374         * math/w_exp2.c: Likewise.
58375         * math/w_exp2f.c: Likewise.
58376         * math/w_exp2l.c: Likewise.
58377         * math/w_hypot.c: Likewise.
58378         * math/w_hypotf.c: Likewise.
58379         * math/w_hypotl.c: Likewise.
58380         * math/w_lgamma.c: Likewise.
58381         * math/w_lgamma_r.c: Likewise.
58382         * math/w_lgammaf.c: Likewise.
58383         * math/w_lgammaf_r.c: Likewise.
58384         * math/w_lgammal.c: Likewise.
58385         * math/w_lgammal_r.c: Likewise.
58386         * math/w_sinh.c: Likewise.
58387         * math/w_sinhf.c: Likewise.
58388         * math/w_sinhl.c: Likewise.
58389         * math/w_tgamma.c: Likewise.
58390         * math/w_tgammaf.c: Likewise.
58391         * math/w_tgammal.c: Likewise.
58392         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58393         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58394         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58395         Minor optimizations.  Pretty printing.  Remove cruft.
58396         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58397         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58398         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58399         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58400         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58401         * sysdeps/i386/fpu/e_asin.S: Likewise.
58402         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58403         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58404         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58405         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58406         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58407         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58408         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58409         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58410         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58411         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58412         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58413         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58414         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58415         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58416         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58417         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58418         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58419         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58420         * sysdeps/i386/fpu/e_log.S: Likewise.
58421         * sysdeps/i386/fpu/e_log10.S: Likewise.
58422         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58423         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58424         * sysdeps/i386/fpu/e_log2.S: Likewise.
58425         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58426         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58427         * sysdeps/i386/fpu/e_logf.S: Likewise.
58428         * sysdeps/i386/fpu/e_logl.S: Likewise.
58429         * sysdeps/i386/fpu/e_pow.S: Likewise.
58430         * sysdeps/i386/fpu/e_powf.S: Likewise.
58431         * sysdeps/i386/fpu/e_powl.S: Likewise.
58432         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58433         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58434         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58435         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58436         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58437         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58438         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58439         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58440         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58441         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58442         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58443         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58444         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58445         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58446         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58447         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58448         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58449         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58450         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58451         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58452         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58453         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58454         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58455         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58456         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58457         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58458         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58459         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58460         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58461         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58462         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58463         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58464         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58465         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58466         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58467         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58468         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58469         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58470         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58471         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58472         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58473         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58474         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58475         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58476         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58477         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58478         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58479         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58480         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58481         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58482         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58483         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58484         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58485         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58486         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58487         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58488         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58489         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58490         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58491         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58492         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58493         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58494         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58495         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58496         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58497         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58498         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58499         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58500         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58501         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58502         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58503         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58504         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58505         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58506         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58507         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58508         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58509         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58510         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58511         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58512         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58513         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58514         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58515         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58516         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58517         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58518         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58519         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58520         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58521         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58522         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58523         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58524         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58525         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58526         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58527         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58528         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58529         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58530         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58531         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58532         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58533         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58534         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58535         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58536         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58537         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58538         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58539         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58540         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58541         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58542         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58543         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58544         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58545         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58546         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58547         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58548         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58549         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58550         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58551         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58552         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58553         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58554         (__isnanf): Likewise.
58555         (__isinf_ns): Likewise.
58556         (__isinf_nsf): Likewise.
58557         (__finite): Likewise.
58558         (__finitef): Likewise.
58559         (__ieee754_sqrt): Define as macro.
58560         (__ieee754_sqrtf): Define as macro.
58561         (__ieee754_sqrtl): Define as macro.
58562         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58563         inlined copy.
58564         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58565         __FINITE_MATH_ONLY__ consistent.
58566         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58568 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58570         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58571         of rawmemchr.
58573         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58575 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58577         * po/ja.po: Update from translation team.
58579 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58581         * locale/programs/locarchive.c (prepare_address_space): New function.
58582         (create_archive, enlarge_archive, open_archive): Use it.
58584         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58585         inside [SHARED], where it is used.
58587         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58589         * nss/getent.c (netgroup_keys): Remove unused variable.
58590         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58592 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58594         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58595         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58596         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58597         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58598         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58599         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58600         * math/Makefile (libm-calls): Add s_isinf_ns.
58601         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58602         * math/multc3.c: Likewise.
58603         * math/s_casin.c: Likewise.
58604         * math/s_casinf.c: Likewise.
58605         * math/s_casinl.c: Likewise.
58606         * math/s_ccos.c: Likewise.
58607         * math/s_ccosf.c: Likewise.
58608         * math/s_ccosl.c: Likewise.
58609         * math/s_ctan.c: Likewise.
58610         * math/s_ctanf.c: Likewise.
58611         * math/s_ctanh.c: Likewise.
58612         * math/s_ctanhf.c: Likewise.
58613         * math/s_ctanhl.c: Likewise.
58614         * math/s_ctanl.c: Likewise.
58615         * math/w_fmod.c: Likewise.
58616         * math/w_fmodf.c: Likewise.
58617         * math/w_fmodl.c: Likewise.
58618         * math/w_remainder.c: Likewise.
58619         * math/w_remainderf.c: Likewise.
58620         * math/w_remainderl.c: Likewise.
58621         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58622         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58623         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58624         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58625         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58626         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58627         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58628         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58630         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58631         of the number.
58632         * stdio-common/printf_fphex.c: Likewise.
58633         * stdio-common/printf_size.c: Likewise.
58635         * math/e_exp10.c: Include math_private.h using <...> not "...".
58636         * math/e_exp10f.c: Likewise.
58637         * math/e_exp10l.c: Likewise.
58638         * math/e_exp2l.c: Likewise.
58639         * math/e_j0l.c: Likewise.
58640         * math/e_j1l.c: Likewise.
58641         * math/e_jnl.c: Likewise.
58642         * math/e_lgammal_r.c: Likewise.
58643         * math/e_rem_pio2l.c: Likewise.
58644         * math/e_scalb.c: Likewise.
58645         * math/e_scalbf.c: Likewise.
58646         * math/e_scalbl.c: Likewise.
58647         * math/k_cosl.c: Likewise.
58648         * math/k_sinl.c: Likewise.
58649         * math/k_tanl.c: Likewise.
58650         * math/s_cacoshf.c: Likewise.
58651         * math/s_catan.c: Likewise.
58652         * math/s_catanf.c: Likewise.
58653         * math/s_catanh.c: Likewise.
58654         * math/s_catanhf.c: Likewise.
58655         * math/s_catanhl.c: Likewise.
58656         * math/s_catanl.c: Likewise.
58657         * math/s_ccosh.c: Likewise.
58658         * math/s_ccoshf.c: Likewise.
58659         * math/s_ccoshl.c: Likewise.
58660         * math/s_cexp.c: Likewise.
58661         * math/s_cexpf.c: Likewise.
58662         * math/s_cexpl.c: Likewise.
58663         * math/s_clog.c: Likewise.
58664         * math/s_clog10.c: Likewise.
58665         * math/s_clog10f.c: Likewise.
58666         * math/s_clog10l.c: Likewise.
58667         * math/s_clogf.c: Likewise.
58668         * math/s_clogl.c: Likewise.
58669         * math/s_csin.c: Likewise.
58670         * math/s_csinf.c: Likewise.
58671         * math/s_csinh.c: Likewise.
58672         * math/s_csinhf.c: Likewise.
58673         * math/s_csinhl.c: Likewise.
58674         * math/s_csinl.c: Likewise.
58675         * math/s_csqrt.c: Likewise.
58676         * math/s_csqrtf.c: Likewise.
58677         * math/s_csqrtl.c: Likewise.
58678         * math/s_ctan.c: Likewise.
58679         * math/s_ctanf.c: Likewise.
58680         * math/s_ctanh.c: Likewise.
58681         * math/s_ctanhf.c: Likewise.
58682         * math/s_ctanhl.c: Likewise.
58683         * math/s_ctanl.c: Likewise.
58684         * math/s_ldexp.c: Likewise.
58685         * math/s_ldexpf.c: Likewise.
58686         * math/s_ldexpl.c: Likewise.
58687         * math/s_significand.c: Likewise.
58688         * math/s_significandf.c: Likewise.
58689         * math/s_significandl.c: Likewise.
58690         * math/w_acos.c: Likewise.
58691         * math/w_acosf.c: Likewise.
58692         * math/w_acosh.c: Likewise.
58693         * math/w_acoshf.c: Likewise.
58694         * math/w_acoshl.c: Likewise.
58695         * math/w_acosl.c: Likewise.
58696         * math/w_asin.c: Likewise.
58697         * math/w_asinf.c: Likewise.
58698         * math/w_asinl.c: Likewise.
58699         * math/w_atan2.c: Likewise.
58700         * math/w_atan2f.c: Likewise.
58701         * math/w_atan2l.c: Likewise.
58702         * math/w_atanh.c: Likewise.
58703         * math/w_atanhf.c: Likewise.
58704         * math/w_atanhl.c: Likewise.
58705         * math/w_cosh.c: Likewise.
58706         * math/w_coshf.c: Likewise.
58707         * math/w_coshl.c: Likewise.
58708         * math/w_dremf.c: Likewise.
58709         * math/w_exp10.c: Likewise.
58710         * math/w_exp10f.c: Likewise.
58711         * math/w_exp10l.c: Likewise.
58712         * math/w_exp2.c: Likewise.
58713         * math/w_exp2f.c: Likewise.
58714         * math/w_fmod.c: Likewise.
58715         * math/w_fmodf.c: Likewise.
58716         * math/w_fmodl.c: Likewise.
58717         * math/w_hypot.c: Likewise.
58718         * math/w_hypotf.c: Likewise.
58719         * math/w_hypotl.c: Likewise.
58720         * math/w_j0.c: Likewise.
58721         * math/w_j0f.c: Likewise.
58722         * math/w_j0l.c: Likewise.
58723         * math/w_j1.c: Likewise.
58724         * math/w_j1f.c: Likewise.
58725         * math/w_j1l.c: Likewise.
58726         * math/w_jn.c: Likewise.
58727         * math/w_jnf.c: Likewise.
58728         * math/w_jnl.c: Likewise.
58729         * math/w_lgamma.c: Likewise.
58730         * math/w_lgamma_r.c: Likewise.
58731         * math/w_lgammaf.c: Likewise.
58732         * math/w_lgammaf_r.c: Likewise.
58733         * math/w_lgammal.c: Likewise.
58734         * math/w_lgammal_r.c: Likewise.
58735         * math/w_log.c: Likewise.
58736         * math/w_log10.c: Likewise.
58737         * math/w_log10f.c: Likewise.
58738         * math/w_log10l.c: Likewise.
58739         * math/w_log2.c: Likewise.
58740         * math/w_log2f.c: Likewise.
58741         * math/w_log2l.c: Likewise.
58742         * math/w_logf.c: Likewise.
58743         * math/w_logl.c: Likewise.
58744         * math/w_pow.c: Likewise.
58745         * math/w_powf.c: Likewise.
58746         * math/w_powl.c: Likewise.
58747         * math/w_remainder.c: Likewise.
58748         * math/w_remainderf.c: Likewise.
58749         * math/w_remainderl.c: Likewise.
58750         * math/w_scalb.c: Likewise.
58751         * math/w_scalbf.c: Likewise.
58752         * math/w_scalbl.c: Likewise.
58753         * math/w_sinh.c: Likewise.
58754         * math/w_sinhf.c: Likewise.
58755         * math/w_sinhl.c: Likewise.
58756         * math/w_sqrt.c: Likewise.
58757         * math/w_sqrtf.c: Likewise.
58758         * math/w_sqrtl.c: Likewise.
58759         * math/w_tgamma.c: Likewise.
58760         * math/w_tgammaf.c: Likewise.
58761         * math/w_tgammal.c: Likewise.
58763         * po/ja.po: Update from translation team.
58765 2011-09-29  Andreas Jaeger  <aj@suse.de>
58767         [BZ #13179]
58768         * sunrpc/netname.c (netname2host): Fix logic.
58770         [BZ #6779]
58771         [BZ #6783]
58772         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58773         correctly.
58774         * math/w_remainder.c (__remainder): Likewise.
58775         * math/w_remainderf.c (__remainderf): Likewise.
58776         * math/libm-test.inc (remainder_test): Add test cases.
58778 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58780         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
58781         sdiv_qrnnd.
58783 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58785         * string/test-memcmp.c: Avoid unncessary #defines.
58786         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58788 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58790         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58791         Use new sse2 version for core i3 - i7 as it's faster
58792         than sse42 version.
58793         (bit_Prefer_PMINUB_for_stringop): New.
58794         * sysdeps/x86_64/rawmemchr.S: Update.
58795         Replace with faster SSE2 version.
58796         * sysdeps/x86_64/memrchr.S: New file.
58797         * sysdeps/x86_64/memchr.S: Update.
58798         Replace with faster SSE2 version.
58800 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
58802         * elf/dl-load.c (lose): Add cast to avoid warning.
58804 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58806         * po/ca.po: Update from translation team.
58808         * inet/getnetgrent_r.c: Hook up nscd.
58809         * nscd/Makefile (routines): Add nscd_netgroup.
58810         (nscd-modules): Add netgroupcache.
58811         (CFLAGS-netgroupcache.c): Define.
58812         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58813         (cache_search): Add const to second parameter.
58814         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58815         INNETGR.
58816         (dbs): Add netgrdb entry.
58817         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58818         (verify_persistent_db): Handle netgrdb.
58819         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58820         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58821         GETFDNETGR.
58822         (netgroup_response_header): Define.
58823         (innetgroup_response_header): Define.
58824         (datahead): Add netgroup_response_header and innetgroup_response_header
58825         elements.
58826         * nscd/nscd.conf: Add entries for netgroup cache.
58827         * nscd/nscd.h (dbtype): Add netgrdb.
58828         (_PATH_NSCD_NETGROUP_DB): Define.
58829         (netgroup_iov_disabled): Declare.
58830         (xmalloc, xcalloc, xrealloc): Move declarations here.
58831         (cache_search): Adjust prototype.
58832         Add netgroup-related prototypes.
58833         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58834         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58835         (__nscd_innetgr): Declare.
58836         * nscd/selinux.c (perms): Use access_vector_t as element type and
58837         add netgroup-related initializers.
58838         * nscd/netgroupcache.c: New file.
58839         * nscd/nscd_netgroup.c: New file.
58840         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58841         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58842         For four parameters use innetgr.
58843         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58844         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58845         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58846         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58848         * nscd/connections.c (register_traced_file): Don't register file
58849         for disabled databases.
58851 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58853         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58855         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58856         from tree and freeing node.
58858 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58860         * nss/nsswitch.c (__nss_database_lookup): Handle
58861         nss_parse_service_list out of memory case.
58863 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58865         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58866         out of memory case.
58868 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58870         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58871         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58872         pass it down.
58873         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58874         elf_machine_rela, elf_machine_lazy_rel.
58875         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58876         (ELF_DYNAMIC_DO_REL): Likewise.
58877         (ELF_DYNAMIC_DO_RELA): Likewise.
58878         (ELF_DYNAMIC_RELOCATE): Likewise.
58879         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58880         to ELF_DYNAMIC_DO_REL.
58881         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58882         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58883         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58884         elf_machine_rela.
58885         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58886         skip_ifunc, don't call ifunc function if non-zero.
58887         (elf_machine_rela): Likewise.
58888         (elf_machine_lazy_rel): Likewise.
58889         (elf_machine_lazy_rela): Likewise.
58890         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58891         (elf_machine_lazy_rel): Likewise.
58892         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58893         Likewise.
58894         (elf_machine_lazy_rel): Likewise.
58895         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58896         Likewise.
58897         (elf_machine_lazy_rel): Likewise.
58898         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58899         (elf_machine_lazy_rel): Likewise.
58900         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58901         (elf_machine_lazy_rel): Likewise.
58902         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58903         (elf_machine_lazy_rel): Likewise.
58904         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58905         (elf_machine_lazy_rel): Likewise.
58906         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58907         (elf_machine_lazy_rel): Likewise.
58908         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58909         (elf_machine_lazy_rel): Likewise.
58911 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58913         * nss/nss_files/files-init.c (_nss_files_init): Use static
58914         initialization for all the *_traced_file variables.
58916 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58918         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58920 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58922         [BZ #13226]
58923         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58925 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58927         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58928         Reread the line before reparsing it.
58930 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58932         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58934 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58935             Maxim Kuvyrkov  <maxim@codesourcery.com>
58936             Joseph Myers  <joseph@codesourcery.com>
58938         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58939         if needed for __stack_chk_guard.
58941 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58943         * sysdeps/posix/spawni.c (script_execute): Always define it.
58944         It will be optimized away if unused.
58945         (maybe_script_execute): New function.
58946         (__spawni): Call it.
58948         * Makerules: Don't include tls.make.
58949         (config-tls): Always set to thread.
58950         * tls.make.c: File removed.
58952 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58954         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58955         * config.make.in (CPPFLAGS-config): New substituted variable.
58957 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58959         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58961         [BZ #13192]
58962         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58963         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58965 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58967         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58968         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58969         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58970         (CALL_FAIL): Likewise.
58971         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58972         (CALL_FAIL): Macro removed.
58973         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58975 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58977         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58978         for __FINITE_MATH_ONLY__ == 1.
58980 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58982         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58983         __ieee754_sqrt instead of sqrt.
58984         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58985         __ieee754_sqrtf instead of sqrtf.
58986         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58987         __floorf instead of floorf.
58988         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58989         __floorf, __truncf instead of floorf, truncf.
58991 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58993         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58995         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58996         __extern_always_inline.
58997         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58998         32-bit.
59000 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59002         * elf/rtld.c (dl_main): Also relocate in dependency order when
59003         doing symbol dependency testing.
59005 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59007         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59008         Always define `refsym'.
59010 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59012         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59013         (__FD_ELT): Renamed from __FDELT.
59014         * misc/bits/select2.h (__FD_ELT): Likewise.
59015         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59016         __FD_MASK instead of __FDELT, __FDMASK.
59017         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59018         Likewise.
59019         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59020         Likewise.
59022         * elf/Makefile (gen-ldd): Fix pattern.
59024         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59025         (init_tls): Likewise.
59027 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59029         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59031 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59033         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59034         `struct cmsghdr *' instead of `void *'.
59035         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59036         Likewise.
59038 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59040         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59041         if non-absolute.
59042         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59043         ldd_rewrite_script.
59045 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59047         * configure.in: Remove --with-tls option.
59048         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59049         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59050         out in case it is missing.
59051         * sysdeps/ia64/elf/configure.in: Likewise.
59052         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59053         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59054         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59055         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59056         * sysdeps/sh/elf/configure.in: Likewise.
59057         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59058         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59059         * sysdeps/x86_64/elf/configure.in: Likewise.
59060         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59061         * sysdeps/mach/hurd/tls.h: Likewise.
59063         [BZ #13067]
59064         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59066         [BZ #13090]
59067         * configure.in: Fix use of AC_INIT.
59069         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59071 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59073         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59074         __set_errno.
59075         * malloc/hooks.c: Likewise.
59077         [BZ #11929]
59078         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59079         variables statically.
59080         (narenas): Initialize.
59081         (list_lock): Initialize.
59082         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59083         initializtion of main_arena and list_lock.  Small cleanups.
59084         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59085         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59086         Add initializers to main_arena and mp_.
59087         (malloc_state): Remove pagesize member.  Change all users to use
59088         GLRO(dl_pagesize).
59090         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59091         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59092         is always initialized.
59094         * malloc/malloc.c: Removed unused configurations and dead code.
59095         * malloc/arena.c: Likewise.
59096         * malloc/hooks.c: Likewise.
59097         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59099         * include/tls.h: Removed.  USE___THREAD must always be defined.
59100         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59101         * elf/dl-libc.c: Likewise.
59102         * elf/dl-tsd.c: Likewise.
59103         * include/errno.h: Likewise.
59104         * include/netdb.h: Likewise.
59105         * include/resolv.h: Likewise.
59106         * inet/herrno-loc.c: Likewise.
59107         * inet/herrno.c: Likewise.
59108         * malloc/arena.c: Likewise.
59109         * malloc/hooks.c: Likewise.
59110         * malloc/malloc.c: Likewise.
59111         * resolv/res-state.c: Likewise.
59112         * resolv/res_libc.c: Likewise.
59113         * sysdeps/i386/dl-machine.h: Likewise.
59114         * sysdeps/ia64/dl-machine.h: Likewise.
59115         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59116         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59117         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59118         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59119         * sysdeps/sh/dl-machine.h: Likewise.
59120         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59121         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59122         * sysdeps/unix/i386/sysdep.S: Likewise.
59123         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59124         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59125         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59126         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59127         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59128         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59129         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59130         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59131         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59132         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59133         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59134         * sysdeps/x86_64/dl-machine.h: Likewise.
59135         * tls.make.c: Likewise.
59137         * configure.in: Remove --with-__thread option.  Make tests for
59138         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59139         tls_model attribute fail if no support is available.  Remove
59140         USE_IN_LIBIO.
59141         * Makeconfig: Adjust for dropped configure option.  All features are
59142         now mandatory.
59143         * Makerules: Likewise.
59144         * Versions.def: Likewise.
59145         * argp/argp-fmtstream.c: Likewise.
59146         * argp/argp-fmtstream.h: Likewise.
59147         * argp/argp-help.c: Likewise.
59148         * assert/assert.c: Likewise.
59149         * config.h.in: Likewise.
59150         * config.make.in: Likewise.
59151         * configure: Likewise.
59152         * configure.in: Likewise.
59153         * csu/Versions: Likewise.
59154         * csu/init.c: Likewise.
59155         * elf/tst-audit2.c: Likewise.
59156         * elf/tst-tls10.c: Likewise.
59157         * elf/tst-tls10.h: Likewise.
59158         * elf/tst-tls11.c: Likewise.
59159         * elf/tst-tls12.c: Likewise.
59160         * elf/tst-tls14.c: Likewise.
59161         * elf/tst-tlsmod11.c: Likewise.
59162         * elf/tst-tlsmod12.c: Likewise.
59163         * elf/tst-tlsmod13.c: Likewise.
59164         * elf/tst-tlsmod13a.c: Likewise.
59165         * elf/tst-tlsmod14a.c: Likewise.
59166         * elf/tst-tlsmod15b.c: Likewise.
59167         * elf/tst-tlsmod16a.c: Likewise.
59168         * elf/tst-tlsmod16b.c: Likewise.
59169         * elf/tst-tlsmod7.c: Likewise.
59170         * elf/tst-tlsmod8.c: Likewise.
59171         * elf/tst-tlsmod9.c: Likewise.
59172         * gmon/gmon.c: Likewise.
59173         * grp/fgetgrent_r.c: Likewise.
59174         * grp/putgrent.c: Likewise.
59175         * hurd/fopenport.c: Likewise.
59176         * include/libc-symbols.h: Likewise.
59177         * include/tls.h: Likewise.
59178         * intl/gettextP.h: Likewise.
59179         * intl/loadinfo.h: Likewise.
59180         * locale/global-locale.c: Likewise.
59181         * locale/localeinfo.h: Likewise.
59182         * mach/devstream.c: Likewise.
59183         * malloc/arena.c: Likewise.
59184         * malloc/set-freeres.c: Likewise.
59185         * misc/err.c: Likewise.
59186         * misc/getttyent.c: Likewise.
59187         * misc/mntent_r.c: Likewise.
59188         * posix/getopt.c: Likewise.
59189         * posix/wordexp.c: Likewise.
59190         * pwd/fgetpwent_r.c: Likewise.
59191         * resolv/Versions: Likewise.
59192         * resolv/res_hconf.c: Likewise.
59193         * shadow/fgetspent_r.c: Likewise.
59194         * shadow/putspent.c: Likewise.
59195         * stdio-common/printf_fphex.c: Likewise.
59196         * stdio-common/tmpfile.c: Likewise.
59197         * stdlib/abort.c: Likewise.
59198         * stdlib/fmtmsg.c: Likewise.
59199         * sunrpc/auth_unix.c: Likewise.
59200         * sunrpc/clnt_perr.c: Likewise.
59201         * sunrpc/clnt_tcp.c: Likewise.
59202         * sunrpc/clnt_udp.c: Likewise.
59203         * sunrpc/clnt_unix.c: Likewise.
59204         * sunrpc/openchild.c: Likewise.
59205         * sunrpc/svc_simple.c: Likewise.
59206         * sunrpc/svc_tcp.c: Likewise.
59207         * sunrpc/svc_udp.c: Likewise.
59208         * sunrpc/svc_unix.c: Likewise.
59209         * sunrpc/xdr.c: Likewise.
59210         * sunrpc/xdr_array.c: Likewise.
59211         * sunrpc/xdr_rec.c: Likewise.
59212         * sunrpc/xdr_ref.c: Likewise.
59213         * sunrpc/xdr_stdio.c: Likewise.
59215 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59217         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59219 2011-07-03  Andreas Jaeger  <aj@suse.de>
59221         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59222         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59223         regenerate with gen-libm-tests.pl.
59225 2010-05-12  Petr Baudis  <pasky@suse.cz>
59227         [BZ #11589]
59228         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59229         around j0() zero points by switching to j1().
59230         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59231         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59232         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59233         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59235 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59237         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59238         instead of 0.
59239         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59240         instead of 0.
59241         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59242         Patch in part by Pavel Roskin <proski@gnu.org>.
59244         [BZ #13138]
59245         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59246         realloc.
59247         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59248         Free memory block if necessary.
59250         [BZ #12847]
59251         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59252         be NULL.  Don't lock in this case.
59254 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59256         * elf/elf.h (ELFOSABI_GNU): New macro.
59257         (ELFOSABI_LINUX): Define to that.
59259 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59261         * string/strncat.c (strncat): Undef the symbol in case it has been
59262         defined in bits/string.h.
59264 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59266         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59268         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59269         link map.
59271 2011-08-17  Andreas Jaeger  <aj@suse.de>
59273         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59275 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59276             Ian Lance Taylor  <iant@google.com>
59278         * math/libm-test.inc (lround_test): New testcase.
59279         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59281 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59283         * Makefile: Remove support for automatic cvs check-ins.
59284         * Makerules: Likewise.
59285         * config.make.in: Likewise.
59286         * configure.in: Likewise.
59287         * intl/Makefile: Likewise.
59288         * locale/Makefile: Likewise.
59289         * po/Makefile: Likewise.
59290         * posix/Makefile: Likewise.
59291         * sysdeps/gnu/Makefile: Likewise.
59292         * sysdeps/mach/hurd/Makefile: Likewise.
59293         * sysdeps/sparc/sparc32/Makefile: Likewise.
59295         [BZ #13118]
59296         * posix/Makefile (bug-regex32-ENV): Define.
59297         Patch by John Stanley <jpsinthemix@verizon.net>.
59299         * misc/Makefile (headers): Add bits/select2.h.
59300         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59301         * misc/bits/select2.h: New file.
59302         * include/bits/select2.h: New file.
59303         * debug/Makefile (routines): Add fdelt_chk.
59304         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59305         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59306         FD_ISSET.
59307         * debug/fdelt_chk.c: New file.
59309         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59310         * wcsmbs/test-wmemcmp.c: Likewise.
59311         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59312         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59314 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59316         * string/Makefile (strop-tests): Add memcmp.
59317         * string/test-wmemcmp.c: New file.
59318         * string/test-memcmp.c: Add wmemcmp support.
59320 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59322         [BZ #13153]
59323         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59324         2011-07-19 change.
59326         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59327         garbage value in a __mach_port_mod_refs call in the cases of the
59328         task-self and thread-self ports.
59330 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59332         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59334 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59336         * elf/dl-load.c (lose): Check for non-null L.
59338 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59340         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59342         * elf/dl-libc.c (dlerror_run): Pass back error code from
59343         dl_catch_error.
59345         [BZ #13123]
59346         * elf/dl-load.c (lose): Free l_origin if it is valid.
59348         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59349         names.
59350         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59351         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59352         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59353         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59354         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59355         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59357 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59359         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59360         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59361         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59362         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59363         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59364         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59365         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59366         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59367         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59368         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59370 2011-08-15  Alan Modra  <amodra@gmail.com>
59372         [BZ #13092]
59373         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59374         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59375         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59376         ppc_mcount to static-only-routines.
59377         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59378         __mcount_internal.
59379         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59380         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59382 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59384         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59385         for finite and infinity parameters.
59387 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59389         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59390         and add nop instructions for throughput optimization.
59391         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59393 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59395         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59396         aligned copy for power7 with vector-scalar instructions.
59397         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59399 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59401         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59402         AVX check.
59404 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59406         [BZ #13144]
59407         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59408         last change.
59410 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59412         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59413         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59414         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59415         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59416         clock_gettime.
59418 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59420         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59421         Forgot to demangle the pointer.
59423         * sysdeps/i386/sysdep.h: Define atom_text_section.
59424         * sysdeps/x86_64/sysdep.h: Likewise.
59425         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59426         section with atom_text_section.
59427         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59428         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59429         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59430         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59431         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59433         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59434         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59435         already be defined.  Change to take two parameters and don't assign
59436         result to variable.  Adjust all users.
59437         Define INTERNAL_GETTIME if not already defined.
59438         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59439         call.
59440         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59441         HAVE_CLOCK_GETTIME_VSYSCALL.
59442         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59444         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59445         gettimeofday vsyscall, just use time.
59447 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59449         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59450         <errno.h>.
59452 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59454         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59455         syscall on x86-64.
59456         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59457         syscall.
59458         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59459         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59460         syscall if possible.
59462 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59464         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59465         e_ident.  Don't pass to find_mapsXX.
59466         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59468 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59471         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59472         * sysdeps/x86_64/multiarch/strchr.S: Update.
59473         Check bit_slow_BSF bit.
59474         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59475         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59476         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59478 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59480         [BZ #13134]
59481         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59482         before glibc 2.15.
59483         (tryshell): Define.
59484         (__spawni): Change last parameter to be flag.  Test
59485         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59486         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59487         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59488         * posix/spawni.c: Likewise.
59489         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59490         * posix/spawnp.c: Likewise.  Change normal version to use
59491         SPAWN_XFLAGS_USE_PATH.
59492         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59493         SPAWN_XFLAGS_TRY_SHELL.
59495         [BZ #13150]
59496         * posix/glob.h: Remove gcc 1.x support.
59498         [BZ #13068]
59499         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59501 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59503         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59504         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59505         strrchr-sse2-bsf
59506         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59507         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59508         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59509         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59510         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59511         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59513 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59515         * sysdeps/x86_64/wcscmp.S: New file.
59517         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59518         wcscmp-c wcscmp-sse2
59519         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59520         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59521         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59522         * wcsmbs/wcscmp.c: Allow renaming.
59524 2011-09-05  David S. Miller  <davem@davemloft.net>
59526         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59527         stack slot, rather than the struct return pointer slot.
59528         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59529         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59531         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59533 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59535         * po/ja.po: Update from translation team.
59537         [BZ #13144]
59538         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59539         kernel in 64-bit binaries.
59541 2011-09-01  David S. Miller  <davem@davemloft.net>
59543         * elf/elf.h (HWCAP_SPARC_*): Move to..
59544         * sysdeps/sparc/sysdep.h: this new file and add new values.
59545         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59546         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59547         _DL_HWCAP_COUNT to 24.
59548         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59549         entries.
59550         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59551         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59552         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59553         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59554         instead of magic constants.
59555         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59557 2011-08-31  David S. Miller  <davem@davemloft.net>
59559         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59560         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59561         Reimplement to do errno handling inline.
59562         (SYSCALL_ERROR_HANDLER): New macro.
59563         (__SYSCALL_STRING): Do not do errno handling in asm.
59564         (__CLONE_SYSCALL_STRING): Delete.
59565         (__INTERNAL_SYSCALL_STRING): Delete.
59566         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59567         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59568         (PSEUDO): Reimplement to do errno handling inline.
59569         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59570         (SYSCALL_ERROR_HANDLER): New macro.
59571         (__SYSCALL_STRING): Do not do errno handling in asm.
59572         (__CLONE_SYSCALL_STRING): Delete.
59573         (__INTERNAL_SYSCALL_STRING): Delete.
59574         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59575         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59576         i386.
59577         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59578         (inline_syscall*): Add 'err' argument.
59579         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59580         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59581         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59582         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59584         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59585         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59587 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59589         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59591 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59593         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59594         directive.
59596 2011-08-24  David S. Miller  <davem@davemloft.net>
59598         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59600 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59602         * elf/Makefile: Add rules to build and run unload8 test.
59603         * elf/unload8.c: New file.
59604         * elf/unload8mod1.c: New file.
59605         * elf/unload8mod1x.c: New file.
59606         * elf/unload8mod2.c: New file.
59607         * elf/unload8mod3.c: New file.
59609         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59610         it wasn't used.
59612 2011-08-23  David S. Miller  <davem@davemloft.net>
59614         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59615         subtract stack bias.
59616         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59617         %sp not %fp in calculations.
59618         (_JMPBUF_UNWINDS_ADJ): Likewise.
59620         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59621         (aio_suspend): Call it to force an exception region around the
59622         AIO_MISC_WAIT() invocation.
59624 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59626         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59627         backslash.
59629 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59631         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59632         protection macro.
59633         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59634         and <dl-machine.h>.
59635         (Elf64_FuncDesc): Remove.
59637 2011-08-22  David S. Miller  <davem@davemloft.net>
59639         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59640         sigaltstack check, add missing cfi directives.
59641         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59642         missing cfi directives, and sigaltstack handling.
59644 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59646         [BZ #11724]
59647         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59648         object is seen twice.
59649         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59651         * elf/Makefile (distribute): Add tst-initorder2.c.
59652         (tests): Add tst-initorder2.
59653         (modules-names): Add tst-initorder2a tst-initorder2b
59654         tst-initorder2c tst-initorder2d.  Add rules to build them.
59655         ($(objpfx)tst-initorder2.out): New rule.
59656         * elf/tst-initorder2.c: New file.
59657         * elf/tst-initorder2.exp: New file.
59659 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59661         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59663         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59664         dependencies back to end of function.
59666         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59667         $(elfobjdir)/ld.so.
59669 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59671         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59672         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59673         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59674         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59675         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59676         of __vdso_gettimeofday.
59677         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59678         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59679         attribute_hidden.
59680         (_libc_vdso_platform_setup): Remove initialization of
59681         __vdso_gettimeofday and __vdso_time.
59683 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59685         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59686         and fgetc_unlocked.
59687         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59688         getc_unlocked.
59690         * elf/dl-open.c (add_to_global): Report additions to the global scope
59691         for LD_DEBUG=scopes.
59692         (dl_open_worker): Also print scope of newly loaded dependencies.
59693         (_dl_show_scope): Indicate if there is no scope.
59695         [BZ #13114]
59696         * stdio-common/Makefile (tests): Add bug24.
59697         * stdio-common/bug24.c: New file.
59699 2011-08-19  Andreas Jaeger  <aj@suse.de>
59701         [BZ #13114]
59702         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59703         non-existant file when using close-on-exec mode.
59705 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59707         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59708         the very first instruction.
59710         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59711         the CFI state in the end.
59712         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59713         inclusion of dl-trampoline.h.
59714         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59716 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59718         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59719         expectations for long double.
59721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59722         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59724 2011-08-14  David S. Miller  <davem@davemloft.net>
59726         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59727         artificual limit depends upon the system page size.
59729 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59731         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59732         * resolv/Makefile: Define CFLAGS-libresolv.
59734 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59736         * nss/makedb.c (compute_tables): Make variables used in nested
59737         function static.
59739 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59741         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59742         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59743         if buffer was too small.
59745         * elf/pldd.c (main): Attach to all threads in the process.
59746         Rewrite /proc handling to use *at functions.
59748 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59750         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59751         specifies first scope to show.
59752         (dl_open_worker): Update callers.  Move printing scope of new
59753         object to before the relocation.
59754         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59755         * sysdeps/generic/ldsodefs.h: Update declaration.
59757         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59758         string for the scope number.
59760 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59762         * nscd/servicescache.c (cache_addserv): Make sure written is always
59763         initialized.
59765 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59767         * sysdeps/i386/i486/bits/atomic.h
59768         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59769         statement expression, so as to suppress "set but not used" warning.
59770         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59772         * string/strncat.c (STRNCAT): Use prototype definition.
59774         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59775         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59776         -Iprograms here.
59777         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59778         (localedef-modules): Add localedef.
59779         (locale-modules): Add locale.
59781         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59782         * elf/rtld.c (dl_main): Invert order of assignment in last change,
59783         to avoid a warning.
59785 2011-08-14  David S. Miller  <davem@davemloft.net>
59787         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59788         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59790 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
59792         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59793         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59794         * elf/rtld.c (dl_main): Set l_name of vDSO.
59795         Call _dl_show_scope when DL_DEBUG_SCOPES.
59796         (process_dl_debug): Recognize scopes flag and also set it for all.
59797         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59798         Declare _dl_show_scope.
59800         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59801         (do_dlopen): Pass caller_dlopen to dl_open.
59802         (__libc_dlopen_mode): Initialize caller_dlopen.
59804         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59805         of libc.  Make tolower call locale-independent.  Optimize a bit by
59806         using isdigit instead of isalnum.
59807         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59809 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
59811         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59812         was a dependency or dynamically loaded.
59814 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
59816         * intl/l10nflist.c: Allow architecture-specific pop function.
59817         * sysdeps/x86_64/l10nflist.c: New file.
59819         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59820         classification.
59822 2011-08-10  Andreas Schwab  <schwab@redhat.com>
59824         * include/dirent.h: Add libc_hidden_proto for scandirat and
59825         scandirat64.  Don't declare __scandirat64.
59826         * dirent/scandirat.c: Add libc_hidden_def.
59827         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59828         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59830 2011-08-10  David S. Miller  <davem@davemloft.net>
59832         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59833         enum.
59834         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59835         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59836         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59838 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59840         * Versions.def [libc]: Add GLIBC_2.15.
59841         * dirent/Makefile (routines): Add scandirat and scandirat64.
59842         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59843         GLIBC_2.15.
59844         * dirent/dirent.h: Declare scandirat and scandirat64.
59845         * dirent/scandirat.c: New file.
59846         * dirent/scandirat64.c: New file.
59847         * sysdeps/wordsize-64/scandirat.c: New file.
59848         * sysdeps/wordsize-64/scandirat64.c: New file.
59849         * dirent/opendir.c: Define opendirat.
59850         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59851         using scandirat.
59852         * dirent/scandir64.c: Adjust for scandir.c change.
59853         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59854         __scandirat64, and __scandir_cancel_handler.
59855         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59856         additional parameter and use openat instead of open (outside of ld.so).
59857         Add new __opendir as wrapper around __opendirat.
59858         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59859         here without requiring old scandirat implementation.
59861 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59863         * dirent/scandir.c (cancel_handler): Renamed to
59864         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59865         defined.  Adjust users.
59866         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59867         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59869 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59871         * string/test-string.h (IMPL): Use __STRING to expand name and then
59872         stringify it.
59874         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59875         of cleanups.
59877 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59879         * string/Makefile: Update.
59880         (strop-tests): Append strncat.
59881         * string/test-wcscmp.c: New file.
59882         New comprehensive test for wcscmp.
59883         * string/test-strcmp.c: Update.
59884         (WIDE): New define.
59886 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59888         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59889         line.
59891 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59894         encoding to ACE if AI_IDN.
59896 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59898         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59899         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59901 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59903         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59904         Fix overflow bug in strncat.
59905         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59907         * string/test-strncat.c: Update.
59908         Add new tests for checking overflow bugs.
59910 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59912         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59913         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59914         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59915         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59916         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59917         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59918         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59919         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59920         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59922         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59923         (USE_AS_STRCAT): Define.
59924         Add strcat and strncat support.
59925         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59927 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59929         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59930         __n bigger than INT_MAX+1.
59931         (__strncmp_g): Likewise.
59933 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59935         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59936         * libio/stido.h: Likewise.
59938         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59939         (AF_NFC): Define.
59940         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59941         (AF_NFC): Define.
59943         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59944         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59945         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59946         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59947         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59949         [BZ #13021]
59950         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59951         installed.
59953         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59954         typo.
59955         (_dl_x86_64_save_sse): Likewise.
59957 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59959         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59960         OSXSAVE.
59961         (_dl_x86_64_save_sse): Likewise.
59963         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59965         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59967 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59969         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59970         change.
59971         (_dl_x86_64_save_sse): Use correct AVX check.
59973 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59975         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59976         bug in strncpy/strncat.
59977         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59979 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59981         * string/tester.c (test_strcat): Add tests for different alignments
59982         of source and destination.
59983         (test_strncat): Likewise.
59985 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59987         [BZ #12852]
59988         * posix/glob.c (glob): Check passed in values before using them in
59989         expressions to avoid some overflows.
59990         (glob_in_dir): Likewise.
59992         [BZ #13007]
59993         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59994         check for AVX enablement so that we don't crash with old kernels and
59995         new hardware.
59996         * elf/tst-audit4.c: Add same checks here.
59997         * elf/tst-audit6.c: Likewise.
59999         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60001 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60003         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60005 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60007         * po/cs.po: Update from translation team.
60008         * po/bg.po: Likewise.
60010 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60012         * misc/sys/cdefs.h: Add support for const attribute.
60013         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60014         to gnu_dev_{major,minor,makedev} functions.
60016 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60018         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60020 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60022         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60023         strlen results.
60025 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60027         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60028         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60029         register in order to avoid conflicts with the soft frame pointer
60030         being held in r11 when necessary.
60031         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60032         (INTERNAL_VSYSCALL_NCS): Likewise.
60034 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60036         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60037         * elf/dl-fini.c (_dl_fini): Adjust caller.
60038         * elf/dl-close.c (_dl_close_worker): Likewise.
60039         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60041 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60043         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60044         "aux_cache->nlibs < 0".
60046         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60047         in the reload-count case.
60049 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60051         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60052         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60053         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60054         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60055         * sysdeps/x86_64/multiarch/strcat.S: New file.
60056         * sysdeps/x86_64/multiarch/strncat.S: New file.
60057         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60058         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60059         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60060         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60061         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60062         (USE_AS_STRCAT): Define.
60063         Add strcat and strncat support.
60064         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60065         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60066         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60067         * string/strncat.c: Update.
60068         (USE_AS_STRNCAT): Define.
60069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60070         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60071         and i7.
60072         * sysdeps/x86_64/multiarch/init-arch.h
60073         (bit_Prefer_PMINUB_for_stringop): New.
60074         (index_Prefer_PMINUB_for_stringop): Likewise.
60075         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60076         bit_Prefer_PMINUB_for_stringop.
60078 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60080         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60081         buffer64.
60082         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60083         of casting of buffer.
60084         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60085         buffer32 and buffer64.
60086         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60087         writes instead of casting of buffer.
60088         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60089         buffer32.
60090         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60091         casting of buffer.
60093 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60095         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60097 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60099         * nscd/nscd.c (termination_handler): Don't do anything for a database
60100         if it has not yet been initialized.
60102 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60104         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60106 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60108         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60110 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60112         * po/nl.po: Update from translation team.
60113         * po/sv.po: Likewise.
60115 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60117         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60118         now disallowed by GCC.
60120         * configure.in (use-default-link): Default to yes if a test -shared
60121         link meets our qualifications.
60122         * configure: Regenerated.
60124         * config.make.in (output-format): New variable.
60125         * configure.in: Check for ld --print-output-format support.
60126         * configure: Regenerated.
60127         * Makerules ($(common-objpfx)format.lds)
60128         [$(output-format) != unknown]: Just use $(output-format),
60129         instead of the linker-script munging.
60131 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60133         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60134         of $(common-objpfx)shlib.lds.
60135         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60137         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60138         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60140         * configure.in (-z relro check): Adjust test code to add a large
60141         writable data section after it.
60142         * configure: Regenerated.
60144 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60146         * configure.in (-z relro check): Fix test code to make the variable
60147         truly const.
60148         * configure: Regenerated.
60150 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60152         * nscd/nscd.h (struct traced_file): Define.
60153         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60154         elements.  Add traced_files.
60155         (inotify_fd): Declare.
60156         (register_traced_file): Declare.
60157         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60158         (inotify_fd): Export.
60159         (resolv_conf_descr): Remove.
60160         (nscd_init): Move inotify descriptor creation to main.
60161         Don't register files for notification here.
60162         (register_traced_file): New function.
60163         (invalidate_cache): Don't use reset_res to determine whether to call
60164         res_init, go through the list of registered files.
60165         (main_loop_poll): The inotify descriptors are now stored in the
60166         structures for the traced files.
60167         (main_loop_epoll): Likewise
60168         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60169         to __nss_disable_nscd.
60170         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60171         for a database anymore.  Check the records for all the registered
60172         files instead.
60173         * nss/Makefile (libnss_files-routines): Add files-init.
60174         (libnss_db-routines): Add db-init.
60175         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60176         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60177         * nss/nss_db/db-init.c: New file.
60178         * nss/nss_files/files-init.c: New file.
60179         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60180         __nss_lookup_function.
60181         (__nss_lookup_function): Call nss_load_library.
60182         (nss_load_all_libraries): New function.
60183         (__nss_disable_nscd): Take parameter with callback function for files
60184         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60185         used for the cached services.
60186         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60187         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60188         options for features to all the files in nscd.
60190         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60192 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60194         * csu/elf-init.c (__libc_csu_init): Comment typo.
60196 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60198         * po/pl.po: Update from translation team.
60199         * po/ja.po: Likewise.
60200         * po/ru.po: Likewise.
60201         * po/ko.po: Likewise.
60202         * po/fr.po: Likewise.
60204 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60206         * configure.in (.ctors/.dtors header and trailer check):
60207         Use an empirical test on a built program.
60208         * configure: Regenerated.
60210         * configure.in (-z relro check): Use an empirical test on a built DSO.
60211         Detect, but do not require, on ia64.
60212         * configure: Regenerated.
60214         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60215         Update tests that use readelf to use $READELF instead.
60216         * configure: Regenerated.
60218 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60220         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60221         if the result is not used.
60223 2011-07-05  Andreas Jaeger  <aj@suse.de>
60225         [BZ#9696]
60226         * stdlib/tst-strtod.c: Add testcase.
60228 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60230         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60231         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60232         The latter has a higher limit.  Take additional parameter to pass to
60233         the new function.
60234         (__pathconf): Pass file to __statfs_link_max.
60235         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60236         __statfs_link_max.
60237         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60238         __statfs_link_max.
60240         [BZ #12868]
60241         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60242         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60243         Handle Lustre.
60244         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60245         (__statfs_filesize_max): Likewise.
60246         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60248 2011-07-05  Andreas Jaeger  <aj@suse.de>
60250         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60252 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60254         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60255         `status' variable.
60256         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60257         Likewise.
60259 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60261         * Makefile (strop-tests): Add strncat.
60262         * string/test-strncat.c: New file.
60264 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60266         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60268 2011-06-21  Andreas Jaeger  <aj@suse.de>
60270         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60271         Copy rule from iconvdata/Makefile.
60273 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60275         [BZ #12922]
60276         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60277         but no long options are defined, just return 'W'.
60279 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60281         [BZ #9696]
60282         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60284 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60286         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60287         netgroups to read.
60288         (innetgr): Likewise.
60290 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60292         * config.make.in (install_root): Default to $(DESTDIR).
60294 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60296         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60298 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60300         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60302         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60303         containing directory rather than embedding absolute directory names.
60305         * scripts/check-local-headers.sh: Rewritten using awk.
60306         Match by word, not by line.  Print error messages for matches.
60307         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60309         * Makerules [shlib-lds-flags empty]:
60310         ($(common-objpfx)libc_pic.opts): New target.
60311         ($(common-objpfx)libc_pic.os.clean): New target.
60312         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60314         * config.make.in (OBJCOPY): New variable.
60315         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60316         * configure: Regenerated.
60318         * config.make.in (use-default-link): New variable.
60319         * configure.in (use_default_link): Grok --with-default-link to set it.
60320         * configure: Regenerated.
60321         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60322         (shlib-lds, shlib-lds-flags): Define to empty.
60324         * Makerules (shlib-lds): New variable.
60325         (shlib-lds-flags): New variable.
60326         (build-shlib, build-moduile, build-module-asneeded): Use it.
60327         ($(common-objpfx)libc.so): Use $(shlib-lds).
60328         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60329         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60331         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60332         DT_FLAGS/DT_FLAGS_1 with zero flags.
60334         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60335         linker script munging.
60337 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60339         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60340         as 128-bit value.
60341         * crypt/sha512.c (sha512_process_block): Perform total addition using
60342         128-bit if possible.
60343         (__sha512_finish_ctx): Likewise.
60344         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60345         as 64-bit value.
60346         * crypt/sha256.c (SWAP64): Define.
60347         (sha256_process_block): Perform total addition using 64-bit if
60348         possible.
60349         (__sha256_finish_ctx): Likewise.
60351 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60353         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60354         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60355         * nscd/hstcache.c (cache_addhst): Likewise.
60356         * nscd/grpcache.c (cache_addgr): Likewise.
60357         * nscd/aicache.c (addhstaiX): Likewise
60358         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60360 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60362         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60363         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60364         * nscd/hstcache.c (cache_addhst): Likewise.
60365         * nscd/grpcache.c (cache_addgr): Likewise.
60366         * nscd/aicache.c (addhstaiX): Likewise
60368 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60370         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60371         domain only when needed.
60373 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60375         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60376         is always restored.
60378 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60380         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60381         are re-adding the entry.
60382         * nscd/servicescache.c (cache_addserv): Likewise.
60384 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60386         * sysdeps/generic/dl-irel.h: fix protection against multiple
60387         inclusions.
60388         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60390 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60392         [BZ #12935]
60393         * malloc/memusage.sh: Fix quoting in message.
60394         * debug/xtrace.sh: Likewise.
60396         * configure.in: Remove support for --experimental-malloc option, make
60397         it the default.
60398         * config.make.in: Likewise.
60399         * malloc/Makefile: Likewise.
60401 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60403         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60404         two-byte characters.
60406 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60408         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60409         AC_CACHE_CHECK invocation.
60410         * configure: Regenerated.
60412         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60414 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60416         [BZ #12350]
60417         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60418         bit from old_res_options.
60420         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60422         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60423         value type for setfct.
60425 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60427         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60428         __gettimeofday instead of gettimeofday.
60430 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60432         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60434 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60436         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60438         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60439         info.
60441 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60443         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60444         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60445         strcpy-sse2-unaligned strncpy-sse2-unaligned
60446         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60447         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60448         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60449         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60450         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60451         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60452         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60453         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60454         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60455         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60456         (STRCPY): Support SSE2 and SSSE3 versions.
60458 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60460         [BZ #12874]
60461         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60462         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60463         kernels which artificially limit size of requests.
60465 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60467         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60468         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60469         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60470         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60471         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60472         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60473         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60474         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60475         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60476         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60477         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60478         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60479         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60480         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60481         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60482         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60483         Enable unaligned load optimization for Intel Core i3, i5 and i7
60484         processors.
60485         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60486         Define.
60487         (index_Fast_Unaligned_Load): Define.
60488         (HAS_FAST_UNALIGNED_LOAD): Define.
60490 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60492         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60494 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60496         [BZ #12907]
60497         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60498         until it is clear that the information is realy needed.
60499         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60501 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60503         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60505 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60507         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60508         /sys/devices/system/cpu/online if it is usable.
60510         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60511         reading the information from the /proc filesystem to once a second.
60513 2011-06-21  Andreas Jaeger  <aj@suse.de>
60515         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60516         NULL after inclusion of kernel headers.
60518 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60520         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60521         calls to internal_setent.
60523         [BZ #12885]
60524         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60525         addresses using gethostbyname4_r ignore IPv4 addresses.
60527         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60528         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60530         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60532 2011-06-20  David S. Miller  <davem@davemloft.net>
60534         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60535         inclusions.
60536         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60538         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60539         (elf_irel): Use it.
60540         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60541         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60542         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60543         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60544         * sysdeps/x86_64/dl-irel.h: Likewise.
60546         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60547         * elf/dl-sym.c: Likewise.
60549 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60551         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60552         need to dereference resplen2.
60554 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60556         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60558 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60560         * Makeconfig: Define vardbdir and inst_vardbdir.
60561         * nss/Makefile: Add rules to install db-Makefile.
60563         * nss/nss_db/db-XXX.c: Cleanup.
60565         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60566         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60567         GLIBC_PRIVATE.
60568         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60569         * nss/makedb.c: Implement -g option to specify that value strings
60570         are generated and should not be added to table iterated over for
60571         get*ent calls.
60572         * nss/nss_db/db-initgroups.c: New file.
60574         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60575         interface.
60577         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60578         (internal_getgrouplist): Adjust to name change.
60579         Update use_initgroups_entry if this is not the first call.
60580         * nss/databases.def: Add initgroups entry.
60582         * nss/makedb.c (compute_tables): Check result of multiple hash table
60583         sizes to minimize maximum chain length.
60585 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60587         * Versions.def: Add entry for libnss_db.
60588         * shlib-versions: Likewise.
60589         * nss/Makefile: Add rules to build libnss_db.
60590         * nss/Versions: Add libnss_db information.  Organize libnss_files
60591         entries better.
60592         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60593         makedb progra.  Some minor improvements to generate smaller files.
60594         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60595         here from...
60596         * nss/makedb.c: ...here.
60597         Improve database format to be smaller and require less memory at
60598         runtime.
60599         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60600         db anymore.
60601         * nss/nss_db/db-netgrp.c: Likewise.
60602         * nss/nss_db/db-open.c: Likewise.
60603         * nss/nss_files/flies-XXX.x: Adjust comments.
60604         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60605         * nss/nss_files/files-grp.c: Likewise.
60606         * nss/nss_files/files-hosts.c: Likewise.
60607         * nss/nss_files/files-network.c: Likewise.
60608         * nss/nss_files/files-proto.c: Likewise.
60609         * nss/nss_files/files-pwd.c: Likewise.
60610         * nss/nss_files/files-rpc.c: Likewise.
60611         * nss/nss_files/files-service.c: Likewise.
60612         * nss/nss_files/files-sgrp.c: Likewise.
60613         * nss/nss_files/files-spwd.c: Likewise.
60614         * nss/nss_db/db-alias.c: Removed.
60615         * nss/nss_db/dummy-db.h: Removed.
60617 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60619         * nss/makedb.c: Rewritten to not use database library.
60620         * nss/Makefile: Update to build new makedb program.
60622 2011-06-14  Andreas Jaeger  <aj@suse.de>
60624         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60625         memset declaration.
60627 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60629         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60630         tmpbuf.
60632 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60634         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60635         * elf/Makefile ($(objpfx)ld.so): Likewise.
60637         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60638         Don't list ld.so twice in dependencies.
60640         * posix/bug-regex31.c: Include <stdlib.h>.
60642         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60644         * nis/nss_compat/compat-spwd.c
60645         (getspent_next_nss_netgr): Remove unused variable.
60646         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60648         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60649         nonmembers" output to use the right array.
60651         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60653         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60655         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60656         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60657         * catgets/gencat.c (read_input_file): Likewise.
60658         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60660         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60661         variable definition inside #if's controlling its use.
60663         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60665         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60667         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60669         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60670         unreachable code.
60672         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60674         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60675         * configure: Regenerated.
60677         * Makerules: Revert last change.
60678         * elf/Makefile: Likewise.
60680 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60682         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60683         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60684         (reloc-link): Likewise.
60686 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60688         * elf/Makefile: Add rules to build pldd.
60689         * elf/pldd.c: New file.
60690         * elf/pldd-xx.c: New file.
60692 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60694         * version.h: Update for 2.15 development version.
60696 2011-06-07  David S. Miller  <davem@davemloft.net>
60698         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60699         ifuncs.
60700         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60701         elf_machine_lazy_rel): Likewise.
60702         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60703         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60704         elf_machine_lazy_rel): Likewise.
60705         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60706         dl_hwcap via passed in argument.
60707         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60708         Likewise.
60710 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60712         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60714 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60716         [BZ #12849]
60717         * manual/fdl-1.1.texi: New file, verbatim from:
60718         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60719         * manual/lgpl-2.1.texi: New file, verbatim from:
60720         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60721         * manual/Makefile (licenses): New variable, list those new file names.
60722         (texis): Use it.
60723         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60725         * manual/fdl.texi: File removed.
60726         * manual/lesser.texi: File removed.
60727         * manual/libc.texinfo (Copying, Documentation License):
60728         Use new @include file names, put @appendix directive before @include.
60730 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60732         [BZ #12841]
60733         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60734         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60735         (mq_open): Add __NTH.
60737 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60739         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60740         Assume Intel Core i3/i5/i7 processor if AVX is available.
60742 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60744         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60745         typo.
60747 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60749         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60750         memory.  Use alloca_account.  Fix memory leak when retrying.
60752 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60754         * version.h (RELEASE): Bump for 2.14 release.
60755         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60757         * config.make.in (RANLIB): Remove entry.
60759 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60761         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60762         (libc.pot): Work around missing support for .ksh extension in xgettext.
60764         [BZ #12684]
60765         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60766         if both request failed.
60767         (send_dg): In case of server errors clear resplen or *resplen2.
60769         [BZ #12454]
60770         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60771         when there are multiple maps.
60772         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60773         (_dl_fini): Remove test here.
60775         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60777 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
60779         [BZ #12350]
60780         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60781         bit from old_res_options.
60782         (gaih_inet): Likewise.
60784         [BZ #11099]
60785         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60786         as signed.
60788         * resolv/res_init.c (res_setoptions): Make the code more compact.
60790         [BZ #11558]
60791         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60792         set RES_USEVC.
60794         [BZ #11634]
60795         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60797         * malloc/malloc.h: Mark malloc hook variables as deprecated.
60799         [BZ #11781]
60800         * malloc/malloc.h: Declare malloc hook variables as volatile.
60802         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60803         in last patch.
60805         [BZ #11799]
60806         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60807         raise in the comment.
60808         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60809         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60810         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60812 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
60814         [BZ #12811]
60815         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60816         grow the buffers more if it already has to be sufficient.
60817         (build_wcs_upper_buffer): Likewise.
60818         * posix/regexec.c (check_matching): Likewise.
60819         (clean_state_log_if_needed): Likewise.
60820         (extend_buffers): Don't enlarge buffers beyond size of the input
60821         buffer.
60822         Patches mostly by Emil Wojak <emil@wojak.eu>.
60823         * posix/bug-regex32.c: New file.
60824         * posix/Makefile (tests): Add bug-regex32.
60826         * locale/findlocale.c (_nl_find_locale): Return right away if
60827         _nl_explode_name failed.
60828         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60830         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60832         * debug/xtrace.sh: Unify messages.
60833         * malloc/memusage.sh: Likewise.
60835         [BZ #12813]
60836         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60837         time symbol from vDSO.  Substitute with vsyscall if not available.
60838         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60839         __vdso_time.
60841         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60842         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60843         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60844         Add sendmmsg and internal_sendmmsg.
60845         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60846         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60847         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60849         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60850         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60851         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60853 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60855         [BZ #12813]
60856         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60857         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60858         available.
60859         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60860         __vdso_getcpu.
60862         [BZ #12814]
60863         * iconvdata/Makefile (tests): Add bug-iconv9.
60864         * iconvdata/bug-iconv9.c: New file.
60866 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60868         [BZ #12814]
60869         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60871 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60873         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60874         (struct user_regs_struct): Change intcs field back to cs.
60876 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60878         * po/ja.po: Update from translation team.
60880 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60882         [BZ #12795]
60883         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60884         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60886 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60888         * stdlib/longlong.h: Update from GCC.
60890 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60892         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60893         parameter name.
60894         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60895         Add parameter name.
60896         (__sysconf): Pass it down.
60898 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60900         [BZ #12671]
60901         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60902         some situations.
60903         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60904         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60905         add in in __libc_use_alloca calls.  Adjust callers.
60906         (glob): Use malloc in some situations.
60908         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60909         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60910         pltexit.
60912 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60914         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60915         and CLOCK_BOOTTIME_ALARM.
60917         [BZ #12782]
60918         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60919         is returned.
60921         * string/_strerror.c (__strerror_r): Print negative errors as signed
60922         numbers.
60924         [BZ #12777]
60925         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60926         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60927         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60929         * configure.in: Fix typo in redirection and correct removal of test
60930         files in two cases.
60932         [BZ #12788]
60933         * locale/setlocale.c (new_composite_name): Fix test to check for
60934         identical name of all categories.
60936         [BZ #12792]
60937         * libio/filedoalloc.c (local_isatty): New function.
60938         (_IO_file_doallocate): Use local_isatty.
60939         * stdio-common/perror.c (perror): In case a new stream is used
60940         forward the stream error.
60941         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60942         error flag.
60944 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60946         [BZ #11869]
60947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60948         alloca.
60949         * include/alloca.h (extend_alloca_account): Define.
60951         [BZ #11857]
60952         * posix/regex.h: Fix comments with documentation of user-accessible
60953         fields after compilation and describe correct free'ing of pattern
60954         after re_compile_pattern.
60955         Patch by Reuben Thomas <rrt@sc3d.org>.
60957 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60959         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60960         and -mno-altivec to prevent the compiler from using Altivec and/or
60961         VSX instructions when the corresponding registers are not available.
60963 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60965         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60967 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60969         * libio/freopen.c (freopen): Use __dup2, not dup2.
60970         * libio/freopen64.c (freopen64): Likewise.
60972 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60974         [BZ #12775]
60975         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60976         * math/Makefile (tests): Add test-powl.
60977         (CFLAGS-test-powl.c): Define.
60978         * math/test-powl.c: New file.
60980 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60982         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60984 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60986         [BZ #11837]
60987         * iconvdata/gb18030.c: Update to GB18020-2005.
60989 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60991         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60992         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60993         Patch by Aharon Robbins <arnold@skeeve.com>.
60995         [BZ #11892]
60996         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60997         on the stack.
60999         [BZ #11895]
61000         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61001         through underflows.
61003         [BZ #12766]
61004         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61005         point to strings before performing equality test for error_one_per_line
61006         mode.
61008         [BZ #11697]
61009         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61011         [BZ #11820]
61012         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61013         (struct user_fpregs_struct): Avoid __uint*_t types.
61015         [BZ #6420]
61016         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61017         symbol info.  Use it instead of calling _dl_addr locally.
61018         (lock_and_info): New function.
61019         (tr_freehook): Call lock_and_info and pass symbol info as additional
61020         parameter to tr_where.
61021         (tr_mallochook): Likewise.
61022         (tr_reallochook): Likewise.
61023         (tr_memalignhook): Likewise.
61025         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61026         used and couldn't be at all thread-safe.
61028 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61030         * libio/freopen.c (freopen): Don't close old file descriptor
61031         before the new one is opened.  Instead dup the new file descriptor
61032         to the old one after the new stream is created.
61033         * libio/freopen64.c (freopen64): Likewise.
61034         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61035         * libio/fileops.c (_IO_new_file_close_it): Handle new
61036         _IO_FLAGS2_NOCLOSE flag.
61037         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61038         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61039         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61040         _IO_FLAGS2_NOCLOSE flag.
61041         * include/unistd.h: Add hidden_proto for dup3.
61042         Define __have_dup3.
61043         * io/dup3.c: Define hidden symbol.
61044         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61046         [BZ #7101]
61047         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61048         when an incomplete long option is used.
61049         * posix/tst-getopt_long1.c: New file.
61050         * posix/Makefile (tests): Add tst-getopt_long1.
61052         [BZ #10138]
61053         * scripts/config.guess: Update from autoconf-2.68.
61054         * scripts/config.sub: Likewise.
61056         [BZ #10157]
61057         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61058         tests into ...
61059         (has_cpuclock): ...this.  New function.
61060         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61061         macro here based on has_cpuclock code.
61063         [BZ #10149]
61064         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61065         First byte (not low byte) is now always NUL.
61066         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61068         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61069         Use non-cancelable interfaces.
61071         [BZ #9809]
61072         * locale/iso-639.def: Add entry for Sorani.
61074         [BZ #11901]
61075         * include/stdlib.h: Move include protection to the right place.
61076         Define abort_msg_s.  Declare __abort_msg with it.
61077         * stdlib/abort.c (__abort_msg): Adjust type.
61078         * assert/assert.c (__assert_fail_base): New function.  Majority
61079         of code from __assert_fail.  Allocate memory for __abort_msg with
61080         mmap.
61081         (__assert_fail): Now call __assert_fail_base.
61082         * assert/assert-perr.c: Remove bulk of implementation.  Use
61083         __assert_fail_base.
61084         * include/assert.hL Declare __assert_fail_base.
61085         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61086         mmap.
61087         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61089 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61091         [BZ #11952]
61092         [BZ #12453]
61093         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61094         until all modules are registered in the DTV.
61095         * elf/Makefile: Add rules to build and run tst-tls19.
61096         * elf/tst-tls19.c: New file.
61097         * elf/tst-tls19mod1.c: New file.
61098         * elf/tst-tls19mod2.c: New file.
61099         * elf/tst-tls19mod3.c: New file.
61100         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61102         [BZ #12083]
61103         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61104         correctly.
61106         [BZ #12601]
61107         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61108         two-byte sequence errors.
61109         * iconvdata/Makefile (tests): Add bug-iconv8.
61110         * iconvdata/bug-iconv8.c: New file.
61112         [BZ #12626]
61113         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61114         buf2 definition.
61116         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61118         [BZ #12432]
61119         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61120         (dummy_getcfa): New function.
61121         (init): Get _Unwind_GetCFA address, use dummy if not found.
61122         (backtrace_helper): In recursion check, also check whether CFA changes.
61123         (__backtrace): Completely initialize arg.
61125         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61126         storing incomplete byte sequence in state object.  Avoid testing for
61127         guaranteed too small input if we know there is enough data available.
61129 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61131         * Makeconfig (+link-pie): Indent.
61132         * Rules (binaries-pie): Define if $(have-fpie) and
61133         $(build-shared).
61134         (binaries-shared): Also filter out $(binaries-pie).
61135         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61136         * nscd/Makefile (others-pie): Add nscd.
61137         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61138         ($(objpfx)nscd): Remove command override.
61139         * login/Makefile (others-pie): Add pt_chown.
61140         ($(objpfx)pt_chown): Remove command override.
61141         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61142         remove command overrides.
61144 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61146         * libio/tst_putwc.c: Fix error messages.
61148         [BZ #12724]
61149         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61150         currently writing and seek to current position when not.
61151         * libio/Makefile (tests): Add bug-fclose1.
61152         * libio/bug-fclose1.c: New file.
61154 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61156         [BZ #12511]
61157         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61158         don't set DF_1_NODELETE here.
61159         (do_lookup_x): When entering new entry test for copy relocation
61160         and if necessary set DF_1_NODELETE flag.
61161         * elf/tst-unique4.cc: New file.
61162         * elf/tst-unique4.h: New file.
61163         * elf/tst-unique4lib.cc: New file.
61164         * elf/Makefile: Add rules to build and run tst-unique4.
61165         Patch by Piotr Bury <pbury@goahead.com>.
61167 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61169         [BZ #12052]
61170         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61172         [BZ #12625]
61173         * misc/mntent_r.c (addmntent): Flush the stream after the output
61175         [BZ #12393]
61176         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61177         (is_trusted_path_normalize): Skip initial colon.  Append slash
61178         to empty buffer.  Duplicate is_trusted_path code but allow
61179         constructed patch to be prefix.
61180         (is_dst): Allow $ORIGIN followed by /.
61181         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61182         Correct testing of result of is_trusted_path_normalize
61183         (decompose_rpath): Fix warning.
61185 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61187         [BZ #11257]
61188         * grp/initgroups.c (internal_getgrouplist): When we found the service
61189         list through the initgroups entry in nsswitch.conf do not always
61190         continue on a successful lookup.  Don't always use the
61191         __nss_group_database value if it is set.
61192         * nss/nsswitch.conf (initgroups): Change action for successful db
61193         lookup to continue for compatibility.
61195 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61197         [BZ #11532]
61198         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61199         and CP774 modules.
61200         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61201         and CP774 modules.
61202         * iconvdata/tst-tables.sh: Likewise.
61203         * iconvdata/cp770.c: New file.
61204         * iconvdata/cp771.c: New file.
61205         * iconvdata/cp772.c: New file.
61206         * iconvdata/cp773.c: New file.
61207         * iconvdata/cp774.c: New file.
61208         * iconvdata/testdata/CP770: New file.
61209         * iconvdata/testdata/CP770..UTF8: New file.
61210         * iconvdata/testdata/CP771: New file.
61211         * iconvdata/testdata/CP771..UTF8: New file.
61212         * iconvdata/testdata/CP772: New file.
61213         * iconvdata/testdata/CP772..UTF8: New file.
61214         * iconvdata/testdata/CP773: New file.
61215         * iconvdata/testdata/CP773..UTF8: New file.
61216         * iconvdata/testdata/CP774: New file.
61217         * iconvdata/testdata/CP774..UTF8: New file.
61219         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61220         END CHARMAP line.
61221         * iconvdata/gen-8bit-gap.sh: Likewise.
61222         * iconvdata/gen-8bit.sh: Likewise.
61224         * locale/iso-639.def: Add ary entry.
61226         [BZ #11258]
61227         * locale/C-translit.h.in: Add U20A1 transliteration.
61229         [BZ #12178]
61230         * locale/iso-639.def: Add wae entry.
61231         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61233         [BZ #12545]
61234         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61235         for n.
61237         [BZ #12711]
61238         * locale/C-translit.h.in: Add entry for U20B9.
61239         Patch by pravin.d.s@gmail.com.
61241 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61243         [BZ #12713]
61244         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61245         ENAMETOOLONG use generic getcwd.
61246         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61247         in rtld.  Use *stat64.
61248         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61249         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61250         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61251         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61252         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61253         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61254         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61255         __fstatat64 macros.
61256         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61257         * dirent/rewinddir.c: Add libc_hidden_def.
61258         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61259         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61261         * include/dirent.h (__alloc_dir): Add flags parameter.
61262         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61263         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61264         __alloc_dir.
61265         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61266         from fdopendir if O_CLOEXEC is already set.
61268 2011-03-15  Alan Modra  <amodra@gmail.com>
61270         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61271         l_tls_firstbyte_offset non-zero.  Save padding offset in
61272         l_tls_firstbyte_offset for later use.
61273         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61274         freeing static tls block.
61276 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61278         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61279         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61280         being defined by the kernel headers.
61282 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61284         [BZ #12734]
61285         * resolv/resolv.h: Define RES_NOTLDQUERY.
61286         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61287         no-tld-query and set RES_NOTLDQUERY.
61288         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61289         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61290         modern BIND to search name as TLD unless forbidden.
61292 2011-05-07  Petr Baudis  <pasky@suse.cz>
61293             Ulrich Drepper  <drepper@gmail.com>
61295         [BZ #12393]
61296         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61297         (is_trusted_path): ...to here.
61298         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61299         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61300         using is_trusted_path_normalize() in setuid scripts.
61302 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61304         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61305         __BEGIN/__END_DECLS.
61307 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61309         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61310         NSS_STATUS_NOTFOUND if no record was found.
61312 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61314         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61315         (headers-not-in-tirpc): Remove rpc/netdb.h
61316         * resolv/netdb.h: Revert last change.
61318 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61320         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61321         circular dependency between libgcc.a and libc.a.
61323 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61325         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61326         * nis/Makefile: Don't install rpcsvc/*.
61327         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61328         instead of <rpc/types.h>.
61329         (MAXHOSTNAMELEN): Define.
61331 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61333         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61335 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61337         [BZ #12714]
61338         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61339         gethostbyname4_r when IPv6 results are possible.
61341 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61343         [BZ #12723]
61344         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61345         _PC_PIPE_BUF handling.
61347 2011-04-30  Bruno Haible  <bruno@clisp.org>
61349         [BZ #12717]
61350         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61351         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61352         to 'int'.
61353         * inet/getnameinfo.c (getnameinfo): Likewise.
61355 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61357         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61358         to groups setting in database lookup.
61359         * nss/nsswitch.conf: Add initgroups entry.
61361 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61363         [BZ #12685]
61364         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61365         mode string.
61366         Patch by Eric Blake <eblake@redhat.com>.
61368 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61370         * sunrpc/Makefile (need-export-routines): Add svc_run.
61371         (routines): Remove svc_run.
61372         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61373         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61374         * sunrpc/svc_run.c (svc_run): Likewise.
61375         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61377 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61379         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61380         problem in reallocation in last patch.
61382 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61384         * sunrpc/Makefile: Move inclusion of Rules.
61386 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61388         * nss/nss_files/files-initgroups.c: New file.
61389         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61390         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61391         _nss_files_initgroups_dyn.
61393 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61395         * elf/elf.h (R_ARM_IRELATIVE): Define.
61397 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61399         * po/ru.po: Update from translation team.
61401 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61403         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61404         dependencies.
61406 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61408         [BZ #12653]
61409         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61410         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61411         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61412         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61413         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61415 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61417         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61418         differing bytes.
61419         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61420         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61421         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61423 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61425         [BZ #12420]
61426         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61427         storing it.
61428         * stdlib/bug-getcontext.c: New file.
61429         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61431 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61433         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61434         instructions into .machine "z9-109".
61435         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61436         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61438 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61440         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61441         between environment variables and auxiliary vector.
61443 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61445         * Makefile: Add rules to build linkobj/libc.so.
61446         * include/libc-symbols.h: Define libc_hidden_nolink.
61447         * include/rpc/auth.h: Mark functions which are to be hidden.
61448         * include/rpc/auth_des.h: Likewise.
61449         * include/rpc/auth_unix.h: Likewise.
61450         * include/rpc/clnt.h: Likewise.
61451         * include/rpc/des_crypt.h: Likewise.
61452         * include/rpc/key_prot.h: Likewise.
61453         * include/rpc/pmap_clnt.h: Likewise.
61454         * include/rpc/pmap_prot.h: Likewise.
61455         * include/rpc/pmap_rmt.h: Likewise.
61456         * include/rpc/rpc_msg.h: Likewise.
61457         * include/rpc/svc.h: Likewise.
61458         * include/rpc/svc_auth.h: Likewise.
61459         * include/rpc/xdr.h: Likewise.
61460         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61461         * nss/Makefile: Likewise.
61462         * sunrpc/Makefile: Don't install headers.  Build library with normal
61463         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61464         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61465         for the compat linking library.  Remove use of INTDEF/INTUSE.
61466         * sunrpc/auth_none.c: Likewise.
61467         * sunrpc/auth_unix.c: Likewise.
61468         * sunrpc/authdes_prot.c: Likewise.
61469         * sunrpc/authuxprot.c: Likewise.
61470         * sunrpc/clnt_gen.c: Likewise.
61471         * sunrpc/clnt_perr.c: Likewise.
61472         * sunrpc/clnt_raw.c: Likewise.
61473         * sunrpc/clnt_simp.c: Likewise.
61474         * sunrpc/clnt_tcp.c: Likewise.
61475         * sunrpc/clnt_udp.c: Likewise.
61476         * sunrpc/clnt_unix.c: Likewise.
61477         * sunrpc/des_crypt.c: Likewise.
61478         * sunrpc/des_soft.c: Likewise.
61479         * sunrpc/get_myaddr.c: Likewise.
61480         * sunrpc/key_call.c: Likewise.
61481         * sunrpc/key_prot.c: Likewise.
61482         * sunrpc/netname.c: Likewise.
61483         * sunrpc/pm_getmaps.c: Likewise.
61484         * sunrpc/pm_getport.c: Likewise.
61485         * sunrpc/pmap_clnt.c: Likewise.
61486         * sunrpc/pmap_prot.c: Likewise.
61487         * sunrpc/pmap_prot2.c: Likewise.
61488         * sunrpc/pmap_rmt.c: Likewise.
61489         * sunrpc/publickey.c: Likewise.
61490         * sunrpc/rpc_cmsg.c: Likewise.
61491         * sunrpc/rpc_common.c: Likewise.
61492         * sunrpc/rpc_dtable.c: Likewise.
61493         * sunrpc/rpc_prot.c: Likewise.
61494         * sunrpc/rpc_thread.c: Likewise.
61495         * sunrpc/rtime.c: Likewise.
61496         * sunrpc/svc.c: Likewise.
61497         * sunrpc/svc_auth.c: Likewise.
61498         * sunrpc/svc_authux.c: Likewise.
61499         * sunrpc/svc_raw.c: Likewise.
61500         * sunrpc/svc_run.c: Likewise.
61501         * sunrpc/svc_simple.c: Likewise.
61502         * sunrpc/svc_tcp.c: Likewise.
61503         * sunrpc/svc_udp.c: Likewise.
61504         * sunrpc/svc_unix.c: Likewise.
61505         * sunrpc/svcauth_des.c: Likewise.
61506         * sunrpc/xcrypt.c: Likewise.
61507         * sunrpc/xdr.c: Likewise.
61508         * sunrpc/xdr_array.c: Likewise.
61509         * sunrpc/xdr_float.c: Likewise.
61510         * sunrpc/xdr_intXX_t.c: Likewise.
61511         * sunrpc/xdr_mem.c: Likewise.
61512         * sunrpc/xdr_rec.c: Likewise.
61513         * sunrpc/xdr_ref.c: Likewise.
61514         * sunrpc/xdr_sizeof.c: Likewise.
61515         * sunrpc/xdr_stdio.c: Likewise.
61517 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61519         [BZ #12650]
61520         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61521         * sysdeps/ia64/dl-tls.h: Likewise.
61522         * sysdeps/powerpc/dl-tls.h: Likewise.
61523         * sysdeps/s390/dl-tls.h: Likewise.
61524         * sysdeps/sh/dl-tls.h: Likewise.
61525         * sysdeps/sparc/dl-tls.h: Likewise.
61526         * sysdeps/x86_64/dl-tls.h: Likewise.
61527         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61529 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61531         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61532         rpath element also skip the following colon.
61533         (expand_dynamic_string_token): Add is_path parameter and pass
61534         down to DL_DST_REQUIRED and _dl_dst_substitute.
61535         (decompose_rpath): Call expand_dynamic_string_token with
61536         non-zero is_path.  Ignore empty rpaths.
61537         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61538         with zero is_path.
61540 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61543         Make cancelable.
61545 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61547         [BZ #12655]
61548         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61549         Patch by Filipe David Manana <fdmanana@apache.org>.
61551 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61553         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61554         Maintain aligned stack.
61555         (CHECK_RSP): Remove unused macro.
61557 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61559         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61560         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61562 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61564         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61566         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61568 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61570         [BZ #12518]
61571         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61572         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61573         * sysdeps/x86_64/memmove.c: New file.
61574         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61575         (memcpy): Renamed to ...
61576         (__new_memcpy): This.
61577         (memcpy): Provide GLIBC_2_14 memcpy.
61578         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61579         (memcpy): Provide GLIBC_2_2_5 memcpy.
61581 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61583         [BZ #12631]
61584         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61586 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61588         * misc/syncfs.c: New file.
61589         * misc/Makefile (routines): Add syncfs.
61590         * posix/unistd.h: Declare syncfs.
61591         * sysdeps/unix/syscalls.list: Add syncfs.
61593 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61595         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61596         open_by_handle_at.
61597         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61598         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61599         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61600         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61601         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61602         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61603         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61605 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61607         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61608         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61609         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61610         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61611         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61612         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61613         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61615         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61616         sync_file_range.c with -fexceptions.
61617         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61618         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61619         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61620         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61621         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61622         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61623         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61624         sync_file_range as cancellation point
61625         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61626         now a wrapper around __call_sync_file_range with cancellation handling.
61627         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61628         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61629         function name to __call_sync_file_range.
61630         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61631         Add call_sync_file_range.
61633 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61635         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61636         bits/timex.h.
61638 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61640         * iconv/iconv.h: Fix typo in comment.
61641         * io/fcntl.h: Likewise.
61642         * libio/stdio.h: Likewise.
61643         * posix/spawn.h: Likewise.
61644         * posix/unistd.h: Likewise.
61645         * stdlib/stdlib.h: Likewise.
61646         * time/time.h: Likewise.
61647         * wcsmbs/wchar.h: Likewise.
61649         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61650         open_by_handle): Add.
61651         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61652         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61653         Augment a few comments.
61654         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61655         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61656         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61657         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61658         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61659         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61660         open_by_handle.
61662         * io/fcntl.h (AT_EMPTY_PATH): Define.
61664 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61666         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61667         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61668         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61669         to...
61670         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61671         * Versions.def: Add GLIBC_2.14.
61672         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61673         Export.
61675 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61677         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61678         round counter.
61679         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61681 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61683         [BZ #12597]
61684         * string/test-strncmp.c (do_page_test): New function.
61685         (check2): Likewise.
61686         (test_main): Call check2.
61687         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61689 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61691         [BZ #12587]
61692         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61693         Handle cache information in CPU leaf 4.
61694         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61696 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61698         [BZ #12583]
61699         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61700         character representation.
61701         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61703 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61705         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61706         END(__isnan) to END(__isnanf) to match function entry point/label
61707         EALIGN(__isnanf,...).
61709 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61711         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61713 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61715         [BZ #12510]
61716         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61717         copy from the symbol referenced in the relocation to initialize the
61718         used variable.
61719         Patch by Piotr Bury <pbury@goahead.com>.
61720         * elf/Makefile: Add rules to build and tst-unique3.
61721         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61722         * elf/tst-unique3.cc: New file.
61723         * elf/tst-unique3.h: New file.
61724         * elf/tst-unique3lib.cc: New file.
61725         * elf/tst-unique3lib2.cc: New file.
61727         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61729 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61731         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61732         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61733         to _start.
61735 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61737         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61738         to-be-loaded object along a path to loader is ld.so.
61740 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61741             Ulrich Drepper  <drepper@gmail.com>
61743         * sysdeps/x86_64/memset.S: After aligning destination, code
61744         branches to different locations depending on the value of
61745         misalignment, when multiarch is enabled. Fix this.
61747 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61749         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61750         Set _x86_64_preferred_memory_instruction for AMD processsors.
61751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61752         Set bit_Prefer_SSE_for_memop for AMD processors.
61754 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61756         * libio/fmemopen.c (fmemopen): Optimize a bit.
61758 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61760         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61762 2011-03-03  Roland McGrath  <roland@redhat.com>
61764         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61766 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61768         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61769         __bzero_ultra1 instead of __memset_ultra1.
61771 2011-02-23  Andreas Schwab  <schwab@redhat.com>
61772             Ulrich Drepper  <drepper@gmail.com>
61774         [BZ #12509]
61775         * include/link.h (struct link_map): Add l_orig_initfini.
61776         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61777         returning unsuccessfully.
61778         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61779         close of a file loaded at startup, restore the original l_initfini
61780         list.
61781         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61782         list, store the pointer.
61783         * elf/Makefile ($(objpfx)noload-mem): New rule.
61784         (noload-ENV): Define.
61785         (tests): Add $(objpfx)noload-mem.
61786         * elf/noload.c: Include <memcheck.h>.
61787         (main): Call mtrace.  Close all opened handles.
61789 2011-02-17  Andreas Schwab  <schwab@redhat.com>
61791         [BZ #12454]
61792         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61793         dependencies are missing.
61795 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61797         Fix __if_freereq crash: Unlike the generic version which uses free,
61798         Hurd needs munmap.
61799         * sysdeps/mach/hurd/ifreq.h: New file.
61801 2011-01-27  Petr Baudis  <pasky@suse.cz>
61802             Ulrich Drepper  <drepper@gmail.com>
61804         [BZ 12445]#
61805         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61806         to extend_alloca().
61807         * stdio-common/bug23.c: New file.
61808         * stdio-common/Makefile (tests): Add bug23.
61810 2010-09-28  Andreas Schwab  <schwab@redhat.com>
61811             Ulrich Drepper  <drepper@gmail.com>
61813         [BZ #12489]
61814         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61815         before performing relro protection.  At old place add assertion
61816         to make sure nothing changed.
61818 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
61819             Glauber de Oliveira Costa  <glommer@gmail.com>
61821         * elf/elf.h: Add new ARM TLS relocs.
61823 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
61825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61826         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61827         cast from r3.
61828         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
61829         'tests' variable.
61830         * sysdeps/wordsize-64/tst-writev.c: New file.
61832 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
61834         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61835         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61836         insns in _dl_start to prevent a TOC reference before relocs are
61837         resolved.
61839 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61841         [BZ #12469]
61842         * Makeconfig: Remove RANLIB definition.
61843         * Makerules: Don't use RANLIB.
61844         * aclocal.m4: Remove ranlib test.
61845         * configure.in: No need to check for ranlib.
61846         * elf/rtld-Rules: Don't use RANLIB.
61848 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61850         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61851         protection macro.
61852         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61853         inclusion protection macro.
61855         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61856         SIGRTMIN and SIGRTMAX and print information in that case only when
61857         SIGRTMIN is defined.
61859 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61861         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61862         arginfo fn returning -1.
61864         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61865         and thousands string is zero terminated.
61867 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61869         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61870         sysdeps/unix/sysv/linux/bits/socket.h.
61872 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61874         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61875         (__CPU_COUNT): Remove old macros.
61876         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61877         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61878         (__CPU_ALLOC, __CPU_FREE): Add macros.
61879         (__sched_cpualloc, __sched_cpufree): Add declarations.
61881 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61883         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61884         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61885         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61886         (readdhstai): Return value of addhstaiX call.
61887         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61888         (addgrbyX): Return value returned by cache_addgr.
61889         (readdgrbyname): Return value returned by addgrbyX.
61890         (readdgrbygid): Likewise.
61891         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61892         (addpwbyX): Return value returned by cache_addpw.
61893         (readdpwbyname): Return value returned by addhstbyX.
61894         (readdpwbyuid): Likewise.
61895         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61896         (addservbyX): Return value returned by cache_addserv.
61897         (readdservbyname): Return value returned by addservbyX:
61898         (readdservbyport): Likewise.
61899         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61900         (addhstbyX): Return value returned by cache_addhst.
61901         (readdhstbyname): Return value returned by addhstbyX.
61902         (readdhstbyaddr): Likewise.
61903         (readdhstbynamev6): Likewise.
61904         (readdhstbyaddrv6): Likewise.
61905         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61906         (readdinitgroups): Return value returned by addinitgroupsX.
61907         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61908         (prune_cache): Keep track of timeout value of re-added entries.
61909         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61910         * nscd/nscd.h: Adjust prototypes of readd* functions.
61912 2011-02-04  Roland McGrath  <roland@redhat.com>
61914         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61915         (nis_stats): Likewise.
61916         * nis/nis_modify.c (nis_modify): Likewise.
61917         * nis/nis_remove.c (nis_remove): Likewise.
61918         * nis/nis_add.c (nis_add): Likewise.
61920         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61922         * posix/fnmatch_loop.c: Add some consts.
61924         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61926 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61928         [BZ #12460]
61929         * config.make.in (config-cflags-novzeroupper): Define.
61930         * configure.in: Substitute libc_cv_cc_novzeroupper.
61931         * elf/Makefile (AVX-CFLAGS): Define.
61932         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61933         (CFLAGS-tst-auditmod4a.c): Likewise.
61934         (CFLAGS-tst-auditmod4b.c): Likewise.
61935         (CFLAGS-tst-auditmod6b.c): Likewise.
61936         (CFLAGS-tst-auditmod6c.c): Likewise.
61937         (CFLAGS-tst-auditmod7b.c): Likewise.
61938         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61940 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61942         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61943         function to the callback.
61944         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61946 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61948         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61949         of errno.
61951 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61953         [BZ #11724]
61954         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61955         of constructors.
61956         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61957         of destructors.
61958         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61960         [BZ #11724]
61961         * elf/Makefile: Add rules to build and run new test.
61962         * elf/tst-initorder.c: New file.
61963         * elf/tst-initorder.exp: New file.
61964         * elf/tst-initordera1.c: New file.
61965         * elf/tst-initordera2.c: New file.
61966         * elf/tst-initordera3.c: New file.
61967         * elf/tst-initordera4.c: New file.
61968         * elf/tst-initorderb1.c: New file.
61969         * elf/tst-initorderb2.c: New file.
61970         * elf/tst-order-a1.c: New file.
61971         * elf/tst-order-a2.c: New file.
61972         * elf/tst-order-a3.c: New file.
61973         * elf/tst-order-a4.c: New file.
61974         * elf/tst-order-b1.c: New file.
61975         * elf/tst-order-b2.c: New file.
61976         * elf/tst-order-main.c: New file.
61977         New test case by George Gensure <werkt0@gmail.com>.
61979 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61982         decoding ACE if AI_CANONIDN.
61984 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61986         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61988 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61990         * version.h (RELEASE): Bump for 2.13 release.
61991         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61993         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61995         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61996         MADV_NOHUGEPAGE.
61997         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61998         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61999         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62000         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62001         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62002         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62004         * posix/getconf.c: Update copyright year.
62005         * catgets/gencat.c: Likewise.
62006         * csu/version.c: Likewise.
62007         * debug/catchsegv.sh: Likewise.
62008         * debug/xtrace.sh: Likewise.
62009         * elf/ldconfig.c: Likewise.
62010         * elf/ldd.bash.in: Likewise.
62011         * elf/sprof.c (print_version): Likewise.
62012         * iconv/iconv_prog.c: Likewise.
62013         * iconv/iconvconfig.c: Likewise.
62014         * locale/programs/locale.c: Likewise.
62015         * locale/programs/localedef.c: Likewise.
62016         * malloc/memusage.sh: Likewise.
62017         * malloc/mtrace.pl: Likewise.
62018         * nscd/nscd.c (print_version): Likewise.
62019         * nss/getent.c: Likewise.
62021         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62022         PF_CAIF, and PF_ALG.
62023         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62025 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62027         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62028         (modules-names): Use them.
62029         (ifunc-test-modules, ifunc-pie-tests): Define.
62030         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62031         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62032         (test-extras): Likewise.
62033         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62034         $(compile-command.c).
62035         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62036         (all-built-dso): Define.
62037         (check-textrel.out, check-execstack.out): Depend on it.
62039         * configure.in: Don't override --enable-multi-arch.
62041 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62043         [BZ #6812]
62044         * nscd/hstcache.c (tryagain): Define.
62045         (cache_addhst): Return tryagain not notfound for temporary errors.
62046         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62047         failed.
62049 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62051         [BZ #10563]
62052         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62053         to make the syscall.
62054         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62056         [BZ #12378]
62057         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62058         and fall back to matching as normal character if the string ends before
62059         the matching ']' is found.  This is what POSIX requires.
62060         * posix/testfnm.c: Adjust test result.
62061         * posix/globtest.sh: Adjust test result.  Add new test.
62062         * posix/tst-fnmatch.input: Likewise.
62063         * posix/tst-fnmatch2.c: Add new test.
62065 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62067         * elf/Makefile (check-execstack): Revert last change.  Depend on
62068         check-execstack.h.
62069         (check-execstack.h): New target.
62070         (generated): Add check-execstack.h.
62071         * elf/check-execstack.c: Include "check-execstack.h".
62072         (main): Revert last change.
62073         (handle_file): Return zero if GNU_STACK is absent and
62074         DEFAULT_STACK_PERMS doesn't include PF_X.
62076 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62078         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62079         in child fails because the descriptor is already closed.
62080         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62081         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62082         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62084         [BZ #12397]
62085         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62086         syscall.
62088         [BZ #10484]
62089         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62090         temporary buffer used to handle multi lookups locally.
62091         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62093 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62095         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62096         loader is ld.so.
62098 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62100         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62101         alignment for SSE2.
62103 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62105         [BZ #12394]
62106         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62107         characters.  When rounding increased number of integer digits recompute
62108         number of groups.
62109         * stdio-common/tst-grouping.c: New file.
62110         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62112 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62114         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62115         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62117         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62118         void.
62119         * bits/select.h: Likewise.
62121 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62123         * po/ja.po: Update from translation team.
62125 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62127         [BZ #11155]
62128         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62129         implementation just like for lxstat, fxstatat, et al.
62131 2010-12-27  Jim Meyering  <meyering@redhat.com>
62133         [BZ #12348]
62134         * posix/regexec.c (build_trtable): Return failure indication upon
62135         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62137 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62139         [BZ #12201]
62140         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62141         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62142         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62143         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62145         [BZ #12207]
62146         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62148         [BZ #12204]
62149         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62150         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62152 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62154         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62155         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62156         script has SORT_BY_INIT_PRIORITY.
62157         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62158         NO_CTORS_DTORS_SECTIONS is defined.
62159         * elf/soinit.c: Likewise.
62160         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62161         NO_CTORS_DTORS_SECTIONS is defined.
62162         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62163         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62164         * sysdeps/sh/init-first.c: Likewise.
62165         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62167 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62169         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62170         always use the slow path.
62172 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62174         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62175         similar rule which adds the sysdep directories to the header search in
62176         order to pick up the correct platform stackinfo.h.
62177         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62178         perform test if it is, otherwise return successfully without testing.
62179         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62180         DEFAULT_STACK_PERMS define in stackinfo.h.
62181         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62182         defined in stackinfo.h.
62183         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62184         DEFAULT_STACK_PERMS defined in stackinfo.h.
62185         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62186         * sysdeps/ia64/stackinfo.h: Likewise.
62187         * sysdeps/s390/stackinfo.h: Likewise.
62188         * sysdeps/sh/stackinfo.h: Likewise.
62189         * sysdeps/sparc/stackinfo.h: Likewise.
62190         * sysdeps/x86_64/stackinfo.h: Likewise.
62191         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62192         PF_X for powerpc64.  Retain PF_X for powerpc32.
62194 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62196         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62197         accurately.
62198         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62199         GETDENTS_64BIT_ALIGNED.
62201 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62203         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62205 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62207         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62208         _GNU_SOURCE.
62210         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62211         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62212         Remove __restrict.
62213         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62214         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62216 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62218         [BZ #11655]
62219         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62220         are initialized.
62222 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62224         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62226 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62228         * po/it.po: Update from translation team.
62230 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62232         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62233         unused codes.
62235 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62237         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62239 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62241         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62242         specially.
62243         (gaih_getanswer_slice): Likewise.
62245 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62249 2010-05-31  Petr Baudis  <pasky@suse.cz>
62251         [BZ #11149]
62252         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62253         silently even in the chroot mode.
62255 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62257         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62258         last patch a bit.  Pretty printing
62260 2010-05-31  Petr Baudis <pasky@suse.cz>
62262         [BZ #10085]
62263         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62264         initialization of skip_initgroups_dyn.
62266 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62268         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62269         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62271 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62273         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62275 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62277         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62278         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62279         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62280         ($(objpfx)tst-fnmatch-mem): New rule.
62281         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62282         * posix/tst-fnmatch.c (main): Call mtrace.
62284 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62287         Support Intel processor model 6 and model 0x2c.
62289 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62291         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62292           signed comparison.
62294 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62296         [BZ #12205]
62297         * string/test-strncasecmp.c (check_result): New function.
62298         (do_one_test): Use it.
62299         (check1): New function.
62300         (test_main): Use it.
62301         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62302         Support strcasecmp and strncasecmp.
62304 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62306         [BZ #12194]
62307         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62308         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62310 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62312         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62313         IFUNC support.
62314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62315         memset-x86-64.
62316         * sysdeps/x86_64/multiarch/bzero.S: New file.
62317         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62318         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62319         * sysdeps/x86_64/multiarch/memset.S: New file.
62320         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62322         Set bit_Prefer_SSE_for_memop for Intel processors.
62323         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62324         Define.
62325         (index_Prefer_SSE_for_memop): Define.
62326         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62328 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62330         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62331         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62333 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62335         [BZ #12191]
62336         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62337         (__x86_64_raw_data_cache_size_half): Likewise.
62338         (__x86_64_raw_shared_cache_size): Likewise.
62339         (__x86_64_raw_shared_cache_size_half): Likewise.
62341         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62342         (__x86_64_raw_data_cache_size_half): Likewise.
62343         (__x86_64_raw_shared_cache_size): Likewise.
62344         (__x86_64_raw_shared_cache_size_half): Likewise.
62345         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62346         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62347         and __x86_64_raw_shared_cache_size_half.  Round
62348         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62349         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62350         to multiple of 256 bytes.
62352 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62354         [BZ #12167]
62355         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62356         of inacessible symlinks.  Verify result of symlink before returning it.
62357         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62358         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62360 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62362         * math/math.h (isinf): Fix typo in comment.
62364 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62366         * po/da.po: Update from translation team.
62368 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62370         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62371         is added to the list.
62373 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62374             Ulrich Drepper  <drepper@gmail.com>
62376         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62377         the global list here.  Move code to...
62378         (_dl_add_to_namespace_list): ...here.  New function.
62379         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62380         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62381         * elf/dl-load.c (lose): Don't remove the element from the list.
62382         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62383         (_dl_map_object): Likewise.
62385 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62387         [BZ #12159]
62388         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62389         into all bytes of SSE register.
62390         Patch by Richard Li <richardpku@gmail.com>.
62392 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62394         [BZ #12140]
62395         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62396         perturbing.
62398 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62400         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62401         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62402         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62403         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62405         submachine.
62406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62408 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62410         * include/dlfcn.h (__RTLD_SECURE): Define.
62411         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62412         mode & __RTLD_SECURE instead.
62413         (open_path): Rename preloaded parameter to secure.
62414         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62415         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62416         * elf/dl-deps.c (openaux): Likewise.
62417         * elf/rtld.c (struct map_args): Remove is_preloaded.
62418         (map_doit): Don't use it.
62419         (dl_main): Likewise.
62420         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62421         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62423 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62425         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62426         (sysd-rules-targets): Remove duplicates.
62427         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62428         rtld-%.$o dependency.
62430 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62432         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62433         _dl_map_object do it.
62435 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62437         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62438         fast fma builtins, define the macros in the C99 standard.
62439         (FP_FAST_FMAF): Likewise.
62440         (FP_FAST_FMAL): Likewise.
62441         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62443         * bits/mathdef.h: Update copyright year.
62444         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62446 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62448         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62449         builtins, define the macros in the C99 standard.
62450         (FP_FAST_FMAF): Likewise.
62451         (FP_FAST_FMAL): Likewise.
62452         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62453         multiply/add.
62454         (FP_FAST_FMAF): Likewise.
62456 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62458         [BZ #3268]
62459         * math/libm-test.inc (fma_test): Some new testcases.
62460         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62461         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62462         y and infinite z.  Do multiplication by C already in long double.
62463         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62464         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62465         y and infinite z.  Do bitwise or of inexact bit into u.d.
62466         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62467         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62468         * sysdeps/i386/fpu/s_fma.S: Removed.
62469         * sysdeps/i386/fpu/s_fmal.S: Removed.
62471 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62473         [BZ #3268]
62474         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62475         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62476         computation is not scheduled after fetestexcept.  Fix value
62477         of minimum denormal long double.
62479 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62481         [BZ #3268]
62482         * math/libm-test.inc (fma_test): Add some more tests.
62483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62484         correctly.
62486 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62488         * scripts/data/localplt-s390-linux-gnu.data: New file.
62489         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62491 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62493         [BZ #3268]
62494         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62495         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62496         instead of dbl-64.
62497         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62498         inlines.
62499         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62500         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62501         if one of x and y is very large and the other is subnormal.
62502         * sysdeps/s390/fpu/s_fmaf.c: New file.
62503         * sysdeps/s390/fpu/s_fma.c: New file.
62504         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62505         * sysdeps/powerpc/fpu/s_fma.S: New file.
62506         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62507         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62508         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62510 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62512         [BZ #3268]
62513         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62514         fma tests.
62515         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62516         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62517         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62518         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62519         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62520         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62521         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62523 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62525         [BZ #12078]
62526         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62527         * posix/bug-regex31.input: Add test case.
62529 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62531         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62532         * posix/bug-regex31.input: New file.
62534         [BZ #12078]
62535         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62536         (parse_sub_exp): Fix last change, use postorder.
62538         * posix/bug-regex31.c: New file.
62539         * posix/Makefile: Add rules to build and run bug-regex31.
62541         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62543         [BZ #12078]
62544         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62546         [BZ #12108]
62547         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62548         to have entries in sys_siglist.
62550         [BZ #12093]
62551         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62552         be NULL.
62554 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62556         [BZ #3268]
62557         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62558         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62559         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62560         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62561         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62562         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62563         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62564         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62565         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62566         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62567         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62568         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62569         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62570         * math/ftestexcept.c (fetestexcept): Likewise.
62571         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62572         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62573         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62574         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62575         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62576         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62577         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62579 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62581         [BZ #12107]
62582         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62583         newline.
62585 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62587         * string/bug-strstr1.c: New file.
62588         * string/Makefile: Add rules to build and run bug-strstr1.
62590 2010-10-05  Eric Blake  <eblake@redhat.com>
62592         [BZ #12092]
62593         * string/str-two-way.h (two_way_long_needle): Always clear memory
62594         when skipping input due to the shift table.
62596 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62598         [BZ #12005]
62599         * malloc/mcheck.c: Handle large requests.
62601         [BZ #12077]
62602         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62603         for strncmp and strncasecmp.
62604         * string/stratcliff.c: Add tests for strcmp and strncmp.
62605         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62607 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62609         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62610         __set_fpscr.
62612 2010-09-30  Andreas Jaeger  <aj@suse.de>
62614         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62615         (CGROUP_SUPER_MAGIC): Define.
62616         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62617         Handle btrfs and cgroup file systems.
62618         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62619         Likewise.
62621 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62623         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62624         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62626 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62628         [BZ #12067]
62629         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62630         trying to locate the ELF header.
62632 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62634         [BZ #11611]
62635         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62636         Mask out sign-bit copies when constructing f_fsid.
62638 2010-09-24  Petr Baudis <pasky@suse.cz>
62640         * debug/stack_chk_fail_local.c: Add missing licence exception.
62641         * debug/warning-nop.c: Likewise.
62643 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62645         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62646         implementing getdents64 using getdents syscall, set d_type if
62647         __ASSUME_GETDENTS32_D_TYPE.
62649 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62651         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62652         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62654 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62656         [BZ #12037]
62657         * posix/unistd.h: Undo change of feature selection for ftruncate from
62658         2010-01-11.
62660 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62662         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62663         detection.
62665 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62667         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62668         fanotify_mark.
62669         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62671 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62673         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62674         variables after CHECK_SP call.
62675         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62677 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62678             Ulrich Drepper  <drepper@redhat.com>
62680         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62681         re-relocationg ld.so.
62682         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62683         _dl_init_paths call.
62684         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62685         here anymore.
62687 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62689         * resolv/res_init.c (__res_vinit): Count the default server we added.
62691 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62692             Ulrich Drepper  <drepper@redhat.com>
62694         [BZ #11968]
62695         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62696         (____longjmp_chk): Use %ebx for saving value across system call.
62697         Add unwind info.
62699 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62701         * manual/Makefile: Don't mix pattern rules with normal rules.
62703 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62705         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62706         operation.
62707         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62708         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62709         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62710         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62711         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62712         Likewise.
62714 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62716         [BZ #11979]
62717         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62718         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62720 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62722         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62723         * sysdeps/x86_64/addmul_1.S: Likewise.
62724         * sysdeps/x86_64/lshift.S: Likewise.
62725         * sysdeps/x86_64/mul_1.S: Likewise.
62726         * sysdeps/x86_64/rshift.S: Likewise.
62727         * sysdeps/x86_64/sub_n.S: Likewise.
62728         * sysdeps/x86_64/submul_1.S: Likewise.
62730 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62732         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62733         Define __sched_param instead of SCHED_* and sched_param when
62734         <bits/sched.h> is included with __need_schedparam defined.
62735         * bits/sched.h [__need_schedparam]
62736         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62737         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62738         (__defined_schedparam): Define to 1.
62739         (__sched_param): New structure, identical to sched_param.
62740         (__need_schedparam): Undefine.
62742 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62744         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62745         (epoll_create1): Declare.
62747         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62749 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62751         [BZ #7066]
62752         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62753         shifting retval into place.
62755 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62757         * nis/rpcsvc/nis.h: Update copyright notice.
62758         * nis/rpcsvc/nis.x: Likewise.
62759         * nis/rpcsvc/nis_callback.h: Likewise.
62760         * nis/rpcsvc/nis_callback.x: Likewise.
62761         * nis/rpcsvc/nis_object.x: Likewise.
62762         * nis/rpcsvc/nis_tags.h: Likewise.
62763         * nis/rpcsvc/yp.h: Likewise.
62764         * nis/rpcsvc/yp.x: Likewise.
62765         * nis/rpcsvc/ypupd.h: Likewise.
62766         * nis/yp_xdr.c: Likewise.
62767         * nis/ypupdate_xdr.c: Likewise.
62769         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
62770         mainly the body of pmap_getport.  Add parameters to specify timeouts.
62771         (pmap_getport): Use __libc_rpc_getport.
62772         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62773         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62774         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62776 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
62778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62779         fanotify_mark.
62781 2010-08-27  Roland McGrath  <roland@redhat.com>
62783         * sysdeps/i386/i686/multiarch/Makefile
62784         (CFLAGS-varshift.c): New variable.
62786 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
62788         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62789         * sysdeps/i386/i686/multiarch/varshift.c: New file.
62791         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62793         * sysdeps/x86_64/strlen.S: Minimal code improvement.
62795 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
62797         * sysdeps/x86_64/strlen.S: Unroll the loop.
62798         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62799         strlen-sse2 strlen-sse2-bsf.
62800         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62801         __strlen_no_bsf if bit_Slow_BSF is set.
62802         (__strlen_sse42): Removed.
62803         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62804         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62806 2010-08-25  Roland McGrath  <roland@redhat.com>
62808         * sysdeps/x86_64/multiarch/varshift.S: File removed.
62809         * sysdeps/x86_64/multiarch/varshift.c: New file.
62810         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62811         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62812         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62813         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62815 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
62817         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62818         strlen-sse2 strlen-sse2-bsf.
62819         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62820         __strlen_sse2_bsf if bit_Slow_BSF is unset.
62821         (__strlen_sse2): Removed.
62822         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62823         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62824         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62825         bit_Slow_BSF for Atom.
62826         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62827         (index_Slow_BSF): Define.
62828         (HAS_SLOW_BSF): Define.
62830 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
62832         [BZ #10851]
62833         * resolv/res_init.c (__res_vinit): When no server address at all
62834         is given default to loopback.
62836 2010-08-24  Roland McGrath  <roland@redhat.com>
62838         * configure.in: Remove config-name.h generation.
62839         * configure: Regenerated.
62840         * config-name.in: File removed.
62841         * scripts/config-uname.sh: New file.
62842         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62843         ($(objdir)config-name.h): New target.
62845         * sunrpc/rpc_parse.h: Avoid nested comment.
62847 2010-08-24  Richard Henderson  <rth@redhat.com>
62848             Ulrich Drepper  <drepper@redhat.com>
62849             H.J. Lu  <hongjiu.lu@intel.com>
62851         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62852         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62853         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62854         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62855         _mm_alignr_epi8 with _mm_loadu_si128.
62856         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62857         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62858         (__m128i_shift_right): Removed.
62859         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62860         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62861         * sysdeps/x86_64/multiarch/varshift.h: New file.
62862         * sysdeps/x86_64/multiarch/varshift.S: New file.
62864 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62866         * configure.in: Move assembler checks to before sysdep dir checking.
62868 2010-08-20  Petr Baudis  <pasky@suse.cz>
62870         * LICENSES: Sync the sunrpc license.
62872 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62874         * sunrpc/auth_des.c: Update copyright notice once again.
62875         * sunrpc/auth_none.c: Likewise.
62876         * sunrpc/auth_unix.c: Likewise.
62877         * sunrpc/authdes_prot.c: Likewise.
62878         * sunrpc/authuxprot.c: Likewise.
62879         * sunrpc/bindrsvprt.c: Likewise.
62880         * sunrpc/clnt_gen.c: Likewise.
62881         * sunrpc/clnt_perr.c: Likewise.
62882         * sunrpc/clnt_raw.c: Likewise.
62883         * sunrpc/clnt_simp.c: Likewise.
62884         * sunrpc/clnt_tcp.c: Likewise.
62885         * sunrpc/clnt_udp.c: Likewise.
62886         * sunrpc/clnt_unix.c: Likewise.
62887         * sunrpc/des_crypt.c: Likewise.
62888         * sunrpc/des_soft.c: Likewise.
62889         * sunrpc/get_myaddr.c: Likewise.
62890         * sunrpc/getrpcport.c: Likewise.
62891         * sunrpc/key_call.c: Likewise.
62892         * sunrpc/key_prot.c: Likewise.
62893         * sunrpc/openchild.c: Likewise.
62894         * sunrpc/pm_getmaps.c: Likewise.
62895         * sunrpc/pm_getport.c: Likewise.
62896         * sunrpc/pmap_clnt.c: Likewise.
62897         * sunrpc/pmap_prot.c: Likewise.
62898         * sunrpc/pmap_prot2.c: Likewise.
62899         * sunrpc/pmap_rmt.c: Likewise.
62900         * sunrpc/rpc/auth.h: Likewise.
62901         * sunrpc/rpc/auth_unix.h: Likewise.
62902         * sunrpc/rpc/clnt.h: Likewise.
62903         * sunrpc/rpc/des_crypt.h: Likewise.
62904         * sunrpc/rpc/key_prot.h: Likewise.
62905         * sunrpc/rpc/netdb.h: Likewise.
62906         * sunrpc/rpc/pmap_clnt.h: Likewise.
62907         * sunrpc/rpc/pmap_prot.h: Likewise.
62908         * sunrpc/rpc/pmap_rmt.h: Likewise.
62909         * sunrpc/rpc/rpc.h: Likewise.
62910         * sunrpc/rpc/rpc_des.h: Likewise.
62911         * sunrpc/rpc/rpc_msg.h: Likewise.
62912         * sunrpc/rpc/svc.h: Likewise.
62913         * sunrpc/rpc/svc_auth.h: Likewise.
62914         * sunrpc/rpc/types.h: Likewise.
62915         * sunrpc/rpc/xdr.h: Likewise.
62916         * sunrpc/rpc_clntout.c: Likewise.
62917         * sunrpc/rpc_cmsg.c: Likewise.
62918         * sunrpc/rpc_common.c: Likewise.
62919         * sunrpc/rpc_cout.c: Likewise.
62920         * sunrpc/rpc_dtable.c: Likewise.
62921         * sunrpc/rpc_hout.c: Likewise.
62922         * sunrpc/rpc_main.c: Likewise.
62923         * sunrpc/rpc_parse.c: Likewise.
62924         * sunrpc/rpc_parse.h: Likewise.
62925         * sunrpc/rpc_prot.c: Likewise.
62926         * sunrpc/rpc_sample.c: Likewise.
62927         * sunrpc/rpc_scan.c: Likewise.
62928         * sunrpc/rpc_scan.h: Likewise.
62929         * sunrpc/rpc_svcout.c: Likewise.
62930         * sunrpc/rpc_tblout.c: Likewise.
62931         * sunrpc/rpc_util.c: Likewise.
62932         * sunrpc/rpc_util.h: Likewise.
62933         * sunrpc/rpcinfo.c: Likewise.
62934         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62935         * sunrpc/rpcsvc/key_prot.x: Likewise.
62936         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62937         * sunrpc/rpcsvc/mount.x: Likewise.
62938         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62939         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62940         * sunrpc/rpcsvc/rex.x: Likewise.
62941         * sunrpc/rpcsvc/rstat.x: Likewise.
62942         * sunrpc/rpcsvc/rusers.x: Likewise.
62943         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62944         * sunrpc/rpcsvc/spray.x: Likewise.
62945         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62946         * sunrpc/rtime.c: Likewise.
62947         * sunrpc/svc.c: Likewise.
62948         * sunrpc/svc_auth.c: Likewise.
62949         * sunrpc/svc_authux.c: Likewise.
62950         * sunrpc/svc_raw.c: Likewise.
62951         * sunrpc/svc_run.c: Likewise.
62952         * sunrpc/svc_simple.c: Likewise.
62953         * sunrpc/svc_tcp.c: Likewise.
62954         * sunrpc/svc_udp.c: Likewise.
62955         * sunrpc/svc_unix.c: Likewise.
62956         * sunrpc/svcauth_des.c: Likewise.
62957         * sunrpc/xcrypt.c: Likewise.
62958         * sunrpc/xdr.c: Likewise.
62959         * sunrpc/xdr_array.c: Likewise.
62960         * sunrpc/xdr_float.c: Likewise.
62961         * sunrpc/xdr_mem.c: Likewise.
62962         * sunrpc/xdr_rec.c: Likewise.
62963         * sunrpc/xdr_ref.c: Likewise.
62964         * sunrpc/xdr_sizeof.c: Likewise.
62965         * sunrpc/xdr_stdio.c: Likewise.
62967         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62968         handling.
62970 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62972         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62974 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62976         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62977         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62978         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62979         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62980         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62981         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62982         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62983         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62984         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62985         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62986         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62987         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62988         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62989         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62991 2010-07-26  Anton Blanchard  <anton@samba.org>
62993         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62994         * malloc/arena.c (heap_trim): Likewise.
62996 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62998         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62999         here.  Not...
63000         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63001         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63003 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63005         * sysdeps/i386/elf/Makefile: New file.
63007 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63009         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63010         from fanotify_init.
63011         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63012         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63014 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63016         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63017         of strncasecmp_l.
63018         * sysdeps/multiarch/strcmp.S: Likewise.
63020 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63022         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63023         strncase_l-nonascii.
63024         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63025         Add strncase_l-ssse3.
63026         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63027         * sysdeps/x86_64/strcmp.S: Likewise.
63028         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63029         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63030         * sysdeps/x86_64/strncase.S: New file.
63031         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63032         * sysdeps/x86_64/strncase_l.S: New file.
63033         * string/Makefile (strop-tests): Add strncasecmp.
63034         * string/test-strncasecmp.c: New file.
63036         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63037         warning.
63039         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63040         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63042 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63044         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63046 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63048         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63049         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63050         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63052 2010-05-01  Alan Modra  <amodra@gmail.com>
63054         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63055         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63056         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63057         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63058         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63059         tidying.  Don't tail-call __sigjmp_save for static lib.
63060         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63061         save location.
63062         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63063         (CALL_MCOUNT): Add eh info, and nop after bl.
63064         (TAIL_CALL_SYSCALL_ERROR): New macro.
63065         (PSEUDO_RET): Use it.
63066         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63067         Correct save location of integer regs and cr.
63068         (_dl_profile_resolve): Correct cr save location.  Delete nops
63069         after bl when SHARED.  Reduce cfi size a little by better
63070         placement of cfi directives.
63071         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63072         make a stack frame.  Instead use parm save area as a temp.
63073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63074         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63076         Don't make a stack frame for parent, use parm save area.
63077         Increase child stack frame to 112 bytes.  Don't save unused reg,
63078         and adjust reg usage.  Set up cfi on error recovery and
63079         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63081         (__makecontext): Add dummy nop after jump to exit.
63082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63083         Use correct parm save area and cr save, reduce stack frame.
63084         Correct cfi for possible PSEUDO_RET frame setup.
63085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63086         Branch to local label emitted by PSEUDO_RET rather than
63087         __syscall_error.
63089 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63091         [BZ #11904]
63092         * locale/programs/locale.c (print_assignment): New function.
63093         (show_locale_vars): Use it.
63095 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63097         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63098         field.
63099         (struct statfs64): Likewise.
63100         (_STATFS_F_FLAGS): Define.
63101         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63102         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63103         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63104         (ST_VALID): Define locally.
63105         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63106         __statvfs_getflags, use the provided value.
63107         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63108         __ASSUME_STATFS_F_FLAGS.
63110         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63112         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63113         Add sys/fanotify.h.
63114         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63115         fanotify_mask for GLIBC_2.13.
63116         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63117         fanotify_init and fanotify_mark.
63118         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63119         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63121         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63122         Add prlimit.
63123         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63124         prlimit64 for GLIBC_2.13.
63125         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63126         prlimit64.
63127         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63128         syscall.
63129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63130         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63131         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63132         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63133         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63134         add prlimit alias.
63135         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63137         [BZ #11903]
63138         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63139         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63141         * nss/Makefile: Add rules to build and run tst-nss-test1.
63142         * shlib-versions: Add entry for libnss_test1.
63143         * nss/nss_test1.c: New file.
63144         * nss/tst-nss-test1.c: New file.
63146         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63147         (__nss_configure_lookup): Set appropriate entry in
63148         __nss_configure_lookup to true.
63149         * nss/nsswitch.h: Define enum with indeces of databases in
63150         databases and __nss_database_custom arrays.  Declare
63151         __nss_database_custom.
63152         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63153         to avoid using nscd when custom rules are installed.
63154         * nss/getXXbyYY_r.c: Likewise.
63155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63157         * nss/nss_files/files-parse.c: Whitespace fixes.
63159 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63161         [BZ #11883]
63162         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63163         * posix/fnmatch_loop.c: Likewise.
63165 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63167         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63168         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63169         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63170         * Versions.def [GLIBC_2.13]: Add.
63172 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63174         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63175         Also fail if tpwd after pwuid call is NULL.
63177 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63179         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63180         when converting to ms.
63182 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63184         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63185         EOPNOTSUPP errors with ENOTTY.
63186         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63187         EOPNOTSUPP errors with ENOTTY.
63189 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63191         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63192         Add strcasecmp_l-ssse3.
63193         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63194         strcasecmp.
63195         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63196         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63197         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63199 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63201         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63203         * string/Makefile (strop-tests): Add strcasecmp.
63204         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63205         strcasecmp_l-nonascii.
63206         (gen-as-const-headers): Add locale-defines.sym.
63207         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63208         * sysdeps/x86_64/strcasecmp.S: New file.
63209         * sysdeps/x86_64/strcasecmp_l.S: New file.
63210         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63211         * sysdeps/x86_64/locale-defines.sym: New file.
63212         * string/test-strcasecmp.c: New file.
63214         * string/test-strcasestr.c: Test both ends of the range of characters.
63215         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63217 2010-07-29  Roland McGrath  <roland@redhat.com>
63219         [BZ #11856]
63220         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63222 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63224         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63225         for ld.so.
63227 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63229         * manual/memory.texi (Malloc Tunable Parameters): Document
63230         M_PERTURB.
63232 2010-07-26  Roland McGrath  <roland@redhat.com>
63234         [BZ #11840]
63235         * configure.in (-fgnu89-inline check): Set and substitute
63236         gnu89_inline, not libc_cv_gnu89_inline.
63237         * configure: Regenerated.
63238         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63240 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63242         * string/test-strnlen.c: New file.
63243         * string/Makefile (strop-tests): Add strnlen.
63244         * string/tester.c (test_strnlen): Add a few more test cases.
63245         * string/tst-strlen.c: Better error reporting.
63247         * sysdeps/x86_64/strnlen.S: New file.
63249 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63251         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63252         lower-latency instructions.
63254 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63256         * string/test-strcasestr.c: New file.
63257         * string/test-strstr.c: New file.
63258         * string/Makefile (strop-tests): Add strstr and strcasestr.
63259         * string/str-two-way.h: Don't undefine MAX.
63260         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63262 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63264         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63265         strcasestr-nonascii.
63266         (CFLAGS-strcasestr-nonascii.c): Define.
63267         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63268         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63269         Remove unused attribute.
63271 2010-07-20  Roland McGrath  <roland@redhat.com>
63273         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63274         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63275         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63276         like LD_HWCAP_MASK can disable hwcaps.
63278 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63280         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63282 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63284         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63285         call in strcasestr.
63286         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63287         __strcasestr_sse42_nonascii.
63288         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63289         strcasestr-nonascii.c.
63290         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63292 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63294         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63295         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63296         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63297         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63299 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63301         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63302         fcntl.
63304 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63306         [BZ #11577]
63307         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63308         dl_signal_cerror.
63310 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63312         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63313         _PC_PIPE_BUF using F_GETPIPE_SZ.
63315 2010-07-05  Roland McGrath  <roland@redhat.com>
63317         * manual/arith.texi (Rounding Functions): Fix rint description
63318         implicit in round description.
63320 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63322         * elf/Makefile: Fix linking for a few tests to make recent linker
63323         happy.
63325 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63327         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63328         $(common-objpfx)libc_nonshared.a.
63330 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63332         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63333         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63334         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63335         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63336         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63337         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63338         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63339         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63354         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63355         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63356         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63357         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63358         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63359         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63360         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63361         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63362         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63363         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63364         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63365         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63381 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63383         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63384         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63385         * string/memmove.c (memmove): Renamed to ...
63386         (MEMMOVE): ...this.  Default to memmove.
63387         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63388         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63389         (END_CHK): Define.
63390         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63391         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63392         mempcpy-ssse3-back memmove-ssse3-back.
63393         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63394         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63395         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63396         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63397         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63398         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63399         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63400         * sysdeps/x86_64/multiarch/memmove.c: New file.
63401         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63402         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63403         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63404         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63405         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63406         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63407         Define.
63408         (index_Fast_Copy_Backward): Define.
63409         (HAS_ARCH_FEATURE): Define.
63410         (HAS_FAST_REP_STRING): Define.
63411         (HAS_FAST_COPY_BACKWARD): Define.
63413 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63415         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63416         Restore proper fallback handling.
63418 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63420         [BZ #11701]
63421         * posix/group_member.c (__group_member): Correct checking loop.
63423         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63424         OOM in getpwuid_r correctly.  Return error number when the caller
63425         should return, otherwise -1.
63426         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63427         call returning > 0 value.
63428         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63430 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63432         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63433         libc_nonshared.a from targets in modules-names.
63435 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63437         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63438         requires it.
63440 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63442         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63443         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63444         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63445         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63447 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63449         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63451 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63453         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63454         and F_GETPIPE_SZ.
63455         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63456         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63457         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63458         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63459         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63460         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63462 2010-06-14  Roland McGrath  <roland@redhat.com>
63464         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63466 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63468         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63469         __REDIRECT followed by __THROW.
63470         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63471         * posix/getopt.h (getopt): Likewise.
63473 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63475         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63476         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63477         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63478         in AT_FLAGS.
63479         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63480         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63482 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63484         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63486 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63488         [BZ #11640]
63489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63490         Properly check family and model.
63492 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63494         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63496 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63498         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63500 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63502         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63503         symbol reference.
63505 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63507         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63508         symbol reference.
63510 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63512         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63513         and internal_recvmmsg.
63514         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63515         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63516         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63517         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63519         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63520         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63521         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63523 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63525         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63527 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63529         POWER7 optimizations.
63530         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63531         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63533 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63535         * version.h: Update for 2.13 development version.
63537 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63539         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63540         exceptions.  Return 0.
63542 2010-05-07  Roland McGrath  <roland@redhat.com>
63544         * elf/ldconfig.c (main): Add a const.
63546 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63548         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63549         (args_options): Add no-idn option.
63550         (ahosts_keys_int): Add idn_flags to ai_flags.
63551         (parse_option): Handle 'i' option to clear idn_flags.
63553         * malloc/malloc.c (_int_free): Possible race in the most recently
63554         added check.  Only act on the data if no current modification
63555         happened.
63557 See ChangeLog.17 for earlier changes.