Fix fma spurious underflows (bug 18824).
[glibc.git] / ChangeLog
blobf510bea1bd9d3153f9b0d4b55f4cbad4a97cb1dd
1 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #18824]
4         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
5         scaling x * y up instead of down.
6         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8         * math/auto-libm-test-in: Add more tests of fma.
9         * math/auto-libm-test-out: Regenerated.
11 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
18         unnecessary movq.
19         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
20         Likewise.
22 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
24         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
26         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
27         and tgamma.
28         * math/auto-libm-test-out: Regenerated.
29         * sysdeps/i386/fpu/libm-test-ulps: Update.
30         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32         [BZ #16520]
33         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
34         (__tanh): Force underflow exception for arguments with small
35         absolute value.
36         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
37         (__tanhf): Force underflow exception for arguments with small
38         absolute value.
39         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
40         (__tanhl): Force underflow exception for arguments with small
41         absolute value.
42         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
43         (__tanhl): Force underflow exception for arguments with small
44         absolute value.
45         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
46         (__tanhl): Force underflow exception for arguments with small
47         absolute value.
48         * math/auto-libm-test-in: Add more tests of tanh.
49         * math/auto-libm-test-out: Regenerated.
50         * sysdeps/i386/fpu/libm-test-ulps: Update.
52 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
54         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
55         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
57 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
59         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
60         <cpuid.h>.
62 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
64         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
65         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
67 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
69         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
70         Remove $(objpfx)init-arch.o.
71         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
72         init-arch.
73         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
74         (INIT_ARCH_EXT): Defined as empty.
75         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
76         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
77         __init_cpu_features call.  Replace HAS_XXX with
78         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
79         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
80         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
81         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
82         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
83         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
84         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
85         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
86         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
87         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
88         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
89         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
90         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
91         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
92         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
93         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
94         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
95         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
96         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
97         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
98         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
99         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
100         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
101         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
102         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
103         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
104         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
105         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
106         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
107         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
108         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
109         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
110         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
111         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
112         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
113         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
115 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
117         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
118         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
119         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
120         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
121         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
122         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
123         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
124         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
125         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
126         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
127         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
128         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
129         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
130         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
131         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
132         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
133         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
134         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
135         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
136         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
137         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
138         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
139         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
140         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
141         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
142         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
143         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
144         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
145         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
146         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
147         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
148         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
149         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
150         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
151         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
152         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
153         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
154         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
155         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
156         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
157         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
158         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
159         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
161 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
163         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
164         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
165         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
166         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
167         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
168         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
169         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
170         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
171         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
172         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
173         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
174         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
175         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
176         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
177         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
178         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
179         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
180         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
181         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
182         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
183         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
184         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
185         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
186         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
187         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
188         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
189         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
190         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
191         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
192         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
193         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
194         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
195         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
196         * sysdeps/x86_64/multiarch/memset.S: Likewise.
197         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
198         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
199         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
200         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
201         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
202         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
203         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
204         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
205         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
207 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
209         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
210         (dl_platform_init): Call init_cpu_features.
211         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
212         * sysdeps/i386/i686/cacheinfo.c
213         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
214         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
215         * sysdeps/i386/i686/multiarch/Versions: Removed.
216         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
217         Removed.
218         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
219         * sysdeps/unix/sysv/linux/x86/Makefile
220         (libpthread-sysdep_routines): Remove init-arch.
221         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
222         <sysdeps/x86_64/dl-procinfo.c> instead of
223         sysdeps/generic/dl-procinfo.c>.
224         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
225         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
226         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
227         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
228         [$(subdir) == elf] (tests-static): Add
229         tst-get-cpu-features-static.
230         * sysdeps/x86/Versions: New file.
231         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
232         * sysdeps/x86/cpu-features.c: Likewise.
233         * sysdeps/x86/cpu-features.h: Likewise.
234         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
235         * sysdeps/x86/libc-start.c: Likewise.
236         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
237         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
238         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
239         * sysdeps/x86_64/dl-procinfo.c: Likewise.
240         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
241         Assume USE_MULTIARCH is defined and don't check it.
242         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
243         (is_amd): Likewise.
244         (max_cpuid): Likewise.
245         (intel_check_word): Likewise.
246         (__cache_sysconf): Don't call __init_cpu_features.
247         (__x86_preferred_memory_instruction): Removed.
248         (init_cacheinfo): Don't call __init_cpu_features. Replace
249         __cpu_features with GLRO(dl_x86_cpu_features).
250         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
251         (dl_platform_init): Call init_cpu_features.
252         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
253         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
254         * sysdeps/x86_64/multiarch/Versions: Removed.
255         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
256         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
257         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
258         Removed.
259         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
261 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
263         [BZ #18820]
264         * libio/Makefile (test-fmemopen-mem): New test.
265         * libio/test-fmemopen.c (do_bz18820): New test.
266         * libio/fmemopen.c (__fmemopen): Fix memory leak.
267         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
269 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
271         [BZ #16734]
272         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
273         (FREE_BUF): Delete.
274         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
275         * libio/genops.c (_IO_setb): Use malloc and free directly.
276         (_IO_default_doallocate, _IO_default_finish): Likewise.
277         ( _IO_unbuffer_all): Likewise.
278         ( libc_freeres_fn): Likewise.
279         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
280         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
281         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
282         (_IO_wdefault_doallocate): Likewise.
284 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
286         [BZ #18086]
287         * sysdeps/posix/nice.c (nice): Restore old errno.
288         * posix/tst-nice.c (do_test): Add test for BZ #18086.
290 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
292         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
294 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
296         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
297         __bcopy and add a weak_alias to bcopy.
298         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
299         for static build.
301         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
302         cleanup macro usage.
303         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
304         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
305         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
306         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
307         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
308         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
309         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
310         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
311         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
312         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
313         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
314         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
315         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
316         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
317         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
318         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
319         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
320         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
321         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
323         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
324         libc_hidden_def.
325         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
327         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
328         (sysdep_routines): Add strstr-ppc64.
329         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
331 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
333         [BZ #18778]
334         * elf/Makefile (tests): Add Add tst-nodelete2.
335         (modules-names): Add tst-nodelete2mod.
336         (tst-nodelete2mod.so-no-z-defs): New.
337         ($(objpfx)tst-nodelete2): Likewise.
338         ($(objpfx)tst-nodelete2.out): Likewise.
339         (LDFLAGS-tst-nodelete2): Likewise.
340         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
341         out of loop through all loaded libraries.
342         * elf/tst-nodelete2.c: New file.
343         * elf/tst-nodelete2mod.c: Likewise.
345 2015-08-11  Andreas Schwab  <schwab@suse.de>
347         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
348         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
349         (__openat64_nocancel): Likewise.
351 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
353         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
354         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
355         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
356         * math/auto-libm-test-out: Regenerated.
357         * sysdeps/i386/fpu/libm-test-ulps: Update.
358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
360 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
362         [BZ #18790]
363         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
364         threshold for returning +/- 1.
365         * math/auto-libm-test-in: Add more tests of tanh.
366         * math/auto-libm-test-out: Regenerated.
367         * sysdeps/i386/fpu/libm-test-ulps: Update.
369 2015-08-10  Andreas Schwab  <schwab@suse.de>
371         [BZ #18781]
372         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
373         MORE_OFLAGS to oflag.
374         * io/test-lfs.c (do_test): Test openat64.
376 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
378         [BZ #18789]
379         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
380         smaller threshold for returning the argument.
381         * math/auto-libm-test-in: Add more tests of sinh.
382         * math/auto-libm-test-out: Regenerated.
383         * sysdeps/i386/fpu/libm-test-ulps: Update.
385 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
387         [BZ #18674]
388         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
389         break.
391 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
393         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
394         (generated): Don't add $(addprefix z.,$(tzfiles)).
396 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
398         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
399         * scripts/sysd-rules.awk: Likewise.
401 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
403         * iconvdata/tst-tables.sh: Change echo -n to printf.
404         * nss/db-Makefile: Likewise.
405         * posix/tst-getconf.sh: Likewise.
406         * stdio-common/tst-unbputc.sh: Likewise.
408 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
410         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
411         MADV_*_PAGES defines behind this feature check.
413 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
415         [BZ #18480]
416         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
417         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
418         Define.
419         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
420         LOAD_REGS_5, LOAD_REGS_6): Update.
421         (INTERNAL_SYSCALL): Update using new LOAD defines.
422         (INTERNAL_SYSCALL_NCS): Likewise.
423         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
425 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
427         [BZ #16734]
428         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
430 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
432         [BZ #17905]
433         * catgets/Makefile (tst-catgets-mem): New test.
434         * catgets/catgets.c (catopen): Don't use unbounded alloca.
435         * catgets/open_catalog.c (__open_catalog): Likewise.
436         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
438 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
440         [BZ #18787]
441         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
442         clobber registers.
443         (atomic_compare_and_exchange_val_acq): Use register asms to assign
444         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
445         Cast return to __typeof (oldval).
447 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
449         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
450         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
451         and delete sys/syscall.h include.
453 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
455         [BZ #16517]
456         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
457         (tan): Force underflow exception for arguments with small absolute
458         value.
459         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
460         (__kernel_tanf): Force underflow exception for arguments with
461         small absolute value.
462         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
463         (__kernel_tanl): Force underflow exception for arguments with
464         small absolute value.
465         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
466         (__kernel_tanl): Force underflow exception for arguments with
467         small absolute value.
468         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
469         (__kernel_tanl): Force underflow exception for arguments with
470         small absolute value.
471         * math/auto-libm-test-in: Add more tests of tan.
472         * math/auto-libm-test-out: Regenerated.
474 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
476         Fix sysdeps/i386/fpu/s_scalbn.S build
478         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
480 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
482         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
484 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
486         Fix gcrt0.o compilation
488         When static-start-installed-name is different from
489         start-installed-name, we must not use the shared objects.
491         * csu/Makefile
492         (extra-objs): Add gmon-start.o when building shared library and
493         $(static-start-installed-name) is different from
494         $(start-installed-name).
495         $(objpfx)g$(static-start-installed-name): When building shared
496         library and $(static-start-installed-name) is different from
497         $(static-start-installed-name), revert to non-shared rule,
498         i.e. using $(objpfx)% and gmon-start.o.
500 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
502         [BZ #16519]
503         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
504         (__ieee754_sinh): Force underflow exception for arguments with
505         small absolute value.
506         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
507         (__ieee754_sinhf): Force underflow exception for arguments with
508         small absolute value.
509         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
510         (__ieee754_sinhl): Force underflow exception for arguments with
511         small absolute value.
512         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
513         (__ieee754_sinhl): Force underflow exception for arguments with
514         small absolute value.
515         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
516         (__ieee754_sinhl): Force underflow exception for arguments with
517         small absolute value.
518         * math/auto-libm-test-in: Add more tests of sinh.
519         * math/auto-libm-test-out: Regenerated.
520         * sysdeps/i386/fpu/libm-test-ulps: Update.
522 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
524         * libio/oldfileops.c: Include unistd.h.
526 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
528         * stdlib/isomac.c: Include ctype.h.
530 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
532         * dirent/tst-seekdir.c (main): Converted to ...
533         (do_test): ... this.
534         (TEST_FUNCTION): New macro.
535         Include test-skeleton.c.
536         * elf/tst-dlmodcount.c (main): Converted to ...
537         (do_test): ... this.
538         (TEST_FUNCTION): New macro.
539         Include test-skeleton.c.
540         * elf/tst-order-main.c (main): Converted to ...
541         (do_test): ... this.
542         (TEST_FUNCTION): New macro.
543         Include test-skeleton.c.
544         * elf/tst-pie2.c (main): Converted to ...
545         (do_test): ... this.
546         (TEST_FUNCTION): New macro.
547         Include test-skeleton.c.
548         * inet/tst-ether_aton.c (main): Converted to ...
549         (do_test): ... this.
550         (TEST_FUNCTION): New macro.
551         Include test-skeleton.c.
552         * misc/tst-mntent.c (main): Converted to ...
553         (do_test): ... this.
554         (TEST_FUNCTION): New macro.
555         Include test-skeleton.c.
556         * misc/tst-tsearch.c (main): Converted to ...
557         (do_test): ... this.
558         (TEST_FUNCTION): New macro.
559         Include test-skeleton.c.
560         * posix/tst-regexloc.c (main): Converted to ...
561         (do_test): ... this.
562         (TEST_FUNCTION): New macro.
563         Include test-skeleton.c.
564         * resolv/tst-aton.c (main): Converted to ...
565         (do_test): ... this.
566         (TEST_FUNCTION): New macro.
567         Include test-skeleton.c.
568         * stdio-common/test-fwrite.c (main): Converted to ...
569         (do_test): ... this.
570         (TEST_FUNCTION): New macro.
571         Include test-skeleton.c.
572         * stdio-common/tst-ferror.c (main): Converted to ...
573         (do_test): ... this.
574         (TEST_FUNCTION): New macro.
575         Include test-skeleton.c.
576         * stdio-common/tst-printf.c (main): Converted to ...
577         (do_test): ... this.
578         (TEST_FUNCTION): New macro.
579         Include test-skeleton.c.
580         * stdio-common/tst-printfsz.c (main): Converted to ...
581         (do_test): ... this.
582         (TEST_FUNCTION): New macro.
583         Include test-skeleton.c.
584         * stdlib/tst-strtod.c (main): Converted to ...
585         (do_test): ... this.
586         (TEST_FUNCTION): New macro.
587         Include test-skeleton.c.
588         * string/tst-strlen.c (main): Converted to ...
589         (do_test): ... this.
590         (TEST_FUNCTION): New macro.
591         Include test-skeleton.c.
592         * string/tst-svc.c (main): Converted to ...
593         (do_test): ... this.
594         (TEST_FUNCTION): New macro.
595         Include test-skeleton.c.
596         * time/tst-strptime.c (main): Converted to ...
597         (do_test): ... this.
598         (TEST_FUNCTION): New macro.
599         Include test-skeleton.c.
600         * timezone/tst-timezone.c (main): Converted to ...
601         (do_test): ... this.
602         (TEST_FUNCTION): New macro.
603         Include test-skeleton.c.
605 2015-08-05  Zack Weinberg  <zackw@panix.com>
607         * misc/regexp.h: Update comments.
609 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
611         [BZ #18635]
612         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
613         before return label.
615 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
617         [BZ #18661]
618         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
619         when calling __errno_location.
620         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
621         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
623 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
625         [BZ #18661]
626         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
627         (__lll_timedwait_tid): Align stack to 16 bytes when calling
628         __gettimeofday.
630 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
632         [BZ #18661]
633         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
634         (__start_context): Don't use pop to restore %rdi so that stack
635         is aligned to 16 bytes when calling __setcontext.
637 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
639         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
640         only for libc.
641         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
643 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
645         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
646         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
647         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
649 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
651         * string/memccpy.c (memccpy):
652         Improve performance by using memchr/memcpy/__mempcpy.
654 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
656         * string/strncpy.c (strncpy):
657         Improve performance by using __strnlen/memcpy.
659 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
661         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
662         Optimize to avoid an unnecessary FPCR read.
664 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
666         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
667         Optimize to reduce FPCR/FPSR accesses.
669 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
671         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
672         dead->data[category] != NULL.
674 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
676         [BZ #18647]
677         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
678         and |x| close to 1, use absolute value of x when computing log.
679         * math/auto-libm-test-in: Add more tests of pow.
680         * math/auto-libm-test-out: Regenerated.
682 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
684         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
685         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
686         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
688 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
690         [BZ #18525]
691         * locales/km_KH: Remove timezone definition.
692         * locales/lo_LA: Likewise.
693         * locales/my_MM: Likewise.
694         * locales/nan_TW@latin: Likewise.
695         * locales/th_TH: Likewise.
696         * locales/uk_UA: Likewise.
698 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
700         [BZ #18265]
701         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
702         (wcsncat): Likewise.
703         (wcscmp): Likewise.
704         (wcsncmp): Likewise.
706 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
708         * test-skeleton.c (usage): New function.
709         (main): Call usage when opt is '?'.
711 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
713         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
714         before first use.
716 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
718         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
719         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
720         in there too.
722 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
724         * version.h (RELEASE): Set to "development".
725         (VERSION): Set to "2.22.90"
727         * version.h (RELEASE): Set to "stable".
728         (VERSION): Set to "2.22"
729         * include/features.h (__GLIBC_MINOR__): Set to 22.
731 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
733         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
734         Restructure macro to avoid "value computed is not used" warning.
735         (atomic_compare_and_exchange_val_acq): Likewise.
737 2015-08-04  Andreas Schwab  <schwab@suse.de>
739         [BZ #18635]
740         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
741         ret.
742         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
744 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
746         * po/pl.po: Updated translation.
747         * po/uk.po: Likewise.
748         * po/fi.po: Likewise.
749         * po/ko.po: Likewise.
750         * po/ru.po: Likewise.
751         * po/vi.po: Likewise.
753 2015-07-31  Zack Weinberg  <zackw@panix.com>
755         [BZ #18681]
756         * regexp.h: Add unconditional #warning stating that this header
757         will be removed soon.  Revise banner comment to match.
758         (compile): Consistently use ERROR instead of RETURN to report
759         errors (partial fix for bz#18681).
760         * regexp.c: Don't include regexp.h. Remove some unnecessary
761         declarations.
763 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
765         * po/libc.pot: Regenerated.
767 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
769         [BZ #18740]
770         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
771         float-vlen4-arch-ext-cflags): Removed.
772         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
773         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
775 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
777         [BZ #14113]
778         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
779         aligned to __aligned__.
780         (pthread_cond_t, pthread_rwlock_t): Likewise.
782 2015-07-30  Torvald Riegel  <triegel@redhat.com>
784         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
786 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
788         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
789         (struct sigaction): Change sa_flags from a long to an int, and add
790         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
792 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
794         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
795         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
796         sysdeps/generic/sysdep.h include.
797         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
798         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
799         sysdeps/hppa/sysdep.h.
800         (ENTRY, PSEUDO): Undefine before defining.
802 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
804         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
805         from scratch to use INTERNAL_SYSCALL.
807 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
809         [BZ #18078]
810         * scripts/check-localplt.awk: Support alternate relocations.
811         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
812         sections.
813         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
814         malloc entries with + REL R_386_GLOB_DAT.
815         * sysdeps/x86_64/localplt.data: New file.
817 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
819         [BZ #18731]
820         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
821         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
822         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
824 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
826         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
828 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
830         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
831         directly in terms of __sync_fetch_and_add and delete (int) cast.
833 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
835         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
836         the -D_ASM_IA64_CURRENT_H flag.
838 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
840         [BZ #18641]
841         * pwd/pwd.h (putpwent): Delete __nonnull markings.
843 2015-07-27  Andreas Schwab  <schwab@suse.de>
845         * conform/conformtest.pl (checknamespace): Filter out string
846         literals while tokenizing.
848 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
850         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
851         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
852         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
854 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
856         * nptl/tst-join7mod.c: Add #include <string.h>.
858 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
860         * sysdeps/nios2/libm-test-ulps: Update.
862 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
864         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
865         Fix order of arguments to the rt_sigprocmask syscall.
866         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
867         Likewise.
869 2015-07-24  Roland McGrath  <roland@hack.frob.com>
871         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
873 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
875         [BZ #18457]
876         * nptl/Makefile (tests): New test case tst-join7.
877         (modules-names): New test case module tst-join7mod.
878         * nptl/tst-join7.c: New file.
879         * nptl/tst-join7mod.c: New file.
880         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
881         all translation units in libc.so, libpthread.so and rtld.
883 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
887 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
889         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
890         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
891         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
892         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
893         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
894         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
895         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
896         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
897         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
898         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
899         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
900         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
901         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
902         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
903         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
904         implementation.
906 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
908         [BZ #17711]
909         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
910         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
911         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
912         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
913         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
914         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
916 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
918         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
919         instead of just saying load lock in the comments.
921 2015-07-23  Roland McGrath  <roland@hack.frob.com>
923         * sysdeps/unix/Subdirs: Moved ...
924         * sysdeps/posix/Subdirs: ... here.
925         * login/pty.h (struct termios, struct winsize): Add forward decls.
926         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
927         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
928         * sysdeps/arm/nacl/libc.abilist: Updated.
929         * sysdeps/nacl/libutil.abilist: New file.
931         * bits/signum.h: Update comments to mention 1003.1-2013 too.
932         (SIGWINCH): New macro.
934         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
935         * sysdeps/arm/nacl/libc.abilist: Add it.
937 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
939         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
941 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
943         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
944         Swap __glibc_reserved0 and sa_flags order.
946 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
948         [BZ #18657]
949         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
950         are pending TLS destructor calls.
951         * include/link.h (struct link_map): Add concurrency note for
952         L_TLS_DTOR_COUNT.
953         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
954         Don't touch the link map flag.  Atomically increment
955         l_tls_dtor_count.
956         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
957         Avoid taking the load lock and don't touch the link map flag.
958         * stdlib/tst-tls-atexit-nodelete.c: New test case.
959         * stdlib/Makefile (tests): Use it.
960         * stdlib/tst-tls-atexit.c (do_test): dlopen
961         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
962         to allow tst-tls-atexit-nodelete test case to use it.
964 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
966         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
967         to bits/types.h.
968         (msgqnum_t): New typedef.
969         (msglen_t): Likewise.
970         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
971         and msg_qbytes type to msglen_t.
973 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
975         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
976         pad0 to __glibc_reserved0.
977         (struct stat64): Likewise.
979 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
981         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
982         Change sa_flags from a long to an int and add __glibc_reserved0 before
983         it for padding.
985 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
987         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
988         anonymous by deleting "siginfo" name.
990 2015-07-21  Roland McGrath  <roland@hack.frob.com>
992         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
993         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
994         rather than __nacl_irt_filename.
995         * sysdeps/nacl/xstat.c (__xstat): Likewise.
997         * NEWS: New item for arm-nacl port.
998         * sysdeps/arm/nacl/libc.abilist: New file.
999         * sysdeps/nacl/ld.abilist: New file.
1000         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1001         * sysdeps/nacl/libanl.abilist: New file.
1002         * sysdeps/nacl/libcrypt.abilist: New file.
1003         * sysdeps/nacl/libdl.abilist: New file.
1004         * sysdeps/nacl/libm.abilist: New file.
1005         * sysdeps/nacl/libpthread.abilist: New file.
1006         * sysdeps/nacl/libresolv.abilist: New file.
1007         * sysdeps/nacl/librt.abilist: New file.
1009 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1011         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1012         __startcontext to initialize the new context.
1013         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1014         up CFI directive to forbid further backtracing.
1016 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1018         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1019         reference.
1020         * charmaps/ANSI_X3.4-1968: Likewise.
1021         * charmaps/BS_4730: Likewise.
1022         * charmaps/BS_VIEWDATA: Likewise.
1023         * charmaps/CP1250: Likewise.
1024         * charmaps/CP1251: Likewise.
1025         * charmaps/CP1252: Likewise.
1026         * charmaps/CP1253: Likewise.
1027         * charmaps/CP1254: Likewise.
1028         * charmaps/CP1255: Likewise.
1029         * charmaps/CP1256: Likewise.
1030         * charmaps/CSN_369103: Likewise.
1031         * charmaps/EBCDIC-DK-NO: Likewise.
1032         * charmaps/GB_1988-80: Likewise.
1033         * charmaps/GREEK-CCITT: Likewise.
1034         * charmaps/GREEK7: Likewise.
1035         * charmaps/INIS-8: Likewise.
1036         * charmaps/ISIRI-3342: Likewise.
1037         * charmaps/ISO_2033-1983: Likewise.
1038         * charmaps/ISO_5427-EXT: Likewise.
1039         * locales/POSIX: Likewise.
1040         * locales/ar_SA: Likewise.
1041         * locales/be_BY: Likewise.
1042         * locales/be_BY@latin: Likewise.
1043         * locales/ca_ES: Likewise.
1044         * locales/cs_CZ: Likewise.
1045         * locales/da_DK: Likewise.
1046         * locales/de_BE: Likewise.
1047         * locales/de_CH: Likewise.
1048         * locales/de_LU: Likewise.
1049         * locales/en_AU: Likewise.
1050         * locales/en_BW: Likewise.
1051         * locales/en_CA: Likewise.
1052         * locales/en_DK: Likewise.
1053         * locales/en_GB: Likewise.
1054         * locales/en_IE: Likewise.
1055         * locales/en_NZ: Likewise.
1056         * locales/en_ZA: Likewise.
1057         * locales/en_ZW: Likewise.
1058         * locales/es_AR: Likewise.
1059         * locales/es_BO: Likewise.
1060         * locales/es_CL: Likewise.
1061         * locales/es_CO: Likewise.
1062         * locales/es_DO: Likewise.
1063         * locales/es_EC: Likewise.
1064         * locales/es_ES: Likewise.
1065         * locales/es_HN: Likewise.
1066         * locales/es_MX: Likewise.
1067         * locales/es_PA: Likewise.
1068         * locales/es_PE: Likewise.
1069         * locales/es_PY: Likewise.
1070         * locales/es_SV: Likewise.
1071         * locales/es_US: Likewise.
1072         * locales/es_UY: Likewise.
1073         * locales/es_VE: Likewise.
1074         * locales/et_EE: Likewise.
1075         * locales/fa_IR: Likewise.
1076         * locales/fo_FO: Likewise.
1077         * locales/fr_CA: Likewise.
1078         * locales/fr_CH: Likewise.
1079         * locales/gv_GB: Likewise.
1080         * locales/he_IL: Likewise.
1081         * locales/hr_HR: Likewise.
1082         * locales/id_ID: Likewise.
1083         * locales/is_IS: Likewise.
1084         * locales/it_CH: Likewise.
1085         * locales/iw_IL: Likewise.
1086         * locales/kl_GL: Likewise.
1087         * locales/ko_KR: Likewise.
1088         * locales/kw_GB: Likewise.
1089         * locales/lg_UG: Likewise.
1090         * locales/lt_LT: Likewise.
1091         * locales/lv_LV: Likewise.
1092         * locales/mi_NZ: Likewise.
1093         * locales/nhn_MX: Likewise.
1094         * locales/nl_BE: Likewise.
1095         * locales/pl_PL: Likewise.
1096         * locales/sk_SK: Likewise.
1097         * locales/sl_SI: Likewise.
1098         * locales/sv_FI: Likewise.
1099         * locales/tl_PH: Likewise.
1100         * locales/tr_TR: Likewise.
1101         * locales/vi_VN: Likewise.
1103 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1105         [BZ #17475]
1106         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1107         of tu_IN and bh_IN.
1109 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1111         [BZ #18694]
1112         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1113         bits/wordsize.h.
1114         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1116 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1118         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1119         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1120         (spawn_thread): New function.
1121         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1122         (do_test): ... here.  Use IS_LOADED to test for its
1123         availability.
1125 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1127         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1129 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1131         [BZ #18696]
1132         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1133         si_addr_bnd.
1134         (si_lower): New.
1135         (si_upper): Likewise.
1137 2015-07-16  David S. Miller  <davem@davemloft.net>
1139         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1141 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1143         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1144         buffer.
1145         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1146         fail output information.
1148 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1151         and strstr-ppc64..
1152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1153         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1154         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1155         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1156         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1158 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1160         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1161         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1162         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1163         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1165 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1167         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1168         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1169         rtld_hidden_proto.
1170         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1172 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1174         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1175         the test can fail.
1177         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1179         [BZ #18676]
1180         * elf/tst-nodelete-opened.c: New test case.
1181         * elf/tst-nodelete-opened-lib.c: New test case module.
1182         * elf/Makefile (tests, modules-names): Use them.
1183         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1184         early.
1186 2015-07-15  David S. Miller  <davem@davemloft.net>
1188         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1189         futex-intenal.h
1190         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1191         * sysdeps/sparc/sparc64/Makefile: Likewise.
1192         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1193         Remove space from macro define.
1194         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1196 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1198         [BZ #17475]
1199         * locale/iso-639.def: Update Bhili and Tulu language codes as
1200         per iso639-3.
1202 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1204         * elf/tst-leaks1.c (main): Converted to ...
1205         (do_test): ... this.
1206         (TEST_FUNCTION): New macro.
1207         Include test-skeleton.c.
1208         * localedata/tst-langinfo.c (main): Converted to ...
1209         (do_test): ... this.
1210         (TEST_FUNCTION): New macro.
1211         Include test-skeleton.c.
1212         * math/test-fpucw.c (main): Converted to ...
1213         (do_test): ... this.
1214         (TEST_FUNCTION): New macro.
1215         Include test-skeleton.c.
1216         * math/test-tgmath.c (main): Converted to ...
1217         (do_test): ... this.
1218         (TEST_FUNCTION): New macro.
1219         Include test-skeleton.c.
1220         * math/test-tgmath2.c (main): Converted to ...
1221         (do_test): ... this.
1222         (TEST_FUNCTION): New macro.
1223         Include test-skeleton.c.
1224         * setjmp/tst-setjmp.c (main): Converted to ...
1225         (do_test): ... this.
1226         (TEST_FUNCTION): New macro.
1227         Include test-skeleton.c.
1228         * stdio-common/tst-sscanf.c (main): Converted to ...
1229         (do_test): ... this.
1230         (TEST_FUNCTION): New macro.
1231         Include test-skeleton.c.
1232         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1233         (do_test): ... this.
1234         (TEST_FUNCTION): New macro.
1235         Include test-skeleton.c.
1237         * elf/tst-audit9.c (main): Converted to ...
1238         (do_test): ... this.
1239         (TEST_FUNCTION): New macro.
1240         Include test-skeleton.c.
1242 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1244         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1246 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1248         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1249         New variable.
1251 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1253         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1255 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1257         * sysdeps/generic/dl-fileid.h: New file.
1258         * sysdeps/posix/dl-fileid.h: New file.
1259         * sysdeps/nacl/dl-fileid.h: New file.
1260         * include/link.h: Include <dl-fileid.h>.
1261         (struct link_map): Replace l_dev and l_ino with l_file_id.
1262         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1263         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1264         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1266 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1268         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1270 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1272         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1273         Add iff $CXX is set.
1274         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1275         Likewise.
1276         (tst-nodelete-zmodiff): Likewise.
1277         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1279 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1281         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1283 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1285         * sysdeps/aarch64/fpu/math_private.h
1286         (define math_opt_barrier): Add AArch64 version.
1287         (math_force_eval): Likewise.
1289 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1291         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1293 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1295         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1296         %ld with %jd and cast to intmax_t.
1297         (do_test_length_zero): Likewise.
1299 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1301         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1303 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1305         * sysdeps/tile/libm-test-ulps: Regenerated.
1307         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1308         Comment out the whole function, not just its body.
1310 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1312         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1313         locks.
1315         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1317 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1319         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1320         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1322 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1324         * sysdeps/nptl/futex-internal.h: New file.
1325         * sysdeps/nacl/futex-internal.h: New file.
1326         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1327         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1328         error checking.
1329         (setxid_unmark_thread): Likewise.
1330         (__nptl_setxid): Likewise.
1331         (__wait_lookup_done): Likewise.
1332         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1333         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1334         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1335         * nptl/pthread_once.c (clear_once_control): Likewise.
1336         (__pthread_once_slow): Likewise.
1337         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1338         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1339         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1340         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1341         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1342         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1343         Likewise.
1344         (__pthread_rwlock_rdlock): Likewise.
1345         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1346         Likewise.
1347         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1348         Likewise.
1349         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1350         Likewise.
1351         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1352         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1353         Likewise.
1354         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1355         __ASSUME_PRIVATE_FUTEX check.
1356         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1357         Check that shared futexes are supported.
1358         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1359         wrappers with error checking.
1360         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1361         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1362         * nptl/pthread_barrierattr_setpshared.c
1363         (pthread_barrierattr_setpshared): Check that shared futexes are
1364         supported.
1365         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1366         Likewise.
1367         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1368         Likewise.
1369         * nptl/sem_init.c (futex_private_if_supported): Remove.
1370         (__new_sem_init): Adapt and check that shared futexes are supported.
1371         * nptl/sem_open.c (sem_open): Likewise.
1372         * nptl/sem_post.c (futex_wake): Remove.
1373         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1374         (do_futex_wait): Use futex wrappers with error checking.
1375         * nptl/sem_wait.c: Include lowlevellock.h.
1376         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1377         Use futex_supports_pshared.
1378         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1379         Use futex wrappers with error checking.
1380         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1381         Likewise.
1382         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1383         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1384         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1385         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1386         (futex_wake): Likewise.
1387         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1388         (do_futex_wait): Use futex wrappers with error checking.
1389         (__new_sem_wait_slow): Update EINTR handling.
1390         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1392 2015-07-09  Martin Sebor  <msebor@redhat.com>
1394         [BZ #18435]
1395         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1396         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1397         * nptl/Makefile (test-xfail-tst-once5): Define.
1399 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1401         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1402         * elf/dl-minimal.c: For readability, reorder some definitions and
1403         introduce more page breaks.  Include <stdio.h>.
1404         (__libc_fatal): New function.
1406         * include/unistd.h: Add rtld_hidden_proto for _exit.
1407         * posix/_exit.c: Add rtld_hidden_def.
1408         * sysdeps/mach/hurd/_exit.c: Likewise.
1409         * sysdeps/nacl/_exit.c: Likewise.
1410         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1411         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1413 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1415         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1416         bndmov encoding with zero displacement.
1418 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1419             H.J. Lu  <hongjiu.lu@intel.com>
1421         [BZ #18134]
1422         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1423         * sysdeps/i386/configure: Regenerated.
1424         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1425         (_dl_runtime_profile): Save and restore Intel MPX return bound
1426         registers when calling _dl_call_pltexit.  Add
1427         PRESERVE_BND_REGS_PREFIX before return.
1428         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1429         (LRV_BND1_OFFSET): Likewise.
1430         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1431         lrv_bnd1.
1432         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1433         typo in bndmov encoding.
1434         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1435         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1436         branch instructions to preserve bounds.
1438 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1441         [GLIBC_2.22]: Add fmemopen.
1443 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1445         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1446         returns an error, also try to use host port from __mach_host_self for
1447         the __vm_wire call.
1448         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1450 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1452         [BZ #18400]
1453         [BZ #18648]
1454         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1455         Fix pr_uid and pr_gid members.
1456         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1457         definition to elf_greg_t.
1459 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1461         [BZ #18383]
1462         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1463         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1464         * sysdeps/arm/configure: Regenerated.
1465         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1466         (test-xfail-tst-tlsalign-static): Variable removed.
1468         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1469         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1470         rather than explicit 'ln -s'.
1472         * resolv/rpc/netdb.h: New file.
1473         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1475 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1477         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1478         length buffers.
1479         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1480         test-skeleton.c.
1482         [BZ #6544]
1483         [BZ #11216]
1484         [BZ #12836]
1485         [BZ #13151]
1486         [BZ #13152]
1487         [BZ #14292]
1488         * include/stdio.h (fmemopen): Remove hidden prototype.
1489         (__fmemopen): Add new hidden prototype.
1490         * libio/Makefile: Add oldfmemopen object.
1491         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1492         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
1493         compliance.
1494         * libio/oldfmemopen.c: New file: old fmemopen implementation for
1495         symbol compatibility.
1496         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
1497         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
1498         fmemopen.
1499         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
1500         on append and read mode.
1501         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
1502         fmemopen.
1503         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
1504         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
1505         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
1506         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
1507         Likewise.
1508         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1509         [GLIBC_2.22]: Likewise.
1510         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
1511         Likewise.
1512         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
1513         Likewise.
1514         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1515         [GLIBC_2.22]: Likewise.
1516         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1517         [GLIBC_2.22]: Likewise.
1518         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1519         [GLIBC_2.22]: Likewise.
1520         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1521         [GLIBC_2.22]: Likewise.
1522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1523         [GLIBC_2.22]: Likewise.
1524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1525         [GLIBC_2.22]: Likewise.
1526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1527         [GLIBC_2.22]: Likewise.
1528         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
1529         Likewise.
1530         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
1531         Likewise.
1532         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
1533         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1534         [GLIBC_2.22]: Likewise.
1535         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1536         [GLIBC_2.22]: Likewise.
1537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1538         [GLIBC_2.22]: Likewise.
1539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1540         [GLIBC_2.22]: Likewise.
1541         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
1542         Likewise.
1543         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
1544         Likewise.
1545         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
1546         Likewise.
1547         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
1548         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
1550 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1552         [BZ #18643]
1553         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
1554         IPV6_PATHMTU, and IPV6_DONTFRAG.
1556 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
1558         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
1559         and _IO_UNBUFFERED.
1560         * libio/oldfileops.c: Likewise.
1561         * libio/wfileops.c: Likewise.
1563 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1565         * nscd/selinux.c: Delete selinux/flask.h include.
1567 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
1569         [BZ #18641]
1570         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
1571         (putpwent): Likewise.
1572         (getpwnam): Likewise.
1573         (getpwent_r): Likewise.
1574         (getpwuid_r): Likewise.
1575         (getpwnam_r): Likewise.
1576         (fgetpwent_r): Likewise.
1578 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
1580         [BZ #18557]
1581         * inet/rcmd.c (__validuser2_sa): Check user first to
1582         short-circuit host check.
1584 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
1585             Mikhail Ilin  <m.ilin@samsung.com>
1587         [BZ #17833]
1588         * elf/Makefile (tests): Add tst-nodelete.
1589         (modules-names): Add tst-nodelete-uniquemod.
1590         (tst-nodelete-uniquemod.so-no-z-defs): New.
1591         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
1592         (tst-nodelete-zmod.so-no-z-defs): Likewise.
1593         ($(objpfx)tst-nodelete): Likewise.
1594         ($(objpfx)tst-nodelete.out): Likewise.
1595         (LDFLAGS-tst-nodelete): Likewise.
1596         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
1597         * elf/dl-close.c (_dl_close_worker): Add a parameter to
1598         implement forced object deletion.
1599         (_dl_close): Pass false to _dl_close_worker.
1600         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
1601         * elf/tst-nodelete.cc: New file.
1602         * elf/tst-nodeletelib.cc: Likewise.
1603         * elf/tst-znodeletelib.cc: Likewise.
1604         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
1606 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1608         [BZ #18508]
1609         * stdlib/Makefile ($(objpfx)tst-makecontext3):
1610         Depend on $(libdl).
1611         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
1612         is not called infinitely times.
1613         (backtrace_helper): New function.
1614         (trace_arg): New struct.
1615         (st1): Enlarge stack size.
1616         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1617         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
1618         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1619         Likewise.
1621 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1623         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1625 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1627         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
1628         Include sys/types.h instead of bits/types.h.
1629         Remove inclusion of bits/wordsize.h.
1631 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1633         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
1634         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
1635         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
1636         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
1637         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
1638         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
1640 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1642         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
1643         link-defines.sym.
1644         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
1645         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
1646         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
1647         and LR_SIZE.
1648         * sysdeps/i386/link-defines.sym: New file.
1650 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
1652         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
1653         (modules-names): Add tst-auditmod3a tst-auditmod3b.
1654         ($(objpfx)tst-audit3): New rule.
1655         ($(objpfx)tst-audit3.out): Likewise.
1656         * sysdeps/i386/tst-audit3.c: New file.
1657         * sysdeps/i386/tst-audit3.h: Likewise.
1658         * sysdeps/i386/tst-auditmod3a.c: Likewise.
1659         * sysdeps/i386/tst-auditmod3b.c: Likewise.
1661 2015-07-07  Torvald Riegel  <triegel@redhat.com>
1663         [BZ #18633]
1664         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
1665         pointer in C code.
1666         (__strcat_c): Likewise.
1667         (__strcat_g): Likewise.
1669 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
1671         [BZ #18592]
1672         * misc/sbrk.c: Set errno to ENOMEM on overflow.
1674 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1676         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
1677         New function.  (__ieee754_sqrtf): New function.
1678         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
1679         New function.
1680         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
1681         New function.
1683 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
1685         * sysdeps/ieee754/support.c: Remove unused file.
1687 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1689         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
1690         registers instead of d ones so the layout is kernel abi compatible.
1691         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
1692         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
1693         Likewise.
1695 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1697         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1699 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1701         [BZ #18619]
1702         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
1703         and return argument in case of subnormal argument.
1705 2015-07-01  Martin Sebor  <msebor@redhat.com>
1707         [BZ #18435]
1708         * nptl/Makefile: Add tst-once5.cc.
1709         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1710         Remove macro redefinitions.
1711         * nptl/tst-once5.cc: New test.
1713 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
1715         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1717         * sysdeps/arm/libm-test-ulps: Regenerated.
1719         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1720         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1722 2015-06-30  Torvald Riegel  <triegel@redhat.com>
1724         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
1725         lll_lock_wait_private and lll_futex_wake probes.
1727         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1728         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
1729         Likewise.
1730         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
1731         atomic_spin_nop.
1732         * sysdeps/x86_64/bits/atomic.h: Likewise.
1733         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
1734         to atomic_spin_nop and move ...
1735         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1736         ... here and ...
1737         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
1738         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1739         atomic_spin_nop instead of BUSY_WAIT_NOP.
1740         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
1741         Likewise.
1742         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
1743         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
1744         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
1745         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
1746         instead of atomic_delay.
1748 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
1750         [BZ #18613]
1751         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
1752         X_ADJ not X when adjusting exponent.
1753         (__ieee754_gamma_r): Do intermediate computations in
1754         round-to-nearest then adjust overflowing and underflowing results
1755         as needed.
1756         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
1757         of X_ADJ not X when adjusting exponent.
1758         (__ieee754_gammaf_r): Do intermediate computations in
1759         round-to-nearest then adjust overflowing and underflowing results
1760         as needed.
1761         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
1762         log of X_ADJ not X when adjusting exponent.
1763         (__ieee754_gammal_r): Do intermediate computations in
1764         round-to-nearest then adjust overflowing and underflowing results
1765         as needed.  Use 1.0L not 1.0f as numerator of division.
1766         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
1767         log of X_ADJ not X when adjusting exponent.
1768         (__ieee754_gammal_r): Do intermediate computations in
1769         round-to-nearest then adjust overflowing and underflowing results
1770         as needed.  Use 1.0L not 1.0f as numerator of division.
1771         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
1772         of X_ADJ not X when adjusting exponent.
1773         (__ieee754_gammal_r): Do intermediate computations in
1774         round-to-nearest then adjust overflowing and underflowing results
1775         as needed.  Use 1.0L not 1.0f as numerator of division.
1776         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
1777         to auto-libm-test-in.
1778         (tgamma_test): Use ALL_RM_TEST.
1779         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
1780         tests of tgamma with spurious-overflow.
1781         * math/auto-libm-test-out: Regenerated.
1782         * math/gen-libm-have-vector-test.sh: Do not check for START.
1783         * sysdeps/i386/fpu/libm-test-ulps: Update.
1784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1786         [BZ #18612]
1787         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
1788         arguments, just return 0.5 times the argument, with underflow
1789         forced as needed.
1790         * math/auto-libm-test-in: Add more tests of j1.
1791         * math/auto-libm-test-out: Regenerated.
1793         [BZ #16559]
1794         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
1795         (__ieee754_j1): Force underflow exception for small results.
1796         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1797         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
1798         (__ieee754_j1f): Force underflow exception for small results.
1799         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1800         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1801         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1802         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
1803         (__ieee754_j1l): Force underflow exception for small results.
1804         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1805         * math/auto-libm-test-in: Add more tests of j1 and jn.
1806         * math/auto-libm-test-out: Regenerated.
1808         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
1809         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
1810         (PF_MPLS): Likewise.
1811         (AF_IB): Likewise.
1812         (AF_MPLS): Likewise.
1813         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
1814         value and macro.
1815         (MS_RMT_MASK): Include MS_LAZYTIME.
1817 2015-06-26  Mel Gorman  <mgorman@suse.de>
1819         [BZ #18502]
1820         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1821         already minimal.
1823 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
1825         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1826         (DT_MIPS_NUM): Update.
1827         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1828         DT_MIPS_RLD_MAP_REL.
1830 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
1832         [BZ #16559]
1833         [BZ #18602]
1834         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1835         round-to-nearest internally then recompute results that
1836         underflowed to zero in the original rounding mode.
1837         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1838         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1839         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1840         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1841         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1842         * sysdeps/i386/fpu/libm-test-ulps: Update.
1843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1845 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1847         * NEWS: Fixed description of link with vector math library.
1849 2015-06-25  Andreas Schwab  <schwab@suse.de>
1851         [BZ #18549]
1852         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1853         * libio/test-fmemopen.c (do_test): Add test for it.
1855 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1857         [BZ #17841]
1858         * Makeconfig (no-pie-ldflag): New.
1859         (+link): Set to $(+link-pie) if default to PIE.
1860         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1861         * config.make.in (build-pie-default): New.
1862         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
1863         is default.  AC_SUBST.
1864         * configure: Regenerated.
1865         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1867 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1869         * nptl/descr.h (struct pthread): Change type of field setxid_futex
1870         to 'unsigned int'.
1872         * resolv/gai_misc.h (struct waitlist): Change type of field
1873         counterp to 'volatile unsigned int *'.
1874         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1875         FUTEXADDR and OLDVAL.
1876         * resolv/getaddrinfo_a.c (getaddrinfo_a):
1877         Give local variable TOTAL type 'volatile unsigned int'.
1878         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1879         * resolv/gai_suspend.c (gai_suspend):
1880         Give local variable CNTR type 'unsigned int'.
1882         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1883         counterp to 'volatile unsigned int *'.
1884         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1885         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1886         (aio_suspend): Give local variable CNTR type 'unsigned int'.
1887         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1888         Give local variable TOTAL type 'volatile unsigned int'.
1889         (struct async_waitlist): Change type of field counter to 'unsigned int'.
1891 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1893         [BZ #18383]
1894         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1895         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
1896         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1897         comment for i386/x86-64.
1898         (test-xfail-tst-tlsalign-extern-static): Removed.
1900 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1902         * math/test-double.h: New file.
1903         * math/test-float.h: Likewise.
1904         * math/test-ldouble.h: Likewise.
1905         * math/test-math-inline.h: Likewise.
1906         * math/test-math-no-inline.h: Likewise.
1907         * math/test-math-scalar.h: Likewise.
1908         * math/test-math-vector.h: Likewise.
1909         * math/test-vec-loop.h: Remove file.  Contents moved into
1910         test-math-vector.h.
1911         * math/libm-test.inc (MATHCONST): Do not document macro.
1912         * math/test-double.c: Include test-double.h, test-math-no-inline.h
1913         and test-math-scalar.h.
1914         (FUNC): Remove macro.
1915         (FUNC_TEST): Likewise.
1916         (FLOAT): Likewise.
1917         (MATHCONST): Likewise.
1918         (PRINTF_EXPR): Likewise.
1919         (PRINTF_XEXPR): Likewise.
1920         (PRINTF_NEXPR): Likewise.
1921         (TEST_DOUBLE): Likewise.
1922         (TEST_MATHVEC): Likewise.
1923         (__NO_MATH_INLINES): Likewise.
1924         * math/test-float.c: Include test-float.h, test-math-no-inline.h
1925         and test-math-scalar.h.
1926         (FUNC): Remove macro.
1927         (FUNC_TEST): Likewise.
1928         (FLOAT): Likewise.
1929         (MATHCONST): Likewise.
1930         (PRINTF_EXPR): Likewise.
1931         (PRINTF_XEXPR): Likewise.
1932         (PRINTF_NEXPR): Likewise.
1933         (TEST_FLOAT): Likewise.
1934         (TEST_MATHVEC): Likewise.
1935         (__NO_MATH_INLINES): Likewise.
1936         * math/test-idouble.c: Include test-double.h, test-math-inline.h
1937         and test-math-scalar.h.
1938         (FUNC): Remove macro.
1939         (FUNC_TEST): Likewise.
1940         (FLOAT): Likewise.
1941         (MATHCONST): Likewise.
1942         (PRINTF_EXPR): Likewise.
1943         (PRINTF_XEXPR): Likewise.
1944         (PRINTF_NEXPR): Likewise.
1945         (TEST_DOUBLE): Likewise.
1946         (TEST_MATHVEC): Likewise.
1947         (TEST_INLINE): Likewise.
1948         (__NO_MATH_INLINES): Likewise.
1949         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1950         test-math-scalar.h.
1951         (FUNC): Remove macro.
1952         (FUNC_TEST): Likewise.
1953         (FLOAT): Likewise.
1954         (MATHCONST): Likewise.
1955         (PRINTF_EXPR): Likewise.
1956         (PRINTF_XEXPR): Likewise.
1957         (PRINTF_NEXPR): Likewise.
1958         (TEST_FLOAT): Likewise.
1959         (TEST_MATHVEC): Likewise.
1960         (TEST_INLINE): Likewise.
1961         (__NO_MATH_INLINES): Likewise.
1962         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1963         and test-math-scalar.h.
1964         (FUNC): Remove macro.
1965         (FUNC_TEST): Likewise.
1966         (FLOAT): Likewise.
1967         (MATHCONST): Likewise.
1968         (PRINTF_EXPR): Likewise.
1969         (PRINTF_XEXPR): Likewise.
1970         (PRINTF_NEXPR): Likewise.
1971         (TEST_LDOUBLE): Likewise.
1972         (TEST_MATHVEC): Likewise.
1973         (TEST_INLINE): Likewise.
1974         (__NO_MATH_INLINES): Likewise.
1975         * math/test-ldouble.c: Include test-ldouble.h,
1976         test-math-no-inline.h and test-math-scalar.h.
1977         (FUNC): Remove macro.
1978         (FUNC_TEST): Likewise.
1979         (FLOAT): Likewise.
1980         (MATHCONST): Likewise.
1981         (PRINTF_EXPR): Likewise.
1982         (PRINTF_XEXPR): Likewise.
1983         (PRINTF_NEXPR): Likewise.
1984         (TEST_LDOUBLE): Likewise.
1985         (TEST_MATHVEC): Likewise.
1986         (__NO_MATH_INLINES): Likewise.
1987         * math/test-double-vlen2.h: Include test-double.h,
1988         test-math-no-inline.h and test-math-vector.h.
1989         (FLOAT): Remove macro.
1990         (FUNC): Likewise.
1991         (MATHCONST): Likewise.
1992         (PRINTF_EXPR): Likewise.
1993         (PRINTF_XEXPR): Likewise.
1994         (PRINTF_NEXPR): Likewise.
1995         (TEST_DOUBLE): Likewise.
1996         (TEST_MATHVEC): Likewise.
1997         (__NO_MATH_INLINES): Likewise.
1998         (CNCT): Likewise.
1999         (CONCAT): Likewise.
2000         (WRAPPER_NAME): Likewise.
2001         (WRAPPER_DECL): Likewise.
2002         (WRAPPER_DECL_ff): Likewise.
2003         (WRAPPER_DECL_fFF): Likewise.
2004         (VECTOR_WRAPPER): Likewise.
2005         (VECTOR_WRAPPER_ff): Likewise.
2006         (VECTOR_WRAPPER_fFF): Likewise.
2007         (VEC_LEN): New macro.
2008         * math/test-double-vlen4.h: Include test-double.h,
2009         test-math-no-inline.h and test-math-vector.h.
2010         (FLOAT): Remove macro.
2011         (FUNC): Likewise.
2012         (MATHCONST): Likewise.
2013         (PRINTF_EXPR): Likewise.
2014         (PRINTF_XEXPR): Likewise.
2015         (PRINTF_NEXPR): Likewise.
2016         (TEST_DOUBLE): Likewise.
2017         (TEST_MATHVEC): Likewise.
2018         (__NO_MATH_INLINES): Likewise.
2019         (CNCT): Likewise.
2020         (CONCAT): Likewise.
2021         (WRAPPER_NAME): Likewise.
2022         (WRAPPER_DECL): Likewise.
2023         (WRAPPER_DECL_ff): Likewise.
2024         (WRAPPER_DECL_fFF): Likewise.
2025         (VECTOR_WRAPPER): Likewise.
2026         (VECTOR_WRAPPER_ff): Likewise.
2027         (VECTOR_WRAPPER_fFF): Likewise.
2028         (VEC_LEN): New macro.
2029         * math/test-double-vlen8.h: Include test-double.h,
2030         test-math-no-inline.h and test-math-vector.h.
2031         (FLOAT): Remove macro.
2032         (FUNC): Likewise.
2033         (MATHCONST): Likewise.
2034         (PRINTF_EXPR): Likewise.
2035         (PRINTF_XEXPR): Likewise.
2036         (PRINTF_NEXPR): Likewise.
2037         (TEST_DOUBLE): Likewise.
2038         (TEST_MATHVEC): Likewise.
2039         (__NO_MATH_INLINES): Likewise.
2040         (CNCT): Likewise.
2041         (CONCAT): Likewise.
2042         (WRAPPER_NAME): Likewise.
2043         (WRAPPER_DECL): Likewise.
2044         (WRAPPER_DECL_ff): Likewise.
2045         (WRAPPER_DECL_fFF): Likewise.
2046         (VECTOR_WRAPPER): Likewise.
2047         (VECTOR_WRAPPER_ff): Likewise.
2048         (VECTOR_WRAPPER_fFF): Likewise.
2049         (VEC_LEN): New macro.
2050         * math/test-float-vlen4.h: Include test-float.h,
2051         test-math-no-inline.h and test-math-vector.h.
2052         (FLOAT): Remove macro.
2053         (FUNC): Likewise.
2054         (MATHCONST): Likewise.
2055         (PRINTF_EXPR): Likewise.
2056         (PRINTF_XEXPR): Likewise.
2057         (PRINTF_NEXPR): Likewise.
2058         (TEST_FLOAT): Likewise.
2059         (TEST_MATHVEC): Likewise.
2060         (__NO_MATH_INLINES): Likewise.
2061         (CNCT): Likewise.
2062         (CONCAT): Likewise.
2063         (WRAPPER_NAME): Likewise.
2064         (WRAPPER_DECL): Likewise.
2065         (WRAPPER_DECL_ff): Likewise.
2066         (WRAPPER_DECL_fFF): Likewise.
2067         (VECTOR_WRAPPER): Likewise.
2068         (VECTOR_WRAPPER_ff): Likewise.
2069         (VECTOR_WRAPPER_fFF): Likewise.
2070         (VEC_LEN): New macro.
2071         * math/test-float-vlen8.h: Include test-float.h,
2072         test-math-no-inline.h and test-math-vector.h.
2073         (FLOAT): Remove macro.
2074         (FUNC): Likewise.
2075         (MATHCONST): Likewise.
2076         (PRINTF_EXPR): Likewise.
2077         (PRINTF_XEXPR): Likewise.
2078         (PRINTF_NEXPR): Likewise.
2079         (TEST_FLOAT): Likewise.
2080         (TEST_MATHVEC): Likewise.
2081         (__NO_MATH_INLINES): Likewise.
2082         (CNCT): Likewise.
2083         (CONCAT): Likewise.
2084         (WRAPPER_NAME): Likewise.
2085         (WRAPPER_DECL): Likewise.
2086         (WRAPPER_DECL_ff): Likewise.
2087         (WRAPPER_DECL_fFF): Likewise.
2088         (VECTOR_WRAPPER): Likewise.
2089         (VECTOR_WRAPPER_ff): Likewise.
2090         (VECTOR_WRAPPER_fFF): Likewise.
2091         (VEC_LEN): New macro.
2092         * math/test-float-vlen16.h: Include test-float.h,
2093         test-math-no-inline.h and test-math-vector.h.
2094         (FLOAT): Remove macro.
2095         (FUNC): Likewise.
2096         (MATHCONST): Likewise.
2097         (PRINTF_EXPR): Likewise.
2098         (PRINTF_XEXPR): Likewise.
2099         (PRINTF_NEXPR): Likewise.
2100         (TEST_FLOAT): Likewise.
2101         (TEST_MATHVEC): Likewise.
2102         (__NO_MATH_INLINES): Likewise.
2103         (CNCT): Likewise.
2104         (CONCAT): Likewise.
2105         (WRAPPER_NAME): Likewise.
2106         (WRAPPER_DECL): Likewise.
2107         (WRAPPER_DECL_ff): Likewise.
2108         (WRAPPER_DECL_fFF): Likewise.
2109         (VECTOR_WRAPPER): Likewise.
2110         (VECTOR_WRAPPER_ff): Likewise.
2111         (VECTOR_WRAPPER_fFF): Likewise.
2112         (VEC_LEN): New macro.
2113         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2114         test-vec-loop.h.
2115         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2116         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2117         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2118         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2119         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2120         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2121         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2123 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2125         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2126         (__getlogin_r): ... this.
2128 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2130         [BZ #18594]
2131         * math/s_ccosh.c (__ccosh): Compare with least normal value
2132         instead of comparing class with FP_SUBNORMAL.
2133         * math/s_ccoshf.c (__ccoshf): Likewise.
2134         * math/s_ccoshl.c (__ccoshl): Likewise.
2135         * math/s_cexp.c (__cexp): Likewise.
2136         * math/s_cexpf.c (__cexpf): Likewise.
2137         * math/s_cexpl.c (__cexpl): Likewise.
2138         * math/s_csin.c (__csin): Likewise.
2139         * math/s_csinf.c (__csinf): Likewise.
2140         * math/s_csinh.c (__csinh): Likewise.
2141         * math/s_csinhf.c (__csinhf): Likewise.
2142         * math/s_csinhl.c (__csinhl): Likewise.
2143         * math/s_csinl.c (__csinl): Likewise.
2144         * math/s_ctan.c (__ctan): Likewise.
2145         * math/s_ctanf.c (__ctanf): Likewise.
2146         * math/s_ctanh.c (__ctanh): Likewise.
2147         * math/s_ctanhf.c (__ctanhf): Likewise.
2148         * math/s_ctanhl.c (__ctanhl): Likewise.
2149         * math/s_ctanl.c (__ctanl): Likewise.
2150         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2151         csin, csinh, ctan and ctanh.
2152         * math/auto-libm-test-out: Regenerated.
2153         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2154         * sysdeps/i386/fpu/libm-test-ulps: Update.
2155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2157 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2159         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2160         return value is wrong, print the expected value too.
2162 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2164         [BZ #18585]
2165         * elf/readlib.c (is_gdb_python_file): New.
2166         (process_file): Don't issue errors on filenames with -gdb.py
2167         suffix.
2169 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2171         * math/auto-libm-test-in: Add more tests of csin and csinh.
2172         * math/auto-libm-test-out: Regenerated.
2173         * math/libm-test.inc (csin_test_data): Remove tests moved to
2174         auto-libm-test-in.
2175         (csinh_test_data): Likewise.
2177         [BZ #18593]
2178         * math/s_csin.c (__csin): Negate before rather than after possibly
2179         overflowing multiplication.
2180         * math/s_csinf.c (__csinf): Likewise.
2181         * math/s_csinh.c (__csinh): Likewise.
2182         * math/s_csinhf.c (__csinhf): Likewise.
2183         * math/s_csinhl.c (__csinhl): Likewise.
2184         * math/s_csinl.c (__csinl): Likewise.
2185         * math/auto-libm-test-in: Add some tests of csin and csinh.
2186         * math/auto-libm-test-out: Regenerated.
2187         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2188         (csinh_test_data): Likewise.
2189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2191         [BZ #18586]
2192         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2193         underflow exception for small results.
2195 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2197         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2198         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2199         variable and included header.
2200         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2201         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2202         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2203         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2204         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2205         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2206         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2207         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2208         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2209         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2210         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2211         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2212         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2213         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2214         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2215         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2217 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2219         [BZ #16526]
2220         [BZ #16538]
2221         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2222         (__sin): Force underflow exception for arguments with small
2223         absolute value.
2224         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2225         (__kernel_sinf): Force underflow exception for arguments with
2226         small absolute value.
2227         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2228         (__kernel_sincosl): Force underflow exception for arguments with
2229         small absolute value.
2230         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2231         (__kernel_sinl): Force underflow exception for arguments with
2232         small absolute value.
2233         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2234         (__kernel_sincosl): Force underflow exception for arguments with
2235         small absolute value.
2236         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2237         (__kernel_sinl): Force underflow exception for arguments with
2238         small absolute value.
2239         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2240         (__kernel_sinl): Force underflow exception for arguments with
2241         small absolute value.
2242         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2243         (__kernel_sinf): Force underflow exception for arguments with
2244         small absolute value.
2245         * math/auto-libm-test-in: Add more tests of sin and sincos.
2246         * math/auto-libm-test-out: Regenerated.
2248         [BZ #18245]
2249         [BZ #18583]
2250         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2251         (__kernel_standard_l): Use feholdexcept and fesetenv around
2252         conversion to double instead of special-casing overflow and
2253         underflow.
2254         * math/libm-test.inc (fmod_test_data): Add more tests.
2255         (remainder_test_data): Likewise.
2256         (sqrt_test_data): Likewise.
2258 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2260         [BZ #17403]
2261         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2262         atomic_read_barrier, atomic_write_barrier): Define.
2263         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2264         atomic_read_barrier, atomic_write_barrier): Define.
2266 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2268         * math/Makefile [$(PERL) != no]
2269         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2270         dependency on libm-test.stmp below the inclusion of Rules.
2272 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2274         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2275         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2276         and included header.
2277         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2278         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2279         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2280         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2281         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2282         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2283         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2284         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2285         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2286         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2287         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2288         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2289         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2290         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2291         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2292         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2293         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2294         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2295         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2297 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2299         [BZ #18371]
2300         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2301         intermediate but not final result might underflow.
2302         * math/s_csqrtf.c (__csqrtf): Likewise.
2303         * math/s_csqrtl.c (__csqrtl): Likewise.
2304         * math/auto-libm-test-in: Add more tests of csqrt.
2305         * math/auto-libm-test-out: Regenerated.
2306         * sysdeps/i386/fpu/libm-test-ulps: Update.
2308         [BZ #18219]
2309         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2310         threshold on absolute value of exponent for which scaling is used.
2311         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2312         * math/auto-libm-test-in: Add more tests of exp2.
2313         * math/auto-libm-test-out: Regenerated.
2315 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2317         [BZ #17977]
2318         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2319         when initializing interface list, based on the bug analysis
2320         and the patch proposed by Eric Newton.
2321         * resolv/tst-res_hconf_reorder.c: New test.
2322         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2323         tst-res_hconf_reorder.
2324         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2325         and $(shared-thread-library).
2326         (tst-res_hconf_reorder-ENV): New variable.
2328         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2329         in comment.
2331 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2333         [BZ #16353]
2334         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2335         (__expm1): Force underflow exception for arguments with small
2336         absolute value.
2337         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2338         (__expm1f): Force underflow exception for arguments with small
2339         absolute value.
2340         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2341         (__expm1): Force underflow exception for arguments with small
2342         absolute value.
2343         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2344         (__expm1f): Force underflow exception for arguments with small
2345         absolute value.
2346         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2347         Check for small arguments before calling __expm1.
2348         * math/auto-libm-test-in: Do not mark underflow exceptions as
2349         possibly missing for bug 16353.
2350         * math/auto-libm-test-out: Regenerated.
2352 2015-06-22  Andreas Schwab  <schwab@suse.de>
2354         [BZ #18513]
2355         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2356         PTR queries.
2358 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2360         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2362         * string/strcoll_l.c: Remove unused struct element idxnow.
2364 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2366         [BZ #18569]
2367         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2368         underflow and return argument in case of subnormal argument.
2369         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2370         Likewise.
2371         * math/auto-libm-test-in: Add more tests of expm1.
2372         * math/auto-libm-test-out: Regenerated.
2374         [BZ #16361]
2375         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2376         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2377         tiny results.
2378         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2379         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2380         tiny results.
2381         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2382         mark underflow exceptions as possibly missing for bug 16361.
2383         * math/auto-libm-test-out: Regenerated.
2385 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2387         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2388         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2389         Remove variable.
2390         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2391         (test-xfail-XOPEN2K8/utmpx.h/conform).
2393         * conform/conformtest.pl ($xerrors): New variable.
2394         (note_error): New function.
2395         (compiletest): New argument $xfail.  Use not_error.
2396         (runtest): Likewise.
2397         (top level): Handle xfail- lines.  Update calls to compiletest and
2398         runtest.  Handle xfail- and optional- in headers listed with
2399         allow-header.
2400         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2401         (O_EXEC): Likewise.
2402         (O_SEARCH): Likewise.
2403         * conform/data/stropts.h-data (ioctl): Likewise.
2404         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2405         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2406         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2407         (msghdr.msg_controllen): Likewise.
2408         (cmsghdr.cmsg_len): Likewise.
2409         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2410         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2411         variable.
2412         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2413         (test-xfail-XPG4/stropts.h/conform): Likewise.
2414         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2415         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2416         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2417         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2418         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2419         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2420         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2421         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2422         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2423         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2424         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2425         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2426         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2427         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2428         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2429         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2430         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2431         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2432         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2434 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2436         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2437         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2438         definitions for proper unfolding of __MATHDECL_VEC.
2440 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2442         * benchtests/bench-strcoll.c:
2443         Include string.h.
2444         (main): Remove unused variable res.
2446 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2448         * timezone/Makefile (%/UTC %/Universal):
2449         Generate test-result files for UTC and Universal.
2451 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2453         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2455 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2457         [BZ #16350]
2458         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2459         for arguments with small absolute value.
2460         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2461         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2462         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2463         (__asinh): Force underflow exception for arguments with small
2464         absolute value.
2465         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2466         (__asinhf): Force underflow exception for arguments with small
2467         absolute value.
2468         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2469         (__asinhl): Force underflow exception for arguments with small
2470         absolute value.
2471         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2472         (__asinhl): Force underflow exception for arguments with small
2473         absolute value.
2474         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2475         (__asinhl): Force underflow exception for arguments with small
2476         absolute value.
2477         * math/auto-libm-test-in: Do not mark underflow exceptions as
2478         possibly missing for bug 16350.
2479         * math/auto-libm-test-out: Regenerated.
2481         * include/bits/ipc.h: Remove file.
2482         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2483         variable.
2484         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2485         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2486         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2487         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2488         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2489         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2490         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2491         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2492         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2494         * math/auto-libm-test-in: Remove spurious underflow allowance for
2495         tests of cexp.
2496         * math/auto-libm-test-out: Regenerated.
2498         [BZ #18558]
2499         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
2500         unconditional definition.
2501         (MCAST_BLOCK_SOURCE): Likewise.
2502         (MCAST_UNBLOCK_SOURCE): Likewise.
2503         (MCAST_LEAVE_GROUP): Likewise.
2504         (MCAST_JOIN_SOURCE_GROUP): Likewise.
2505         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
2506         (MCAST_MSFILTER): Likewise.
2507         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
2508         Remove variable.
2509         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2510         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2511         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2512         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2513         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2515 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
2517         * NEWS: Mention addition of x86_64 vector sincosf.
2518         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
2519         * math/test-float-vlen4.h: Likewise.
2520         * math/test-float-vlen8.h: Likewise.
2521         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2522         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
2523         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2524         * sysdeps/x86_64/fpu/Versions: New versions added.
2525         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2526         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2527         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2528         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
2529         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2530         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
2531         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2532         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
2533         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2534         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
2535         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
2536         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
2537         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
2538         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
2539         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
2540         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
2541         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
2542         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2543         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2544         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2545         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2546         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2547         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2548         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2550         * NEWS: Mention addition of x86_64 vector sincos.
2551         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
2552         * math/math.h (__MATHDECL_VEC): New macro.
2553         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
2554         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
2555         declaration under condition.
2556         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
2557         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
2558         TEST_VEC_LOOP change.
2559         * math/test-double-vlen4.h: Likewise.
2560         * math/test-double-vlen8.h: Likewise.
2561         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
2562         * math/test-float-vlen4.h: Likewise.
2563         * math/test-float-vlen8.h: Likewise.
2564         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2565         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
2566         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2567         * sysdeps/x86_64/fpu/Versions: New versions added.
2568         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2569         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2570         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2571         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
2572         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
2573         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
2574         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
2575         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
2576         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
2577         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
2578         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
2579         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
2580         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
2581         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
2582         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
2583         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
2584         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
2585         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2586         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2587         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2588         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2589         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2590         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2591         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2593         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2594         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2595         redirections for powf.
2596         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2597         * sysdeps/x86_64/fpu/Versions: New versions added.
2598         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2599         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2600         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2601         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
2602         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
2603         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
2604         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
2605         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
2606         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
2607         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
2608         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
2609         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
2610         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
2611         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
2612         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
2613         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
2614         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
2615         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2616         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2617         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2618         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2619         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2620         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2621         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2622         * math/test-float-vlen16.h: Fixed 2 argument macro.
2623         * math/test-float-vlen4.h: Likewise.
2624         * math/test-float-vlen8.h: Likewise.
2625         * NEWS: Mention addition of x86_64 vector powf.
2627 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
2629         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2630         and redefine.
2631         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2632         and redefine.
2633         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
2634         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2635         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2637         [BZ #18553]
2638         * resource/getpriority.c (getpriority): Rename to __getpriority
2639         and define as weak alias of __getpriority.
2640         * resource/setpriority.c (setpriority): Rename to __setpriority
2641         and define as weak alias of __setpriority.
2642         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
2643         __getpriority and define as weak alias of __getpriority.
2644         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
2645         __setpriority and define as weak alias of __setpriority.
2646         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
2647         strong name.
2648         (setpriority): Use __setpriority as strong name.
2649         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
2650         __getpriority and define as weak alias of __getpriority.
2651         * include/sys/resource.h (__getpriority): Declare.  Use
2652         libc_hidden_proto.
2653         (__setpriority): Likewise.
2654         (getpriority): Don't use libc_hidden_proto.
2655         (setpriority): Likewise.
2656         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
2657         getpriority.  Call __setpriority instead of setpriority.
2658         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
2659         Remove variable.
2661         [BZ #18547]
2662         * misc/getttyent.c (getttynam): Rename to __getttynam and define
2663         as weak alias of __getttynam.  Use prototype function definition.
2664         Call __setttyent, __getttyent and __endttyent instead of
2665         setttyent, getttyent and endttyent.
2666         (getttyent): Rename to __getttyent and define as weak alias of
2667         __getttyent.  Call __setttyent instead of setttyent.  Call
2668         __fgets_unlocked instead of fgets_unlocked.
2669         (setttyent): Rename to __setttyent and define as weak alias of
2670         __setttyent.
2671         (endttyent): Rename to __endttyent and define as weak alias of
2672         __endttyent.
2673         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
2674         (__setttyent): Likewise.
2675         (__endttyent): Likewise.
2676         (getttyent): Don't use libc_hidden_proto.
2677         (setttyent): Likewise.
2678         (endttyent): Likewise.
2679         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
2680         __endttyent instead of setttyent, getttyent and endttyent.
2681         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
2682         Remove variable.
2684         [BZ #18546]
2685         * socket/recv.c (__recv): Use libc_hidden_def.
2686         * socket/socket.c (__socket): Likewise.
2687         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2688         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2689         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
2690         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
2691         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
2692         libc_hidden_def.
2693         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
2694         libc_hidden_weak.
2695         * include/sys/socket.h (__socket): Do not use attribute_hidden.
2696         Use libc_hidden_proto.
2697         (__recv): Likewise.
2698         * socket/Versions (libc): Export __recv and __socket at version
2699         GLIBC_PRIVATE.
2700         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
2701         instead of recv.
2702         (init_mq_netlink): Call __socket instead of socket.
2703         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
2704         Remove variable.
2706         [BZ #18545]
2707         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
2708         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
2709         hidden_weak.
2710         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
2711         define as alias of __mq_timedsend.  Use hidden_weak.
2712         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
2713         __mq_timedsend as strong name.
2714         (mq_timedreceive): Use __mq_timedreceive as strong name.
2715         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
2716         (__mq_timedreceive): Likewise.
2717         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
2718         __mq_timedreceive instead of mq_timedreceive.
2719         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
2720         instead of mq_timedsend.
2721         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
2722         Remove variable.
2724         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
2725         hidden_def and hidden_weak instead of libc_hidden_def and
2726         libc_hidden_weak.
2727         (top level): Refer to hidden_def in comment.
2728         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
2729         macro.  Use it instead of libc_hidden_def.
2730         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
2731         specify __GI_* name explicitly.
2732         (mq_timedreceive): Likewise.
2733         (mq_setattr): Likewise.
2735         [BZ #18544]
2736         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
2737         __pthread_barrier_init and define as weak alias of
2738         __pthread_barrier_init.
2739         * sysdeps/sparc/nptl/pthread_barrier_init.c
2740         (pthread_barrier_init): Likewise.
2741         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
2742         __pthread_barrier_wait and define as weak alias of
2743         __pthread_barrier_wait.
2744         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2745         (pthread_barrier_wait): Likewise.
2746         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2747         (pthread_barrier_wait): Likewise.
2748         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
2749         (pthread_barrier_wait): Likewise.
2750         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
2751         (pthread_barrier_wait): Likewise.
2752         * nptl/Versions (libpthread): Export __pthread_barrier_init and
2753         __pthread_barrier_wait at version GLIBC_PRIVATE.
2754         * include/pthread.h (__pthread_barrier_init): Declare.
2755         (__pthread_barrier_wait): Likewise.
2756         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
2757         Call __pthread_barrier_wait instead of pthread_barrier_wait.
2758         (helper_thread): Likewise.
2759         (init_mq_netlink): Call __pthread_barrier_init instead of
2760         pthread_barrier_init.
2762         [BZ #18542]
2763         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
2764         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
2765         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
2766         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
2767         vswscanf.
2768         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
2769         Remove variable.
2771         [BZ #18540]
2772         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
2773         strong alias of _IO_fflush.  Use libc_hidden_def.
2774         * libio/iofflush_u.c (fflush_unlocked): Rename to
2775         __fflush_unlocked and define as weak alias of __fflush_unlocked.
2776         Use libc_hidden_weak.
2777         * include/stdio.h (__fflush_unlocked): Declare.  Use
2778         libc_hidden_proto.
2779         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
2780         fflush_unlocked.
2781         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
2782         Remove variable.
2784         [BZ #18539]
2785         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
2786         define as weak alias of __addseverity.
2787         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
2788         Remove variable.
2789         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2790         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2791         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2793         [BZ #18536]
2794         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
2795         (__tfind): Likewise.
2796         (__tdelete): Likewise.
2797         (__twalk): Likewise.
2798         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
2799         __twalk to GLIBC_PRIVATE.
2800         * include/search.h (__tsearch): Use libc_hidden_proto.
2801         (__tfind): Likewise.
2802         (__tdelete): Likewise.
2803         (__twalk): Likewise.
2804         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
2805         Call __tdelete instead of tdelete.
2806         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
2807         tfind.  Call __tsearch instead of tsearch.
2808         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
2809         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
2810         Remove variable.
2811         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2813         [BZ #18534]
2814         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
2815         (dprintf): Define as a weak alias of __dprintf, not a strong
2816         alias.
2817         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
2818         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
2819         dprintf.
2820         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
2821         Remove variable.
2822         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2823         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2825         [BZ #18533]
2826         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2827         not a strong alias.
2828         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2829         Remove variable.
2831         [BZ #18532]
2832         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2833         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
2834         (in6addr_loopback): Rename to __in6addr_loopback and define as
2835         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
2836         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
2837         libc_hidden_proto.
2838         (__in6addr_any): Likewise.
2839         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2840         in6addr_any.
2841         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2842         variable.
2843         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2845 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2847         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2848         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2849         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2850         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2851         redirections for pow.
2852         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2853         * sysdeps/x86_64/fpu/Versions: New versions added.
2854         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2855         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2856         build of SSE, AVX2 and AVX512 IFUNC versions.
2857         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2858         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2859         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2860         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2861         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2862         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2863         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2864         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2865         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2866         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2867         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2868         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2869         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2870         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2871         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2872         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2873         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2874         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2875         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2876         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2877         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2878         * NEWS: Mention addition of x86_64 vector pow.
2880         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2881         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2882         redirections for expf.
2883         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2884         * sysdeps/x86_64/fpu/Versions: New versions added.
2885         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2886         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2887         build of SSE, AVX2 and AVX512 IFUNC versions.
2888         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2889         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2890         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2891         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2892         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2893         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2894         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2895         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2896         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2897         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2898         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2899         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2900         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2901         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2902         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2903         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2904         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2905         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2906         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2907         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2908         * NEWS: Mention addition of x86_64 vector expf.
2910         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2911         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2912         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2913         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2914         redirections for exp.
2915         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2916         * sysdeps/x86_64/fpu/Versions: New versions added.
2917         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2918         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2919         build of SSE, AVX2 and AVX512 IFUNC versions.
2920         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2921         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2922         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2923         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2924         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2925         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2926         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2927         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2928         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2929         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2930         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2931         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2932         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2933         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2934         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2935         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2936         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2937         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2938         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2939         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2940         * NEWS: Mention addition of x86_64 vector exp.
2942         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2943         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2944         redirections for logf.
2945         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2946         * sysdeps/x86_64/fpu/Versions: New versions added.
2947         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2948         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2949         build of SSE, AVX2 and AVX512 IFUNC versions.
2950         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2951         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2952         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2953         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2954         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2955         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2956         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2957         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2958         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2959         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2960         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2961         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2962         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2963         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2964         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2965         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2966         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2967         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2968         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2969         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2970         * NEWS: Mention addition of x86_64 vector logf.
2972         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2973         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2974         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2975         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2976         redirections for log.
2977         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2978         * sysdeps/x86_64/fpu/Versions: New versions added.
2979         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2980         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2981         build of SSE, AVX2 and AVX512 IFUNC versions.
2982         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2983         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2984         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2985         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2986         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2987         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2988         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2989         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2990         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2991         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2992         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2993         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2994         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2995         test.
2996         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2997         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2998         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2999         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3000         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3001         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3002         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3003         * NEWS: Mention addition of x86_64 vector log.
3005 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3007         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3008         cfi_adjust_cfa_offset argument.
3009         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3010         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3012         [BZ #18034]
3013         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3014         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3015         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3016         ordering using ldar.
3017         (_dl_tlsdesc_dynamic): Likewise.
3018         (_dl_tlsdesc_return_lazy): Likewise.
3019         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3020         relaxed atomics instead of volatile and synchronize with release store.
3021         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3022         volatile.
3023         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3025 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3027         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3028         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3029         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3030         * sysdeps/x86_64/fpu/Versions: New versions added.
3031         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3032         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3033         build of SSE, AVX2 and AVX512 IFUNC versions.
3034         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3035         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3036         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3037         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3038         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3039         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3040         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3041         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3042         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3043         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3044         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3045         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3046         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3047         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3048         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3049         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3050         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3051         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3052         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3053         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3054         * NEWS: Mention addition of x86_64 vector sinf.
3056 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3058         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3059         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3060         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3061         Remove variable.
3062         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3063         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3065 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3067         [BZ #18530]
3068         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3069         strong alias of _IO_fputs.  Use libc_hidden_def.
3070         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3071         and define as weak alias of __fputs_unlocked.  Use
3072         libc_hidden_weak.
3073         * include/stdio.h (__fputs_unlocked): Declare.  Use
3074         libc_hidden_proto.
3075         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3076         fputs_unlocked.
3078         [BZ #18529]
3079         * resolv/netdb.h [__USE_POSIX]: Change condition to
3080         [__USE_XOPEN2K].
3081         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3082         not expect.
3083         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3084         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3085         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3086         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3087         [XPG4 || UNIX98] (AI_ALL): Likewise.
3088         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3089         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3090         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3091         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3092         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3093         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3094         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3095         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3096         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3097         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3098         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3099         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3100         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3101         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3102         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3103         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3104         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3105         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3106         [XPG4 || UNIX98] (gai_strerror): Likewise.
3107         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3108         [XPG4 || UNIX98] (getnameinfo): Likewise.
3110         [BZ #18528]
3111         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3112         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3113         __USE_XOPEN2K8].
3114         (getgrent): Likewise.
3115         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3116         expect.
3117         [XPG3 || POSIX2008] (endgrent): Likewise.
3118         [XPG3] (setgrent): Likewise.
3119         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3120         variable.
3121         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3123         [BZ #18527]
3124         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3125         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3126         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3127         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3128         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3129         * include/unistd.h (__getlogin_r): Declare.  Use
3130         libc_hidden_proto.
3131         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3132         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3133         variable.
3134         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3135         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3136         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3138 2015-06-12  Martin Sebor  <msebor@redhat.com>
3140         [BZ #18512]
3141         * Makerules (check-install-supported): New target.
3142         (install): Add check-install-supported as a dependency.
3143         * manual/install.texi (Installing the C Library): Document
3144         that overriding prefix and exec_prefix is not supported.
3145         Mention DESTDIR.
3146         * INSTALL: Regenerate from the above.
3148 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3150         [BZ #18519]
3151         * posix/Versions (libc): Export __libc_pread at version
3152         GLIBC_PRIVATE.
3153         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3154         instead of pread.
3155         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3156         variable.
3158         [BZ #18522]
3159         * misc/efgcvt_r.c
3160         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3161         (cvt_symbol): Use weak_alias instead of strong_alias.
3162         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3163         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3164         Remove variable.
3165         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3166         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3168         [BZ #18520]
3169         * inet/herrno.c (h_errno): Rename to __h_errno.
3170         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3171         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3172         to __h_errno instead of h_errno.
3173         * nptl/herrno.c (h_errno): Rename to __h_errno.
3174         (__h_errno_location): Refer to __h_errno not h_errno.
3175         * resolv/Versions (h_errno): Rename to __h_errno.
3176         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3177         Remove variable.
3178         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3180 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3182         * configure.ac: More strict check for AVX512 assembler support.
3183         * configure: Regenerated.
3185         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3186         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3187         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3188         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3189         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3190         * sysdeps/x86_64/fpu/Versions: New versions added.
3191         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3192         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3193         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3194         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3195         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3196         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3197         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3198         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3199         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3200         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3201         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3202         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3203         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3204         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3205         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3206         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3207         test.
3208         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3209         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3210         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3211         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3212         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3213         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3214         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3215         * NEWS: Mention addition of x86_64 vector sin.
3217 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3219         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3220         comment.
3222 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3224         [BZ #18479]
3225         * nptl/pt-interp.c: New file.
3226         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3227         Add pt-interp.
3228         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3229         $(common-objpfx)runtime-linker.h.
3231 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3233         * Makeconfig (+interp): Remove unused variable.
3234         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3235         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3236         $(elf-objpfx)runtime-linker.h.
3237         ($(elf-objpfx)runtime-linker.h): Rename to
3238         $(common-objpfx)runtime-linker.h and move ...
3239         * Makerules [$(build-shared) = yes]: ... here.
3240         * elf/interp.c: Include <runtime-linker.h> instead of
3241         <elf/runtime-linker.h>.
3243 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3245         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3246         (__gettimeofday_syscall): Remove vsyscall fallback.
3247         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3248         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3249         Add syscall fallback function.
3250         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3251         if vDSO is not present.
3252         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3253         fallback function.
3254         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3255         present.
3256         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3257         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3259 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3261         [BZ #18497]
3262         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3263         of wcscmp.
3264         (wcscmp): Define as weak alias of WCSCMP.
3265         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3266         wcscoll.
3267         (USE_HIDDEN_DEF): Define.
3268         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3269         __wcscoll.  Don't use libc_hidden_weak.
3270         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3271         wcscmp.
3272         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3273         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3274         __GI_wcscmp.
3275         (weak_alias): Undefine and redefine.
3276         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3277         __wcscmp and define as weak alias of __wcscmp.
3278         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3279         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3280         (__wcscoll): Likewise.
3281         (wcscmp): Don't use libc_hidden_proto.
3282         (wcscoll): Likewise.
3283         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3284         wcscoll.
3285         * posix/regexec.c (check_node_accept_bytes): Likewise.
3286         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3287         variable.
3288         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3289         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3291         [BZ #18507]
3292         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3293         __fstatvfs and define as weak alias of __fstatvfs.  Use
3294         libc_hidden_weak.
3295         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3296         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3297         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3298         Define as alias of __fstatvfs, not fstatvfs.
3299         (fstatvfs64): Likewise.
3300         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3301         Define as alias of __statvfs, not statvfs.
3302         (statvfs64): Likewise.
3303         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3304         Remove variable.
3306 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3309         (HAVE_GETCPU_VSYSCALL): Define.
3310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3311         (HAVE_GETCPU_VSYSCALL): Likewise.
3312         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3313         * sysdeps/unix/sysv/linux/sched_getcpu.c
3314         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3315         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3316         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3317         prototype.
3318         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3319         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3320         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3321         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3322         Define.
3323         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3324         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3325         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3326         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3328 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3330         * sysdeps/x86_64/fpu/Makefile: New file.
3331         * sysdeps/x86_64/fpu/Versions: New file.
3332         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3333         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3334         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3335         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3336         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3337         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3338         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3339         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3340         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3341         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3342         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3343         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3344         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3345         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3346         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3347         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3348         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3349         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3350         * sysdeps/x86_64/configure: Regenerated.
3351         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3352         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3353         * manual/install.texi (Configuring and compiling): Document
3354         --disable-mathvec.
3355         * INSTALL: Regenerated.
3356         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3358         * math/Makefile: Added rules for vector tests.
3359         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3360         declaration under condition.
3361         * math/test-double-vlen2.h: New file.
3362         * math/test-double-vlen4.h: New file.
3363         * math/test-double-vlen8.h: New file.
3364         * math/test-vec-loop.h: Added initialization macro.
3365         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3366         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3367         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3368         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3369         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3370         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3371         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3372         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3373         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3374         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3375         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3377         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3378         * sysdeps/x86_64/fpu/Versions: New versions added.
3379         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3380         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3381         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3382         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3383         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3384         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3385         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3386         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3387         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3388         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3389         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3390         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3391         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3392         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3393         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3394         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3395         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3396         * NEWS: Mention addition of x86_64 vector cosf.
3398         * math/Makefile: Added CFLAGS for new tests.
3399         * math/test-float-vlen16.h: New file.
3400         * math/test-float-vlen4.h: New file.
3401         * math/test-float-vlen8.h: New file.
3402         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3403         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3404         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3405         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3406         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3407         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3408         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3409         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3410         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3411         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3412         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3414 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3416         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3417         * locale/programs/ld-ctype.c: Likewise.
3419 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3421         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3422         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3423         bit_ZMM16_31_state): New macro.
3424         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3425         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3427 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3429         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3431 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3433         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3435 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3437         [BZ #18498]
3438         * libio/memstream.c (open_memstream): Rename to __open_memstream
3439         and define as weak alias of __open_memstream.
3440         * include/stdio.h (__open_memstream): Declare.  Use
3441         libc_hidden_proto.
3442         (open_memstream): Don't use libc_hidden_proto.
3443         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3444         open_memstream.
3445         * posix/getopt.c (_getopt_internal_r): Likewise.
3446         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3447         variable.
3448         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3449         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3450         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3452         [BZ #18496]
3453         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3454         instead of wcrtomb.
3456         [BZ #18483]
3457         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3458         [__USE_XOPEN2K8].  Remove redundant #endif.
3459         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3460         Remove redundant #if.
3461         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3462         Remove variable.
3463         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3464         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3466         [BZ #18495]
3467         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3468         (__iswlower): Likewise.
3469         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3470         (__iswlower): Likewise.
3471         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3472         instead of towlower.
3473         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3474         instead of iswlower.  Call __towupper instead of towupper.
3475         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3476         instead of iswalnum.
3478 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3480         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3481         errors to stderr.
3483 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3485         [BZ #15661]
3486         [BZ #17322]
3487         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3488         Check for overflow properly.  Check for O_APPEND.  Ignore large
3489         file system block sizes.  Add comments about problems.
3490         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3491         * manual/filesys.texi (Storage Allocation): New node.
3493 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3495         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
3496         cancellable syscalls.
3497         (SYS_ify): Add guard to no redefine it.
3498         (INLINE_SYSCALL): Likewise.
3499         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
3500         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
3501         SYSCALL_CANCEL instead.
3502         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
3503         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3504         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3505         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3506         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3507         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
3508         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
3509         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
3510         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3511         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3512         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
3513         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
3514         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
3515         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
3516         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
3517         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3518         Likewise.
3519         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3520         (__libc_pread64): Likewise.
3521         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
3522         (__libc_preadv): Likewise.
3523         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
3524         (__libc_readv64): Likewise.
3525         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3526         (__libc_pwrite): Likewise.
3527         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3528         (__libc_pwrite64): Likewise.
3529         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
3530         (__libc_pwritev): Likewise.
3531         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
3532         (__libc_pwritev64): Likewise.
3533         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
3534         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
3535         (sync_file_range): Likewise.
3536         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
3537         Likewise.
3538         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
3539         Likewise.
3540         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3541         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3542         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3543         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3544         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3545         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3546         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3547         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
3548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3549         Likewise.
3550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3551         (__libc_read64): Likewise.
3552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
3553         Likewise.
3554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
3555         Likewise.
3556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
3557         Likewise.
3558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
3559         Likewise.
3560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3561         (__libc_pread64): Likewise.
3562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
3563         Likewise.
3564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3565         (__libc_pwrite64): Likewise.
3566         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
3567         (sync_file_range): Likewise.
3568         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
3569         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3570         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3571         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
3572         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
3573         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3574         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3575         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
3576         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
3577         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3578         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
3579         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3580         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3581         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3582         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
3583         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3584         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3585         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3586         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3587         Likewise.
3588         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
3589         Likewise.
3590         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
3591         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
3592         Likewise.
3593         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
3594         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
3595         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
3596         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
3597         Likewise.
3598         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
3599         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
3600         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
3601         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
3602         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
3604 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
3606         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
3607         Include dl-vdso.
3608         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
3609         Use VDSO routines for gettimeofday, clock_gettime if
3610         available.
3611         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
3612         Declare VDSO symbols.
3613         * sysdeps/unix/sysv/linux/arm/sysdep.h:
3614         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
3615         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3616         * sysdeps/unix/sysv/linux/arm/Versions: Add
3617         __vdso_clock_gettime.
3619 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3621         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
3622         be an inline implementation regardless of library is built within.
3623         (open_not_cancel_2): Likewise.
3624         (__read_nocancel): Likewise.
3625         (__write_nocancel): Likewise.
3626         (openat_not_cancel): Likewise.
3627         (openat_not_cancel_3): Likewise.
3628         (openat64_not_cancel): Likewise.
3629         (openat64_not_cancel_3): Likewise.
3630         (__close_nocancel): Likewise.
3631         (pause_not_cancel): Likewise.
3632         (nanosleep_not_cancel): Likewise.
3633         (sigsuspend_not_cancel): Likewise.
3635 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3637         [BZ #14958]
3638         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
3639         wake-up.
3640         (__pthread_rwlock_rdlock_slow): Likewise.
3641         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3642         Likewise.
3643         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3644         Likewise.
3645         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
3646         * nptl/tst-rwlock16.c: New file.
3647         * nptl/Makefile (tests): Add new test.
3649 2015-06-04  Torvald Riegel  <triegel@redhat.com>
3651         [BZ #18324]
3652         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
3653         missing wake-up of readers.
3654         * nptl/tst-rwlock15.c: New file.
3655         * nptl/Makefile (tests): Add new test.
3657 2015-06-03  Roland McGrath  <roland@hack.frob.com>
3659         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
3660         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
3661         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
3662         and __nacl_supply_interface_rtld.
3663         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
3664         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
3665         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
3666         Add __nacl_supply_interface_rtld.
3667         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
3669 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3671         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
3672         isfinite.
3673         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3674         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
3676 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
3678         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
3679         __signbit* with standard C99 macros.
3680         * math/e_exp10l.c: Likewise.
3681         * math/e_exp2l.c: Likewise.
3682         * math/e_scalb.c: Likewise.
3683         * math/e_scalbf.c: Likewise.
3684         * math/e_scalbl.c: Likewise.
3685         * math/s_ldexp.c: Likewise.
3686         * math/s_ldexpf.c: Likewise.
3687         * math/s_ldexpl.c: Likewise.
3688         * math/w_atan2.c: Likewise.
3689         * math/w_atan2f.c: Likewise.
3690         * math/w_atan2l.c: Likewise.
3691         * math/w_cosh.c: Likewise.
3692         * math/w_coshf.c: Likewise.
3693         * math/w_coshl.c: Likewise.
3694         * math/w_exp10.c: Likewise.
3695         * math/w_exp10f.c: Likewise.
3696         * math/w_exp10l.c: Likewise.
3697         * math/w_exp2.c: Likewise.
3698         * math/w_exp2f.c: Likewise.
3699         * math/w_exp2l.c: Likewise.
3700         * math/w_fmod.c: Likewise.
3701         * math/w_fmodf.c: Likewise.
3702         * math/w_fmodl.c: Likewise.
3703         * math/w_hypot.c: Likewise.
3704         * math/w_hypotf.c: Likewise.
3705         * math/w_hypotl.c: Likewise.
3706         * math/w_jnl.c: Likewise.
3707         * math/w_lgamma.c: Likewise.
3708         * math/w_lgamma_r.c: Likewise.
3709         * math/w_lgammaf.c: Likewise.
3710         * math/w_lgammaf_r.c: Likewise.
3711         * math/w_lgammal.c: Likewise.
3712         * math/w_lgammal_r.c: Likewise.
3713         * math/w_pow.c: Likewise.
3714         * math/w_powf.c: Likewise.
3715         * math/w_powl.c: Likewise.
3716         * math/w_remainder.c: Likewise.
3717         * math/w_remainderf.c: Likewise.
3718         * math/w_remainderl.c: Likewise.
3719         * math/w_scalb.c: Likewise.
3720         * math/w_scalbf.c: Likewise.
3721         * math/w_scalbl.c: Likewise.
3722         * math/w_scalbln.c: Likewise.
3723         * math/w_scalblnf.c: Likewise.
3724         * math/w_scalblnl.c: Likewise.
3725         * math/w_sinh.c: Likewise.
3726         * math/w_sinhf.c: Likewise.
3727         * math/w_sinhl.c: Likewise.
3728         * math/w_tgamma.c: Likewise.
3729         * math/w_tgammaf.c: Likewise.
3730         * math/w_tgammal.c: Likewise.
3731         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3732         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
3733         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3734         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3735         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3736         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3737         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3738         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3739         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3740         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3741         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3742         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3743         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3744         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3745         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3746         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3747         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3748         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3749         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3750         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3751         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3752         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3753         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3754         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3755         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3756         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3757         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3758         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3759         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3760         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3761         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
3762         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
3763         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
3764         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
3765         * stdio-common/printf_fp.c: Likewise.
3766         * stdio-common/printf_fphex.c: Likewise.
3767         * stdio-common/printf_size.c: Likewise.
3769 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
3771         [BZ #18470]
3772         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
3773         strnlen.
3774         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
3775         Remove variable.
3776         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3777         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3778         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3779         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3780         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3781         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3782         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3783         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3784         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3785         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3787         [BZ #18468]
3788         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
3789         weak alias of __wmemchr.  Use libc_hidden_weak.
3790         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
3791         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
3792         instead of wmemchr.
3794 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3796         [BZ #18383]
3797         * elf/tst-tlsalign-extern.c: New file.
3798         * elf/tst-tlsalign-extern-static.c: New file.
3799         * elf/tst-tlsalign-vars.c: New file.
3800         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
3801         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
3802         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
3803         ($(objpfx)tst-tlsalign-extern-static): Likewise.
3804         (test-xfail-tst-tlsalign-extern-static): New variable.
3806 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
3808         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
3809         Use variable name _sc_err instead of err.
3810         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
3811         instead of ret.
3812         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
3813         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
3814         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
3815         (INLINE_SYSCALL): Likewise.
3817         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
3818         * include/string.h (__strnlen): Use libc_hidden_proto.
3819         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
3820         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
3821         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
3822         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3823         (libc_hidden_def): Undefine and redefine.
3824         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3825         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3826         __GI_strnlen.
3827         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3828         libc_hidden_def.
3829         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3831         [BZ #18469]
3832         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3833         weak alias of __towlower.  Use libc_hidden_weak.
3834         (towupper): Rename to __towupper and define as weak alias of
3835         __towupper.  Use libc_hidden_weak.
3836         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
3837         (__towupper): Likewise.
3838         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3839         __towlower instead of towlower.
3841 2015-06-02  Roland McGrath  <roland@hack.frob.com>
3843         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3844         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3846 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3848         * sysdeps/aarch64/libm-test-ulps: Update.
3850 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3852         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3853         Define.
3854         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3855         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3856         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3857         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3858         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3859         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3860         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3862 2015-06-01  Martin Sebor  <msebor@redhat.com>
3864         [BZ #18116]
3865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3866         (__setcontext): Use extended four-operand version of mtsf whenever
3867         possible.
3868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3869         (__novec_swapcontext): Likewise.
3871 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3873         * benchtests/scripts/compare_bench.py: New file.
3874         * benchtests/scripts/import_bench.py (mean): New function.
3875         (split_list): Likewise.
3876         (do_for_all_timings): Likewise.
3877         (compress_timings): Likewise.
3879         * benchtests/scripts/import_bench.py: New file.
3880         * benchtests/scripts/validate_benchout.py: Import import_bench
3881         instead of jsonschema.
3882         (validate_bench): Remove function.
3883         (main): Use import_bench.
3885 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
3887         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3888         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3890 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3894 2015-05-28  Roland McGrath  <roland@hack.frob.com>
3896         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3897         set THREAD_SELF->tid to a magic value and futex-wake it.
3898         Pass its address to the thread_exit system call.
3899         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3900         bit is clear.
3901         * sysdeps/nacl/lowlevellock.h: New file.
3902         * sysdeps/nacl/lll_timedwait_tid.c: New file.
3904         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3905         Add TIMEOUT to current time, don't subtract it.
3907 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
3909         [BZ #2981]
3910         [BZ #18422]
3911         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3912         ($(objpfx)tst-audit2.out): Also depend on
3913         $(objpfx)tst-auditmod9b.so.
3914         * elf/tst-audit2.c: Include <dlfcn.h>.
3915         (calloc_called): New.
3916         (calloc): Allow to be called more than once.
3917         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3919 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
3921         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3922         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3924 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
3926         * stdlib/monetary.h: Fix comment.
3928 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
3930         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3931         Avoid using variables in #defines that might cause shadowing.
3932         (INTERNAL_VSYSCALL_CALL): Likewise.
3934 2015-05-26  Roland McGrath  <roland@hack.frob.com>
3936         * sysdeps/nacl/lll_timedlock_wait.c: New file.
3938         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3939         * nptl/lll_timedlock_wait.c: ... to this new file.
3940         * nptl/Makefile (libpthread-routines): Add it.
3941         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3942         * nptl/lll_timedwait_tid.c: ... to this new file.
3943         * nptl/Makefile (libpthread-routines): Add it.
3944         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3945         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3946         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3947         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3948         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3949         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3950         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3951         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3952         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3953         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3955 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3957         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3958         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3959         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3960         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3961         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3962         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3963         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3964         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3965         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3966         * sysdeps/unix/sysv/linux/tile/sysdep.h
3967         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3968         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3969         using vDSO syscall macro.
3971 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3973         [BZ #17293]
3974         * uk_UA: Fix sorting order for Ukrainian locale
3976 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3978         * stdlib/monetary.h: Fix comment.
3980 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3982         [BZ #18234]
3983         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3984         st_mtim and st_ctim members.
3985         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3986         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3987         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3988         (struct stat64): Likewise.
3989         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3990         (struct stat64): Likewise.
3991         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3992         (struct stat64): Likewise.
3994 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3996         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3997         Define and include sysdep-vdso.h.
3998         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3999         Likewise.
4000         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4001         Likewise.
4002         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4003         Define with VDSO_SYMBOL and use PTR_MANGLE.
4004         (__vdso_clock_gettime): Likewise.
4005         (__vdso_clock_getres): Likewise.
4006         (_libc_vdso_platform_setup): Likewise.
4007         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4008         Likewise.
4009         (_libc_vdso_platform_setup): Likewise.
4010         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4011         Likewise.
4012         (__vdso_clock_gettime): Likewise.
4013         (__vdso_clock_getres): Likewise.
4014         (__vdso_get_tbfreq): Likewise.
4015         (__vdso_getcpu): Likewise.
4016         (__vdso_time): Likewise.
4017         (__vdso_sigtramp_rt64): Likewise.
4018         (__vdso_signtramp32): Likewise.
4019         (__vdso_sigtramp_rt32): Likewise.
4020         (_libc_vdso_platform_setup): Likewise.
4021         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4022         Likewise.
4023         (__vdso_clock_gettime): Likewise.
4024         (__vdso_clock_getres): Likewise.
4025         (_libc_vdso_platform_setup): Likewise.
4026         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4027         Likewise.
4028         (__vdso_clock_gettime): Likewise.
4029         (_libc_vdso_platform_setup): Likewise.
4030         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4031         Likewise.
4032         (__vdso_getcpu): Likewise.
4033         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4034         Use VDSO_SYMBOL macro to define.
4035         (__vdso_clock_gettime): Likewise.
4036         (__vdso_clock_getres): Likewise.
4037         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4038         Likewise.
4039         (__vdso_clock_gettime): Likewise.
4040         (__vdso_clock_getres): Likewise.
4041         (__vdso_get_tbfreq): Likewise.
4042         (__vdso_getcpu): Likewise.
4043         (__vdso_time): Likewise.
4044         (__vdso_sigtramp_rt64): Likewise.
4045         (__vdso_signtramp32): Likewise.
4046         (__vdso_sigtramp_rt32): Likewise.
4047         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4048         Likewise.
4049         (__vdso_clock_gettime): Likewise.
4050         (__vdso_clock_getres): Likewise.
4051         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4052         Likewise.
4053         (__vdso_clock_gettime): Likewise.
4054         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4055         Likewise.
4056         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4057         macro.
4058         (INTERNAL_VSYSCALL): Likewise.
4059         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4060         Remove macro.
4061         (INTERNAL_VSYSCALL): Likewise.
4062         (INTERNAL_VSYSCALL_NCS): Likewise.
4063         (INTERNAL_VSYSCALL_CALL): New macro.
4064         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4065         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4066         Likewise.
4067         (INTERNAL_VSYSCALL): Likewise.
4068         (INTERNAL_VSYSCALL_NCS): Likewise.
4069         (INTERNAL_VSYSCALL_CALL): New macro.
4070         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4072         (INLINE_VSYSCALL): Remove macro.
4073         (INTERNAL_VSYSCALL): Remove macro.
4074         (INTERNAL_VSYSCALL_NCS): Remove macro.
4075         (INTERNAL_VSYSCALL_CALL): New macro.
4076         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4077         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4078         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4079         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4080         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4082         (INLINE_VSYSCALL): Remove macro.
4083         (INTERNAL_VSYSCALL): Likewise.
4084         (INTERNAL_VSYSCALL_NCS): Likewise.
4085         (INTERNAL_VSYSCALL_CALL): New macro.
4086         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4087         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4088         PTR_DEMANGLE on vDSO pointer.
4089         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4090         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4091         macro.
4092         (INTERNAL_SYSCALL): Likewise.
4093         (INTERNAL_VSYSCALL_NCS): Remove macro.
4094         (INTERNAL_VSYSCALL_CALL): New macro.
4095         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4096         Remove macro.
4097         (INTERNAL_VSYSCALL): Likewise.
4098         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4099         sysdep-vdso.h instead of libc-vdso.h.
4100         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4101         definition.
4102         (INLINE_VSYSCALL): Likewise.
4103         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4104         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4105         definition.
4106         (INLINE_VSYSCALL): Likewise.
4107         (INTERNAL_VSYSCALL): Likewise.
4108         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4109         * sysdeps/unix/sysv/linux/timespec_get.c
4110         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4111         (timespec_get): Use ANSI prototype.
4112         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4113         and definition for Linux.
4115 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4117         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4118         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4120 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4122         [BZ #2981]
4123         [BZ #18410]
4124         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4125         for missing DT_PLTRELSZ.
4127 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4129         Remove obsolete aliases that broke 'locale -a'
4130         [BZ #18412]
4131         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4132         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4133         breaking some applications that use 'locale -a' output.
4134         Change the encoding of this file from Latin-1 to ASCII to avoid
4135         other potential problems with people grepping this file.
4137 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4139         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4140         -fasynchronous-unwind-tables.
4141         (CFLAGS-sendto.c): Likewise.
4142         (CFLAGS-sendmsg.c): Likewise.
4143         (CFLAGS-connect.c): Likewise.
4144         (CFLAGS-recvmsg.c): Likewise.
4145         (CFLAGS-recvfrom.c): Likewise.
4146         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4147         (SOCKETCALL): New macro: non-cancellable socketcall.
4148         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4149         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4150         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4151         * sysdeps/unix/sysv/linux/accept.c: New file.
4152         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4153         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4154         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4155         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4156         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4157         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4158         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4159         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4160         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4161         * sysdeps/unix/sysv/linux/send.c: Likewise.
4162         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4163         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4164         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4165         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4166         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4167         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4168         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4169         prototype.
4170         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4171         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4172         instead of __internal_xxx function.
4173         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4174         prototype.
4175         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4176         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4177         instead of __internal_xxx function.
4178         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4179         prototype.
4180         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4181         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4182         instead of __internal_xxx function.
4183         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4184         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4185         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4186         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4187         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4188         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4189         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4190         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4191         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4192         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4193         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4194         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4195         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4196         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4197         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4198         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4199         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4200         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4201         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4202         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4205         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4206         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4207         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4208         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4209         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4210         * sysdeps/unix/sysv/linux/send.S: Likewise.
4211         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4212         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4213         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4214         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4215         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4216         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4217         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4218         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4219         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4220         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4221         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4222         socketcall is implemented in GLIBC.
4224 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4226         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4227         (__fma): Ignore uninitialized warnings around packing.
4228         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4229         (__fmaf): Ignore uninitialized warnings around packing.
4230         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4231         (__fmal): Ignore uninitialized warnings around packing.
4233         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4234         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4235         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4236         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4238         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4239         switch statement into default case.
4240         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4242         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4243         a conditional in forcing "inexact".
4244         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4245         Likewise.
4247 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4249         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4250         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4251         for each INTERNAL_SYSCALL use.
4253 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4255         [BZ #438]
4256         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4257         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4258         variable.
4260         [BZ #18444]
4261         * string/basename.c (basename): Rename to __basename and define as
4262         weak alias of __basename.  Use libc_hidden_weak.
4263         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4264         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4265         __basename instead of basename.
4266         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4267         Remove variable.
4268         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4270 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4272         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4273         (_IO_JUMPS_FILE_plus): New.
4274         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4275         _IO_CAST_FIELD_ACCESS.
4276         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4277         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4278         * libio/freopen.c (freopen): Likewise.
4279         * libio/freopen64.c (freopen64): Likewise.
4280         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4281         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4282         * libio/iofwide.c (_IO_fwide): Likewise.
4283         * libio/memstream.c (open_memstream): Likewise.
4284         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4285         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4286         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4288 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4290         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4291         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4292         NADJ.
4293         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4294         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4295         NADJ.
4296         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4297         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4298         NADJ.
4300         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4301         (p == 4) case.
4303         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4304         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4305         Remove variable.
4306         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4307         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4308         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4310 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4312         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4313         Adjust jump table label generation macros.
4315 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4317         * stdio-common/vfprintf.c (vfprintf): Move local variables
4318         args_malloced, specs, specs_malloced, and the code after
4319         do_positional to the printf_positional function.
4320         (printf_positional): New function.
4322 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4324         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4325         function.
4326         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4327         STEP4_TABLE, process_arg): Move macro definitions
4328         out of the vfprintf function.  (Cosmetic change only.)
4330 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4332         * benchtests/Makefile (stdio-common-bench): Define.
4333         (benchset): Add stdio-common-bench.
4334         * sprintf-inputs: New file.
4335         * sprintf-source.c: New file.
4337 2015-05-21  Andreas Schwab  <schwab@suse.de>
4339         [BZ #13028]
4340         [BZ #17053]
4341         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4342         of struct __res_state.
4343         * resolv/res_send.c (__libc_res_nsend): Likewise.
4344         (get_nsaddr): New function.
4345         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4346         statp directly.
4348 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4350         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4351         -D_POSIX_C_SOURCE=199506L.
4353         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4355         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4356         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4357         Do not mention otherwise.
4358         [POSIX] (_XOPEN_VERSION): Do not expect.
4359         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4360         [POSIX] (_POSIX2_C_BIND): Likewise.
4361         [POSIX] (_POSIX2_VERSION): Likewise.
4362         [POSIX] (_XOPEN_XPG2): Likewise.
4363         [POSIX] (_XOPEN_XPG3): Likewise.
4364         [POSIX] (_XOPEN_XPG4): Likewise.
4365         [POSIX] (_XOPEN_UNIX): Likewise.
4366         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4367         [POSIX] (_POSIX_BARRIERS): Likewise.
4368         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4369         [POSIX] (_POSIX_CPUTIME): Likewise.
4370         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4371         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4372         [POSIX] (_POSIX_SHELL): Likewise.
4373         [POSIX] (_POSIX_SPAWN): Likewise.
4374         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4375         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4376         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4377         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4378         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4379         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4380         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4381         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4382         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4383         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4384         [POSIX] (_POSIX2_PBS): Likewise.
4385         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4386         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4387         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4388         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4389         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4390         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4391         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4392         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4393         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4394         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4395         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4396         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4397         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4398         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4399         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4400         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4401         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4402         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4403         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4404         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4405         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4406         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4407         [POSIX] (_SC_2_C_BIND): Likewise.
4408         [POSIX] (_SC_2_C_VERSION): Likewise.
4409         [POSIX] (_SC_2_PBS): Likewise.
4410         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4411         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4412         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4413         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4414         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4415         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4416         [POSIX] (_SC_BARRIERS): Likewise.
4417         [POSIX] (_SC_BASE): Likewise.
4418         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4419         [POSIX] (_SC_DEVICE_IO): Likewise.
4420         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4421         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4422         [POSIX] (_SC_FD_MGMT): Likewise.
4423         [POSIX] (_SC_FIFO): Likewise.
4424         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4425         [POSIX] (_SC_FILE_LOCKING): Likewise.
4426         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4427         [POSIX] (_SC_IOV_MAX): Likewise.
4428         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4429         [POSIX] (_SC_NETWORKING): Likewise.
4430         [POSIX] (_SC_PAGE_SIZE): Likewise.
4431         [POSIX] (_SC_PASS_MAX): Likewise.
4432         [POSIX] (_SC_PIPE): Likewise.
4433         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4434         [POSIX] (_SC_REGEXP): Likewise.
4435         [POSIX] (_SC_SHELL): Likewise.
4436         [POSIX] (_SC_SIGNALS): Likewise.
4437         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4438         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4439         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4440         [POSIX] (_SC_USER_GROUPS): Likewise.
4441         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4442         [POSIX] (_SC_STREAMS): Likewise.
4443         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4444         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4445         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4446         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4447         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4448         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4449         [POSIX] (_PC_FILESIZEBITS): Likewise.
4450         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4451         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4452         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4453         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4454         [POSIX] (uid_t): Likewise.
4455         [POSIX] (gid_t): Likewise.
4456         [POSIX] (off_t): Likewise.
4457         [POSIX] (pid_t): Likewise.
4458         [POSIX] (cuserid): Allow.
4459         (_SC_2_CHAR_TERM): Require constant.
4460         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4461         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4462         variable.
4464 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4466         * sysdeps/nacl/pthread-pids.h: New file.
4467         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4468         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4470         * nptl/pthread-pids.h: New file.
4471         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4472         * nptl/nptl-init.c: Include <pthread-pids.h>.
4473         (__pthread_initialize_minimal_internal):
4474         Call __pthread_initialize_pids instead of set_tid_address syscall.
4476         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4477         * sysdeps/posix/usleep.c: ... here.
4479 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4481         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4482         call_pselect6 object.
4483         [$(subdir) = io]: Remove call_sync_file_range object.
4484         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4485         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4486         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4487         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4489 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4491         * math/s_cproj.c: Add include "math_private.h".
4492         * math/s_cprojf.c: Likewise.
4493         * math/s_cprojl.c: Likewise.
4495 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
4497         [BZ #18244]
4498         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
4499         high mantissa bit when testing whether P is a NaN.
4500         * math/libm-test.inc (remainder_test_data): Add more tests.
4501         (remquo_test_data): Likewise.
4503         [BZ #18049]
4504         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
4505         below -32, return the argument, with underflow if subnormal.
4506         * math/auto-libm-test-in: Add more tests of atanh.
4507         * math/auto-libm-test-out: Regenerated.
4509 2015-05-19  Roland McGrath  <roland@hack.frob.com>
4511         [BZ #18434]
4512         * nptl/tst-sem15.c: New file.
4513         * nptl/Makefile (tests): Add it.
4514         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
4515         s/<</>>/ to fix typo in EOVERFLOW check.
4516         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
4518 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4520         * manual/strings.texi (envz_remove): Fix typo in safety
4521         annotations.
4523 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
4524             Steve Ellcey  <sellcey@imgtec.com>
4526         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
4527         in order to avoid strict alias warnings.
4528         (iruserok_af): Ditto for ra.
4530 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
4532         [BZ #17581]
4533         * malloc/hooks.c
4534         (magicbyte): Convert to a function and avoid returning 0x01.
4535         (mem2mem_check): Avoid using a length byte equal to the magic byte.
4536         (mem2chunk_check): Fix unsigned comparisons to zero.
4537         Hoist defs of sz and magic.
4539 2015-05-19  Richard Henderson  <rth@redhat.com>
4541         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
4543         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4545 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4547         [BZ #16159]
4548         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
4549         * malloc/arena.c (arena_lock): Check if arena is corrupt.
4550         (reused_arena): Find a non-corrupt arena.
4551         (heap_trim): Pass arena to unlink.
4552         * malloc/hooks.c (malloc_check_get_size): Pass arena to
4553         malloc_printerr.
4554         (top_check): Likewise.
4555         (free_check): Likewise.
4556         (realloc_check): Likewise.
4557         * malloc/malloc.c (malloc_printerr): Add arena argument.
4558         (unlink): Likewise.
4559         (munmap_chunk): Adjust.
4560         (ARENA_CORRUPTION_BIT): New macro.
4561         (arena_is_corrupt): Likewise.
4562         (set_arena_corrupt): Likewise.
4563         (sysmalloc): Use mmap if there are no usable arenas.
4564         (_int_malloc): Likewise.
4565         (__libc_malloc): Don't fail if arena_get returns NULL.
4566         (_mid_memalign): Likewise.
4567         (__libc_calloc): Likewise.
4568         (__libc_realloc): Adjust for additional argument to
4569         malloc_printerr.
4570         (_int_free): Likewise.
4571         (malloc_consolidate): Likewise.
4572         (_int_realloc): Likewise.
4573         (_int_memalign): Don't touch corrupt arenas.
4574         * malloc/tst-malloc-backtrace.c: New test case.
4576         * Makefile (summarize-tests): Fix return value on success.
4578         * manual/string.texi (Envz Functions): Add envz_remove.
4580 2015-05-18  Roland McGrath  <roland@hack.frob.com>
4582         * sysdeps/posix/opendir.c: Include <stdbool.h>.
4583         (invalid_name): New function, broken out of ...
4584         (__opendirat): ... here.  Call it.
4585         (need_isdir_precheck): New function, broken out of ...
4586         (__opendirat): ... here.  Call it.
4587         Use __fxstatat64, not __xstatat64.
4588         (opendir_oflags): New function, broken out of ...
4589         (__opendirat): ... here.  Call it.
4590         (opendir_tail): New function, broken out of ...
4591         (__opendirat): ... here.  Call it.
4592         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
4593         opendir_tail, rather than punting to __opendirat.
4594         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
4596 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4598         * .gitignore: Ignore generated *.pyc.
4600 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
4602         * include/stdio.h: Define __need_wint_t.
4603         * test-skeleton.c: Avoid `for' loop initial declaration.
4604         * nptl/tst-initializers1.c: Use test-skeleton.c.
4606 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4608         [BZ #18418]
4609         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
4611 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4613         [BZ #16352]
4614         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
4615         (__ieee754_atanh): Force underflow exception for results with
4616         small absolute value.
4617         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
4618         (__ieee754_atanhf): Force underflow exception for results with
4619         small absolute value.
4620         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
4621         (__ieee754_atanh): Force underflow exception for results with
4622         small absolute value.
4623         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
4624         (__ieee754_atanhf): Force underflow exception for results with
4625         small absolute value.
4626         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
4627         (__ieee754_atanhl): Force underflow exception for results with
4628         small absolute value.
4629         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
4630         (__ieee754_atanhl): Force underflow exception for results with
4631         small absolute value.
4632         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
4633         (__ieee754_atanhl): Force underflow exception for results with
4634         small absolute value.
4635         * math/auto-libm-test-in: Do not allow missing underflow
4636         exceptions from atanh.
4637         * math/auto-libm-test-out: Regenerated.
4639         [BZ #18221]
4640         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
4641         2**-28 as threshold for returning x or +/- 1/x.
4642         * math/auto-libm-test-in: Add more tests of tan.
4643         * math/auto-libm-test-out: Regenerated.
4645         [BZ #18220]
4646         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4647         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
4648         * math/auto-libm-test-in: Add another test of lgamma.
4649         * math/auto-libm-test-out: Regenerated.
4651 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
4653         * stdio-common/printf_fp.c (___printf_fp): Use abs.
4654         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
4655         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
4656         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
4657         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
4658         (ADD2A): Use fabs.  (SUB2A): Use fabs.
4659         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
4660         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
4661         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
4662         (log1): Use fabs.  (my_log2): Use fabs.
4663         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
4664         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
4665         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
4666         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
4667         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
4668         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
4669         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
4670         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
4671         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
4672         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
4673         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
4675 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
4677         [BZ #18217]
4678         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
4679         as threshold for returning 1 - x.
4680         * math/auto-libm-test-in: Add more tests of erfc.
4681         * math/auto-libm-test-out: Regenerated.
4683 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
4685         [BZ #18196]
4686         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
4687         threshold for large arguments.
4688         * math/auto-libm-test-in: Add another test of atan.
4689         * math/auto-libm-test-out: Regenerated.
4691         [BZ #16339]
4692         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
4693         (__log1p): Force underflow exception for results with small
4694         absolute value.
4695         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
4696         (__log1pf): Force underflow exception for results with small
4697         absolute value.
4698         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
4699         (__log1p): Force underflow exception for results with small
4700         absolute value.
4701         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
4702         (__log1pf): Force underflow exception for results with small
4703         absolute value.
4704         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
4705         (__log1pl): Force underflow exception for results with small
4706         absolute value.
4707         * math/auto-libm-test-in: Do not allow missing underflow
4708         exceptions from log1p.
4709         * math/auto-libm-test-out: Regenerated.
4711 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
4712             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4714         [BZ #16704]
4715         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
4717 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
4719         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
4720         (libmvec): New variable.
4721         * configure.ac: Added option for mathvec build.
4722         * configure: Regenerated.
4723         * mathvec/Depend: New file.
4724         * mathvec/Makefile: New file.
4725         * shlib-versions: Added libmvec.
4726         * math/Makefile: Added rule for libm.so installation.
4728         * bits/math-vector.h: New file.
4729         * bits/libm-simd-decl-stubs.h: New header.
4730         * math/Makefile (headers): Added new header
4731         libm-simd-decl-stubs.h.
4732         * math/math.h (__MATHCALL_VEC): New macro.
4734         * math/gen-libm-have-vector-test.sh: Script generates series of macros
4735         for conditions in testing functions.
4736         * math/Makefile: Added call of libm-have-vector-test.sh.
4737         * math/libm-test.inc (HAVE_VECTOR): New macros.
4739         * math/libm-test.inc: START refactored.
4740         * math/test-double.c (TEST_MATHVEC): Add define.
4741         * math/test-float.c: Likewise.
4742         * math/test-idouble.c: Likewise.
4743         * math/test-ifloat.c: Likewise.
4744         * math/test-ildoubl.c: Likewise.
4745         * math/test-ldouble.c: Likewise.
4746         * sysdeps/generic/math-tests-arch.h
4747         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
4748         architecture check.
4750         * math/test-double.c (FUNC_TEST): New macro.
4751         * math/test-float.c: Likewise.
4752         * math/test-idouble.c: Likewise.
4753         * math/test-ifloat.c: Likewise.
4754         * math/test-ildoubl.c: Likewise.
4755         * math/test-ldouble.c: Likewise.
4756         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
4758 2015-05-13  Roland McGrath  <roland@hack.frob.com>
4760         * sysdeps/nacl/fdopendir.c: New file.
4762         * dirent/scandir-tail.c: New file.
4763         * dirent/scandir64-tail.c: New file.
4764         * dirent/Makefile (routines): Add them.
4765         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
4766         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
4767         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
4768         [!SCANDIR] (SCANDIR_TAIL): New macro.
4769         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
4770         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
4771         (SCANDIRAT): Macro removed.
4772         (SCANDIR_TAIL): New macro.
4773         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
4774         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
4775         (SCANDIRAT): Just call __opendirat and __scandir_tail.
4776         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
4777         (READDIR): Macro removed.
4778         (SCANDIR_TAIL): New macro.
4779         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
4780         (SCANDIR_TAIL): New macro.
4782         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
4783         * dirent/scandir-cancel.c: ... to this new file.
4784         * dirent/Makefile (routines): Add it.
4785         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
4786         * sysdeps/unix/sysv/linux/i386/scandir64.c
4787         (SKIP_SCANDIR_CANCEL): Macro removed.
4788         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
4790         * dirent/tst-scandir.c: New file.
4791         * dirent/tst-scandir64.c: New file.
4792         * dirent/Makefile (tests): Add them.
4794 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4796         [BZ #18409]
4797         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
4799 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4801         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
4802         list.
4804 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
4806         * benchtests/bench-strcoll.c: New benchmark.
4807         * benchtests/Makefile: Generate locales and run benchmark.
4808         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
4809         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4810         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
4811         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
4812         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
4813         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
4814         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
4815         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
4816         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
4817         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
4818         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
4819         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
4820         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
4821         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
4822         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4823         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4824         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4825         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4826         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4827         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4828         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4829         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4830         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4831         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4833 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
4835         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4836         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4838 2015-05-12  Roland McGrath  <roland@hack.frob.com>
4840         * posix/uname-values.h: New file.
4841         * posix/uname.c: Include that instead of <config-name.h>.
4842         * sysdeps/nacl/uname-values.h: New file.
4843         * sysdeps/arm/nacl/uname-values.h: New file.
4845 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
4847         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4848         splitting into fields.
4850 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
4852         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4853         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4854         * locale/localeinfo.h: Add enum collation_encoding_type.
4855         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4856         * programs/ld-collate.c (collate_output): Add encoding type info.
4857         * string/strcoll_l.c (STRDIFF): New function.
4858         * (STRCOLL): Use STRDIFF to skip over equal prefix.
4859         * wcsmbs/wcscoll_l.c: Define STRDIFF.
4861 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
4863         [BZ #18397]
4864         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4865         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
4866         <fpu_control.h> instead of <math/fpu_control.c>.
4867         * sysdeps/mips/mips32/fpu/Makefile: New file.
4869 2015-05-11  Andreas Schwab  <schwab@suse.de>
4871         [BZ #18007]
4872         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4873         nss_endgrent.
4874         (_nss_compat_endgrent): Call nss_endgrent.
4875         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4876         nss_endpwent.
4877         (_nss_compat_endpwent): Call nss_endpwent.
4878         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4879         needent, call nss_setspent only if non-zero.
4880         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4881         (internal_endspent): Don't call nss_endspent.
4882         (_nss_compat_endspent): Call nss_endspent.
4883         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4884         Remove.  All uses removed.
4885         (internal_setent): Remove parameter stayopen, add parameter
4886         stream.  Use it instead of global variable.
4887         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4888         (internal_endent, internal_getent): Add parameter stream.  Use it
4889         instead of global variable.
4890         (CONCAT(_nss_files_end,ENTNAME))
4891         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4892         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
4893         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
4894         uses removed.
4895         (internal_setent, internal_endent): Add parameter stream.  Use it
4896         instead of global variable.
4897         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4898         stream.
4899         (get_next_alias): Add parameter stream.
4900         (_nss_files_getaliasent_r): Pass global stream.
4901         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
4902         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4903         (_nss_files_gethostbyname4_r): Pass local stream to
4904         internal_setent, internal_getent and internal_endent.  Remove
4905         locking.
4907 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4909         * tst-strfmon1.c (tests): Update expected currency symbol.
4911 2015-05-08  Roland McGrath  <roland@hack.frob.com>
4913         * sysdeps/nacl/gethostname.c: New file.
4915 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
4917         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4918         and sinh.
4919         * math/auto-libm-test-out: Regenerated.
4920         * sysdeps/i386/fpu/libm-test-ulps: Update.
4921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4923 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
4925         [BZ #18125]
4926         * stdlib/tst-setcontext3.c: New file.
4927         * stdlib/tst-setcontext3.sh: New file.
4928         * stdlib/Makefile (tests): Add tst-setcontext3.
4929         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4930         to verify test program created output file.
4931         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4932         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4933         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4934         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4936 2015-05-06  Roland McGrath  <roland@hack.frob.com>
4938         [BZ #18383]
4939         * elf/tst-tlsalign.c: New file.
4940         * elf/tst-tlsalign-static.c: New file.
4941         * elf/tst-tlsalign-lib.c: New file.
4942         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4943         (tests-static): Add tst-tlsalign-static.
4944         (modules-names): Add tst-tlsalign-lib.
4945         (test-xfail-tst-tlsalign): New variable.
4946         (test-xfail-tst-tlsalign-static): New variable.
4948         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4949         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4951 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
4953         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4954         csqrt, erfc, sin and sincos.
4955         * math/auto-libm-test-out: Regenerated.
4956         * sysdeps/i386/fpu/libm-test-ulps: Update.
4957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4959 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4961         * sysdeps/aarch64/libm-test-ulps: Update.
4963 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4965         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4966         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4967         * math/auto-libm-test-out: Regenerated.
4968         * sysdeps/i386/fpu/libm-test-ulps: Update.
4969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4971 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4973         [BZ #18265]
4974         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4975         (wcsncpy): Likewise.
4977 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4979         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4980         Assume __ASSUME_FALLOCATE is always true.
4981         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4982         (__posix_fallocate64_l64): Likweise.
4983         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4984         (posix_fallocate): Likewise.
4985         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4986         (__posix_fallocate64_l64): Likewise.
4987         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4988         [!__ASSUME_FALLOCATE]: Add comment.
4990 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4992         * sysdeps/unix/sysv/linux/i386/Makefile
4993         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4994         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4995         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4996         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4997         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4998         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4999         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5001 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5003         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5004         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5005         tgamma.
5006         * math/auto-libm-test-out: Regenerated.
5007         * sysdeps/i386/fpu/libm-test-ulps: Update.
5008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5010 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5012         * math/auto-libm-test-in: Add more tests of tgamma.
5013         * math/auto-libm-test-out: Regenerated.
5014         * sysdeps/i386/fpu/libm-test-ulps: Update.
5015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5017         * math/auto-libm-test-in: Add more tests of tanh.
5018         * math/auto-libm-test-out: Regenerated.
5019         * sysdeps/i386/fpu/libm-test-ulps: Update.
5020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5022         * math/auto-libm-test-in: Add more tests of tan.
5023         * math/auto-libm-test-out: Regenerated.
5024         * sysdeps/i386/fpu/libm-test-ulps: Update.
5025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5027         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
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         * math/auto-libm-test-in: Add another test of pow.
5033         * math/auto-libm-test-out: Regenerated.
5034         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5036         * math/auto-libm-test-in: Add more tests of lgamma.
5037         * math/auto-libm-test-out: Regenerated.
5038         * sysdeps/i386/fpu/libm-test-ulps: Update.
5039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5041         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5042         log1p.
5043         * math/auto-libm-test-out: Regenerated.
5044         * sysdeps/i386/fpu/libm-test-ulps: Update.
5045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5047 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5049         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5050         Elf64_Chdr structs and ELFCOMPRESS constants.
5052 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5054         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5055         expm1.
5056         * math/auto-libm-test-out: Regenerated.
5057         * sysdeps/i386/fpu/libm-test-ulps: Update.
5058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5060         * math/auto-libm-test-in: Add more tests of erf and erfc.
5061         * math/auto-libm-test-out: Regenerated.
5062         * sysdeps/i386/fpu/libm-test-ulps: Update.
5063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5065 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5067         * config.h.in (HAVE_AARCH64_BE): Add.
5069 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5071         * math/auto-libm-test-in: Add more tests of csqrt.
5072         * math/auto-libm-test-out: Regenerated.
5073         * sysdeps/i386/fpu/libm-test-ulps: Update.
5074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5076         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5077         * math/auto-libm-test-out: Regenerated.
5078         * sysdeps/i386/fpu/libm-test-ulps: Update.
5079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5081         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5083 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5085         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5086         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5088         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5089         (euidaccess, eaccess): Define as weak aliases.
5091         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5092         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5093         but __suseconds_t is often 'long int' so some sources assume that
5094         type is being used (e.g. they use %ld to print tv_usec).
5096 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5098         [BZ #18007]
5099         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5100         (CVE-2014-8121)
5101         * nss/tst-nss-getpwent.c: New file.
5102         * nss/Makefile (tests): Add new test.
5104 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5106         [BZ #18346]
5107         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5108         exponents less than 48 as cases where high part of mantissa needs
5109         examining to determine whether argument is integral.
5110         * math/libm-test.inc (round_test_data): Add more tests.
5112 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5114         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5116 2015-04-27  David S. Miller  <davem@davemloft.net>
5118         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5119         __tls_get_addr.
5120         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5122 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5124         [BZ#18333]
5125         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5127 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5129         [BZ#18333]
5130         * time/tzset.c (parse_tzname): Return error on memory allocation
5131         failure.
5132         * test-skeleton.c (struct temp_name_list): Change type of name
5133         member to non-const.
5134         (add_temp_file): Create a copy of the file name.
5135         (delete_temp_files): Deallocate memory.
5136         (create_temp_file): Add comment.
5138 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5140         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5141         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5143 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5145         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5146         * sysdeps/arm/configure: Regenerated.
5148 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5150         [BZ #17715]
5151         * time/tzfile.c (__tzfile_read): Check for large values of
5152         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5153         * time/tzset.c (__tzstring_len): New function, based on the old
5154         __tzstring function.
5155         (__tzstring): Call __tzstring_len.
5156         (parse_tzname): New helper function extracted from
5157         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5158         the input string.
5159         (parse_offset): New helper function extracted from
5160         __tzset_parse_tz.  Replace switch with fallthrough with
5161         initialization before sscanf.
5162         (parse_rule): Likewise.
5163         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5164         new-style function definition.
5165         * timezone/Makefile (tests): Add tst-tzset.
5166         (tst-tzset.out): Dependencies on time zone files.
5167         (tst-tzset-ENV): Set TZDIR.
5168         (testdata/XT%): Copy crafted time zone files.
5169         * timezone/README: Mention crafted time zone files.
5170         * timezone/testdata/XT1, timezone/testdata/XT2,
5171         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5172         files.
5173         * timezone/tst-tzset.c: New test.
5175 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5177         * Makeconfig (+gccwarn): Remove -Winline.
5179 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5181         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5183 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5185         * NEWS: Mention sysconf() cache information support for s390.
5186         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5188 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5190         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5191         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5192         (__nearbyint): Likewise.
5193         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5194         (copysignl): Likewise.
5196 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5198         [BZ #18287]
5199         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5200         based on padding.  (CVE-2015-1781)
5202 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5204         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5205         libc-vdso.h.
5206         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5207         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5208         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5209         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5210         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5211         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5212         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5213         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5214         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5215         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5216         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5217         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5218         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5219         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5220         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5221         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5222         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5223         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5224         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5225         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5226         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5227         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5228         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5230 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5232         * stdlib/setenv.c (__add_to_environ):
5233         Dump core quickly if setenv (..., NULL, ...) is called.
5234         This time, do it the right way, and pacify GCC with a pragma.
5236 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5238         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5239         IMAP->l_prev cannot be null, and #if out the code for the contrary
5240         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5241         believe that NS (&_dl_ns[NSID]) could point outside the array.
5243         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5244         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5245         before using NSID as an index.
5247 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5249         [BZ #17825]
5250         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5251         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5252         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5254 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5256         Add preliminary port to Google Native Client on ARM.
5257         * abi-tags (.*-.*-nacl.*): New entry.
5258         * sysdeps/arm/nacl: New directory.
5259         * sysdeps/nacl: New directory.
5261 2015-04-16  David S. Miller  <davem@davemloft.net>
5263         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5264         lowlevellock-futex.h
5266 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5268         * sysdeps/tile/configure.ac: New file.
5269         * sysdeps/tile/configure: Regenerated.
5271 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5273         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5274         conditionals for weak_alias and libc_hidden_weak.
5275         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5276         libc_hidden_weak and weak_alias.
5277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5278         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5279         and weak_alias for static one.
5281 2015-04-15  David S. Miller  <davem@davemloft.net>
5283         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5285 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5287         [BZ #18206]
5288         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5289           Use signed comparision instead of substraction to avoid
5290           overflow bug.
5291         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5292           Take the sign of ret.
5293         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5294           Do not expect precise return values. Only the sign matters.
5295         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5296         * wcsmbs/test-wcsncmp.c: New File.
5297         * string/test-strncmp.c: Add wcsncmp support.
5299 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5301         [BZ #6792]
5302         * math/w_log1p.c: New file.
5303         * math/w_log1pf.c: Likewise.
5304         * math/w_log1pl.c: Likewise.
5305         * math/Makefile (libm-calls): Add w_log1p.
5306         * math/s_log1pl.c (log1pl): Remove weak_alias.
5307         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5308         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5309         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5310         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5311         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5312         [NO_LONG_DOUBLE] (log1pl): Likewise.
5313         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5314         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5315         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5316         (log1p): Remove long_double_symbol.
5317         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5318         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5319         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5320         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5321         remove weak_alias for corresponding log1p function.
5322         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5323         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5324         * sysdeps/ia64/fpu/w_log1p.c: New file.
5325         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5326         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5327         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5329 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5331         [BZ #18247]
5332         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5333         decimal exponent by 1.
5334         * stdlib/tst-strtod-round-data: Add more tests.
5335         * stdlib/tst-strtod-round.c (tests): Regenerated.
5337 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5339         * math/auto-libm-test-in: Add more tests of clog and clog10.
5340         * math/auto-libm-test-out: Regenerated.
5341         * sysdeps/i386/fpu/libm-test-ulps: Update.
5342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5344 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5346         * Makeconfig (module-cppflags): Exclude all .v.i files.
5347         (skip-module-cppflags): Variable removed.
5349         * configure.ac (libc_config_ok): Initialize before reading
5350         preconfigure scripts, not after.
5351         * configure: Regenerated.
5353         * test-skeleton.c (TIMEOUT): Move #define to top level.
5354         (main): Grok environment variable TEST_DIRECT.  If set, print
5355         test expectation details into that file and then behave as if
5356         given --direct.
5358 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5360         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5361         warning on 32-bit.
5363 2015-04-08  David S. Miller  <davem@davemloft.net>
5365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5367 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5369         * math/auto-libm-test-in: Add more tests of atanh.
5370         * math/auto-libm-test-out: Regenerated.
5371         * sysdeps/i386/fpu/libm-test-ulps: Update.
5372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5374         * math/auto-libm-test-in: Add more tests of atan.
5375         * math/auto-libm-test-out: Regenerated.
5376         * sysdeps/i386/fpu/libm-test-ulps: Update.
5377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5379 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5381         * elf/pldd.c (main): Rewrite to use struct
5382         scratch_buffer instead of extend_alloca.
5383         * elf/pldd-xx.c (find_maps): Likewise.
5384         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5385         <alloca.h>.
5386         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5387         scratch_buffer instead of extend_alloca.
5388         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5389         grp/compat-initgroups.c.
5390         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5391         Rewrite to use struct scratch_buffer instead of extend_alloca.
5392         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5393         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5395 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5397         * math/auto-libm-test-in: Add more tests of cbrt.
5398         * math/auto-libm-test-out: Regenerated.
5399         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5401         * math/auto-libm-test-in: Add more tests of cabs.
5402         * math/auto-libm-test-out: Regenerated.
5403         * sysdeps/i386/fpu/libm-test-ulps: Update.
5404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5406         [BZ #18210]
5407         [BZ #18211]
5408         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5409         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5410         computations.
5411         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5412         clog10.
5413         * math/auto-libm-test-out: Regenerated.
5414         * sysdeps/i386/fpu/libm-test-ulps: Update.
5415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5417         [BZ #18197]
5418         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5419         (atan): Set FE_TONEAREST mode for internal computations.
5420         * math/auto-libm-test-in: Add more tests of atan.
5421         * math/auto-libm-test-out: Regenerated.
5423 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5425         [BZ #17930]
5426         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5428 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5430         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5432 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5434         * include/scratch_buffer.h: New file.
5435         * malloc/scratch_buffer_grow.c: Likewise.
5436         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5437         * malloc/scratch_buffer_set_array_size.c: Likewise.
5438         * malloc/tst-scratch_buffer.c: Likewise.
5439         * malloc/Makefile (routines): Add scratch_buffer_grow.
5440         (tests): Add test case.
5441         * malloc/Versions (GLIBC_PRIVATE): Export
5442         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5443         __libc_scratch_buffer_set_array_size.
5445 2015-04-06  Richard Henderson  <rth@redhat.com>
5447         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5448         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5450         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5451         unsigned int before printing.
5453 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5455         [BZ #17596]
5456         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5457         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5459 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5461         * include/libc-internal.h (libc_max_align_t): Define.
5463 2015-04-02  Andreas Schwab  <schwab@suse.de>
5465         [BZ #16850]
5466         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5468 2015-04-02  Mel Gorman  <mgorman@suse.de>
5470         [BZ #17195]
5471         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5472         as well as the main arena.
5474 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5476         [BZ #18185]
5477         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5478         sharing L2 cache to 2 for Silvermont/Knights Landing.
5480 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5482         [BZ #17711]
5483         * config.make.in (have-protected-data): New.
5484         * configure.ac: Check linker support for protected data symbol.
5485         * configure: Regenerated.
5486         * elf/Makefile (modules-names): Add tst-protected1moda and
5487         tst-protected1modb if $(have-protected-data) is yes.
5488         (tests): Add tst-protected1a and tst-protected1b if
5489         $(have-protected-data) is yes.
5490         ($(objpfx)tst-protected1a): New.
5491         ($(objpfx)tst-protected1b): Likewise.
5492         (tst-protected1modb.so-no-z-defs): Likewise.
5493         * elf/tst-protected1a.c: New file.
5494         * elf/tst-protected1b.c: Likewise.
5495         * elf/tst-protected1mod.h: Likewise.
5496         * elf/tst-protected1moda.c: Likewise.
5497         * elf/tst-protected1modb.c: Likewise.
5499 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5501         [BZ #17711]
5502         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
5503         indicates it is called from do_lookup_x on relocation against
5504         protected data, skip the data definion in the executable from
5505         copy reloc.
5506         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
5507         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
5508         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
5509         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
5510         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
5511         otherwise to 0.
5512         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5513         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
5514         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
5515         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
5516         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
5517         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
5519 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
5521         * sysdeps/nptl/pthread.h: Remove duplicate definition of
5522         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
5524 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
5526         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
5527         THREAD_SETMEM_NC.
5528         * sysdeps/x86_64/nptl/tls.h: Ditto.
5530 2015-03-27  Roland McGrath  <roland@hack.frob.com>
5532         * dlfcn/tststatic.c (main): Converted to ...
5533         (do_test): ... this.
5534         (TEST_FUNCTION): New macro.
5535         Include test-skeleton.c.
5537 2015-03-26  Alan Modra  <amodra@gmail.com>
5539         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
5540         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
5541         zero for undefined weak.
5542         (elf_machine_plt_conflict): Similarly.
5544 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5546         * math/auto-libm-test-in: Add more tests of acosh, asinh and
5547         atanh.
5548         * math/auto-libm-test-out: Regenerated.
5549         * sysdeps/i386/fpu/libm-test-ulps: Update.
5550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5552         * math/auto-libm-test-in: Add another test of asin.
5553         * math/auto-libm-test-out: Regenerated.
5554         * sysdeps/i386/fpu/libm-test-ulps: Update.
5555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5557         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
5558         Remove macro.
5559         (LLL_EBX_REG): Likewise.
5560         (LLL_ENTER_KERNEL): Likewise.
5562         * math/auto-libm-test-in: Add more tests of asin.
5563         * math/auto-libm-test-out: Regenerated.
5564         * sysdeps/i386/fpu/libm-test-ulps: Update.
5565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5567         [BZ #18138]
5568         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
5569         libc_do_syscall_args): New structure.
5570         (INTERNAL_SYSCALL_MAIN_0): New macro.
5571         (INTERNAL_SYSCALL_MAIN_1): Likewise.
5572         (INTERNAL_SYSCALL_MAIN_2): Likewise.
5573         (INTERNAL_SYSCALL_MAIN_3): Likewise.
5574         (INTERNAL_SYSCALL_MAIN_4): Likewise.
5575         (INTERNAL_SYSCALL_MAIN_5): Likewise.
5576         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
5577         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
5578         Replace conditional definitions by conditional definitions of ....
5579         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
5580         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
5581         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
5582         (libpthread-sysdep_routines): Add libc-do-syscall.
5583         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
5584         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
5585         to __NR_futex not 240.
5587 2015-03-25  Alan Modra  <amodra@gmail.com>
5589         * NEWS: Advertise TLS optimization.
5590         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
5591         (DT_PPC_NUM): Increment.
5592         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
5593         (CHECK_STATIC_TLS): Use here.
5594         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
5595         TLS descriptors.
5596         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5597         * sysdeps/powerpc/dl-tls.c: New file.
5598         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
5599         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
5600         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
5601         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
5602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
5603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5606 2015-03-25  Alan Modra  <amodra@gmail.com>
5608         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
5609         for overlapping .opd entries" to "support...".
5610         * sysdeps/powerpc/powerpc64/configure: Regenerate
5612 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
5614         * math/auto-libm-test-in: Add more tests of acos.
5615         * math/auto-libm-test-out: Regenerated.
5616         * sysdeps/i386/fpu/libm-test-ulps: Update.
5617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5619         * math/auto-libm-test-in: Add more tests of expm1.
5620         * math/auto-libm-test-out: Regenerated.
5621         * sysdeps/i386/fpu/libm-test-ulps: Update.
5622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5624 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
5626         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5627         * math/auto-libm-test-out: Regenerated.
5628         * sysdeps/i386/fpu/libm-test-ulps: Update.
5629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5631         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5634         * math/auto-libm-test-in: Add more tests of log2.
5635         * math/auto-libm-test-out: Regenerated.
5636         * sysdeps/i386/fpu/libm-test-ulps: Update.
5637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5639 2015-03-23  Roland McGrath  <roland@hack.frob.com>
5641         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
5642         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
5643         _IO_IS_APPENDING bit in READ_WRITE instead.
5645 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5647         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5648         (__determine_cpumask_size): Replace extend_alloca with a
5649         variable-length array.  Do not treat res == 0 as an error.
5651 2015-03-23  Florian Weimer  <fweimer@redhat.com>
5653         [BZ #18100]
5654         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
5655         and integer overflow.
5656         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
5657         (main): Add integer overflow tests.
5658         * manual/pattern.texi (Calling Wordexp): Document additional use
5659         for WRDE_SYNTAX.
5661 2015-03-23  Alan Modra  <amodra@gmail.com>
5663         * config.h.in: Remove HAVE_ASM_PPC_REL16.
5664         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
5665         and false branch of conditional.
5666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5667         Likewise.
5669 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
5671         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
5672         libc-modules.h
5673         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
5674         unused declaration of _hurd_intr_rpc_msg_in_trap.
5675         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
5676         defined instead of whether it is non-zero.
5677         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
5678         input constraint instead of both input and output constraint.  Use ecx
5679         clobber instead of %ecx.
5680         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
5681         mutex_unlock): Use a statement expression instead of an expression list.
5682         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
5683         type to vm_size_t instead of vm_address_t.
5684         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
5685         defined instead of whether it is non-zero.
5686         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
5687         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
5688         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
5689         comparisons with mapaddr.
5690         * nscd/nscd-client.h: Include <time.h>.
5691         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
5692         9th parameter to __vm_region instead of int.
5693         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
5694         * scripts/check-local-headers.sh (exclude): Add device/,
5695         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
5696         cthreads.h.
5698 2015-03-19  Roland McGrath  <roland@hack.frob.com>
5700         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
5701         to account for alignment padding.
5702         * sysdeps/arm/memmove.S: Likewise.
5704 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
5706         * sysdeps/unix/sysv/linux/generic/README: New file.
5708 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
5710         [BZ #18138]
5711         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
5712         (futex_abstimed_wait)
5713         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
5714         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
5715         of lll_futex_timed_wait.
5717 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
5719         [BZ #17542]
5720         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
5722 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
5724         [BZ #17090]
5725         [BZ #17620]
5726         [BZ #17621]
5727         [BZ #17628]
5728         * NEWS: Update.
5729         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
5730         entries with Static TLS too.  Skip entries past the end of the
5731         allocated DTV, from Alan Modra.
5732         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
5733         Static TLS DTV entry set up from...
5734         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
5735         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
5736         * nptl/allocatestack.c (init_one_static_tls): ... and here...
5737         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
5738         for Static TLS.
5739         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
5740         that the slot we find is associated with the given map before
5741         using its generation count.
5742         * nptl_db/db_info.c: Include ldsodefs.h.
5743         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
5744         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
5745         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
5746         (link_map::l_tls_offset): New struct field.
5747         (dtv_t::counter): Likewise.
5748         (rtld_global): New struct.
5749         (_rtld_global): New rtld variable.
5750         (dl_tls_dtv_slotinfo_list): New rtld global field.
5751         (dtv_slotinfo_list): New struct.
5752         (dtv_slotinfo): Likewise.
5753         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
5754         (td_lookup): Rename to...
5755         (td_mod_lookup): ... this.  Use new mod parameter instead of
5756         LIBPTHREAD_SO.
5757         * nptl_db/td_thr_tlsbase.c: Include link.h.
5758         (dtv_slotinfo_list, dtv_slotinfo): New functions.
5759         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
5760         addresses even if the DTV is out of date or missing them.
5761         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
5762         index zero-length arrays.
5763         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
5764         (td_lookup): Make it a macro implemented in terms of...
5765         (td_mod_lookup): ... this declaration.
5766         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
5767         (DB_MAIN_VARIABLE): Likewise.
5769 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5771         [BZ #18134]
5772         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5774 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
5776         * stdlib/setenv.c (__add_to_environ): Revert previous change.
5778 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5780         [BZ #18128]
5781         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5782         (atomic_add, atomic_increment_and_test)
5783         (atomic_decrement_and_test): Fix 64-bit arithmetic.
5785 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
5787         * stdlib/setenv.c (__add_to_environ):
5788         Dump core quickly if setenv (..., NULL, ...) is called.
5790 2015-03-13  Roland McGrath  <roland@hack.frob.com>
5792         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
5793         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
5794         all the necessary asm magic in one place.
5795         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
5796         using those.
5798 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
5800         [BZ #14906]
5801         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
5802         traced file mtime. Use consistent log message.
5803         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
5804         (register_traced_file): Call install_watches. Always set mtime.
5805         (invalidate_cache): Iterate over all trace files. Call install_watches.
5806         (inotify_check_files): Don't inline. Handle watching parent
5807         directories and configuration file movement in and out.
5808         (handle_inotify_events): New function.
5809         (main_loop_poll): Call handle_inotify_events.
5810         (main_loop_epoll): Likewise.
5811         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
5812         (struct traced_file): Use array of inotify fds. Add parent directory,
5813         and basename.
5814         (struct database_dyn): Remove unused file_mtime.
5815         (init_traced_file): New inline function.
5816         (define_traced_file): New macro.
5817         * nss/nss_db/db-init.c: Use define_traced_file.
5818         (_nss_db_init): Use init_traced_file.
5819         * nss/nss_files/files-init.c: Use define_traced_file.
5820         (_nss_files_init): Use init_traced_file.
5822 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
5824         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5825         [_LIBC]: Do not include <stdlib.h>.
5826         [!_LIBC] (abort): Remove declaration.
5827         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5828         _FP_STATIC_ASSERT instead of conditionally calling abort.
5829         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5830         (_FP_EXTEND_CNAN): Likewise.
5831         (FP_TRUNC): Likewise.
5832         (__FP_CLZ): Likewise.
5833         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5835 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
5837         * manual/string.texi (XPG basename): Fix prototype.
5839 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5841         [BZ #18080]
5842         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5843         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5844         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5845         (__setcontext): Likewise.
5846         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5847         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5848         Call rt_sigprocmask syscall one time to set new signal mask
5849         and retrieve the current signal mask instead of two calls.
5850         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5851         (__swapcontext): Likewise.
5852         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5853         * stdlib/tst-setcontext2.c: New file.
5855 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5857         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5859 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
5861         [BZ #18093]
5862         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5863         the wrong size.
5865 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5867         [BZ #18043]
5868         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5870 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5872         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5873         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5874         Remove define.
5875         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5876         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5877         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5878         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5879         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5880         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5881         define.
5882         * nptl_db/td_symbol_list.c (td_lookup): Remove
5883         HAVE_ASM_GLOBAL_DOT_NAME code.
5884         * sysdeps/powerpc/powerpc64/configure.ac: Remove
5885         HAVE_ASM_GLOBAL_DOT_NAME check.
5886         * sysdeps/powerpc/powerpc64/configure: Regenerate.
5887         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5888         (DOT_LABEL): Remove define.
5889         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5890         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5891         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5892         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5893         (__TLS_GET_ADDR): Likewise.
5894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5895         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5897 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
5899         [BZ #18111]
5900         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5901         (_FPU_SETCW): Initialize cw from fpsr before storing.
5902         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5903         (fesetexceptflag): Rewrite using fpu_control.h.
5904         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5906 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
5908         [BZ #18110]
5909         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5910         asms.
5911         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5913 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
5915         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5916         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5917         abort.
5918         (_FP_FMA): Likewise.
5919         (_FP_DIV): Likewise.
5921 2015-03-10  Roland McGrath  <roland@hack.frob.com>
5923         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5924         with 0 in that case.
5925         * Makefile (summarize-tests): New canned sequence, factored out of
5926         commands for targets tests and xtests.  Display summary lines that
5927         don't start with PASS: or XFAIL: rather than ones that do start with
5928         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
5929         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5930         do start with ERROR: or FAIL:.
5931         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5932         (except for [$(build-shared) = yes]).
5933         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5934         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5935         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5936         * nptl/Makefile: Revert 2015-03-04 changes.
5937         [$(CXX) empty] (tests-unsupported): New variable.
5938         * debug/Makefile: Likewise.
5940         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5941         gnulib file.  Replace __attribute with __attribute__ throughout.
5943 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
5945         * sysdeps/hppa/fpu/libm-test-ulps: Update.
5947 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5949         [BZ #18104]
5950         * math/auto-libm-test-in: Add another test of pow.
5951         * math/auto-libm-test-out: Regenerated.
5953 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5955         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5956         $(config-cflags-nofma).
5958 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
5960         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5961         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5962         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5963         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5964         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5965         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5966         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5967         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5968         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5969         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5970         Add comment on closing #endif.
5972 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5974         * posix/wordexp.c (CHAR_IN_SET): New macro.
5975         (parse_param): Use it.
5977 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5979         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5981 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5983         [BZ #18043]
5984         * posix/wordexp.c (parse_param): Fix buffer overflow.
5985         * posix/wordexp-test.c (test_case): Add test case.
5987 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5989         [BZ #18042]
5990         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5991         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5993 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5995         [BZ #18043]
5996         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5997         (do_bz18043): Delete.
5998         (at_page_end): New.
5999         (testit): Refactor to have words at the edge of unreadable page.
6001 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6003         [BZ #16734]
6004         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6005         Cleanup read-only streams as well.
6006         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6008 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6010         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6011         <bits/libc-lockP.h>
6013 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6015         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6016         on [__KERNEL__].
6017         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6018         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6019         * soft-fp/op-common.h (_FP_DECL): Likewise.
6021 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6023         * elf/ifuncdep2.c (global): Replace
6024         __attribute__((visibility("protected"))) with
6025         asm (".protected global").
6026         * elf/ifuncmod1.c (global): Likewise.
6027         * elf/ifuncmod5.c (global): Likewise.
6029 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6031         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6032         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6034 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6036         * manual/install.texi (Configuring and compiling):
6037         Document test-wrapper-env-only.
6038         * INSTALL: Regenerated.
6040 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6042         [BZ #18043]
6043         * posix/wordexp.c (parse_param): Fix buffer overflow.
6044         * posix/wordexp-test.c (do_bz18043): Add test case.
6046 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6048         * time/tst-strptime2.c (do_test): Ensure failing tests are
6049         reported correctly.
6050         * time/tst-strptime3.c (do_test): Likewise.
6052 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6054         Fix aio_error thread-safety.
6055         * sysdeps/pthread/aio_error.c: New file
6056         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6057         synchronization.
6059 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6061         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6062         (group_number, vfprintf): Use it.
6063         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6064         (JUMP, REF): Use it.
6065         (WORK_BUFFER_SIZE): New enum constant.
6066         (process_arg, vfprintf): Use it.
6068 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6070         * manual/errno.texi (Error Messages): Complete example function
6071         by adding missing #define.
6072         (program_invocation_name): Add statement indicating GNU
6073         extension and reference which header file declares the variable.
6074         (program_invocation_short_name): Likewise.
6076 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6078         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6079         compatibility note.
6081 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6083         * Makeconfig (test-wrapper-env-only): New variable.
6084         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6085         then use that with $(test-wrapper-env-only) rather than using
6086         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6088 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6090         [BZ #18082]
6091         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6092         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6093         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6094         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6095         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6096         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6097         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6098         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6099         Likewise.
6100         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6101         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6102         Likewise.
6103         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6104         Likewise.
6105         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6106         Likewise.
6107         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6108         Likewise.
6109         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6110         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6111         Likewise.
6112         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6113         Likewise.
6114         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6115         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6117 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6119         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6120         (ETH_ALEN): New macro.
6121         (struct ether_addr): Use it for length of ether_addr_octet.
6123         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6124         (setdb): Don't call __nss_configure_lookup for "rpc".
6125         (do_test): Don't call test_rpc.
6126         (output_rpcent, test_rpc): Functions moved ...
6127         * sunrpc/test-rpcent.c: ... to this new file.
6128         * sunrpc/Makefile (tests): Add it.
6130         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6131         __xpg_sigpause.
6132         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6133         * nptl/tst-signal6.c: Likewise.
6134         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6135         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6137         * configure.ac (libc_cv_cxx_link_ok): New check.
6138         Reset CXX to empty if it fails to link.
6139         * configure: Regenerated.
6140         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6141         bug-atexit3-lib only if $(CXX) is nonempty.
6142         * nptl/Makefile (tests): Likewise for tst-cancel24.
6143         (tests, tests-static): Likewise for tst-cancel24-static.
6144         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6145         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6146         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6147         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6149 2015-03-04  Andreas Schwab  <schwab@suse.de>
6151         [BZ #17631]
6152         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6153         for non-GCC compilers.
6154         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6155         Likewise.
6157 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6159         [BZ #17776]
6160         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6161         integer before bitwise and assembly operations.
6162         (feclearexcept): Likewise.
6163         * math/test-fenvinline.c: New file.
6164         * math/Makefile: Add test-fenvinline test.
6166 2015-03-03  Alan Modra  <amodra@gmail.com>
6168         [BZ #16512]
6169         * scripts/localplt.awk: Strip off symbol version.
6170         * NEWS: Mention bug fix.
6172 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6174         * sysdeps/pthread/timer_routines.c
6175         (timer_free_list, thread_free_list, thread_active_list): Make static.
6177 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6179         [BZ #17779]
6180         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6181         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6182         Undefine.
6183         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6184         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6185         Likewise.
6186         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6187         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6188         Likewise.
6190 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6192         [BZ #18036]
6193         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6194         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6196 2015-03-02  Andreas Schwab  <schwab@suse.de>
6198         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6199         variable name.
6201 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6203         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6204         Return error status.
6206 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6208         [BZ #15969]
6209         * locale/findlocale.c (_nl_find_locale): Introduce const
6210         version of loc_name and drop unsafe type casts.
6212 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6214         * dlfcn/tststatic2.c (main): Converted to ...
6215         (do_test): ... this.
6216         (TEST_FUNCTION): New macro.
6217         Include test-skeleton.c.
6219 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6221         [BZ #17711]
6222         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6223         (tests-pie): Add vismain.
6224         (CFLAGS-vismain.c): New.
6225         * elf/vismain.c: Add comments for PIE requirement.
6227 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6229         [BZ #18046]
6230         [BZ #18047]
6231         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6232         0x1p-56L as threshold for just returning the argument.
6233         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6234         0x1p-32L as threshold for just returning the argument.
6235         * math/auto-libm-test-in: Add more tests of atanh.
6236         * math/auto-libm-test-out: Regenerated.
6237         * sysdeps/i386/fpu/libm-test-ulps: Update.
6238         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6240 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6242         * string/bcopy.c (bcopy): Call memmove for performance.
6244 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6246         * string/bzero.c (__bzero): Call memset for performance.
6248 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6250         [BZ #18068]
6251         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6252         to 00100000.
6254 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6256         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6258 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6260         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6261         (__kernel_standard): Use CSTR macro when setting exc.name.
6262         * sysdeps/ieee754/Makefile [$(subdir) = math]
6263         (CFLAGS-k_standard.c): Remove variable.
6265         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6266         setting p and q from "else if" to "else".
6267         (qzero): Likewise.
6268         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6269         (qone): Likewise.
6270         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6271         (qzerof): Likewise.
6272         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6273         (qonef): Likewise.
6274         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6275         (qzero): Likewise.
6276         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6277         (qone): Likewise.
6279         [BZ #18038]
6280         [BZ #18039]
6281         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6282         return pi/2 for arguments below 0x1p-113L.
6283         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6284         return pi/2 for arguments below 0x1p-106L.
6285         * math/auto-libm-test-in: Add more tests of acos.
6286         * math/auto-libm-test-out: Regenerated.
6288         [BZ #16351]
6289         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6290         (MO): New macro.
6291         (__ieee754_asin): Force underflow exception for results with small
6292         absolute value.
6293         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6294         (MO): New macro.
6295         (__ieee754_asinf): Force underflow exception for results with
6296         small absolute value.
6297         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6298         (__ieee754_asin): Force underflow exception for results with small
6299         absolute value.
6300         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6301         (__ieee754_asinf): Force underflow exception for results with
6302         small absolute value.
6303         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6304         (__ieee754_asinl): Force underflow exception for results with
6305         small absolute value.
6306         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6307         (__ieee754_asinl): Force underflow exception for results with
6308         small absolute value.
6309         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6310         (__ieee754_asinl): Force underflow exception for results with
6311         small absolute value.
6312         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6313         Include <math.h>.
6314         * math/auto-libm-test-in: Do not mark underflow exceptions as
6315         possibly missing for bug 16351.
6316         * math/auto-libm-test-out: Regenerated.
6318         [BZ #18030]
6319         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6320         of power of 2 down when low part has opposite sign.
6321         * math/libm-test.inc (logb_test_data): Add more tests.
6323 2015-02-26  Andreas Schwab  <schwab@suse.de>
6325         [BZ #18032]
6326         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6327         over collating symbol inside a bracket expression.  Minor cleanup.
6328         * posix/tst-fnmatch3.c (do_test): Add test case.
6330 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6332         [BZ #18029]
6333         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6334         Adjust exponent of power of 2 down when low part has opposite
6335         sign.
6336         * math/libm-test.inc (ilogb_test_data): Add more tests.
6338 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6340         [BZ #15969]
6341         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6342         the previous change.
6344         [BZ #15969]
6345         * locale/findlocale.c (_nl_find_locale): Retry archive search
6346         after alias expansion.
6348 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6350         * iconv/tst-iconv3.c (main): Converted to ...
6351         (do_test): ... this.
6352         (TEST_FUNCTION): New macro.
6353         Include test-skeleton.c.
6355         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6356         (convert): Make function static.
6357         (test_unalign): Likewise.  Add const to argument pointee types.
6358         (main): Replace with static function do_test.
6359         Print "Succeeded." only if RET is zero.
6360         (TEST_FUNCTION): New macro.
6361         Include test-skeleton.c.
6363         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6364         returns a null pointer.
6366 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6368         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6369         to __memcpy_ppc only for static builds.
6371 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6373         [BZ #18020]
6374         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6375         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6376         * math/auto-libm-test-in: Add more tests of asinh.
6377         * math/auto-libm-test-out: Regenerated.
6378         * sysdeps/i386/fpu/libm-test-ulps: Update.
6379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6381 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6383         [BZ #15850]
6384         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6385         and ip6_mtuinfo definitions here.
6386         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6387         in this define too.  Update comment.
6389 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6391         * elf/sprof.c (load_shobj): Tweak error message to match others.
6393 2015-02-24  Kevin Easton  <kevin@guarana.org>
6395         [BZ #16145] (partial fix)
6396         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6397         to reduce lock contention.
6399 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6401         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6402         (struct timex): Update time comment.
6403         (ADJ_SETOFFSET): Define.
6405 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6407         [BZ #18019]
6408         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6409         2**56 not 2**28 as threshold for log (2x) formula.
6410         * math/auto-libm-test-in: Add more tests of acosh.
6411         * math/auto-libm-test-out: Regenerated.
6412         * sysdeps/i386/fpu/libm-test-ulps: Update.
6413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6415 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6417         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6418         parenthesis around the buf assignment.
6419         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6421 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6423         [BZ #16783]
6424         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6425         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6426         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6427         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6428         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6429         * math/libm-test.inc (scalb_test_data): Add more tests.
6431 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6433         [BZ #17916]
6434         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6435         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6437 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6439         [BZ #17523]
6440         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6441         * io/bits/fcntl2.h (open): Use it.
6442         (openat): Likewise.
6443         * io/open.c (__libc_open): Likewise.
6444         * io/open64.c (__libc_open64): Likewise.
6445         * io/open64_2.c (__open64_2): Likewise.
6446         * io/open_2.c (__open_2): Likewise.
6447         * io/openat.c (__openat): Likewise.
6448         * io/openat64.c (__openat64): Likewise.
6449         * io/openat64_2.c (__openat64_2): Likewise.
6450         * io/openat_2.c (__openat_2): Likewise.
6451         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6452         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6453         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6454         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6455         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6456         (__open_nocancel): Likewise.
6457         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6458         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6459         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6461 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6463         [BZ #14841]
6464         * resolv/gethnamaddr.c (getanswer): Skip logging if
6465         RES_USE_DNSSEC is set.
6466         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6468 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6470         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6472 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6474         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6475         201304L, for Unicode 7.
6477 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6479         [BZ #17836]
6480         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6481         shared library.  Add gmon-start.os otherwise.
6482         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6483         $(objpfx)gmon-start.os if builing shared library.
6484         ($(objpfx)g$(static-start-installed-name)): Likewise.
6486 2015-02-23  Andreas Schwab  <schwab@suse.de>
6488         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6490 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6492         [BZ #17269]
6493         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
6494         (enlarge_userbuf): Likewise.
6496 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
6498         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
6499         * math/atest-exp.c (TIMEOUT): Adjust to 200.
6500         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
6501         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
6503 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
6505         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
6506         expression inside statement expression.
6508 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6510         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
6511         <sysdeps/nptl/lowlevellock.h> and remove macros and
6512         functions that are now defined there.
6513         (SYS_futex): Remove.
6514         (lll_compare_and_swap): Remove.
6515         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
6517 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
6519         [BZ #17999]
6520         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
6521         instead of scandirat.
6522         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
6523         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
6524         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
6525         __scandirat.
6526         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
6527         (__scandirat): Declare.  Use libc_hidden_proto.
6528         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
6529         Remove variable.
6530         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6532 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6534         [BZ #15319]
6535         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
6536         (MO): New macro.
6537         (__ieee754_atan2): For results with small absolute value, force
6538         underflow exception and remove excess range and precision from
6539         return value.
6540         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
6541         (MO): New macro.
6542         (__ieee754_atan2f): For results with small absolute value, force
6543         underflow exception and remove excess range and precision from
6544         return value.
6545         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
6546         (MO): New macro.
6547         (__atan): For results with small absolute value, force underflow
6548         exception and remove excess range and precision from return value.
6549         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
6550         (MO): New macro.
6551         (__atanf): For results with small absolute value, force underflow
6552         exception and remove excess range and precision from return value.
6553         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
6554         <math.h>.
6555         (__ieee754_atan2): Force underflow exception for results with
6556         small absolute value.
6557         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
6558         <math_private.h>.
6559         (atan): Force underflow exception for results with small absolute
6560         value.
6561         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
6562         (__atanf): Force underflow exception for results with small
6563         absolute value.
6564         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
6565         <math.h>.
6566         (__atanl): Force underflow exception for results with small
6567         absolute value.
6568         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
6569         (__atanl): Force underflow exception for results with small
6570         absolute value.
6571         * sysdeps/x86/fpu/bits/mathinline.h
6572         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
6573         (__ieee754_atan2): Only define inline for long double.
6574         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6575         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
6576         * math/auto-libm-test-in: Do not mark underflow exceptions as
6577         possibly missing for bug 15319.  Add more tests of atan2.
6578         * math/auto-libm-test-out: Regenerated.
6579         * math/libm-test.inc (casin_test_data): Do not mark underflow
6580         exceptions as possibly missing for bug 15319.
6581         (casinh_test_data): Likewise.
6582         * sysdeps/i386/fpu/libm-test-ulps: Update.
6584 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
6586         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
6587         * sysdeps/mips/bits/endian.h: Fix comments.
6589 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
6591         [BZ #17996]
6592         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
6593         (hdestroy_r): Likewise.
6594         (hsearch_r): Likewise.
6595         (__hcreate_r): Declare and use libc_hidden_proto.
6596         (__hdestroy_r): Likewise.
6597         (__hsearch_r): Likewise.
6598         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
6599         (hcreate): Call __hcreate_r instead of hcreate_r.
6600         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
6601         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
6602         as weak alias of __hcreate_r.
6603         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
6604         __hdestroy_r.
6605         (hsearch_r): Rename to __hsearch_r and define as weak alias of
6606         __hsearch_r.
6607         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
6608         Remove variable.
6609         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6610         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6611         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6612         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6614 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6616         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
6617         arena_lock into a single arena_get.
6619 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
6621         * dl-reloc.c: Inlucde libc-internal.h.
6622         (_dl_try_allocate_static_tls): Call ALIGN_UP.
6623         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
6624         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
6625         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
6626         (grow_heap): Likewise.
6627         * malloc/malloc.c: Include libc-internal.h.
6628         (do_check_malloc): Call powerof2.
6629         (sysmalloc): Use pagesize. Call ALIGN_UP.
6630         (systrim): Use pagesize.
6631         (mremap_chunk): Use pagesize. Call ALIGN_UP.
6632         (__libc_valloc): Use pagesize.
6633         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
6635 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6637         [BZ #17991]
6638         * include/sys/resource.h (__getrlimit64): Declare.  Use
6639         libc_hidden_proto.
6640         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
6641         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
6642         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
6643         getrlimit64.
6644         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
6645         __getrlimit64.
6646         [!getrlimit64] (getrlimit64): Define as weak alias of
6647         __getrlimit64.  Use libc_hidden_weak.
6648         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
6649         using __getrlimit64 not __new_getrlimit64.
6650         (__GI_getrlimit64): Likewise.
6651         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
6652         Likewise.
6653         (__GI_getrlimit64): Likewise.
6654         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
6655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
6656         (getrlimit): Add __getrlimit64 alias.
6657         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
6658         Likewise.
6659         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
6660         Remove variable.
6661         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6662         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6664 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
6666         * libio/fileops.c: Add missing sys/mman.h
6667         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
6669 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
6671         * manual/math.texi (Errors in Math Functions): Clarify goals
6672         regarding inexact and underflow exceptions.
6674 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6676         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
6677         * sysdeps/mips/memset.S: Ditto.
6679 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
6681         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
6683 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6685         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
6686         (__v1longjmp): Remove versioned symbol.
6687         (__v1siglongjmp): Remove alias and versioned symbol.
6688         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
6689         (__v2siglongjmp): Likewise.
6691 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6693         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
6695 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
6697         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
6699 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6701         [BZ #17987]
6702         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
6703         zero result does not depend on the sign resulting from
6704         subtraction.
6705         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6706         Likewise.
6707         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6708         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6709         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6710         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6711         * math/libm-test.inc (remquo_test_data): Add more tests.
6713 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
6715         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
6716         Problem reported by J William Piggott.
6718 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
6720         [BZ #17978]
6721         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
6722         products 4 * y and 2 * y where those would overflow.
6723         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6724         Likewise.
6725         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
6726         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
6727         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6728         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
6729         * math/libm-test.inc (remquo_test_data): Add more tests.
6731         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
6733         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
6734         [defined _COMPILING_NEWLIB].
6735         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
6736         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
6738         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
6739         [!defined __mips_isa_rev || __mips_isa_rev < 6].
6741 2015-02-16  Torvald Riegel  <triegel@redhat.com>
6743         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
6744         acquired.
6746 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
6748         [BZ #17792]
6749         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
6750         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
6751         HOST_STACK_END_ADDR): Likewise.
6753 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
6755         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
6756         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
6757         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
6759 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6761         * sysdeps/generic/c++-types.data: New file.
6762         * sysdeps/generic/ld.abilist: New file.
6763         * sysdeps/generic/libBrokenLocale.abilist: New file.
6764         * sysdeps/generic/libanl.abilist: New file.
6765         * sysdeps/generic/libc.abilist: New file.
6766         * sysdeps/generic/libcrypt.abilist: New file.
6767         * sysdeps/generic/libdl.abilist: New file.
6768         * sysdeps/generic/libm.abilist: New file.
6769         * sysdeps/generic/libpthread.abilist: New file.
6770         * sysdeps/generic/libresolv.abilist: New file.
6771         * sysdeps/generic/librt.abilist: New file.
6773 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6775         [BZ #17569]
6776         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
6777         Compute absolute value of x as modified by fmod, not original
6778         value of x.
6779         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
6780         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
6781         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
6782         RUN_TEST_ffI_f1_mod8.
6783         (remquo_test_data): Add more tests.
6785 2015-02-13  Roland McGrath  <roland@hack.frob.com>
6787         * sysdeps/init_array/pt-crti.S: New file.
6789 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
6791         [BZ #17967]
6792         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
6793         __builtin_fmaf instead of relying on contraction of a * b + c.
6795 2015-02-12  J William Piggott  <elseifthen@gmx.com>
6797         [BZ #17969]
6798         * manual/time.texi: correct the zoneinfo path in the TZ Variable
6799         node.
6801 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6803         [BZ #17964]
6804         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
6805         __builtin_fma instead of relying on contraction of a * b + c.
6807 2015-02-12  Roland McGrath  <roland@hack.frob.com>
6809         * Makeconfig (ASFLAGS): Add -Werror=undef.
6810         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
6811         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6812         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
6814         * Makeconfig (after-link): New variable.
6815         (+link-pie, +link-pie-tests): Use it.
6816         (+link-static, +link-static-tests): Likewise.
6817         (+link, +link-tests): Likewise.
6818         * Makerules (build-module, build-module-asneeded): Likewise.
6819         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
6820         Likewise.
6821         * elf/Makefile ($(objpfx)ld.so): Likewise.
6823 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
6825         [BZ #17965]
6826         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6827         both struct timeval and struct timespec.
6829 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
6831         [BZ #16560]
6832         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6833         and redefine.
6834         (__ieee754_exp2l): Do not multiply small fractional parts by
6835         M_LN2l.
6836         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6837         small argument.
6838         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6839         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6840         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6841         * math/auto-libm-test-in: Add more tests of exp2.
6842         * math/auto-libm-test-out: Regenerated.
6844 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6846         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6847         unaligned path.
6849 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6851         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6852         little endian.
6854 2015-02-12  Andreas Schwab  <schwab@suse.de>
6856         [BZ #15790]
6857         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6858         Filter out elision flags from value returned in kind.
6859         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6860         * nptl/tst-pthread-mutexattr.c: New file.
6862 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6864         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6865         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6866         into gnu-gnu, and update comment to refer to abi-tags.
6868 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
6870         [BZ #15467]
6871         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6872         (__sincos): Set errno to EDOM for infinite argument.
6873         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6874         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6875         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6876         (__sincosl): Set errno to EDOM for infinite argument.
6877         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6878         (__sincosl): Set errno to EDOM for infinite argument.
6879         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6880         (__sincosl): Set errno to EDOM for infinite argument.
6881         * math/libm-test.inc (sincos_test_data): Test errno setting.
6883 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
6885         * string/strxfrm_l.c: Remove #define STRCMP.
6886         * string/strcoll_l.c: Remove #define STRLEN.
6887         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6888         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6890 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
6892         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6893         * sysdeps/mips/mips32/sfp-machine.h: ... here.
6894         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6895         * sysdeps/mips/mips64/Makefile: ... here.
6896         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6897         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6898         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6899         * sysdeps/mips/mips64/sfp-machine.h: ... here.
6900         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6901         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6902         * sysdeps/mips/mips64/n64/Implies: Likewise.
6904 2015-02-10  Roland McGrath  <roland@hack.frob.com>
6906         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6907         <sys/time.h>, <string.h>, and <errno.h>.
6908         (dest_offset, dest_address, value, zero): Remove unused variables.
6909         (ldouble): Remove typedef.
6910         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6911         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
6912         1).  Fix code style.
6913         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6914         (check): Function removed.
6915         (CHECK): New macro.
6916         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
6917         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6918         Don't call set_sigaction_FP and remove_sigaction_FP here.
6919         (ldouble_test): Just use 'long double' as macro argument, no need for
6920         the 'ldouble' typedef.
6921         (do_test): Set up SIGFPE handler at start, using plain signal rather
6922         than sigaction.  Fix code style.
6924 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
6926         [BZ #17949]
6927         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6928         jump label.
6930 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6932         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6933         * sysdeps/powerpc/powerpc32/configure: Regenerated.
6935         * sysdeps/powerpc/configure.ac: Remove file.
6936         * sysdeps/powerpc/configure: Likewise.
6938         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6939         [sysdep_routines]: Remove wordcopy-power6 object.
6940         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6941         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6942         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6943         (__memmove_ppc32): Likewise.
6944         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6945         file.
6946         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6947         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6948         Remove preprocessor.
6950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6951         [sysdep_routines]: Remove wide chars objects.
6952         [wcsmbs]: New rule for wide char objects.
6954         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6955         Remove wordcopy-power6 obejct.
6956         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6957         Use local call for wordcopy and memcpy symbols.
6958         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6959         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6960         implementation for loader.
6961         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6963         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6964         Remove wordcopy-power7 object.
6965         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6966         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6967         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6968         (_wordcopy_fwd_dest_aligned): Likewise.
6969         (_wordcopy_bwd_aligned): Likewise.
6970         (_wordcopy_bwd_dest_aligned): Likewise.
6972         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6973         Rewrite to call __memmove_ppc instead of include default
6974         implementation.
6976         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6977         Remove wide chars objects.
6978         [wcsmbs]: New rule for wide char objects.
6980 2015-02-09  Andreas Schwab  <schwab@suse.de>
6982         [BZ #17912]
6983         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6984         in terms of __O_DIRECTORY.
6986 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6988         * time/getdate.c: Include <stdbool.h>.
6989         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6990         call PTR_MANGLE.
6991         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6992         PTR_DEMANGLE.
6994 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6996         Add ersatz _Static_assert on older C hosts
6997         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6998         pre-C11 C platform that is not known to support _Static_assert.
7000 2015-02-07  Richard Braun  <rbraun@sceen.net>
7002         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7003         sigstate.
7004         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7006 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7008         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7009         priority against unexistent AIO_PRIO_DELTA_MAX.
7010         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7011         instead of int.
7012         * misc/fchflags.c (fchflags): Likewise.
7013         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7014         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7015         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7016         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7017         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7018         Declare macros.
7019         [__USE_MISC] (chflags, fchflags): Declare functions.
7020         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7021         EINVAL when nfds is greater than FD_SETSIZE.
7022         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7023         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7024         45.
7025         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7026         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7027         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7028         MACH_RCV_TIMED_OUT.
7029         * hurd/hurd/signal.h (_hurd_self_sigstate,
7030         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7031         Explicit casts from void *.
7032         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7033         * abi-tags: Rename gnu-gnu os into gnu.
7035         [BZ #4719]
7036         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7037         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7038         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7039         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7040         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7041         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7043         [BZ #17944]
7044         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7045         duplicates ADDR->sun_path with sockaddr LEN limitation.
7046         * sysdeps/mach/hurd/connect.c: Include <string.h>
7047         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7048         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7049         * sysdeps/mach/hurd/sendto.c: Likewise.
7050         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7051         implementing it by hand.
7053 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7055         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7056         Use sfi_breg on ldr.
7057         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7058         Likewise.
7060         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7061         it's defined.
7062         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7063         Test SIGSETXID only if it's defined.
7065         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7067         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7068         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7070         * nptl/tst-align2.c: Moved ...
7071         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7072         * nptl/Makefile (tests): Remove tst-align2.
7073         * sysdeps/unix/sysv/linux/Makefile
7074         [$(subdir) = nptl] (tests): Add tst-align-clone.
7075         * nptl/tst-getpid1.c: Moved ...
7076         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7077         * nptl/tst-getpid2.c: Moved ...
7078         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7079         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7080         * sysdeps/unix/sysv/linux/Makefile
7081         [$(subdir) = nptl] (tests): ... here.
7082         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7083         * sysdeps/unix/sysv/linux/Makefile
7084         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7086         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7087         Drop trailing \n from perror argument.  Use return rather than exit.
7089         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7090         on [SA_SIGINFO].
7091         * nptl/tst-cancel21.c (do_test): Likewise.
7092         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7093         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7094         [!SA_SIGINFO]: Make it a stub test.
7096         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7097         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7099         * posix/tst-getlogin.c: Move to ...
7100         * login/tst-getlogin.c: ... here.
7101         * posix/Makefile (tests): Move tst-getlogin to ...
7102         * login/Makefile (tests): ... here.
7104         * libio/tst-atime.c (do_test): Move local variables SV and E
7105         inside [ST_NOATIME] conditional.
7107         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7109         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7111         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7112         (wait_code): New function replaces macro.
7113         Call nanosleep rather than syscall.
7115         * nptl/pt-system.c: Rewritten.  Put everything under
7116         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7117         Use IFUNC to redirect when possible.
7119         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7120         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7121         Use IFUNC to redirect when possible.
7123         * nptl/pt-fork.c: Rewritten.  Put everything under
7124         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7125         Use IFUNC to redirect when possible.
7126         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7128         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7129         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7130         unconditionally nowadays.  This included the only reference to
7131         __vdso_clock_gettime that appears outside libc proper.
7132         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7133         Remove version set (containing only __vdso_clock_gettime).
7134         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7135         Add attribute_hidden.
7136         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7137         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7138         libc_hidden_data_def.
7139         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7140         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7142         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7143         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7144         setrpcent, and getrpcport to ...
7145         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7146         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7147         getrpcbynumber_r, and getrpcent_r to ...
7148         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7149         * inet/getrpcbyname.c: Moved ...
7150         * sunrpc/getrpcbyname.c: ... here.
7151         * inet/getrpcbyname_r.c: Moved ...
7152         * sunrpc/getrpcbyname_r.c: ... here.
7153         * inet/getrpcbynumber.c: Moved ...
7154         * sunrpc/getrpcbynumber.c: ... here.
7155         * inet/getrpcbynumber_r.c: Moved ...
7156         * sunrpc/getrpcbynumber_r.c: ... here.
7157         * inet/getrpcent.c: Moved ...
7158         * sunrpc/getrpcent.c: ... here.
7159         * inet/getrpcent_r.c: Moved ...
7160         * sunrpc/getrpcent_r.c: ... here.
7161         * inet/Makefile (routines): Move those to ...
7162         * sunrpc/Makefile (routines): ... here.
7163         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7164         the $(subdirs) list.
7165         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7166         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7167         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7168         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7170         * elf/Makefile (routines): Include $(all-dl-routines), not just
7171         $(dl-routines).
7172         (rtld-routines): Likewise.  Use = rather than :=.
7173         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7174         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7175         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7176         * sysdeps/arm/Makefile: Likewise.
7177         * sysdeps/i386/Makefile: Likewise.
7178         * sysdeps/x86_64/Makefile: Likewise.
7179         * sysdeps/hppa/Makefile [$(subdir) = elf]
7180         (sysdep_routines, sysdep-rtld-routines): Don't add
7181         $(sysdep-dl-routines) to these.
7182         * sysdeps/ia64/Makefile: Likewise.
7183         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7184         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7185         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7186         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7187         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7188         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7189         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7190         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7191         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7192         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7193         these; sysdep-dl-routines alone is enough.
7195 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7197         [BZ #17932]
7198         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7199         where multiplication results in zero and third argument is finite
7200         and nonzero.
7201         * math/auto-libm-test-in: Add more tests of fma.
7202         * math/auto-libm-test-out: Regenerated.
7204         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7205         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7206         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7207         (_FP_CMP_EQ): Likewise.
7208         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7210         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7211         extra argument CHECK_NAN.  Redefine as wrapper around
7212         _FP_EXTEND_CNAN.
7214 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7216         * version.h (RELEASE): Set to "stable".
7217         (VERSION): Set to "2.21"
7218         * include/features.h (__GLIBC_MINOR__): Set to 21.
7220         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7222 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7223             Paul Eggert  <eggert@cs.ucla.edu>
7225         [BZ #16618]
7226         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7227         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7228         size in bytes. Store needed elements in wpmax. Use needed size
7229         in bytes for extend_alloca.
7231 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7233         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7234         binutls 2.25, and texinfo 5.2.
7235         * INSTALL: Regenerate.
7236         * sysdeps/nios2/configure: Regenerate.
7237         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7238         * manual/contrib.texi: Update.
7239         * po/be.po: Update.
7240         * po/bg.po: Update.
7241         * po/ca.po: Update.
7242         * po/cs.po: Update.
7243         * po/da.po: Update.
7244         * po/de.po: Update.
7245         * po/el.po: Update.
7246         * po/eo.po: Update.
7247         * po/es.po: Update.
7248         * po/fi.po: Update.
7249         * po/fr.po: Update.
7250         * po/gl.po: Update.
7251         * po/hr.po: Update.
7252         * po/hu.po: Update.
7253         * po/ia.po: Update.
7254         * po/id.po: Update.
7255         * po/it.po: Update.
7256         * po/ja.po: Update.
7257         * po/ko.po: Update.
7258         * po/lt.po: Update.
7259         * po/nb.po: Update.
7260         * po/nl.po: Update.
7261         * po/pl.po: Update.
7262         * po/pt_BR.po: Update.
7263         * po/ru.po: Update.
7264         * po/rw.po: Update.
7265         * po/sk.po: Update.
7266         * po/sl.po: Update.
7267         * po/sv.po: Update.
7268         * po/tr.po: Update.
7269         * po/uk.po: Update.
7270         * po/vi.po: Update.
7271         * po/zh_CN.po: Update.
7272         * po/zh_TW.po: Update.
7274         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7275         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7276         * sysdeps/hppa/dl-irel.h: Remove #warning.
7277         * sysdeps/hppa/entry.h: Provide prototype for
7278         __canonicalize_funcptr_for_compare and cast argument.
7279         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7280         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7281         * sysdeps/hppa/sotruss-lib.c: New file.
7282         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7283         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7284         (atomic_compare_and_exchange_bool_acq): Likewise.
7285         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7286         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7288         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7289         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7290         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7292 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7294         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7295         called function in non-PIC case.
7297 2015-01-31  David S. Miller  <davem@davemloft.net>
7299         * sysdeps/sparc/sparc32/bits/atomic.h
7300         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7301         unlock not after it.
7302         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7303         volatile register usage warnings from the compiler.
7305         * sysdeps/sparc/nptl/sem_init.c: Delete.
7306         * sysdeps/sparc/nptl/sem_post.c: Delete.
7307         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7308         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7309         * sysdeps/sparc/sparc32/sem_init.c: New file.
7310         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7311         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7312         padding explicitly initialized.
7313         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7314         padding for in-semaphore spinlock.
7315         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7316         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7317         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7318         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7319         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7320         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7321         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7322         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7323         version.
7324         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7325         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7327 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7329         [BZ #17801]
7330         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7331         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7332         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7333         New.
7334         (index_AVX_Fast_Unaligned_Load): Likewise.
7335         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7336         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7337         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7338         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7339         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7340         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7341         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7342         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7343         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7345 2015-01-29  Andreas Schwab  <schwab@suse.de>
7347         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7349 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7351         [BZ #17892]
7352         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7354 2015-01-28  Martin Sebor  <msebor@redhat.com>
7356         * math/README.libm-test: Clarify. Add "How to read the test output."
7358 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7360         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7361         Define to 0.
7363 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7365         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7366         (__HAVE_64B_ATOMICS): Define to 0.
7368 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7370         [BZ #17885]
7371         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7372         value to set as new flag.
7374         [BZ #16576]
7375         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7376         and use _ARCH_PPCSQ instead.
7377         (__ieee754_sqrt): Likewise.
7378         (__ieee754_sqrtf): Likewise.
7379         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7380         _ARCH_PPCSQ is defined.
7381         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7382         fsqrt instruction.
7383         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7384         _ARCH_PPCSQ is defined.
7385         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7386         fsqrts instruction.
7387         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7389 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7391         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7392         bug (GCC BZ #64739).
7394 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7396         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7397         Mark _retval as used.
7398         (lll_futex_wake_unlock): Likewise.
7399         (lll_futex_timed_wait_requeue_pi): Likewise.
7401         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7402         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7403         register variables.
7405         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7406         libm_hidden_def.
7408         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7409         (__bswap_64): Mark as __always_inline.
7411 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7413         [BZ #15378]
7414         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7415         when none of the search directories exist.
7417 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7419         [BZ #17869]
7420         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7421         power8 in .machine directive.
7423         [BZ #17868]
7424         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7425         set dependency from opd value.
7427 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7430         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7431         architecture.
7433 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7435         [BZ #17870]
7436         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7437         with uint64_t.
7438         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7439         (uint64_t) 1.
7440         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7441         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7442         Replace 1UL with (uint64_t) 1.
7443         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7444         int with uint64_t.
7446 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7448         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7449         (if_freenameindex): Likewise.
7451         * resource/getrlimit64.c: Add missing libc_hidden_def.
7453 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7455         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7456         __label__.
7457         (_FP_FMA): Likewise.
7458         (_FP_TO_INT_ROUND): Likewise.
7459         (_FP_FROM_INT): Likewise.
7461 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7463         [BZ #16418]
7464         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7465         Make code racy and cancel safe.
7467 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7469         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7470         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7471         attribution.
7473         * pwd/tst-getpw.c: Rewrite.
7475         [BZ #17702]
7476         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7477         (modules-names): Add moddummy1 and moddummy2.
7478         ($(objpfx)tst-rec-dlopen): Define.
7479         * dlfcn/moddummy1.c: New file.
7480         * dlfcn/moddummy2.c: New file.
7481         * dlfcn/tst-rec-dlopen.c: New file.
7482         * elf/dl-cache.c (_dl_load_cache_lookup):
7483         Return char*. Copy result with alloca/strcpy/strdup.
7484         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7485         returns char*. Free cached. If not saving realname
7486         free cached.
7487         * elf/dl-open.c (dl_open_worker): Do not assert that
7488         _r_debug->r_state is RT_CONSISTENT.
7489         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7490         returns char*.
7492 2015-01-21  Torvald Riegel  <triegel@redhat.com>
7493             Carlos O'Donell  <carlos@redhat.com>
7495         [BZ #12674]
7496         * nptl/sem_waitcommon.c: New file.
7497         * nptl/sem_wait.c: Include sem_waitcommon.c.
7498         (__sem_wait_cleanup, do_futex_wait): Remove.
7499         (__new_sem_wait): Adapt.
7500         (__new_sem_trywait): New function.
7501         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
7502         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
7503         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
7504         (sem_timedwait): Adapt.
7505         * nptl/sem_post.c (__new_sem_post): Adapt.
7506         (futex_wake): New function.
7507         (__old_sem_post): Add release MO fence.
7508         * nptl/sem_open.c (sem_open): Adapt.
7509         * nptl/sem_init.c (__new_sem_init): Adapt.
7510         (futex_private_if_supported): New function.
7511         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
7512         (__old_sem_getvalue): Add using previous code.
7513         * sysdeps/nptl/internaltypes.h: Adapt.
7514         * nptl/tst-sem13.c (do_test): Adapt.
7515         * nptl/tst-sem11.c (main): Adapt.
7516         * nptl/sem_trywait.c: Remove.
7517         * nptl/DESIGN-sem.txt: Remove.
7518         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
7519         (gen-as-const-headers): Remove structsem.sym.
7520         * nptl/structsem.sym: Remove.
7521         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
7522         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
7523         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
7524         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
7525         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
7526         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
7527         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
7528         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
7529         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
7530         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
7531         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
7532         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
7533         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
7534         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
7535         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
7536         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
7537         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
7538         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
7539         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
7540         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
7541         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
7542         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
7544 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
7546         * INSTALL: Regenerated.
7548         * po/libc.pot: Regenerated.
7550 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
7551             Sandra Loosemore  <sandra@codesourcery.com>
7552             Andrew Jenner  <andrew@codesourcery.com>
7553             Joseph Myers  <joseph@codesourcery.com>
7554             Nathan Sidwell  <nathan@codesourcery.com>
7556         * NEWS: Mention new Nios II port.
7557         * sysdeps/nios2/Implies: New file.
7558         * sysdeps/nios2/Makefile: New file.
7559         * sysdeps/nios2/Subdirs: New file.
7560         * sysdeps/nios2/Versions: New file.
7561         * sysdeps/nios2/__longjmp.S: New file.
7562         * sysdeps/nios2/abort-instr.h: New file.
7563         * sysdeps/nios2/backtrace.c: New file.
7564         * sysdeps/nios2/bits/endian.h: New file.
7565         * sysdeps/nios2/bits/fenv.h: New file.
7566         * sysdeps/nios2/bits/link.h: New file.
7567         * sysdeps/nios2/bits/setjmp.h: New file.
7568         * sysdeps/nios2/bsd-_setjmp.S: New file.
7569         * sysdeps/nios2/bsd-setjmp.S: New file.
7570         * sysdeps/nios2/configure: New generated file.
7571         * sysdeps/nios2/configure.ac: New file.
7572         * sysdeps/nios2/crti.S: New file.
7573         * sysdeps/nios2/crtn.S: New file.
7574         * sysdeps/nios2/dl-init.c: New file.
7575         * sysdeps/nios2/dl-machine.h: New file.
7576         * sysdeps/nios2/dl-sysdep.h: New file.
7577         * sysdeps/nios2/dl-tls.h: New file.
7578         * sysdeps/nios2/dl-trampoline.S: New file.
7579         * sysdeps/nios2/gccframe.h: New file.
7580         * sysdeps/nios2/gmp-mparam.h: New file.
7581         * sysdeps/nios2/jmpbuf-offsets.h: New file.
7582         * sysdeps/nios2/jmpbuf-unwind.h: New file.
7583         * sysdeps/nios2/ldsodefs.h: New file.
7584         * sysdeps/nios2/libc-tls.c: New file.
7585         * sysdeps/nios2/libm-test-ulps: New file.
7586         * sysdeps/nios2/machine-gmon.h: New file.
7587         * sysdeps/nios2/math-tests.h: New file.
7588         * sysdeps/nios2/math_private.h: New file.
7589         * sysdeps/nios2/memusage.h: New file.
7590         * sysdeps/nios2/nptl/Makefile: New file.
7591         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
7592         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
7593         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
7594         * sysdeps/nios2/nptl/pthreaddef.h: New file.
7595         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
7596         * sysdeps/nios2/nptl/tls.h: New file.
7597         * sysdeps/nios2/preconfigure: New file.
7598         * sysdeps/nios2/s_fma.c: New file.
7599         * sysdeps/nios2/s_fmaf.c: New file.
7600         * sysdeps/nios2/setjmp.S: New file.
7601         * sysdeps/nios2/sfp-machine.h: New file.
7602         * sysdeps/nios2/sotruss-lib.c: New file.
7603         * sysdeps/nios2/stackguard-macros.h: New file.
7604         * sysdeps/nios2/stackinfo.h: New file.
7605         * sysdeps/nios2/start.S: New file.
7606         * sysdeps/nios2/sysdep.h: New file.
7607         * sysdeps/nios2/tls-macros.h: New file.
7608         * sysdeps/nios2/tst-audit.h: New file.
7609         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
7610         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
7611         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
7612         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
7613         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
7614         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
7615         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
7616         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
7617         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
7618         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
7619         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
7620         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
7621         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
7622         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
7623         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
7624         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
7625         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
7626         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
7627         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
7628         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
7629         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
7630         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
7631         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
7632         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
7633         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
7634         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
7635         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
7636         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
7637         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
7638         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
7639         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
7640         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
7641         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
7642         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
7643         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
7644         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
7645         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
7646         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
7647         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
7648         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
7649         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
7650         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
7651         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
7652         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
7654 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7656         [BZ #17844]
7657         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
7658         (getutent): Use weak_alias in non SHARED case
7659         and default_symbol_version in SHARED case.
7660         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
7661         (getutent_r, pututline): Likewise.
7662         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
7663         (getutid): Likewise.
7664         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
7665         (getutid_r): Likewise.
7666         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
7667         (getutline): Likewise.
7668         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
7669         (getutline_r): Likewise.
7670         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
7671         (updwtmp): Likewise.
7673 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7675         [BZ #17848]
7676         * sysdeps/s390/s390-32/memcmp.S
7677         (memcmp_g5): Rename to __memcmp_g5.
7678         * sysdeps/s390/s390-32/memcpy.S
7679         (memcpy_g5): Rename to __memcpy_g5.
7680         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7681         (memcpy_mvcle) Rename to __memcpy_mvcle.
7682         * sysdeps/s390/s390-32/memset.S
7683         (memset_g5): Rename to __memset_g5.
7684         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7685         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7686         and use prefixed functions.
7687         * sysdeps/s390/s390-32/multiarch/memcmp.S
7688         (memcmp_z196): Rename to __memcmp_z196.
7689         (memcmp_z10): Rename to __memcmp_z10.
7690         (memcmp): Set alias to __memcmp_g5.
7691         (bcmp): Set alias to __memcmp_g5.
7692         * sysdeps/s390/s390-32/multiarch/memcpy.S
7693         (memcpy_z196): Rename to __memcpy_z196.
7694         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7695         (memcpy_z10): Rename to __memcpy_z10.
7696         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7697         (memcpy): Set alias to __memcpy_g5.
7698         * sysdeps/s390/s390-32/multiarch/memset.S
7699         (memset_z196): Rename to __memset_z196.
7700         Jump to __memset_mvcle instead of memset_mvcle.
7701         (memset_z10): Rename to __memset_z10.
7702         Jump to __memset_mvcle instead of memset_mvcle.
7703         (memset_mvcle) Rename to __memset_mvcle.
7704         (memset): Set alias to __memset_g5.
7705         * sysdeps/s390/s390-64/memcmp.S
7706         (memcmp_z900): Rename to __memcmp_z900.
7707         * sysdeps/s390/s390-64/memcpy.S
7708         (memcpy_z900): Rename to __memcpy_z900.
7709         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7710         (memcpy_mvcle) Rename to __memcpy_mvcle.
7711         * sysdeps/s390/s390-64/memset.S
7712         (memset_z900): Rename to __memset_z900.
7713         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
7714         (IFUNC_RESOLVE): Prefix ifunc-resolve function
7715         and use prefixed functions.
7716         * sysdeps/s390/s390-64/multiarch/memcmp.S
7717         (memcmp_z196): Rename to __memcmp_z196.
7718         (memcmp_z10): Rename to __memcmp_z10.
7719         (memcmp): Set alias to __memcmp_z900.
7720         (bcmp): Set alias to __memcmp_z900.
7721         * sysdeps/s390/s390-64/multiarch/memcpy.S
7722         (memcpy_z196): Rename to __memcpy_z196.
7723         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7724         (memcpy_z10): Rename to __memcpy_z10.
7725         Jump to __memcpy_mvcle instead of memcpy_mvcle.
7726         (memcpy): Set alias to __memcpy_z900.
7727         * sysdeps/s390/s390-64/multiarch/memset.S
7728         (memset_z196): Rename to __memset_z196.
7729         Jump to __memset_mvcle instead of memset_mvcle.
7730         (memset_z10): Rename to __memset_z10.
7731         Jump to __memset_mvcle instead of memset_mvcle.
7732         (memset_mvcle) Rename to __memset_mvcle.
7733         (memset): Set alias to __memset_z900.
7735 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
7737         [BZ #17748]
7738         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
7739         __fesetenv instead of fesetenv.
7741 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7743         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
7744         macro.
7746 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7748         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
7749         regression on LE.
7751         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
7752         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
7753         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7754         strncmp-power8 object.
7755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7756         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
7757         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
7758         * NEWS: Update.
7760 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7761             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7763         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
7764         trailing byte check.
7766 2015-01-13  David S. Miller  <davem@davemloft.net>
7768         * include/signal.h (__sigreturn): Guard with __USE_MISC.
7770 2015-01-13  Roland McGrath  <roland@hack.frob.com>
7772         * login/logout.c (logout): Use memset rather than bzero.
7773         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
7774         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
7775         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
7776         (_gethtbyaddr): Likewise.
7777         * locale/programs/simple-hash.c (bcopy): Macro removed.
7779 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7781         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7782         Add strcmp-power8 object.
7783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7784         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
7785         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
7786         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
7787         __strcmp_power8 implementation.
7788         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
7789         * NEWS: Update.
7791         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7792         Add strncpy-power8 and stpncpy-power8 objects.
7793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7794         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
7795         implementations.
7796         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
7797         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
7798         __stpncpy_power8 implementation.
7799         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
7800         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
7801         __strncpy_power8 implementation.
7802         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
7803         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
7804         * NEWS: Update.
7806         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
7807         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
7808         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
7810         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7811         strncat-power8 object.
7812         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
7813         __strcat_power8 implementation.
7814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7815         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
7816         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
7817         optimized strcat for power8.
7819         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
7820         strcpy-power8 and stpcpy-power8 objects.
7821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7822         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7823         implementations.
7824         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7825         multiarch stpcpy implementation for POWER8.
7826         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7827         multiarch strcpy implementation for POWER8.
7828         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7829         __strcpy_power8 function.
7830         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7831         stpcpy for POWER8.
7832         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7833         strcpy for POWER8.
7834         * NEWS: Update.
7836 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
7838         [BZ #16009]
7839         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7840         weights and rules. Use do_xfrm_cached if data fits in cache,
7841         do_xfrm otherwise.  Moved former main loop to...
7842         * (do_xfrm_cached): New function.
7843         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7844         find_idx, find_position and stack_push.
7845         * (find_idx): New function.
7846         * (find_position): Likewise.
7847         * localedata/sort-test.sh: Added test run for do_xfrm.
7848         * localedata/xfrm-test.c (main): Added command line option
7849         -nocache to run the test with strings that are too large for
7850         the STRXFRM cache.
7852 2015-01-13  Torvald Riegel  <triegel@redhat.com>
7854         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7855         variable to lll_futex_wake call, not the value itself.
7857 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
7859         [BZ #17803]
7860         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7861         twom64.  Adjust value to 0x1p-64L.
7862         (__scalblnl): Only return standard underflowing result for K <=
7863         -64 not K <= -63; adjust exponent for underflowing result by 64
7864         not 63.
7865         * math/libm-test.inc (scalbn_test_data): Add more tests.
7866         (scalbln_test_data): Likewise.
7868         [BZ #17834]
7869         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7870         0x1p63L.
7871         (__scalblnl): Get new exponent of adjusted subnormal value from ES
7872         not HX.
7873         * math/libm-test.inc (scalbn_test_data): Add more tests.
7874         (scalbln_test_data): Likewise.
7876 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7877             Stefani Seibold  <stefani@seibold.net>
7879         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7880         (sysdep_routines): Add dl-vdso here, ...
7881         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7882         (sysdep_routines): ... not here.
7883         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7884         fallback when vDSO is not presented.
7885         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7886         Define with libc_hidden_proto/libc_hidden_data_def definitions.
7887         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7888         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7889         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7890         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7891         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7892         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7893         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7894         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7895         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
7896         fallback configurable symbol when vDSO is not available.
7897         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7898         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
7899         be able to redefine fallback symbol when vDSO is not available.
7900         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7901         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7903 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7905         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7906         (TLS_INIT_TP): Add tm_capable initialization.
7907         (TLS_DEFINE_INIT_TP): Likewise.
7908         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7909         TCB.
7910         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7911         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7912         calculation.
7913         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7914         transactoion is lock elision is built and TCB tm_capable is set.
7915         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7917         (INTERNAL_SYSCALL_NCS): Likewise.
7918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7919         (INTERNAL_SYSCALL_NCS): Likewise.
7920         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7922         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7923         for powerpc.
7924         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7925         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7926         and remove it for 32 bits case.
7927         [pthread_rwlock_t] (__rwelision): New field for lock elision.
7928         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7929         initialization.
7930         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7931         Disable lock elision with rdlocks if elision is not available.
7933         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7934         (sysdep_routines): Add lock elision objects.
7935         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7936         [pthread_mutex_t] (__spins): Rework to add lock elision field.
7937         [pthread_mutex_t] (__elision): Add field.
7938         [__PTHREAD_SPINS]: Adjust to init lock elision field.
7939         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7940         elision definitions for powerpc.
7941         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7942         implementation of lock elision for powerpc.
7943         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7944         implementation of timed lock elision for powerpc.
7945         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7946         implementation of trylock with lock elision for powerpc.
7947         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7948         implementaion of unlock for lock elision for powerpc.
7949         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7950         automatic enable lock elision for mutexes.
7951         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7952         transaction execution definitions for powerpc.
7953         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7954         definitions.
7955         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7956         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7957         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7958         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7959         * NEWS: Update.
7961 2015-01-09  Roland McGrath  <roland@hack.frob.com>
7963         * sysdeps/posix/shm-directory.c: Use <> rather than ""
7964         for #include of <shm-directory.h>.
7966 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7968         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7969         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7971 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7973         [BZ #17791]
7974         * NEWS: Mention bug fix.
7975         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7976         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7977         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7979 2015-01-09  Torvald Riegel <triegel@redhat.com>
7981         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7983 2015-01-09  Torvald Riegel <triegel@redhat.com>
7985         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7987 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7989         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7990         pointer and cast to uintptr_t.
7992 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7994         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7995         removed.
7996         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7998 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8000         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8001         of 0.
8003 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8005         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8006         <nptl/pthreadP.h> instead.
8007         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8009         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8010         already defined.
8011         [__SIGRTMIN] (init): Function removed.
8012         [__SIGRTMIN] (initialized): Variable removed.
8013         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8014         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8015         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8016         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8017         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8018         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8019         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8020         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8021         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8022         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8023         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8024         * sysdeps/nptl/allocrtsig.c: New file.
8025         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8026         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8027         * sysdeps/generic/testrtsig.h: File removed.
8029         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8030         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8032         * nptl/nptl-init.c (pthread_functions): Conditionalize
8033         .ptr__nptl_setxid initialization on [SIGSETXID].
8035         * sysdeps/nptl/sys/procfs.h: New file.
8036         * nptl_db/Makefile (headers): Add it.
8037         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8039         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8040         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8041         * nptl/pthread_attr_setaffinity.c: Include it.
8042         * nptl/pthread_setattr_default_np.c: Likewise.
8043         * nptl/check-cpuset.h: New file.
8045 2015-01-08  Richard Henderson  <rth@redhat.com>
8047         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8048         (CFLAGS-tst-execstack-prog.c): Likewise.
8049         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8051 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8052             Sandra Loosemore  <sandra@codesourcery.com>
8053             Andrew Jenner  <andrew@codesourcery.com>
8054             Joseph Myers  <joseph@codesourcery.com>
8055             Nathan Sidwell  <nathan@codesourcery.com>
8057         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8058         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8059         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8060         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8061         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8062         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8063         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8064         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8065         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8066         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8067         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8068         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8069         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8070         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8071         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8072         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8073         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8075 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8077         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8078         timespec struct member in syscall macro.
8079         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8080         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8081         first timeval struct member in syscall macro.
8082         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8084 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8086         [BZ #17748]
8087         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8088         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8089         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8090         __feupdateenv and define as weak alias of __feupdateenv.  Use
8091         libm_hidden_weak.
8092         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8093         libm_hidden_def.
8094         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8095         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8096         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8097         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8098         libm_hidden_def.
8099         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8100         __feupdateenv and define as weak alias of __feupdateenv.  Use
8101         libm_hidden_weak.
8102         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8103         libm_hidden_def.
8104         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8105         __feupdateenv and define as weak alias of __feupdateenv.  Use
8106         libm_hidden_weak.
8107         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8108         libm_hidden_def.
8109         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8110         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8111         (__feupdateenv): Likewise.
8112         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8113         __feupdateenv and define as weak alias of __feupdateenv.  Use
8114         libm_hidden_weak.
8115         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8116         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8117         libm_hidden_def.
8118         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8119         function.
8120         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8121         libm_hidden_def.
8122         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8123         __feupdateenv instead of feupdateenv.
8124         (default_libc_feupdateenv_test): Likewise.
8125         (libc_feresetround_ctx): Likewise.
8127 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8129         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8130         prototype.
8132 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8134         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8135         COLL_SYM in a couple of places to avoid uninitialized variable
8136         wanings on tilegx gcc 4.8.2.
8138 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8140         * sysdeps/aarch64/strcpy.S: New file.
8141         * sysdeps/aarch64/stpcpy.S: New file.
8142         * NEWS: Updated.
8144 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8146         * sysdeps/aarch64/strrchr.S: New file.
8147         * NEWS: Updated.
8149 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8151         [BZ #17658]
8152         * stdlib/setenv.c: Fix memory leak when setting large,
8153         duplicate string.
8155 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8157         [BZ #17273]
8158         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8159         and tabs from buffer before parsing fstab entry.
8160         * misc/tst-mntent.c (main): Add test for mount entry with
8161         trailing spaces and tabs.
8163 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8165         [BZ #17748]
8166         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8167         * math/fesetround.c (fesetround): Rename to __fesetround and
8168         define as weak alias of __fesetround.  Use libm_hidden_weak.
8169         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8170         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8171         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8172         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8173         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8174         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8175         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8176         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8177         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8178         __fesetround_inline.
8179         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8180         __fesetround_inline instead of __fesetround.
8181         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8182         __fesetround and define as weak alias of __fesetround.  Use
8183         libm_hidden_weak.  Call __fesetround_inline instead of
8184         __fesetround.
8185         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8186         __fesetround and define as weak alias of __fesetround.  Use
8187         libm_hidden_weak.
8188         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8189         Likewise.
8190         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8191         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8192         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8193         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8194         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8195         __fesetround and define as weak alias of __fesetround.  Use
8196         libm_hidden_weak.
8197         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8198         __fesetround instead of fesetround.
8199         (default_libc_feholdexcept_setround): Likewise.
8200         (libc_feholdsetround_ctx): Likewise.
8201         (libc_feholdsetround_noex_ctx): Likewise.
8203         [BZ #17748]
8204         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8205         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8206         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8207         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8208         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8209         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8210         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8211         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8212         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8213         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8214         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8215         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8216         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8217         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8218         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8219         libm_hidden_def.
8220         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8221         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8222         Likewise.
8223         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8224         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8225         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8226         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8227         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8228         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8229         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8230         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8231         __fesetenv instead of fesetenv.
8232         (libc_feresetround_noex_ctx): Likewise.
8233         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8234         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8235         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8236         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8237         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8238         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8239         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8240         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8241         (__feupdateenv): Likewise.
8242         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8243         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8244         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8245         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8247 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8249         [BZ #17806]
8250         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8251         addresses have been freed.
8253 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8255         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8256         and nservall.
8258 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8260         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8261         Clean up check_pf allocation pattern. addresses
8263 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8265         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8266         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8267         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8268         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8269         * nptl/pthread_join.c (pthread_join): Likewise.
8270         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8271         * sysdeps/posix/waitid.c (__waitid): Likewise.
8272         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8273         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8274         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8275         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8276         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8277         Likewise.
8278         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8279         (__libc_pread64): Likewise.
8280         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8281         (__libc_pwrite): Likewise.
8282         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8283         (__libc_pwrite64): Likewsie.
8284         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8285         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8286         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8287         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8288         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8289         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8290         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8292         Likewise.
8293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8294         (__libc_pread64): Likewise.
8295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8296         Likewise.
8297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8298         (__libc_pwrite64): Likewise.
8299         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8300         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8301         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8302         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8303         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8304         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8305         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8306         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8307         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8308         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8309         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8310         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8311         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8312         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8313         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8314         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8315         Likewise.
8317 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8319         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8320         (CFLAGS-test-double.c): Likewise.
8321         (CFLAGS-test-ldouble.c): Likewise.
8322         (CPPFLAGS-test-ifloat.c): Likewise.
8323         (CPPFLAGS-test-idouble.c): Likewise.
8324         (CPPFLAGS-test-ildoubl.c): Likewise.
8325         (CFLAGS-test-test-fenv.c): Remove variable.
8326         (CFLAGS-test-misc.c): Likewise.
8328 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8330         [BZ #17797]
8331         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8332         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8333         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8334         CLOCKS_PER_SEC == 1000000.
8335         * time/clocktest.c (main): Replace %ld with %jd and cast to
8336         intmax_t.
8338 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8340         * sysdeps/generic/unwind-resume.h: New file.
8341         * sysdeps/gnu/unwind-resume.c: Include it.
8342         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8343         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8344         argument list.
8345         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8346         global rather than static.
8347         (_Unwind_Resume): Update user.
8348         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8349         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8350         rather than static.  Add __attribute__ ((cold)).
8351         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8352         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8353         * sysdeps/arm/arm-unwind-resume.S: New file.
8354         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8355         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8356         * sysdeps/arm/Makefile [$(subdir) = csu]
8357         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8358         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8359         Add rt-arm-unwind-resume.
8360         [$(subdir) = nptl]
8361         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8362         Add pt-arm-unwind-resume.
8363         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8364         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8366 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8368         [BZ #17748]
8369         * include/fenv.h (__feholdexcept): Declare.  Use
8370         libm_hidden_proto.
8371         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8372         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8373         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8374         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8375         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8376         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8377         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8378         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8379         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8380         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8381         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8382         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8383         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8384         (feholdexcept): Likewise.
8385         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8386         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8387         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8388         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8389         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8390         __feholdexcept instead of feholdexcept.
8391         (default_libc_feholdexcept_setround): Likewise.
8393 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8395         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8396         to avoid using stl/str to align destination.
8398 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8400         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8402 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8404         [BZ #17796]
8405         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8406         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8407         Define as weak alias not strong alias.
8409 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8411         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8412         bltzal with addiupc.
8413         (RTLD_START): Ditto.
8415 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8417         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8418         for __vdso_* functions in declarations.
8419         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8420         definitions.
8421         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8422         INTERNAL_VSYSCALL): Use struct return types to check for error.
8424         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8425         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8426         function with cast from llround().
8427         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8428         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8429         Define.
8431 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8433         [BZ #17793]
8434         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8435         Define as weak alias not strong alias.
8437         [BZ #17635]
8438         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8439         ...
8440         * ctype/ctype-extn.c: ... here.
8441         (__isblank_l): Move to ...
8442         * ctype/ctype-c99_l.c: ... here.  New file.
8443         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8444         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8445         Remove variable.
8446         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8447         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8448         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8449         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8450         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8452         [BZ #17777]
8453         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8454         (posix_fadvise64): Define as weak alias not strong alias.
8455         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8456         (posix_fallocate64): Likewise.
8457         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8458         Remove variable.
8459         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8460         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8461         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8462         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8463         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8465 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8467         [BZ #16191]
8468         * NEWS: Mention bug fix.
8469         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8470         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8471         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8472         (HOST_STACK_END_ADDR): Likewise.
8474 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8476         [BZ #17748]
8477         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8478         * math/fegetround.c (fegetround): Rename to __fegetround and
8479         define as weak alias of __fegetround.  Use libm_hidden_weak.
8480         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8481         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8482         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8483         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8484         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8485         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8486         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8487         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8488         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8489         Undefine after rather than before function definition; use
8490         parentheses around function name in definition.
8491         (__fegetround): Also undefine macro after function definition.
8492         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
8493         __fegetround and define as weak alias of __fegetround.  Use
8494         libm_hidden_weak.  Do not undefine as macro.
8495         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8496         Likewise.
8497         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
8498         __fegetround and define as weak alias of __fegetround.  Use
8499         libm_hidden_weak.
8500         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8501         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8502         * sysdeps/tile/math_private.h (__fegetround): New inline function.
8503         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
8504         __fegetround and define as weak alias of __fegetround.  Use
8505         libm_hidden_weak.
8506         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
8507         __fegetround instead of fegetround.
8509         [BZ #17782]
8510         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
8511         Condition macro definition on [__USE_MISC].
8513         [BZ #17781]
8514         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
8515         (struct sigaction): Change type of sa_flags field to int.
8517         [BZ #17780]
8518         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
8519         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
8520         __glibc_reserved0.
8522         * nptl/version.c (banner): Use single year in copyright notice.
8524         * NEWS: Update copyright dates.
8525         * catgets/gencat.c (print_version): Likewise.
8526         * csu/version.c (banner): Likewise.
8527         * debug/catchsegv.sh: Likewise.
8528         * debug/pcprofiledump.c (print_version): Likewise.
8529         * debug/xtrace.sh (do_version): Likewise.
8530         * elf/ldconfig.c (print_version): Likewise.
8531         * elf/ldd.bash.in: Likewise.
8532         * elf/pldd.c (print_version): Likewise.
8533         * elf/sotruss.sh: Likewise.
8534         * elf/sprof.c (print_version): Likewise.
8535         * iconv/iconv_prog.c (print_version): Likewise.
8536         * iconv/iconvconfig.c (print_version): Likewise.
8537         * locale/programs/locale.c (print_version): Likewise.
8538         * locale/programs/localedef.c (print_version): Likewise.
8539         * login/programs/pt_chown.c (print_version): Likewise.
8540         * malloc/memusage.sh (do_version): Likewise.
8541         * malloc/memusagestat.c (print_version): Likewise.
8542         * malloc/mtrace.pl: Likewise.
8543         * manual/libc.texinfo: Likewise.
8544         * nptl/version.c (banner): Likewise.
8545         * nscd/nscd.c (print_version): Likewise.
8546         * nss/getent.c (print_version): Likewise.
8547         * nss/makedb.c (print_version): Likewise.
8548         * posix/getconf.c (main): Likewise.
8549         * scripts/test-installation.pl: Likewise.
8550         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8552 2015-01-02  Will Newton  <will.newton@linaro.org>
8554         * sysdeps/arm/armv7/configure: Removed.
8555         * sysdeps/arm/armv7/configure.ac: Likewise.
8557 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8559         * All files with FSF copyright notices: Update copyright dates
8560         using scripts/update-copyrights.
8561         * intl/plural.c: Regenerated.
8562         * locale/programs/charmap-kw.h: Likewise.
8563         * locale/programs/locfile-kw.h: Likewise.
8565 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8567         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
8569 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8571         [BZ #17748]
8572         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
8573         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
8574         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8575         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8576         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8577         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
8578         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8579         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
8580         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8581         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8582         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8583         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8584         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8585         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8586         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
8587         libm_hidden_def.
8588         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
8589         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
8590         Likewise.
8591         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
8592         define as weak alias of __fegetenv.  Use libm_hidden_weak.
8593         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8594         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
8595         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
8596         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
8597         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
8598         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
8599         __fegetenv instead of fegetenv.
8600         (libc_feholdsetround_noex_ctx): Likewise.
8602 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
8604         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
8605         (Elf_MIPS_ABIFlags_v0): New structure.
8606         (EF_MIPS_FP64): Define.
8607         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
8608         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
8609         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
8610         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
8611         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
8612         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
8613         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
8614         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
8615         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
8616         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
8617         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
8618         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
8619         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
8620         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
8621         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
8622         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
8623         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
8624         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
8625         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
8626         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
8627         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
8628         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
8629         field.
8630         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
8631         EF_MIPS_FP64.
8632         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
8633         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
8634         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
8635         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
8636         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
8637         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
8638         * sysdeps/mips/tst-abi-interlink.c: Likewise.
8639         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
8640         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
8641         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
8642         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
8643         record the current FP ABI extension.
8644         (mips-mode-switch): Define to show if kernel headers support mode
8645         switching.
8646         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8647         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
8648         supported SYSV ABI version to 3.
8649         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
8650         feature.
8652 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8653             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8655         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
8656         path.
8657         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
8659 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
8661         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
8662         __fegetround and redefine to call __fegetround.  Remove condition
8663         on [!__NO_MATH_INLINES].
8664         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
8665         function.
8666         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
8667         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8668         Remove macro.
8669         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
8670         instead of <fenv_libc.h>.
8671         (__llrintl): Call fegetround instead of __fegetround.
8672         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
8673         instead of <fenv_libc.h>.
8674         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8675         (__lrintl): Call fegetround instead of __fegetround.
8676         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
8677         instead of <fenv_libc.h>.
8678         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8679         (__rintl): Call fegetround instead of __fegetround.
8681 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8683         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
8684         arrays.
8686 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8688         [BZ #17775]
8689         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
8690         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
8691         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
8693 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8695         * sysdeps/i386/tls-macros.h: Include <features.h>.
8696         (TLS_LE): Use non-PIC version for GCC >= 5.0.
8697         (TLS_IE): Likewise.
8698         (TLS_LD): Likewise.
8699         (TLS_GD): Likewise.
8700         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
8701         define for GCC >= 5.0.
8703 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
8705         * math/test-fenv.c (test_single_exception, set_single_exc,
8706         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
8707         feexcp_mask_test, feenable_test, fe_single_test): Add
8708         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
8709         case where they are not used.
8710         * math/libm-test.inc: Likewise.
8711         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
8712         unused in the absence of FP rounding/exception support.
8713         * stdio-common/tst-printf-round.c: Likewise.
8714         * stdlib/tst-strtod-round.c: Likewise.
8715         * stdlib/tst-strtod-underflow.c: Likewise.
8717 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
8719         [BZ #17723]
8720         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
8721         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
8722         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8723         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8724         libm_hidden_weak.
8725         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
8726         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8727         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
8728         libm_hidden_def.
8729         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8730         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8731         libm_hidden_weak.
8732         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
8733         Likewise.
8734         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
8735         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8736         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8737         libm_hidden_weak.
8738         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8739         libm_hidden_def.
8740         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8741         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
8742         (__feraiseexcept): Likewise.
8743         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
8744         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8745         libm_hidden_weak.
8746         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
8747         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
8748         libm_hidden_def.
8749         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
8750         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
8751         Use libm_hidden_def.
8752         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
8753         libm_hidden_def.
8754         (feraiseexcept): Define as weak not strong alias.  Use
8755         libm_hidden_weak.
8756         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
8757         New inline function.  Factored out of ...
8758         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
8759         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
8760         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
8761         feraiseexcept.
8762         * math/w_acos.c (__acos): Likewise.
8763         * math/w_asin.c (__asin): Likewise.
8764         * math/w_ilogb.c (__ilogb): Likewise.
8765         * math/w_j0.c (y0): Likewise.
8766         * math/w_j1.c (y1): Likewise.
8767         * math/w_jn.c (yn): Likewise.
8768         * math/w_log.c (__log): Likewise.
8769         * math/w_log10.c (__log10): Likewise.
8770         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
8771         * sysdeps/aarch64/fpu/math_private.h
8772         (libc_feupdateenv_test_aarch64): Likewise.
8773         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8774         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
8775         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
8776         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8777         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8778         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8779         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
8780         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8781         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8782         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8784 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
8786         [BZ #17732]
8787         * io/test-utime.c (main): Replace %ld with %jd and cast to
8788         intmax_t.
8789         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
8790         * nptl/tst-mutex5.c: Include <stdint.h>.
8791         (do_test): Replace %ld with %jd and cast to intmax_t.
8792         * posix/tst-regex.c (run_test): Likewise.
8793         (run_test_backwards): Likewise.
8794         * rt/tst-clock.c: Include <stdint.h>.
8795         (clock_test): Replace %ld with %jd and cast to intmax_t.
8796         * rt/tst-cpuclock1.c: Include <stdint.h>.
8797         (do_test): Replace %lu with %ju and cast to uintmax_t.
8798         * rt/tst-cpuclock2.c: Include <stdint.h>.
8799         (do_test): Replace %lu with %ju and cast to uintmax_t.
8800         * rt/tst-mqueue1.c: Include <stdint.h>.
8801         (check_attrs): Replace %ld with %jd and cast to intmax_t.
8802         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
8803         intmax_t.
8804         * rt/tst-mqueue4.c (do_test): Likewise.
8805         * rt/tst-timer4.c: Include <stdint.h>.
8806         (check_ts): Replace %ld with %jd and cast to intmax_t.
8807         (do_test): Likewise.
8808         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
8809         and cast to intmax_t.
8810         * sysdeps/pthread/tst-timer.c (main): Likewise.
8811         * time/clocktest.c (main): Likewise.
8812         * time/tst-posixtz.c (do_test): Likewise.
8813         * timezone/tst-timezone.c (main): Likewise.
8815 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8816             H.J. Lu  <hongjiu.lu@intel.com>
8818         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
8819         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
8820         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
8821         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
8822         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8823         version if bit_Fast_Unaligned_Load is set.
8824         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8825         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8826         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8827         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8828         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8829         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8830         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8831         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8832         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8833         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8834         to 4.
8835         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8836         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8837         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8838         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8840 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
8842         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8843         instead of #if to avoid a Wundef warning.
8844         * stdlib/tst-limits.c (do_test): Likewise.
8846         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8847         parallel other exception macros.
8848         (fegetenv): Convert from macro to extern inline so that it applies
8849         retroactively to inline functions already seen by the compiler.
8850         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8852         * posix/Makefile (before-compile): Use $(objpfx) for
8853         posix-conf-vars-def.h.
8855 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8857         * posix/getconf.c (main): Use size_t for type of I.
8858         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8859         NSPEC.
8861         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8862         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8863         * posix/posix-envs.def: Likewise.
8864         * sysdeps/posix/sysconf.c: Likewise.
8865         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8866         (specs): Remove array.
8867         * scripts/gen-posix-conf-vars.awk: Support generation of specs
8868         array.
8870         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8871         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8872         (__sysconf): Use CONF_IS_* macros.
8874         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8875         ($(objpfx)posix-conf-vars-def.h): New target.
8876         * posix/posix-conf-vars.list: New file.
8877         * posix/posix-conf-vars.h: New file.
8878         * posix/confstr.c: Include posix-conf-vars.h.
8879         (confstr): Use CONF_IS_* macros.
8880         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
8881         CONF_IS_* macros.
8882         * scripts/gen-posix-conf-vars.awk: New file.
8884 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
8886         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8887         fegetround): Add no-op macros to avoid linknamespace issues.
8889         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8890         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8892         * sysdeps/unix/sysv/linux/tile/sysdep.h
8893         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8894         assembly-specific section to avoid a redefinition warning.
8896         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8897         long before casting to pointer to avoid a cast warning.
8899 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
8901         * sysdeps/tile/tilegx/Implies: New file.
8903 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
8905         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8907 2014-12-23  Florian Weimer  <fweimer@redhat.com>
8909         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8911 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8913         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8914         not define.
8915         * sysdeps/unix/sysv/linux/utimes.c: Do not include
8916         <kernel-features.h>.
8917         (__utimes) [__NR_utimes]: Make code unconditional.
8918         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8919         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8920         (__ASSUME_UTIMES): Do not undefine.
8921         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8922         (__ASSUME_UTIMES): Likewise.
8923         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8924         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8925         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8926         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8928 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8930         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8932 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
8934         [BZ #17747]
8935         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8936         alias to weak alias for j0l, y0l.
8937         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8938         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8940         [BZ #17746]
8941         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8942         conversion.
8944 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
8946         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8947         to zero if not already defined.
8949 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8951         [BZ #17724]
8952         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8953         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
8954         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
8955         (char *) casts added.
8956         * sysdeps/ieee754/k_standardf.c: New file.
8957         * sysdeps/ieee754/k_standardl.c: Likewise.
8958         * math/Makefile (libm-support): Remove k_standard.
8959         (libm-calls): Add k_standard.
8961 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8963         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8964         Optimize to avoid an unnecessary FPCR read.
8966 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8968         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8969         Optimize to reduce FPCR/FPSR accesses.
8971 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8973         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8974         Call libc_fetestexcept_aarch64.
8976 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8978         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8979         Call libc_fesetround_aarch64.
8981 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8983         [BZ #17733]
8984         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8985         (__bind): Do not define as weak alias.
8986         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8987         define.
8988         (__getsockname): Do not define as weak alias.
8990 2014-12-22  Will Newton  <will.newton@linaro.org>
8992         * manual/install.texi: Document that we require bison 2.7
8993         or above.
8994         * INSTALL: Regenerate.
8995         * configure.ac: Use AC_CHECK_PROG_VER instead of
8996         AC_PATH_PROG when checking for bison and check for
8997         version 2.7 or above.
8998         * configure: Regenerate.
9000 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9002         [BZ #17745]
9003         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9004         * sysdeps/tile/ffsll.c (ffsll): To here.
9006         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9008 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9010         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9011         if not defined.
9012         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9013         definition.
9014         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9015         hidden ___tls_get_addr.
9016         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9017         hidden __tls_get_addr.
9018         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9019         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9020         Likewise.
9022 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9024         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9025         _dl_init call.
9027 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9029         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9030         from "call _dl_init@PLT".
9031         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9033 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9035         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9036         guarantees.
9038 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9040         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9042 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9044         [BZ #17744]
9045         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9046         strnlen.
9048 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9050         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9051         of multu on MIPSr6.
9052         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9053         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9054         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9055         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9056         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9058 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9060         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9061         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9062         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9063         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9064         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9065         mips32r6/mips64r6.
9066         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9068 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9070         * string/strncat.c (STRNCAT): Simplify implementation.
9072 2014-12-19  David S. Miller  <davem@davemloft.net>
9074         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9075         access the quad as both a long double and as a series of 4 words.
9077         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9078         link_map->l_info array access.
9080 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9082         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9084         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9085         * math/atest-exp2.c (TIMEOUT): Likewise.
9086         * math/atest-sincos.c (TIMEOUT): Likewise.
9088 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9090         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9091         -Wno-error with -fno-builtin-lround.
9093 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9095         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9096         Contains futex constants and functions moved over from ...
9097         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9098         <lowlevellock-futex.h>.
9099         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9100         (lll_timedwait_tid): Add comments and parentheses around macro
9101         arguments.
9103 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9105         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9106         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9107         (__lll_private_flag): Remove.
9108         (lll_futex_wait): Likewise.
9109         (lll_futex_timed_wait): Likewise.
9110         (lll_futex_wake): Likewise.
9111         (lll_futex_requeue): Likewise.
9112         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9113         (__lll_timedwait_tid): Spell out argument names.
9114         (lll_timedwait_tid): Add comments and parentheses around macro
9115         arguments.
9116         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9117         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9119 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9121         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9122         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9123         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9124         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9125         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9126         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9127         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9128         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9129         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9130         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9131         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9132         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9133         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9134         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9135         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9136         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9137         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9138         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9139         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9141 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9143         * sysdeps/x86_64/x32/Makefile: New file.
9145 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9147         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9148         1L with (mp_limb_t) 1.
9150 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9152         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9153         * nptl/libc_pthread_init.c: ... here.
9154         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9155         * nptl/register-atfork.c: ... here.
9157         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9158         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9159         Use assert_perror to check its return value.
9160         (__gai_create_helper_thread): Likewise.
9162         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9164         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9166 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9168         [BZ #17725]
9169         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9170         __profil_counter.
9171         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9172         Likewise.
9173         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9174         Likewise.
9175         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9176         Likewise.
9177         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9178         (profil_counter): Likewise.
9179         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9180         (profil_counter): Likewise.
9181         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9182         Likewise.
9183         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9184         Likewise.
9185         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9186         (profil_counter): Likewise.
9187         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9188         Likewise.
9189         [!__profil_counter] (profil_counter): Define as weak alias of
9190         __profil_counter.
9191         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9192         (profil_counter): Rename to __profil_counter.
9193         [!__profil_counter] (profil_counter): Define as weak alias of
9194         __profil_counter.
9195         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9196         (profil_counter): Rename to __profil_counter.
9197         [!__profil_counter] (profil_counter): Define as weak alias of
9198         __profil_counter.
9199         * sysdeps/posix/profil.c: Update comment referring to
9200         profil_counter.
9201         (__profil): Use __profil_counter instead of profil_counter.
9202         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9203         __profil_counter.  Use __profil_counter_ushort and
9204         __profil_counter_uint in definitions.
9205         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9206         instead of profil_counter_uint and profil_counter_ushort.
9208         [BZ #17722]
9209         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9210         define as weak alias of __inet_makeaddr.
9211         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9212         as weak alias of __inet_addr.
9213         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9214         as weak alias of __inet_pton.  Use libc_hidden_weak.
9215         * include/arpa/inet.h (__inet_pton): Declare.  Use
9216         libc_hidden_proto.
9217         (inet_makeaddr): Don't use libc_hidden_proto.
9218         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9219         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9220         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9221         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9222         Remove variable.
9223         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9224         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9226 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9228         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9230 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9232         * stdio-common/bug-vfprintf-nargs.c (do_test):
9233         Cast value to intptr_t to avoid format warning
9234         for usage with PRIdPTR printing macro.
9236 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9238         * libio/tst-widetext.c (do_test):
9239         Use format type %td instead of %Zd for ptrdiff_t
9240         in order to avoid format warning.
9242 2014-12-17  Andreas Schwab  <schwab@suse.de>
9244         * nscd/mem.c (gc): Add size_t cast to match printf format.
9246 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9248         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9249         (init): Apply PTR_MANGLE to pointers before storing them.
9250         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9251         before using them.
9253 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9255         [BZ #17719]
9256         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9257         define as weak alias of __memrchr.
9258         (__memrchr): Do not define as strong alias of memrchr.
9259         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9260         Remove variable.
9261         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9262         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9263         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9265         [BZ #17717]
9266         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9267         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9268         (if_indextoname): Rename to __if_indextoname and define as weak
9269         alias of __if_indextoname.  Use libc_hidden_weak.
9270         (if_freenameindex): Rename to __if_freenameindex and define as
9271         weak alias of __if_freenameindex.
9272         (if_nameindex): Rename to __if_nameindex and define as weak alias
9273         of __if_nameindex.
9274         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9275         __if_nametoindex and define as weak alias of __if_nametoindex.
9276         Use libc_hidden_weak.
9277         (if_freenameindex): Rename to __if_freenameindex and define as
9278         weak alias of __if_freenameindex.
9279         (if_nameindex): Rename to __if_nameindex and define as weak alias
9280         of __if_nameindex.
9281         (if_indextoname): Rename to __if_indextoname and define as weak
9282         alias of __if_indextoname.  Use libc_hidden_weak.
9283         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9284         __if_nametoindex and define as weak alias of __if_nametoindex.
9285         Use libc_hidden_weak.
9286         (if_freenameindex): Rename to __if_freenameindex and define as
9287         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9288         (if_nameindex_netlink): Use __if_freenameindex instead of
9289         if_freenameindex.
9290         (if_nameindex): Rename to __if_nameindex and define as weak alias
9291         of __if_nameindex.  Use libc_hidden_weak.
9292         (if_indextoname): Rename to __if_indextoname and define as weak
9293         alias of __if_indextoname.  Use libc_hidden_weak.
9294         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9295         libc_hidden_proto.
9296         [!_ISOMAC] (__if_freenameindex): Likewise.
9297         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9298         if_nametoindex.
9299         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9300         variable.
9301         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9302         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9303         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9304         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9305         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9306         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9307         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9309         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9310         Remove variable.
9311         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9312         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9314 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9316         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9317         subscript above bounds'
9319         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9320         bounds.
9322 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9324         * libio/tst-fopenloc.c: Use test-skeleton.c.
9326         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9327         (entry): Rename to ITEM.
9328         (do_test, comp): Adjust.
9330         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9332 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9334         * string/tester.c: Include <libc-internal.h>.
9335         (test_memset): Ignore -Wmemset-transposed-args.
9337 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9339         * misc/tst-mntent2.c (do_test): Fix warning.
9341 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9343         * elf/tst-unique4lib.cc(a): Mark as used.
9345 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9347         [BZ #17630]
9348         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9349         names.
9351 2014-12-16  Allan McRae  <allan@archlinux.org>
9353         * stdio-common/Makefile (tests): Re-add bug26.
9355 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9357         [BZ #17657]
9358         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9359         static array.
9361 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9363         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9364         (__lll_lock_wait): Likewise.
9365         (__lll_timedlock_wait): Likewise.
9366         (__lll_timedwait_tid): Likewise.
9367         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9368         (__lll_robust_timedlock_wait): Likewise.
9369         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9370         (lll_cond_trylock): Likewise.
9371         (__lll_lock): Likewise.
9372         (__lll_robust_lock): Likewise.
9373         (__lll_cond_lock): Likewise.
9374         (lll_robust_cond_lock): Likewise.
9375         (__lll_timedlock): Likewise.
9376         (__lll_robust_timedlock): Likewise.
9377         (__lll_unlock): Likewise.
9378         (__lll_robust_unlock): Likewise.
9379         (lll_wait_tid): Likewise.
9380         (lll_timedwait_tid): Likewise.
9382 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9384         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9386 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9388         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9390 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9392         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9393         * stdio-common/tst-sprintf.c: Likewise.
9395 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9397         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9399 2014-12-15  Jeff Law  <law@redhat.com>
9401         [BZ #16617]
9402         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9403         on the heap.  (CVE-2012-3406)
9404         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9405         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9406         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9408 2014-12-15  Will Newton  <will.newton@linaro.org>
9410         * manual/install.texi: Bump required version of texinfo
9411         to 4.7 from 4.5.
9412         * INSTALL: Regenerated.
9413         * configure.ac: Check for makeinfo version 4.7 and above.
9414         * configure: Regenerated.
9416 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9418         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9419         PREFIX, string constant to insert between directory and name.
9420         * sysdeps/posix/shm_open.c: Update caller.
9421         * sysdeps/posix/shm_unlink.c: Likewise.
9422         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9423         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9424         (SEM_SHM_PREFIX): New macro.
9425         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9426         [$(have-thread-library) = no].
9427         * nptl/Makefile (libpthread-routines): Add shm-directory.
9428         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9429         * sysdeps/nptl/shm-directory.h: New file.
9430         * sysdeps/posix/shm-directory.c
9431         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9432         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9433         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9434         INTERNAL_SYSCALL.
9435         (__where_is_shmfs): Function removed.
9436         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9437         Variables removed.
9438         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9439         Use SHM_GET_NAME.
9440         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9442         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9443         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9444         unconditional for use inside libpthread.
9445         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9447 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9449         * nptl/pthread_getaffinity.c: New file.
9450         * nptl/pthread_setaffinity.c: New file.
9451         * nptl/pthread_getname.c: New file.
9452         * nptl/pthread_setname.c: New file.
9454         * nptl/pthread_create.c (START_THREAD_DEFN)
9455         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9457 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9458             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9460         * resolv/res_send.c (send_vc): Disable warning resplen may
9461         be used uninitialized.
9463 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9465         * nptl/tst-mutex6.c
9466         (ATTR_NULL): New define checks ATTR against NULL.
9467         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9468         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9470 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9472         [BZ #17581]
9473         * malloc/hooks.c
9474         (mem2mem_check): Revert my previous change.
9475         (malloc_check_get_size): Revert my previous change.
9476         (mem2chunk_check): Revert my previous change.
9478 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9480         * sysdeps/posix/shm-directory.c: New file.
9481         * sysdeps/posix/shm-directory.h: New file.
9482         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9483         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9484         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9485         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9486         Transmute EPERM to EACCES.
9487         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9488         from ...
9489         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9490         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9492 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9494         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
9495         pointer and cast to uintptr_t.
9496         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
9497         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
9498         Add cast to avoid warning.
9499         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
9501 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9503         * nptl/semaphore.h: Move to ...
9504         * sysdeps/pthread/semaphore.h: ... here.
9505         * Makefile (installed-headers): Change nptl/semaphore.h to
9506         sysdeps/pthread/semaphore.h.
9508 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9510         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
9511         generated error format strings.
9513         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
9514         -Wformat-extra-args warnings for scanf formats.
9515         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9516         test of zero-length format (duh).
9517         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
9518         corner-case scanf format test.
9519         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
9520         generated fprintf format string.
9521         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
9522         corner-case sprintf format tests.
9523         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
9524         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
9525         -Wformat-extra-args warnings throughout.
9526         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
9527         (CFLAGS-scanf4.c): Likewise.
9528         (CFLAGS-scanf7.c): Likewise.
9529         (CFLAGS-tst-sprintf.c): Likewise.
9530         (CFLAGS-tst-printf.c): Likewise.
9531         (CFLAGS-tst-printfsz.c): Likewise.
9533 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
9535         * include/cpio.h: New file.
9536         * include/fmtmsg.h: Likewise.
9538         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
9539         corresponding format argument to size_t.
9540         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9541         arguments.
9542         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
9543         corresponding format argument to size_t.
9544         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
9545         arguments.
9546         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
9547         corresponding format argument to size_t.
9548         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
9549         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
9550         (CFLAGS-tst-mbswcs2.c): Likewise.
9551         (CFLAGS-tst-mbswcs3.c): Likewise.
9552         (CFLAGS-tst-mbswcs4.c): Likewise.
9553         (CFLAGS-tst-mbswcs5.c): Likewise.
9554         (CFLAGS-tst-trans.c): Likewise
9556 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9558         * posix/regexbug1.c (main): Use "%s" format with regerror results,
9559         rather than assuming they won't contain any '%'s.
9561 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
9563         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
9564         inhibit_loop_to_libcall to avoid recursive calls.
9565         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
9566         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
9568 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9570         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
9571         prototype.
9573 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9575         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
9576         integer value instead of boolean.
9578 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
9580         * malloc/malloc.c: Fix powerof2 check.
9582 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9584         * locale/programs/locfile.h (maybe_swap_uint32):
9585         Remove inline and add unused attribute.
9587 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9589         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9590         Truncating assembler expression to a .long expression.
9592 2014-12-11  Andreas Schwab  <schwab@suse.de>
9594         * elf/rtld.c (struct map_args): Constify str member.
9595         (do_preload): Constify fname argument.
9597 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9599         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
9600         constants definition.
9602 2014-12-11  Andreas Schwab  <schwab@suse.de>
9604         [BZ #16657]
9605         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
9606         FORCE_ELISION instead of DO_ELISION.
9607         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
9608         Remove.
9609         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
9610         Likewise.
9612         * iconvdata/gconv-modules: Remove duplicate entry.
9614 2014-12-11  Will Newton  <will.newton@linaro.org>
9616         Merge gettext 0.19.3 into intl/.
9618         This involves a number of cosmetic changes to comments
9619         and ANSI function definitions and prototypes throughout
9620         all the files. The gettext copyright header is used but
9621         with the date ranges taken from the glibc copy.
9623         * NEWS: Add gettext merge to 2.21.
9624         * intl/bindtextdom.c: Switch to gettext copyright.
9625         Use ANSI definitions and prototypes.
9626         Use gl_* locking primitives rather than __libc_* ones.
9627         Use __builtin_expect rather than __glibc_likely/unlikely.
9628         * intl/dcgettext.c: Switch to gettext copyright.
9629         Use ANSI definitions and prototypes.
9630         * intl/dcigettext.c: Switch to gettext copyright.
9631         Use ANSI definitions and prototypes.
9632         (INTDIV0_RAISES_SIGFPE): New define.
9633         Use gl_* locking primitives rather than __libc_* ones.
9634         Include eval-plural.h instead of plural-eval.c.
9635         Use __builtin_expect rather than __glibc_likely/unlikely.
9636         * intl/dcngettext.c: Switch to gettext copyright.
9637         Use ANSI definitions and prototypes.
9638         * intl/dgettext.c: Likewise.
9639         * intl/dngettext.c: Likewise.
9640         * intl/plural-eval.c: Renamed to...
9641         * intl/eval-plural.h: ...this.
9642         * intl/explodename.c: Switch to gettext copyright.
9643         Use ANSI definitions and prototypes.
9644         (_nl_explode_name): Use strchr instead of __rawmemchr.
9645         * intl/finddomain.c: Switch to gettext copyright.
9646         Use ANSI definitions and prototypes.
9647         Use gl_* locking primitives rather than __libc_* ones.
9648         (_nl_find_domain): Use malloc rather than alloca for
9649         allocation of temporary locale name.
9650         * intl/gettext.c: Switch to gettext copyright.
9651         Use ANSI definitions and prototypes.
9652         * intl/gettextP.h: Switch to gettext copyright.
9653         Use ANSI definitions and prototypes.
9654         Use gl_* locking primitives rather than __libc_* ones.
9655         * intl/gmo.h: Switch to gettext copyright.
9656         (struct sysdep_string): Move struct segment_pair outside of
9657         struct definition.
9658         * intl/hash-string.c: Use ANSI definitions and prototypes.
9659         * intl/hash-string.h: Switch to gettext copyright.
9660         Use ANSI definitions and prototypes.
9661         * intl/l10nflist.c: Switch to gettext copyright.
9662         Use ANSI definitions and prototypes.
9663         (_nl_normalize_codeset): Avoid integer overflow.
9664         * intl/loadinfo.h: Switch to gettext copyright.
9665         Use ANSI definitions and prototypes.
9666         (LIBINTL_DLL_EXPORTED): New define.
9667         (PATH_SEPARATOR): New define.
9668         * intl/loadmsgcat.c: Switch to gettext copyright.
9669         * intl/localealias.c: Switch to gettext copyright.
9670         Use ANSI definitions and prototypes.
9671         (_nl_expand_alias): Use PATH_SEPARATOR.
9672         * intl/ngettext.c: Switch to gettext copyright.
9673         Use ANSI definitions and prototypes.
9674         * intl/plural-exp.c: Likewise.
9675         * intl/plural-exp.h: Switch to gettext copyright.
9676         Use ANSI definitions and prototypes.
9677         (struct expression): Move definition of enum operator outside
9678         of struct definition.
9679         * intl/plural.c: Regenerate.
9680         * intl/plural.y: Switch to gettext copyright.
9681         Use ANSI definitions and prototypes.
9682         Port to bison 3.0.
9683         * intl/textdomain.c: Switch to gettext copyright.
9684         Use ANSI definitions and prototypes.
9685         Use gl_* locking primitives rather than __libc_* ones.
9687 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
9689         * debug/warning-nop.c: Add used atrribute.
9691 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9693         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
9695         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
9696         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
9697         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
9699 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9700             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9702         [BZ #17634]
9703         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
9704         Undefine after defining function.  Define as weak alias of
9705         __wcschr.  Use libc_hidden_weak.
9706         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
9707         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
9708         (libc_hidden_def): Also define __GI___wcschr alias.
9709         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
9710         __wcschr and define as weak alias of __wcschr.
9711         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
9712         __wcschr.
9713         [!WCSCHR] (DEFAULT_WCSCHR): Define.
9714         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
9715         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
9716         libc_hidden_weak.  Do not use libc_hidden_def.
9717         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
9718         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
9719         __GI___wcschr alias.
9720         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
9721         [IS_IN (libc)] (wcschr): Define as macro expanding to
9722         __redirect_wcschr.
9723         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
9724         [IS_IN (libc)] (__wcschr_power6): Likewise.
9725         [IS_IN (libc)] (__wcschr_power7): Likewise.
9726         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
9727         instead of wcschr.
9728         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
9729         __libc_wcschr.
9730         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
9731         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
9732         __wcschr and define as weak alias of __wcschr.  Use
9733         libc_hidden_builtin_def.
9734         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
9735         as weak alias of __wcschr.  Use libc_hidden_weak.
9736         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
9737         wcschr.
9738         * time/era.c (_nl_init_era_entries): Likewise.
9739         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
9740         variable.
9741         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9742         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9744 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9746         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
9747         format for long int variable.
9749 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
9751         [BZ #10672]
9752         * manual/search.texi: (Array Sort Function): Remove claim how to make
9753         qsort stable.
9755 2014-12-10  Andreas Schwab  <schwab@suse.de>
9757         [BZ #12847]
9758         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
9759         user-controlled locks.
9761 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
9763         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
9764         register.
9766 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
9768         * configure.ac (--disable-werror): New configure option.
9769         (enable_werror): New AC_SUBST.
9770         * configure: Regenerated.
9771         * config.make.in (enable-werror): New variable.
9772         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
9773         -Wno-error=undef.
9774         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
9775         * manual/install.texi (Configuring and compiling): Document
9776         --disable-werror.
9777         * INSTALL: Regenerated.
9778         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
9779         (CFLAGS-tst-chk2.c): Likewise.
9780         (CFLAGS-tst-chk3.c): Likewise.
9781         (CFLAGS-tst-chk4.cc): Likewise.
9782         (CFLAGS-tst-chk5.cc): Likewise.
9783         (CFLAGS-tst-chk6.cc): Likewise.
9784         (CFLAGS-tst-lfschk1.c): Likewise.
9785         (CFLAGS-tst-lfschk2.c): Likewise.
9786         (CFLAGS-tst-lfschk3.c): Likewise.
9787         (CFLAGS-tst-lfschk4.cc): Likewise.
9788         (CFLAGS-tst-lfschk5.cc): Likewise.
9789         (CFLAGS-tst-lfschk6.cc): Likewise.
9791         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
9792         (main): Disable -Wdeprecated-declarations around calls to
9793         register_printf_function.
9795         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
9796         (do_test): Disable -Wdiv-by-zero around some calls to
9797         fwrite_unlocked and fread_unlocked.
9799         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
9800         (DIAG_POP_NEEDS_COMMENT): Likewise.
9801         (_DIAG_STR1): Likewise.
9802         (_DIAG_STR): Likewise.
9803         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
9804         * stdio-common/bug21.c: Include <libc-internal.h>.
9805         (do_test): Disable -Wformat around call to sscanf.
9806         * stdio-common/scanf14.c: Include <libc-internal.h>.
9807         (main): Disable -Wformat around some calls to scanf functions.
9809 2014-12-09  Torvald Riegel  <triegel@redhat.com>
9811         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
9813 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9815         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
9816         stack variable alignment.
9818 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
9820         [BZ #17682]
9821         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
9822         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9823         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9824         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9825         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9826         __getrlimit instead of getrlimit.
9827         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9828         __gettimeofday instead of gettimeofday.
9829         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9830         Likewise.
9831         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9832         Likewise.
9833         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9834         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9835         Remove variable.
9836         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9837         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9839 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9841         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9842         for wide-character tests.
9844 2014-12-04  Roland McGrath  <roland@hack.frob.com>
9846         * io/openat64.c: #include <libc-internal.h>
9847         (__openat64): Prototypify.  Use ignore_value on MODE.
9848         * io/openat.c: Likewise.
9849         * misc/reboot.c: #include <libc-internal.h>
9850         (reboot): Prototypify.  Use ignore_value on HOWTO.
9851         * misc/ptrace.c: #include <libc-internal.h>
9852         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
9854 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
9856         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9857         XPG4, UNIX98 and XOPEN2K.
9858         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9859         Remove variable.
9860         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9862 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9864         * libio/fileops.c: Use ISO C style for function definitions.
9865         * libio/iofopen.c: Likewise.
9866         * libio/wfileops.c: Likewise.
9868         [BZ #17653]
9869         * libio/fileops.c (_IO_new_file_underflow): Unset cached
9870         offset on EOF.
9871         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9872         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9873         (fgets_func): Function pointer to fgets and fgetws.
9874         (do_ftell_test): Add test to verify ftell value after read
9875         EOF.
9876         (do_test): Set fgets_func.
9878         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9879         O_TRUNC flag for w and w+ modes.
9880         (do_rewind_test): Likewise.
9881         (do_ftell_test): Likewise.
9882         (do_write_test): Likewise.
9884         [BZ #17647]
9885         * libio/fileops.c (do_ftell): Seek only when there are
9886         unflushed writes.
9887         * libio/wfileops.c (do_ftell_wide): Likewise.
9888         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9889         test case.
9890         (do_one_test): Call it.
9892 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
9894         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9895         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9896         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9897         Remove variable.
9898         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9899         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9900         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9902 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9904         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9905         Remove variable.
9906         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9908         [BZ #17668]
9909         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9910         as weak alias of __getifaddrs.  Use libc_hidden_weak.
9911         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9912         __freeifaddrs.  Use libc_hidden_weak.
9913         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9914         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
9915         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9916         __freeifaddrs.  Use libc_hidden_weak.
9917         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9918         __getifaddrs and define as weak alias of __getifaddrs.  Use
9919         libc_hidden_weak.
9920         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9921         __freeifaddrs.  Use libc_hidden_weak.
9922         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9923         Remove variable.
9924         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9925         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9927 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9929         [BZ #17601]
9930         * sysdeps/mips/start.S (__start): Use indirect jump to call
9931         __libc_start_main.
9933 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
9935         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9937         * nptl/tst-mutex1.c: Include <stdbool.h>.
9938         [!ATTR] (ATTR_NULL): New macro.
9939         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9940         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9941         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9943         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9944         to char *.
9946         [BZ #17665]
9947         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9948         Change conditional to [__USE_MISC].
9950         [BZ #17664]
9951         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9952         fgets_unlocked.
9953         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9954         __fgets_unlocked.
9955         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9956         fgets_unlocked.
9957         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9958         Remove variable.
9959         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9960         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9961         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9962         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9963         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9964         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9965         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9966         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9967         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9969         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9971 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9973         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9974         Remove strpbrk objects.
9975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9976         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9977         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9978         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9979         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9980         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9982         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9983         Remove strcspn objects.
9984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9985         (__libc_ifunc_impl_list): Remove strcspn implementation.
9986         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9987         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9988         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9989         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9991         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9992         Remove strspn objetcs.
9993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9994         (__libc_ifunc_impl_list): Remove strspn implementation.
9995         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9996         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9997         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9998         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10000 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10002         [BZ #17581]
10003         * malloc/hooks.c
10004         (mem2mem_check): Add a terminator to the chain of checking blocks.
10005         (malloc_check_get_size): Use it here.
10006         (mem2chunk_check): Ditto.
10008 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10010         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10011         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10013 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10015         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10017         * nptl/nptl-init.c: Include libc-internal.h.
10018         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10020         * elf/ldconfig.c (search_dir): Expand comment.
10022 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10024         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10025         variable.
10026         (linknamespace-symlist-stdlibs-tests): Likewise.
10027         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10028         instead of $(objpfx)symlist-stdlibs.
10029         (linknamespace-libs-isoc): New variable.
10030         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10031         (linknamespace-libs-ISO): New variable.
10032         (linknamespace-libs-ISO99): Likewise.
10033         (linknamespace-libs-ISO11): Likewise.
10034         (linknamespace-libs-XPG3): Likewise.
10035         (linknamespace-libs-XPG4): Likewise.
10036         (linknamespace-libs-POSIX): Likewise.
10037         (linknamespace-libs-UNIX98): Likewise.
10038         (linknamespace-libs-XOPEN2K): Likewise.
10039         (linknamespace-libs-POSIX2008): Likewise.
10040         (linknamespace-libs-XOPEN2K8): Likewise.
10041         ($(objpfx)symlist-stdlibs): Replace by
10042         $(linknamespace-symlist-stdlibs-tests).  Use
10043         $(linknamespace-libs-$*) as set of libraries.
10044         ($(linknamespace-header-tests)): Update dependencies.  Use
10045         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10046         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10047         * conform/linknamespace.pl: Remove comment about considering
10048         definitions of symbols from irrelevant libraries.
10050 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10052         [BZ #13862]
10053         * elf/dl-tls.c: Include <atomic.h>.
10054         (oom): Remove #ifdef SHARED/#endif.
10055         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10056         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10057         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10058         big enough.
10059         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10060         * nptl/Makefile (tests): Add tst-stack4.
10061         (modules-names): Add tst-stack4mod.
10062         ($(objpfx)tst-stack4): New.
10063         (tst-stack4mod.sos): Likewise.
10064         ($(objpfx)tst-stack4.out): Likewise.
10065         ($(tst-stack4mod.sos)): Likewise.
10066         (clean): Likewise.
10067         * nptl/tst-stack4.c: New file.
10068         * nptl/tst-stack4mod.c: Likewise.
10070 2014-11-27  J. Brown  <jb999@gmx.de>
10072         * sysdeps/x86/bits/string.h: Add recent CPUs.
10074 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10076         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10077         sigblock.
10079         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10080         feof.
10082         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10083         variable.
10085 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10087         * nscd/connections.c: Include libc-internal.h because of macro
10088         usage ignore_value.
10090 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10092         * string/bits/string3.h (__warn_memset_zero_len): Don't
10093         declare for gcc newer than 5.0.
10094         (memset): Don't test for zero-length __LEN for gcc newer than
10095         5.0.
10097 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10099         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10100         size_t for %zu format.
10102         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10103         difference, not %ju.
10105 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10107         * include/libc-internal.h (ignore_value): New macro.
10108         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10109         with ignore_value.
10111         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10112         definition.
10114         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10115         pthread_cleanup_push to void *.
10117         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10118         Undefine.
10120         [BZ #16619]
10121         [BZ #16740]
10122         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10123         instead of 1L << 52.
10125         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10126         * libio/bug-rewind2.c (do_test): Likewise.
10128         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10129         * debug/test-strcpy_chk-ifunc.c: Likewise.
10130         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10131         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10132         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10133         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10134         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10135         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10136         * Rules [$(multi-arch) = no] (tests): Do not filter out
10137         $(tests-ifunc).
10138         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10139         * debug/Makefile (tests-ifunc): Remove variable.
10140         (tests): Do not add $(tests-ifunc).
10141         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10142         (tests): Do not add $(tests-ifunc).
10143         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10144         [TEST_IFUNC]: Remove conditionals.
10145         * string/test-string.h (TEST_IFUNC): Remove macro.
10146         [TEST_IFUNC]: Remove conditionals.
10148         * string/test-strchr.c [!WIDE] (L): New macro.
10149         [WIDE] (L): Likewise.
10150         (check1): Use CHAR instead of char.  Use L on string and character
10151         constants.
10153 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10155         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10156         tests.
10157         * sysdeps/powerpc/bits/atomic.h
10158         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10159         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10160         (atomic_exchange_and_add_acq): Likewise.
10161         (atomic_exchange_and_add_rel): Likewise.
10162         * sysdeps/powerpc/powerpc32/bits/atomic.h
10163         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10164         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10165         * sysdeps/powerpc/powerpc64/bits/atomic.h
10166         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10167         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10169 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10171         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10172         Change synchronization of __sched_fifo_min_prio and
10173         __sched_fifo_max_prio.
10174         * nptl/pthread_mutexattr_getprioceiling.c
10175         (pthread_mutexattr_getprioceiling): Likewise.
10176         * nptl/pthread_mutexattr_setprioceiling.c
10177         (pthread_mutexattr_setprioceiling): Likewise.
10178         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10179         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10180         Likewise.
10182 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10184         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10185         void.
10187 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10189         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10190         third argument const.
10192 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10194         fnmatch: work around GCC compiler warning bug with uninit var
10195         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10196         This works around a bug with x86-64 GCC 4.9.2 and earlier
10197         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10198         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10199         used uninitialized in this function [-Wmaybe-uninitialized]".
10201 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10203         * posix/bug-regex31.c (main): Return RES not 0.
10205 2014-11-25  Anton Blanchard <anton@samba.org>
10207         * sysdeps/powerpc/bits/atomic.h
10208         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10210 2014-11-24  Sterling Augustine  <saugustine@google.com>
10212         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10214 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10216         [BZ #17608]
10217         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10219 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10221         [BZ #17633]
10222         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10223         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10224         variable.
10225         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10226         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10228 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10230         * string/strncpy.c (strncpy): Improve performance by using memset.
10232 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10234         * string/strcpy.c (strcpy):
10235         Improve performance by using strlen and memcpy.
10237 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10239         * string/strcoll_l.c (get_next_seq): __always_inline.
10240         * string/strcoll_l.c (do_compare): __always_inline.
10242 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10244         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10245         defined.
10246         * include/mqueue.h: Likewise.
10247         * include/stdlib.h: Likewise.
10249         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10250         (get_null_defines): Adjust.
10251         * sunrpc/Makefile: Adjust comment.
10252         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10253         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10254         (CFLAGS-interp.c): Likewise.
10255         (CFLAGS-ldconfig.c): Likewise.
10256         (CPPFLAGS-.os): Likewise.
10257         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10258         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10259         * extra-modules.mk (extra-modules.mk): Likewise.
10260         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10261         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10262         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10263         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10264         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10265         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10266         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10267         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10268         * iconvdata/Makefile (CPPFLAGS): Likewise.
10269         (cpp-srcs-left): Add libof for all iconvdata routines.
10270         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10271         * include/assert.h: Likewise.
10272         * include/ctype.h: Likewise.
10273         * include/errno.h: Likewise.
10274         * include/libc-symbols.h: Likewise.
10275         * include/math.h: Likewise.
10276         * include/netdb.h: Likewise.
10277         * include/resolv.h: Likewise.
10278         * include/stdio.h: Likewise.
10279         * include/stdlib.h: Likewise.
10280         * include/string.h: Likewise.
10281         * include/sys/stat.h: Likewise.
10282         * include/wctype.h: Likewise.
10283         * intl/l10nflist.c: Likewise.
10284         * libidn/idn-stub.c: Likewise.
10285         * libio/libioP.h: Likewise.
10286         * nptl/libc_multiple_threads.c: Likewise.
10287         * nptl/pthreadP.h: Likewise.
10288         * posix/regex_internal.h: Likewise.
10289         * resolv/res_hconf.c: Likewise.
10290         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10291         * sysdeps/arm/memmove.S: Likewise.
10292         * sysdeps/arm/sysdep.h: Likewise.
10293         * sysdeps/generic/_itoa.h: Likewise.
10294         * sysdeps/generic/symbol-hacks.h: Likewise.
10295         * sysdeps/gnu/errlist.awk: Likewise.
10296         * sysdeps/gnu/errlist.c: Likewise.
10297         * sysdeps/i386/i586/memcpy.S: Likewise.
10298         * sysdeps/i386/i586/memset.S: Likewise.
10299         * sysdeps/i386/i686/memcpy.S: Likewise.
10300         * sysdeps/i386/i686/memmove.S: Likewise.
10301         * sysdeps/i386/i686/mempcpy.S: Likewise.
10302         * sysdeps/i386/i686/memset.S: Likewise.
10303         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10304         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10305         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10306         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10307         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10308         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10309         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10310         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10311         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10312         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10313         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10314         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10315         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10316         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10317         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10318         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10319         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10320         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10321         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10322         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10323         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10324         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10325         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10326         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10327         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10328         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10329         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10330         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10331         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10332         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10333         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10334         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10335         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10336         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10337         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10338         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10339         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10340         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10341         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10342         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10343         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10344         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10345         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10346         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10347         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10348         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10349         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10350         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10351         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10352         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10353         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10354         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10355         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10356         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10357         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10358         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10359         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10360         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10361         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10362         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10363         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10364         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10365         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10366         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10367         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10368         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10369         * sysdeps/posix/closedir.c: Likewise.
10370         * sysdeps/posix/opendir.c: Likewise.
10371         * sysdeps/posix/readdir.c: Likewise.
10372         * sysdeps/posix/rewinddir.c: Likewise.
10373         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10374         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10375         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10376         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10377         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10378         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10379         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10380         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10381         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10382         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10383         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10384         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10385         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10386         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10387         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10388         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10389         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10390         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10391         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10392         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10393         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10394         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10395         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10396         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10397         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10398         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10399         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10400         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10401         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10402         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10403         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10404         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10405         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10406         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10407         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10408         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10409         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10410         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10411         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10412         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10413         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10414         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10415         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10416         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10417         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10418         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10419         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10420         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10421         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10422         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10423         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10424         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10425         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10426         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10427         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10428         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10429         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10430         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10431         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10432         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10433         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10434         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10435         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10436         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10437         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10438         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10439         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10440         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10441         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10442         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10443         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10444         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10445         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10446         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10447         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10448         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10449         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10450         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10451         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10452         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10453         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10454         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10455         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10456         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10457         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10458         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10459         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10460         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10461         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10462         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10463         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10464         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10465         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10466         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10467         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10468         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10469         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10470         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10471         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10472         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10473         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10474         * sysdeps/unix/alpha/sysdep.S: Likewise.
10475         * sysdeps/unix/alpha/sysdep.h: Likewise.
10476         * sysdeps/unix/make-syscalls.sh: Likewise.
10477         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10478         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10479         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10480         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10481         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10482         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10483         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10484         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10485         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10486         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10487         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10488         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10489         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10490         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10491         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10492         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10493         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10494         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10495         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10496         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10497         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
10498         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10499         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10500         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10501         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10502         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10503         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10506         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
10507         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10508         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10509         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10510         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10511         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10512         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10513         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10514         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10515         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10516         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10517         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10518         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10519         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10520         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10521         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10522         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10523         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10524         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10525         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10526         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10527         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10528         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10529         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10530         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10531         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10532         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10533         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10534         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10535         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
10536         * sysdeps/x86_64/memcpy.S: Likewise.
10537         * sysdeps/x86_64/memmove.c: Likewise.
10538         * sysdeps/x86_64/memset.S: Likewise.
10539         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
10540         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10541         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10542         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
10543         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10544         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10545         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10546         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10547         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10548         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10549         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10550         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10551         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
10552         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10553         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10554         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
10555         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10556         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10557         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10558         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10559         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
10560         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10561         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10562         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10563         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10564         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10565         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10566         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
10567         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10568         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10569         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
10570         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10571         * sysdeps/x86_64/strcmp.S: Likewise.
10573         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
10575         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
10576         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
10577         * elf/rtld-Rules: Likewise.
10578         * elf/setup-vdso.h: Likewise.
10579         * include/assert.h: Likewise.
10580         * include/bits/stdlib-float.h: Likewise.
10581         * include/errno.h: Likewise.
10582         * include/sys/stat.h: Likewise.
10583         * include/unistd.h: Likewise.
10584         * sysdeps/aarch64/setjmp.S: Likewise.
10585         * sysdeps/alpha/setjmp.S: Likewise.
10586         * sysdeps/arm/__longjmp.S: Likewise.
10587         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
10588         * sysdeps/arm/setjmp.S: Likewise.
10589         * sysdeps/arm/sysdep.h: Likewise.
10590         * sysdeps/generic/_itoa.h: Likewise.
10591         * sysdeps/generic/dl-sysdep.h: Likewise.
10592         * sysdeps/generic/ldsodefs.h: Likewise.
10593         * sysdeps/i386/dl-tls.h: Likewise.
10594         * sysdeps/i386/setjmp.S: Likewise.
10595         * sysdeps/m68k/setjmp.c: Likewise.
10596         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
10597         * sysdeps/mach/hurd/opendir.c: Likewise.
10598         * sysdeps/posix/getcwd.c: Likewise.
10599         * sysdeps/posix/opendir.c: Likewise.
10600         * sysdeps/posix/profil.c: Likewise.
10601         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10602         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10603         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10604         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10605         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10606         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
10607         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10608         * sysdeps/s390/dl-tls.h: Likewise.
10609         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10610         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10611         * sysdeps/sh/sh3/setjmp.S: Likewise.
10612         * sysdeps/sh/sh4/setjmp.S: Likewise.
10613         * sysdeps/unix/alpha/sysdep.h: Likewise.
10614         * sysdeps/unix/arm/sysdep.S: Likewise.
10615         * sysdeps/unix/i386/sysdep.S: Likewise.
10616         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10617         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10618         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10619         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10620         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10621         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10622         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10623         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10624         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10625         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
10626         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10627         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10628         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10631         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10632         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10633         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10634         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10635         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10636         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10637         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10638         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10639         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10640         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10641         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10642         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10643         * sysdeps/unix/x86_64/sysdep.S: Likewise.
10644         * sysdeps/x86_64/setjmp.S: Likewise.
10646         * include/math.h: Use IS_IN instead of IS_IN_libm.
10647         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
10648         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10649         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10650         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10651         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10652         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10653         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10654         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10655         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10656         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10657         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
10658         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
10659         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
10660         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
10661         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
10662         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
10663         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
10664         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
10665         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
10666         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
10667         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
10668         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
10669         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
10670         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
10671         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
10672         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10673         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
10674         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
10675         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
10676         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
10677         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
10678         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10679         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
10680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
10681         Likewise.
10682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10683         Likewise.
10684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
10685         Likewise.
10686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
10687         Likewise.
10688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
10689         Likewise.
10690         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10691         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
10692         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10693         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10694         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10695         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
10697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
10701         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
10702         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
10703         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
10704         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
10705         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10706         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
10707         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
10708         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10709         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10710         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
10711         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
10712         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
10713         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
10714         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
10715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10716         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
10718         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
10719         * nptl/pthreadP.h: Likewise.
10720         * nptl_db/structs.def: Likewise.
10721         * sysdeps/arm/sysdep.h: Likewise.
10722         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10723         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10724         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
10725         * sysdeps/unix/alpha/sysdep.h: Likewise.
10726         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10727         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10728         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10729         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10730         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10731         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10732         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10733         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10734         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10735         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10736         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10737         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10738         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10739         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
10741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
10742         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10743         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10744         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10745         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10746         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10747         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10748         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10749         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10750         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10751         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10753         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
10754         * nptl/pthreadP.h: Likewise.
10755         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10756         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10757         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10758         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10759         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10760         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10761         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10762         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
10763         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
10764         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
10765         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
10766         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
10767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10768         Likewise.
10769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10770         Likewise.
10771         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
10772         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
10773         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
10774         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
10775         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
10776         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
10777         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
10778         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
10780         * dlfcn/dladdr.c: Use IS_IN.
10781         * dlfcn/dladdr1.c: Likewise.
10782         * dlfcn/dlclose.c: Likewise.
10783         * dlfcn/dlerror.c: Likewise.
10784         * dlfcn/dlinfo.c: Likewise.
10785         * dlfcn/dlmopen.c: Likewise.
10786         * dlfcn/dlopen.c: Likewise.
10787         * dlfcn/dlsym.c: Likewise.
10788         * dlfcn/dlvsym.c: Likewise.
10790         * include/ifaddrs.h: Use IS_IN.
10791         * inet/check_pf.c: Likewise.
10792         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10793         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
10795         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
10796         IS_IN_ldconfig.
10797         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
10798         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
10800         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
10801         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
10802         IS_IN (libc).
10804         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
10806         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
10807         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10808         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10809         * include/libc-symbols.h (IS_IN_LIB): New macro.
10810         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
10811         * include/netdb.h: Likewise.
10812         * include/stap-probe.h: Remove all uses of IN_LIB.
10814         * Makeconfig (module-cppflags-real): Define MODULE_NAME
10815         instead of IN_MODULE.
10816         * include/libc-symbols.h (IN_MODULE): Define using
10817         MODULE_NAME.
10818         (PASTE_NAME, PASTE_NAME1): New macros.
10819         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
10820         of IN_LIB.
10821         (STAP_PROBE_ASM): Likewise.
10823 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10825         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10826         __mach_init in dlopened libc.
10828 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
10830         * sysdeps/arm/preconfigure.ac: Delete EABI check.
10831         * sysdeps/arm/preconfigure: Regenerate.
10833 2014-11-21  Roland McGrath  <roland@hack.frob.com>
10835         * nptl/pthread_create.c (__pthread_create_2_1): Set
10836         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10837         when copying values from IATTR into PD.
10839 2014-11-21  Will Newton  <will.newton@linaro.org>
10840             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10842         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10843         Refactor inline-asm.  Also add comment.
10845         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10846         ElfW macro instead of hardcoded Elf64 types.
10847         (la_aarch64_gnu_pltenter): Likewise.
10848         * sysdeps/aarch64/dl-machine.h
10849         (elf_machine_runtime_setup): Use ElfW(Addr).
10851         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10852         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10853         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10854         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10855         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10856         (R_AARCH64_TLS_DTPMOD64): Rename to ..
10857         (R_AARCH64_TLS_DTPMOD): This.
10858         (R_AARCH64_TLS_DTPREL64): Rename to ...
10859         (R_AARCH64_TLS_DTPREL): This.
10860         (R_AARCH64_TLS_TPREL64): Rename to ...
10861         (R_AARCH64_TLS_TPREL): This.
10862         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10863         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10864         R_AARCH64_TLS_TPREL64.
10865         (elf_machine_rela): Likewise.
10867 2014-11-21  Torvald Riegel  <triegel@redhat.com>
10869         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10870         by setting it to 0.  64b atomics are not supported currently.
10872 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10874         [BZ #16469]
10875         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10876         search domain names.
10878 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10880         [BZ #16469]
10881         * NEWS: Update.
10882         * resolv/res_query.c (__libc_res_nquerydomain): Retain
10883         trailing dot.
10884         * posix/tst-getaddrinfo5.c: New.
10885         * posix/Makefile (tests): Add it.
10887 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10889         [BZ #14498]
10890         * NEWS: Fixed.
10891         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10892         after parsing line but before break_if_match.
10893         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10894         if there is a protocol mismatch.
10896 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10898         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10899         because the potential race is on the user-supplied stream.
10901 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10903         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10904         string literal if not passed a buffer.
10905         * manual/job.texi (ctermid): Update reasoning, note deviation
10906         from posix, suggest mtasurace when not passed a buffer, for
10907         future non-preliminary safety notes.
10909 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10911         * manual/users.texi (cuserid): Fix MT-Safety note for the case
10912         of not passing it a buffer.
10913         Reported by Peng Haitao.
10915 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
10917         * manual/Makefile ($(objpfx)stamp-summary): Require
10918         check-safety.sh to pass.
10919         * manual/check-safety.sh: Wish for verification that every
10920         @deftypefn and @deftypefun is followed by a @safety remark.
10922 2014-11-20  Roland McGrath  <roland@hack.frob.com>
10924         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10926         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10927         PTHREAD_CANCEL_ASYNCHRONOUS.
10928         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10929         send SIGCANCEL.
10931         * nptl/default-sched.h: New file.
10932         * sysdeps/unix/sysv/linux/default-sched.h: New file.
10933         * nptl/pthread_create.c: Include it.
10934         (__pthread_create_2_1): Use collect_default_sched instead of making
10935         Linux syscalls here directly.
10937 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10939         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10940         __pthread_once): Use C11 atomics.
10942 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10944         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10946 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10948         * include/atomic.h (__atomic_link_error, __atomic_check_size,
10949         atomic_thread_fence_acquire, atomic_thread_fence_release,
10950         atomic_thread_fence_seq_cst, atomic_load_relaxed,
10951         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10952         atomic_compare_exchange_weak_relaxed,
10953         atomic_compare_exchange_weak_acquire,
10954         atomic_compare_exchange_weak_release,
10955         atomic_exchange_acquire, atomic_exchange_release,
10956         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10957         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10958         atomic_fetch_and_acquire,
10959         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10961 2014-11-20  Torvald Riegel  <triegel@redhat.com>
10963         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10964         USE_ATOMIC_COMPILER_BUILTINS): Define.
10965         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10966         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10967         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10968         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10969         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10970         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10971         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10972         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10973         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10974         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10975         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10976         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10977         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10978         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10979         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10980         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10981         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10982         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10983         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10984         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10985         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10986         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10987         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10988         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10989         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10990         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10991         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10992         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10993         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10994         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10995         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10996         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10997         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10998         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10999         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11000         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11001         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11002         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11003         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11004         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11006 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11008         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11009         the sched_priority value here.  It was already checked when the user
11010         called pthread_attr_setschedparam.
11012         * nptl/tst-bad-schedattr.c: New file.
11013         * nptl/Makefile (tests): Add it.
11015 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11016             Florian Weimer  <fweimer@redhat.com>
11017             Joseph Myers  <joseph@codesourcery.com>
11018             Adam Conrad  <adconrad@0c3.net>
11019             Andreas Schwab  <schwab@suse.de>
11020             Brooks  <bmoses@google.com>
11022         [BZ #17625]
11023         * wordexp-test.c (__dso_handle): Add prototype.
11024         (__register_atfork): Likewise.
11025         (__app_register_atfork): New function.
11026         (registered_forks): New global.
11027         (register_fork): New function.
11028         (test_case): Add 3 new tests for WRDE_CMDSUB.
11029         (main): Call __app_register_atfork.
11030         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11031         fork count is non-zero fail the test.
11032         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11033         is set.
11034         (parse_dollars): Remove check for WRDE_NOCMD.
11035         (parse_dquote): Likewise.
11037 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11039         * Makeconfig (built-modules): List non-library modules to be
11040         built.
11041         (module-cppflags): Include libc-modules.h for
11042         everything except shlib-versions.v.i.
11043         (CPPFLAGS): Use it.
11044         (before-compile): Add libc-modules.h.
11045         ($(common-objpfx)libc-modules.h,
11046         $(common-objpfx)libc-modules.stmp): New targets.
11047         (common-generated): Add libc-modules.h and libc-modules.stmp.
11048         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11049         * include/libc-symbols.h: Don't include libc-modules.h.
11050         * include/libc-modules.h: Remove file.
11051         * scripts/gen-libc-modules.awk: New script to generate
11052         libc-modules.h.
11053         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11054         Depend on libc-modules.stmp.
11056         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11058         * Makeconfig (in-module): Get value of libof set for the
11059         translation unit.
11060         (CPPFLAGS): Use $(in-module).
11061         * Makerules: Don't suffix routine names for nonlib.
11062         * include/libc-modules.h: New file.
11063         * include/libc-symbols.h: Include libc-modules.h
11064         (IS_IN): New macro to replace IS_IN_* macros.
11065         * elf/Makefile: Set libof-* for each routine.
11066         * elf/rtld-Rules: Likewise.
11067         * extra-modules.mk: Likewise.
11068         * iconv/Makefile: Likewise.
11069         * iconvdata/Makefile: Likewise.
11070         * locale/Makefile: Likewise.
11071         * malloc/Makefile: Likewise.
11072         * nss/Makefile: Likewise.
11073         * sysdeps/gnu/Makefile: Likewise.
11074         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11075         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11076         * sysdeps/s390/s390-64/Makefile: Likewise.
11077         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11078         CPPFLAGS for nscd instead of nonlib.
11080 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11082         * nptl/createthread.c: New file.
11084         * nptl/createthread.c: Moved ...
11085         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11087         * nptl/createthread.c: Add proper top-line comment.
11088         (do_clone): Folded into ...
11089         (create_thread): ... here.  Take new arguments STOPPED_START and
11090         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11091         increment __nptl_threads, do event-reporting logic, do
11092         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11093         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11094         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11095         just send SIGCANCEL.
11096         * nptl/pthread_create.c: Forward-declare create_thread before
11097         including createthread.c.
11098         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11099         declaration, and new macro START_THREAD_SELF to replace argument.
11100         Remove return statement.
11101         (report_thread_creation): New function.
11102         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11103         synchronization logic, and __nptl_nthreads increment here, around
11104         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11105         PD->parent_cancelhandling here, before create_thread.  When
11106         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11107         __deallocate_stack, and ENOMEM translation here.
11109 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11111         [BZ #17616]
11112         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11113         (mptwo): Rename to __mptwo.
11114         (__inv): Use __mptwo instead of mptwo.
11115         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11116         (mptwo): Rename to __mptwo.
11117         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11118         of mpone and __mptwo instead of mptwo.
11119         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11120         instead of mpone.
11121         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11122         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11123         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11124         of mpone and __mptwo instead of mptwo.
11125         (__mpranred): Use __mpone instead of mpone.
11126         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11127         variable.
11128         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11129         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11130         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11131         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11132         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11133         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11134         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11135         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11136         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11137         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11138         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11139         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11140         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11141         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11142         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11143         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11144         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11145         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11146         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11148 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11150         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11151         replace BSD Handler xref with BSD Signal Handling.
11153 2014-11-17  Richard Henderson  <rth@redhat.com>
11155         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11156         (_FP_PACK_RAW_2): Remove.
11157         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11158         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11159         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11160         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11161         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11162         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11163         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11164         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11165         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11166         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11167         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11168         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11169         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11170         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11171         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11172         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11174 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11176         * signal/signal.h [__USE_MISC]
11177         (struct sigvec): Remove type.
11178         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11179         (sigvec): Remove declaration.
11180         * sysdeps/posix/sigvec.c: Moved ...
11181         * signal/sigvec.c: ... here, replacing old file.
11182         (struct sigvec): New type, copied from old signal.h definition.
11183         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11184         (__sigvec): Convert definition to prototype.
11185         (sigvec): Replace weak_alias with compat_symbol.
11186         * signal/Versions (libc: GLIBC_2.21): New version set.
11187         * include/signal.h: Remove __sigvec declaration.
11188         * sysdeps/unix/bsd/sigvec.c: Remove file.
11189         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11190         * manual/signal.texi (BSD Handler): Remove subsection.
11191         Move siginterrupt up to ...
11192         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11193         (Blocking in BSD): Fold subsection into its parent.
11194         * NEWS: Mention sigvec removal.
11196 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11198         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11199         (DLA_FMS): Make definition conditional only on [__FMA4__].
11200         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11201         definition.
11203         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11204         Make definition conditional only on [PROF].
11205         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11206         definition.
11207         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11208         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11210         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11211         !__GNUC__].
11212         * include/signal.h (__sigpause): Move declaration above call to
11213         libc_hidden_proto.
11214         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11215         variable.
11216         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11217         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11219 2014-11-14  David S. Miller  <davem@davemloft.net>
11221         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11222         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11224 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11226         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11227         * configure: Regenerated.
11228         * manual/install.texi (Tools for Compilation): Document a
11229         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11230         compiler verified to work.
11231         * INSTALL: Regenerated.
11233         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11234         redeclare with asm name.
11235         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11236         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11237         including <string.h>.
11238         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11239         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11240         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11241         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11242         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11243         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11244         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11246 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11248         * stdlib/strtol.c (__strtol): Use prototype definition.
11250         [BZ #17594]
11251         * stdlib/strtol.c (SYM__): New macro.
11252         (SYM__1): Likewise.
11253         (__strtol): Likewise.
11254         (strtol): Rename to __strtol and define as weak alias of
11255         __strtol.  Use libc_hidden_weak.
11257 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11259         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11260         Use numbered labels in inline assembly.
11262 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11264         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11265         Add setjmp LIBC_PROBE.
11266         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11267         Likewise.
11268         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11269         Add longjmp, longjmp_target LIBC_PROBE.
11270         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11271         Likewise.
11273 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11275         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11276         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11277         to get rid of unused variable warning.
11279 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11281         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11282         Check for unwind_backtrace ==  NULL only in SHARED case.
11283         (__backchain_backtrace): Compile only in SHARED case.
11284         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11285         Likewise.
11286         (__backchain_backtrace): Declare as static.
11288 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11290         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11291         (__libc_multiple_threads_ptr): Variable moved ...
11292         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11294 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11296         * conform/GlibcConform.pm: New file.
11297         * conform/conformtest.pl: Use GlibcConform module.
11298         * conform/linknamespace.pl: New file.
11299         * conform/list-header-symbols.pl: Likewise.
11300         * conform/Makefile (linknamespace-symlists-base): New variable.
11301         (linknamespace-symlists-tests): Likewise.
11302         (linknamespace-header-base): Likewise.
11303         (linknamespace-header-tests): Likewise.
11304         (tests-special): Add new tests.
11305         ($(linknamespace-symlists-tests)): New rule.
11306         (linknamespace-libs): New variable.
11307         ($(objpfx)symlist-stdlibs): New rule.
11308         ($(linknamespace-header-tests)): Likewise.
11309         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11310         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11311         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11312         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11313         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11314         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11315         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11316         (test-xfail-ISO/math.h/linknamespace): Likewise.
11317         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11318         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11319         (test-xfail-ISO/time.h/linknamespace): Likewise.
11320         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11321         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11322         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11323         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11324         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11325         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11326         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11327         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11328         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11329         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11330         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11331         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11332         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11333         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11334         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11335         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11336         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11337         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11338         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11339         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11340         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11341         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11342         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11343         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11344         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11345         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11346         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11347         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11348         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11349         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11350         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11351         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11352         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11353         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11354         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11355         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11356         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11357         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11358         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11359         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11360         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11361         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11362         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11363         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11364         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11365         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11366         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11367         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11368         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11369         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11370         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11371         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11372         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11373         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11374         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11375         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11376         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11377         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11378         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11379         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11380         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11381         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11382         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11383         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11384         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11385         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11386         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11387         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11388         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11389         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11390         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11391         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11392         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11393         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11394         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11395         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11396         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11397         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11398         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11399         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11400         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11401         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11402         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11403         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11404         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11405         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11406         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11407         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11408         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11409         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11410         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11411         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11412         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11413         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11414         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11415         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11416         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11417         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11418         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11419         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11420         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11421         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11422         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11423         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11424         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11425         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11426         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11427         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11428         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11429         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11430         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11431         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11432         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11433         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11434         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11435         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11436         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11437         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11438         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11439         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11440         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11441         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11442         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11443         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11444         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11445         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11446         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11447         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11448         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11449         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11450         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11451         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11452         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11453         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11454         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11455         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11456         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11457         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11458         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11459         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11460         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11461         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11462         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11463         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11464         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11465         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11466         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11467         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11468         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11469         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11471         [BZ #17589]
11472         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11473         of fgets_unlocked.
11475         [BZ #17585]
11476         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11477         (memmem): Rename to __memmem and define as weak alias of
11478         __memmem.  Use libc_hidden_weak.
11479         (__memmem): Use libc_hidden_def.
11480         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11481         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11482         memmem.
11484         [BZ #17582]
11485         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11486         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11487         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11488         and define as weak alias of __fgets_unlocked.  Use
11489         libc_hidden_weak.
11490         (__fgets_unlocked): Use libc_hidden_def.
11491         * include/stdio.h (__fgets_unlocked): Declare.  Use
11492         libc_hidden_proto.
11493         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
11494         __fgets_unlocked instead of fgets_unlocked.
11495         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
11496         (GET_NPROCS_CONF_PARSER): Likewise.
11497         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
11498         (GET_NPROCS_CONF_PARSER): Likewise.
11500         [BZ #17574]
11501         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
11502         weak alias of __wmemset.  Use libc_hidden_weak.
11503         (__wmemset): Use libc_hidden_def.
11504         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
11505         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
11506         of wmemset.
11508         [BZ #17573]
11509         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
11510         with asm name __mempcpy.
11511         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
11513         [BZ #17572]
11514         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
11515         and define as weak alias of __rawmemchr.
11516         (__rawmemchr): Do not define as strong alias of rawmemchr.
11518         [BZ #17571]
11519         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
11520         alias of __qsort_r.
11521         (qsort): Call __qsort_r instead of qsort_r.
11522         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
11523         (__qsort_r): Declare.  Call libc_hidden_proto.
11524         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
11525         instead of qsort_r.
11526         * nscd/gai.c (__qsort_r): Define to qsort_r.
11527         * posix/tst-rfc3484.c (__qsort_r): Likewise.
11528         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
11529         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
11531         [BZ #17570]
11532         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
11533         define as weak alias of __malloc_info.
11535         [BZ #17584]
11536         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
11537         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11538         (__rewinddir): Use libc_hidden_def.
11539         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
11540         as weak alias of __rewinddir.  Don't use libc_hidden_def.
11541         (__rewinddir): Use libc_hidden_def.
11542         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
11543         weak alias of __rewinddir.  Don't use libc_hidden_def.
11544         (__rewinddir): Use libc_hidden_def.
11545         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
11546         (__rewinddir): Use libc_hidden_proto.
11547         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
11548         rewinddir.
11549         (__getcwd): Use __rewinddir instead of rewinddir.
11551         [BZ #17583]
11552         * libio/fileno.c (fileno): Rename to __fileno and define as weak
11553         alias of __fileno.  Use libc_hidden_weak.
11554         (__fileno): Use libc_hidden_def.
11555         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
11556         * libio/ftello.c (ftello): Rename to __ftello and define as weak
11557         alias of __ftello.
11558         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
11559         __ftello.
11560         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
11561         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
11562         libc_hidden_def.
11563         (fread_unlocked): Don't use libc_hidden_ver.
11564         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
11565         and define as weak alias of __fread_unlocked.  Don't use
11566         libc_hidden_def.
11567         (__fread_unlocked): Use libc_hidden_def.
11568         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
11569         (ftello): Don't use libc_hidden_proto.
11570         (__ftello): Declare.  Use libc_hidden_proto.
11571         (fread_unlocked): Don't use libc_hidden_proto.
11572         (__fread_unlocked): Declare.  Use libc_hidden_proto.
11573         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
11574         and __ftello instead of fileno, fread_unlocked and ftello.
11576 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11578         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
11579         GOT12.
11580         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11581         Likewise.
11582         (_dl_start_user): Likewise.
11583         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
11585 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
11586             Siddhesh Poyarekar  <siddhesh@redhat.com>
11588         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
11589         Move argv and envp down instead of moving argc up.
11590         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
11592 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
11594         [BZ #17506]
11595         * test-skeleton.c (main): Return successful if one of
11596         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
11597         * string/tst-strcoll-overflow.c: Define expected status.
11599 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
11601         [BZ #17475]
11602         * locale/iso-639.def: Define Bhili and Tulu language codes.
11604 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
11606         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
11608 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
11610         [BZ #17555]
11611         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
11613 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11615         * configure.ac: Updated check of minimal required version to
11616         2.22.
11617         * manual/install.texi (Tools for Compilation): Updated version
11618         number.
11619         * configure: Regenerated.
11620         * INSTALL: Likewise.
11622 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
11624         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
11625         __tls_get_addr.
11627 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
11629         * include/sys/wait.h (__libc_waitpid): Remove declaration.
11630         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
11631         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11632         libc_hidden_weak.
11633         (waitpid): Define as alias of __waitpid.
11634         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
11635         __waitpid.
11636         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11637         libc_hidden_weak.
11638         (waitpid): Define as alias of __waitpid.
11639         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
11640         __libc_waitpid alias.
11641         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
11642         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
11643         Likewise.
11644         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
11645         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
11646         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
11647         alias.
11648         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
11649         __waitpid.
11650         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11651         libc_hidden_weak.
11652         (waitpid): Define as alias of __waitpid.
11654 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
11656         * manual/llio.texi: Add comment that write safety has been
11657         fixed in Linux.
11659         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
11660         (localplt-build-dso): Add elf/ld.so.
11661         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
11662         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11663         and free for ld.so.
11664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
11665         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
11666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
11667         Likewise.
11668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11669         Likewise.
11670         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
11671         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
11672         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
11673         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
11674         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11675         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
11676         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
11677         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
11678         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11679         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
11680         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11682 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
11684         [BZ #14132]
11685         * include/libc-symbols.h (INTUSE): Remove macro.
11686         (INTDEF): Likewise.
11687         (INTVARDEF): Likewise.
11688         (_INTVARDEF): Likewise.
11689         (INTDEF2): Likewise.
11690         (INTVARDEF2): Likewise.
11691         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
11692         rtld_hidden_def instead of INTVARDEF.
11693         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
11694         (_dl_starting_up_internal): Remove declaration.
11695         (_dl_starting_up): Use rtld_hidden_proto.
11696         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
11697         declaration.
11698         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
11699         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
11700         _dl_starting_up.
11701         * elf/dl-writev.h (_dl_writev): Likewise.
11702         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
11703         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
11704         _dl_starting_up_internal.
11706 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11708         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11709         test-skeleton.c.
11711 2014-11-05  Will Newton  <will.newton@linaro.org>
11713         * benchtests/Makefile: (bench-malloc): Add malloc thread
11714         scalability benchmark.
11715         * benchtests/bench-malloc-threads.c: New file.
11717 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
11719         * sysdeps/aarch64/strchrnul.S: New file.
11721 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11723         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
11724         definition.
11725         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11726         Likwise.
11727         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11728         Likewise.
11729         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11730         Likewise.
11731         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11732         Likewise.
11733         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11734         Likewise.
11736 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
11738         * catgets/test-gencat.c: Use test-skeleton.c.
11739         * catgets/tst-catgets.c: Likewise.
11740         * csu/tst-empty.c: Likewise.
11741         * elf/tst-audit2.c: Likewise.
11742         * elf/tst-global1.c: Likewise.
11743         * elf/tst-pathopt.c: Likewise.
11744         * elf/tst-piemod1.c: Likewise.
11745         * elf/tst-tls10.c: Likewise.
11746         * elf/tst-tls11.c: Likewise.
11747         * elf/tst-tls12.c: Likewise.
11748         * gnulib/tst-gcc.c: Likewise.
11749         * iconvdata/tst-e2big.c: Likewise.
11750         * iconvdata/tst-loading.c: Likewise.
11751         * iconv/tst-iconv1.c: Likewise.
11752         * iconv/tst-iconv2.c: Likewise.
11753         * inet/test-inet6_opt.c: Likewise.
11754         * inet/tst-gethnm.c: Likewise.
11755         * inet/tst-network.c: Likewise.
11756         * inet/tst-ntoa.c: Likewise.
11757         * intl/tst-codeset.c: Likewise.
11758         * intl/tst-gettext2.c: Likewise.
11759         * intl/tst-gettext3.c: Likewise.
11760         * intl/tst-ngettext.c: Likewise.
11761         * intl/tst-translit.c: Likewise.
11762         * io/test-stat.c: Likewise.
11763         * libio/test-fmemopen.c: Likewise.
11764         * libio/tst-freopen.c: Likewise.
11765         * libio/tst-sscanf.c: Likewise.
11766         * libio/tst-ungetwc1.c: Likewise.
11767         * libio/tst-ungetwc2.c: Likewise.
11768         * libio/tst-widetext.c: Likewise.
11769         * localedata/tst-ctype.c: Likewise.
11770         * localedata/tst-digits.c: Likewise.
11771         * localedata/tst-leaks.c: Likewise.
11772         * localedata/tst-mbswcs1.c: Likewise.
11773         * localedata/tst-mbswcs2.c: Likewise.
11774         * localedata/tst-mbswcs3.c: Likewise.
11775         * localedata/tst-mbswcs4.c: Likewise.
11776         * localedata/tst-mbswcs5.c: Likewise.
11777         * localedata/tst-setlocale.c: Likewise.
11778         * localedata/tst-trans.c: Likewise.
11779         * localedata/tst-wctype.c: Likewise.
11780         * localedata/tst-xlocale1.c: Likewise.
11781         * login/tst-grantpt.c: Likewise.
11782         * malloc/tst-calloc.c: Likewise.
11783         * malloc/tst-malloc.c: Likewise.
11784         * malloc/tst-mallocstate.c: Likewise.
11785         * malloc/tst-mcheck.c: Likewise.
11786         * malloc/tst-mtrace.c: Likewise.
11787         * malloc/tst-obstack.c: Likewise.
11788         * math/atest-exp2.c: Likewise.
11789         * math/atest-exp.c: Likewise.
11790         * math/atest-sincos.c: Likewise.
11791         * math/test-matherr.c: Likewise.
11792         * math/test-misc.c: Likewise.
11793         * math/test-powl.c: Likewise.
11794         * math/tst-definitions.c: Likewise.
11795         * misc/tst-dirname.c: Likewise.
11796         * misc/tst-efgcvt.c: Likewise.
11797         * misc/tst-fdset.c: Likewise.
11798         * misc/tst-hsearch.c: Likewise.
11799         * misc/tst-mntent2.c: Likewise.
11800         * nptl/tst-sem7.c: Likewise.
11801         * nptl/tst-sem8.c: Likewise.
11802         * nptl/tst-sem9.c: Likewise.
11803         * nss/test-netdb.c: Likewise.
11804         * posix/tst-fnmatch.c: Likewise.
11805         * posix/tst-getlogin.c: Likewise.
11806         * posix/tst-gnuglob.c: Likewise.
11807         * posix/tst-mmap.c: Likewise.
11808         * pwd/tst-getpw.c: Likewise.
11809         * resolv/tst-inet_ntop.c: Likewise.
11810         * rt/tst-timer.c: Likewise.
11811         * stdio-common/test-fseek.c: Likewise.
11812         * stdio-common/test-popen.c: Likewise.
11813         * stdio-common/test-vfprintf.c: Likewise.
11814         * stdio-common/tst-cookie.c: Likewise.
11815         * stdio-common/tst-fileno.c: Likewise.
11816         * stdio-common/tst-gets.c: Likewise.
11817         * stdio-common/tst-obprintf.c: Likewise.
11818         * stdio-common/tst-perror.c: Likewise.
11819         * stdio-common/tst-sprintf2.c: Likewise.
11820         * stdio-common/tst-sprintf3.c: Likewise.
11821         * stdio-common/tst-sprintf.c: Likewise.
11822         * stdio-common/tst-swprintf.c: Likewise.
11823         * stdio-common/tst-tmpnam.c: Likewise.
11824         * stdio-common/tst-unbputc.c: Likewise.
11825         * stdio-common/tst-wc-printf.c: Likewise.
11826         * stdlib/tst-environ.c: Likewise.
11827         * stdlib/tst-fmtmsg.c: Likewise.
11828         * stdlib/tst-limits.c: Likewise.
11829         * stdlib/tst-rand48-2.c: Likewise.
11830         * stdlib/tst-rand48.c: Likewise.
11831         * stdlib/tst-random2.c: Likewise.
11832         * stdlib/tst-random.c: Likewise.
11833         * stdlib/tst-strtol.c: Likewise.
11834         * stdlib/tst-strtoll.c: Likewise.
11835         * stdlib/tst-tls-atexit.c: Likewise.
11836         * stdlib/tst-xpg-basename.c: Likewise.
11837         * string/test-ffs.c: Likewise.
11838         * string/tst-bswap.c: Likewise.
11839         * string/tst-inlcall.c: Likewise.
11840         * string/tst-strtok.c: Likewise.
11841         * string/tst-strxfrm.c: Likewise.
11842         * sysdeps/x86_64/tst-audit10.c: Likewise.
11843         * sysdeps/x86_64/tst-audit3.c: Likewise.
11844         * sysdeps/x86_64/tst-audit4.c: Likewise.
11845         * sysdeps/x86_64/tst-audit5.c: Likewise.
11846         * time/tst-ftime_l.c: Likewise.
11847         * time/tst-getdate.c: Likewise.
11848         * time/tst-mktime3.c: Likewise.
11849         * time/tst-mktime.c: Likewise.
11850         * time/tst-posixtz.c: Likewise.
11851         * time/tst-strptime2.c: Likewise.
11852         * time/tst-strptime3.c: Likewise.
11853         * wcsmbs/tst-btowc.c: Likewise.
11854         * wcsmbs/tst-mbrtowc.c: Likewise.
11855         * wcsmbs/tst-mbsrtowcs.c: Likewise.
11856         * wcsmbs/tst-wchar-h.c: Likewise.
11857         * wcsmbs/tst-wcpncpy.c: Likewise.
11858         * wcsmbs/tst-wcrtomb.c: Likewise.
11859         * wcsmbs/tst-wcsnlen.c: Likewise.
11860         * wcsmbs/tst-wcstof.c: Likewise.
11862 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
11864         [BZ #14132]
11865         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11866         INTDEF.
11867         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11868         declaration.
11869         (_dl_mcount): Use rtld_hidden_proto.
11870         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11871         _dl_mcount.
11872         * elf/rtld.c (_rtld_global_ro): Likewise.
11874         [BZ #14132]
11875         * elf/dl-init.c (_dl_init): Don't use INTDEF.
11876         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11877         of _dl_init_internal.
11878         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11879         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11880         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11881         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11882         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11883         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11884         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11885         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11886         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11887         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11888         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11889         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11890         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11891         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11892         * sysdeps/tile/dl-start.S (_start): Likewise.
11893         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11894         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11896         [BZ #14132]
11897         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11898         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11899         (rtld_progname): Make macro definition unconditional.
11900         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11901         INTDEF.
11902         (dlmopen_doit): Do not use INTUSE with _dl_argv.
11903         (dl_main): Likewise.
11904         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11905         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11906         instead of _dl_argv_internal.
11907         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11908         __GI__dl_argv instead of INTUSE(_dl_argv).
11909         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11910         __GI__dl_argv instead of _dl_argv_internal.
11912         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11913         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11914         macro.
11915         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11916         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11917         New macro.
11918         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11919         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11920         macro.
11921         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11922         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11924 2014-11-04  Andreas Schwab  <schwab@suse.de>
11926         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11928 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11930         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11931         mtvsrd instruction in binary form.
11933 2014-11-03  Andreas Schwab  <schwab@suse.de>
11935         [BZ #17522]
11936         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11937         for less than MB_LEN_MAX use a local buffer of that size.
11938         * libio/tst-fputws.c: New file.
11939         * libio/Makefile (tests): Add tst-fputws.
11941 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
11943         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11944         the size of the fpu_fr.fpu_dregs[] array.
11946 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
11948         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11949         (__nanosleep): Do not define as alias.
11950         (nanosleep): Define as alias of __nanosleep.
11951         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11952         __libc_nanosleep name.
11954 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11956         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11957         install.texi in comment.
11959 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11961         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11962         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11963         ... add here and use lwsync or sync ...
11964         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11965         ... and add here using lwsync.
11967 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11969         * elf/dl-machine-reject-phdr.h: New file.
11970         * elf/dl-load.c: #include that.
11971         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11972         if that returned true.
11974 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11976         [BZ #17496]
11977         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11978         gen-as-const-headers chunk.  Add a big scare comment after the last
11979         safe place to touch before-compile.
11981 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11983         * manual/install.texi (Tools for Compilation): Update autoconf
11984         version requirements.
11985         * INSTALL: Regenerated.
11987         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11988         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11989         (__libc_pselect): Likewise.
11991         [BZ #14138]
11992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11997 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11999         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12000         correct barrier instruction.
12001         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12002         Likewise.
12003         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12004         Likewise.
12006 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12008         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12009         after defining inlines.  Instead, just use parens to defeat macro
12010         expansion of __isctype in its declaration.
12012 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12014         * include/sys/uio.h (__libc_readv): Remove declaration.
12015         (__libc_writev): Likewise.
12016         * misc/readv.c (__libc_readv): Rename to __readv.
12017         (__readv): Do not define as alias.
12018         (readv): Define as alias of __readv.
12019         * misc/writev.c (__libc_writev): Rename to __writev.
12020         (__writev): Do not define as alias.
12021         (writev): Define as alias of __writev.
12022         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12023         (__readv): Do not define as alias.
12024         (readv): Define unconditionally as alias of __readv.
12025         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12026         (__writev): Do not define as alias.
12027         (writev): Define unconditionally as alias of __writev.
12028         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12029         name.
12030         (writev): Do not define __libc_writev name.
12032 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12034         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12035         (convert_charseq): New function, broken out of ...
12036         (use_from_charmap): ... here.  Call it.
12037         (use_to_charmap): Use convert_charseq and free instead of duplicating
12038         its code with a variable-length stack struct.
12040 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12042         * include/fcntl.h (__libc_creat): Remove declaration.
12043         * io/creat.c (__libc_creat): Rename to creat.
12044         (creat): Do not define as alias.
12045         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12046         of creat instead of __libc_creat.
12047         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12048         to creat.
12049         (creat): Do not define as alias.
12050         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12051         __libc_creat.
12052         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12053         __libc_creat name.
12054         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12055         Likewise.
12057 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12059         * manual/llio.texi: Add comments discussing why write() may be
12060         considered MT-unsafe on Linux.
12062 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12064         * dl-load.c (local_strdup): Remove.
12065         (expand_dynamic_string_token): Use __strdup.
12066         (decompose_rpath): Likewise.
12067         (_dl_map_object): Likewise.
12069 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12071         [BZ #14132]
12072         * sysdeps/generic/unwind-dw2-fde.c
12073         (__register_frame_info_bases_internal): Do not declare.
12074         (__register_frame_info_table_bases_internal): Likewise.
12075         (__deregister_frame_info_bases_internal): Likewise.
12076         (__register_frame_info_bases): Declare and use hidden_proto before
12077         definition.  Use hidden_def instead of INTDEF.
12078         (__register_frame_info_table_bases): Likewise.
12079         (__deregister_frame_info_bases): Likewise.
12080         (__register_frame_info): Do not use INTUSE.
12081         (__register_frame): Likewise.
12082         (__register_frame_info_table): Likewise.
12083         (__register_frame_table): Likewise.
12084         (__deregister_frame_info): Likewise.
12085         (__deregister_frame): Likewise.
12087 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12089         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12090         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12091         not undefine.
12092         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12093         Likewise.
12094         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12095         Likewise.
12097 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12099         [BZ #14138]
12100         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12101         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12102         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12103         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12104         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12105         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12106         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12107         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12108         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12109         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12110         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12111         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12112         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12113         syscall.
12114         (setfsuid): Likewise.
12115         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12116         (setfsuid): Likewise.
12117         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12118         (setfsuid): Likewise.
12119         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12120         Likewise.
12121         (setfsuid): Likewise.
12122         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12123         (setfsuid): Likewise.
12124         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12125         Likewise.
12126         (setfsuid): Likewise.
12128 2014-10-27  Andreas Schwab  <schwab@suse.de>
12130         [BZ #17501]
12131         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12132         check for Slow_SSE4_2 feature bit.
12133         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12134         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12135         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12136         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12138 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12140         * configure.ac: Validate compiler version with a empirical test of
12141         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12142         $CC -v output.
12143         * configure: Regenerated.
12145         * inet/htons.c (htons): Prototypify.
12146         * inet/htonl.c (htonl): Likewise.
12148 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12150         * string/strncat.c (strncat): Improve performance by using strlen.
12152 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12154         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12156 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12158         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12159         Call libc_fetestexcept_aarch64.
12161 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12163         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12164         Call libc_feholdexcept_aarch64.
12166 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12168         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12169         Call get_rounding_mode.
12171 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12173         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12174         Simplify logic.
12176 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12178         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12179         Simplify logic.
12181 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12183         [BZ #14138]
12184         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12185         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12186         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12187         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12188         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12189         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12190         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12191         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12192         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12193         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12194         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12195         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12196         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12197         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12198         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12199         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12200         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12201         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12202         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12203         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12204         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12205         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12206         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12207         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12208         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12209         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12210         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12211         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12212         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12213         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12214         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12215         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12216         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12217         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12218         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12219         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12220         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12221         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12222         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12223         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12224         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12225         syscall.
12226         (geteuid): Likewise.
12227         (getgid): Likewise.
12228         (getuid): Likewise.
12229         (getresgid): Likewise.
12230         (getresuid): Likewise.
12231         (getgroups): Likewise.
12232         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12233         (geteuid): Likewise.
12234         (getgid): Likewise.
12235         (getuid): Likewise.
12236         (getresgid): Likewise.
12237         (getresuid): Likewise.
12238         (getgroups): Likewise.
12239         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12240         (geteuid): Likewise.
12241         (getgid): Likewise.
12242         (getuid): Likewise.
12243         (getresgid): Likewise.
12244         (getresuid): Likewise.
12245         (getgroups): Likewise.
12246         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12247         Likewise.
12248         (geteuid): Likewise.
12249         (getgid): Likewise.
12250         (getuid): Likewise.
12251         (getresgid): Likewise.
12252         (getresuid): Likewise.
12253         (getgroups): Likewise.
12254         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12255         (geteuid): Likewise.
12256         (getgid): Likewise.
12257         (getuid): Likewise.
12258         (getresgid): Likewise.
12259         (getresuid): Likewise.
12260         (getgroups): Likewise.
12261         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12262         Likewise.
12263         (geteuid): Likewise.
12264         (getgid): Likewise.
12265         (getuid): Likewise.
12266         (getgroups): Likewise.
12268         [BZ #14138]
12269         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12270         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12271         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12272         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12273         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12274         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12275         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12276         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12277         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12278         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12279         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12280         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12281         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12282         __chown.
12283         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12284         (lchown): Likewise.
12285         (fchown): Likewise.
12286         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12287         Likewise.
12288         (lchown): Likewise.
12289         (fchown): Likewise.
12290         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12291         (lchown): Likewise.
12292         (fchown): Likewise.
12293         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12294         Likewise.
12295         (lchown): Likewise.
12296         (fchown): Likewise.
12298 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12300         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12301         Simplify logic.
12303 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12305         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12306         Cleanup logic.
12308 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12310         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12311         Remove unused include.
12313 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12315         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12316         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12317         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12318         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12320 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12321             Helge Deller <deller@gmx.de>
12323         [BZ #17508]
12324         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12325         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12326         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12328 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12330         [BZ #14132]
12331         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12332         Remove macro definition.
12333         (__ashrdi3_v_glibc20): Likewise.
12334         (__lshrdi3_v_glibc20): Likewise.
12335         (__cmpdi2_v_glibc20): Likewise.
12336         (__ucmpdi2_v_glibc20): Likewise.
12337         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12338         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12339         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12340         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12341         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12342         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12344 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12346         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12347         old GNU extension [0] syntax.
12348         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12349         alloca rather than an array member with variable length.
12350         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12351         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12352         (parse_opt): ... here.  Likewise use alloca there.
12353         Validate the -i argument before checking for rootness.
12354         (send_shutdown): New function, broken out of ...
12355         (parse_opt): ... here.
12357 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12359         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12360         macro to get at the _rt_local_ro field.
12361         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12362         ([PIC] case) or _dl_hwcap ([!PIC] case).
12363         * sysdeps/arm/setjmp.S: Likewise.
12365         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12366         * sysdeps/arm/configure.ac: New check to define it.
12367         * sysdeps/arm/configure: Regenerated.
12368         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12369         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12370         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12371         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12372         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12373         Use move/movt pair instead of a load.
12374         (LDST_GLOBAL): Macro removed.
12375         (LDR_GLOBAL): New macro replaces it.
12376         (LDR_HIDDEN): New macro.
12377         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12378         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12380         * setjmp/tst-setjmp-static.c: New file.
12381         * setjmp/Makefile (tests): Add it.
12382         (tests-static): New variable.
12384 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12386         [BZ #17485]
12387         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12389 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12391         [BZ #14132]
12392         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12394 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12396         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12398 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12400         * io/fts.c (dirent_not_directory): New function.
12401         (fts_build): Call it.
12403 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12405         * nptl/version.c (__nptl_main): Use normal __write rather than
12406         INTERNAL_SYSCALL.
12407         (banner): Update copyright years.
12409         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12410         gettimeofday.
12411         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12412         * nptl/pthread_cond_timedwait.c: Likewise.
12413         * nptl/pthread_mutex_timedlock.c: Likewise.
12414         * nptl/sem_timedwait.c: Likewise.
12416         * sysdeps/nptl/bits/libc-lock.h
12417         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12418         (__libc_lock_init_recursive): Return void, not 0.
12419         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12420         (__libc_rwlock_init): Likewise.
12421         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12423 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12425         [BZ #15215]
12426         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12427         (__pthread_once_slow): ... here.
12428         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12429         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12431 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12433         [BZ #15215]
12434         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12435         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12436         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12437         * nptl/pthread_once.c (__pthread_once): Likewise.
12438         Update comments.
12440 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12442         [BZ #14138]
12443         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12444         name.
12445         (writev): Use __libc_writev as strong name.
12446         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12447         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12449 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12451         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12453         * sysdeps/i386/nptl/tls.h
12454         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12455         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12456         New macros.
12457         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12458         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12459         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12460         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12461         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12462         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12464         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12465         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12466         on [__NR_futex].
12467         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12468         broken out of ...
12469         (__pthread_mutex_init): ... here.  Call it.
12470         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12471         Conditionalize PI cases on [__NR_futex].
12472         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12473         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12474         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12476         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12477         conditional on [SIGSETXID].
12478         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12479         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12480         is defined.  Likewise for SIGSETXID.
12481         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12482         Conditionalize definitions on [SIGSETXID].
12483         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12484         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12485         unblocking on [SIGCANCEL].
12487         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12488         [__NR_set_robust_list].
12490 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12492         * string/strcoll_l.c (get_next_seq): Fix up formatting.
12493         (do_compare): Likewise.
12495 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
12497         [BZ #15884]
12498         * string/strcoll_l.c: Don't include stdio.h.
12499         (coll_seq): Remove members idxarr and rulearr.
12500         (get_next_seq_cached): Remove function.
12501         (get_next_seq): Likewise.
12502         (get_next_seq_nocache): Rename to get_next_seq.
12503         (do_compare): Remove function.
12504         (do_compare_nocache): Rename to do_compare.
12505         (STRCOLL): Remove weight and rules cache.
12507 2014-10-16  Roland McGrath  <roland@hack.frob.com>
12509         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
12510         * sysdeps/arm/sfp-machine.h: ... to here.
12511         * sysdeps/arm/Implies: Remove arm/soft-fp.
12513 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
12515         * conform/data/sys/utsname.h-data (*_t): Allow.
12516         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
12517         [POSIX] (WEXITED): Do not expect constant.
12518         [POSIX] (WSTOPPED): Likewise.
12519         [POSIX] (WNOHANG): Likewise.
12520         [POSIX] (WNOWAIT): Likewise.
12521         [POSIX] (siginfo_t): Do not expect type or elements.
12522         [POSIX] (pid_t): Do not expect type.
12523         [POSIX] (signal.h): Do not allow header.
12524         [POSIX] (sys/resource.h): Likewise.
12525         [POSIX] (si_*): Do not allow pattern.
12526         [POSIX] (W*): Likewise.
12527         [POSIX] (P_*): Likewise.
12528         [POSIX] (BUS_*): Likewise.
12529         [POSIX] (CLD_*): Likewise.
12530         [POSIX] (FPE_*): Likewise.
12531         [POSIX] (ILL_*): Likewise.
12532         [POSIX] (POLL_*): Likewise.
12533         [POSIX] (SEGV_*): Likewise.
12534         [POSIX] (SI_*): Likewise.
12535         [POSIX] (TRAP_*): Likewise.
12536         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
12537         variable.
12539 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12541         [BZ #12926]
12542         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
12543         infinite loop when __recvmsg returns 0.
12545 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
12547         * CANCEL-FCT-WAIVE: Remove file.
12548         * CANCEL-FILE-WAIVE: Likewise.
12550         [BZ #14132]
12551         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
12552         instead of INTVARDEF.
12553         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12554         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
12555         rtld_hidden_data_def instead of INTVARDEF.
12556         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
12557         * elf/dl-deps.c (expand_dst): Likewise.
12558         * elf/dl-load.c (_dl_dst_count): Likewise.
12559         (_dl_dst_substitute): Likewise.
12560         (decompose_rpath): Likewise.
12561         (_dl_init_paths): Likewise.
12562         (open_path): Likewise.
12563         (_dl_map_object): Likewise.
12564         * elf/rtld.c (dl_main): Likewise.
12565         (process_dl_audit): Likewise.
12566         (process_envvars): Likewise.
12567         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
12568         Remove declaration.
12569         (__libc_enable_secure): Use rtld_hidden_proto.
12571 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12573         * elf/dl-load.c
12574         (add_path): New function broken out of _dl_rtld_di_serinfo.
12575         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
12577 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12579         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
12580         parentheses around macro arguments.
12581         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
12582         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
12583         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
12584         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
12585         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
12586         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12587         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12588         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
12589         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
12590         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
12591         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
12592         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
12593         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
12594         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
12595         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
12596         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
12597         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
12598         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
12599         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
12600         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
12601         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
12602         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
12603         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
12604         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
12605         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
12606         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
12607         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
12608         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
12609         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
12610         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
12611         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
12612         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
12613         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
12614         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
12615         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
12616         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
12617         Likewise.
12618         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
12619         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12620         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12621         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
12622         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
12623         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
12624         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
12625         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
12626         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
12627         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
12628         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
12629         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
12630         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
12631         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
12632         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
12633         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
12634         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
12635         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
12636         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
12637         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
12638         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
12639         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
12640         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
12641         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
12642         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
12643         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
12644         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
12645         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
12646         (_FP_FRAC_SRS_1): Likewise.
12647         (_FP_FRAC_CLZ_1): Likewise.
12648         (_FP_MUL_MEAT_1_imm): Likewise.
12649         (_FP_MUL_MEAT_1_wide): Likewise.
12650         (_FP_MUL_MEAT_1_hard): Likewise.
12651         (_FP_SQRT_MEAT_1): Likewise.
12652         (_FP_FRAC_ASSEMBLE_1): Likewise.
12653         (_FP_FRAC_DISASSEMBLE_1): Likewise.
12654         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
12655         (__FP_CLZ_2): Likewise.
12656         (_FP_MUL_MEAT_2_wide): Likewise.
12657         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12658         (_FP_MUL_MEAT_2_gmp): Likewise.
12659         (_FP_MUL_MEAT_2_120_240_double): Likewise.
12660         (_FP_SQRT_MEAT_2): Likewise.
12661         (_FP_FRAC_ASSEMBLE_2): Likewise.
12662         (_FP_FRAC_DISASSEMBLE_2): Likewise.
12663         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
12664         (_FP_FRAC_CLZ_4): Likewise.
12665         (_FP_MUL_MEAT_4_wide): Likewise.
12666         (_FP_MUL_MEAT_4_gmp): Likewise.
12667         (_FP_SQRT_MEAT_4): Likewise.
12668         (_FP_FRAC_ASSEMBLE_4): Likewise.
12669         (_FP_FRAC_DISASSEMBLE_4): Likewise.
12670         * soft-fp/op-common.h (_FP_CMP): Likewise.
12671         (_FP_CMP_EQ): Likewise.
12672         (_FP_CMP_UNORD): Likewise.
12673         (_FP_TO_INT): Likewise.
12674         (_FP_FROM_INT): Likewise.
12675         [!__FP_CLZ] (__FP_CLZ): Likewise.
12676         (_FP_DIV_HELP_imm): Likewise.
12677         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
12678         Likewise.
12679         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
12680         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
12681         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
12682         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
12683         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
12684         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12685         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12686         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
12687         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
12688         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
12689         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
12690         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
12691         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
12692         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
12693         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
12694         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
12695         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
12696         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
12697         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
12698         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
12699         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
12700         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
12701         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
12702         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
12703         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
12704         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
12705         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
12706         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
12707         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
12708         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
12709         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
12710         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
12711         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
12712         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
12713         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
12714         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
12715         (FP_UNPACK_RAW_SP): Likewise.
12716         (FP_PACK_RAW_S): Likewise.
12717         (FP_PACK_RAW_SP): Likewise.
12718         (FP_UNPACK_S): Likewise.
12719         (FP_UNPACK_SP): Likewise.
12720         (FP_UNPACK_SEMIRAW_S): Likewise.
12721         (FP_UNPACK_SEMIRAW_SP): Likewise.
12722         (FP_PACK_S): Likewise.
12723         (FP_PACK_SP): Likewise.
12724         (FP_PACK_SEMIRAW_S): Likewise.
12725         (FP_PACK_SEMIRAW_SP): Likewise.
12726         (_FP_SQRT_MEAT_S): Likewise.
12727         (FP_CMP_S): Likewise.
12728         (FP_CMP_EQ_S): Likewise.
12729         (FP_CMP_UNORD_S): Likewise.
12730         (FP_TO_INT_S): Likewise.
12731         (FP_FROM_INT_S): Likewise.
12733         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
12735         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
12736         (FP_EX_INVALID_IMZ): Likewise.
12737         (FP_EX_INVALID_IMZ_FMA): Likewise.
12738         (FP_EX_INVALID_ISI): Likewise.
12739         (FP_EX_INVALID_ZDZ): Likewise.
12740         (FP_EX_INVALID_IDI): Likewise.
12741         (FP_EX_INVALID_SQRT): Likewise.
12742         (FP_EX_INVALID_CVI): Likewise.
12743         (FP_EX_INVALID_VC): Likewise.
12744         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
12745         "invalid" exceptions.
12746         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
12747         (_FP_ADD_INTERNAL): Likewise.
12748         (_FP_MUL): Likewise.
12749         (_FP_FMA): Likewise.
12750         (_FP_DIV): Likewise.
12751         (_FP_CMP_CHECK_NAN): Likewise.
12752         (_FP_SQRT): Likewise.
12753         (_FP_TO_INT): Likewise.
12754         (FP_EXTEND): Likewise.
12756 2014-10-09  Allan McRae  <allan@archlinux.org>
12758         * po/fr.po: Update French translation from translation project.
12760 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
12762         [BZ #14132]
12763         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
12764         of INTDEF.
12765         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
12766         (__cxa_atexit): Use libc_hidden_proto.
12767         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
12769         [BZ #14132]
12770         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
12771         declaration.
12772         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
12773         [!_ISOMAC] (__iswspace_l_internal): Likewise.
12774         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
12775         [!_ISOMAC] (__iswctype_internal): Likewise.
12776         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
12777         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
12778         alias.
12779         (fcntl): Remove __fcntl_internal alias.
12780         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
12781         __connect_internal alias.
12782         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
12783         Likewise.
12785         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
12786         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
12787         FP_DENORM_ZERO.
12788         (_FP_CHECK_FLUSH_ZERO): New macro.
12789         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
12790         (_FP_CMP): Likewise.
12791         (_FP_CMP_EQ): Likewise.
12792         (_FP_TO_INT): Do not set inexact for subnormal arguments if
12793         FP_DENORM_ZERO.
12794         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
12795         (FP_TRUNC): Likewise.
12797         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
12798         treated as invalid conversion, not as normal exponent.
12800         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
12801         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
12802         (_FP_CMP_EQ): Likewise.
12803         (_FP_CMP_UNORD): Likewise.
12804         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
12805         (FP_CMP_EQ_D): Likewise.
12806         (FP_CMP_UNORD_D): Likewise.
12807         * soft-fp/extended.h (FP_CMP_E): Likewise.
12808         (FP_CMP_EQ_E): Likewise.
12809         (FP_CMP_UNORD_E): Likewise.
12810         * soft-fp/quad.h (FP_CMP_Q): Likewise.
12811         (FP_CMP_EQ_Q): Likewise.
12812         (FP_CMP_UNORD_Q): Likewise.
12813         * soft-fp/single.h (FP_CMP_S): Likewise.
12814         (FP_CMP_EQ_S): Likewise.
12815         (FP_CMP_UNORD_S): Likewise.
12816         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
12817         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
12818         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
12819         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
12820         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
12821         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
12822         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12823         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12824         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12825         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12826         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12827         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12828         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12829         to FP_CMP_Q.
12830         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12831         FP_CMP_Q.
12832         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12833         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12834         FP_CMP_EQ_Q.
12835         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12836         FP_CMP_Q.
12837         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12838         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12839         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12840         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12841         FP_CMP_EQ_Q.
12842         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12843         FP_CMP_Q.
12844         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12845         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12846         FP_CMP_EQ_Q.
12847         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12848         FP_CMP_Q.
12849         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12850         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12851         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12852         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12853         FP_CMP_EQ_Q.
12855         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12856         a subnormal result, set the underflow exception if trapping on
12857         underflow is enabled.
12858         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12859         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12860         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12861         redefine to 0.
12862         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12863         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12864         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12865         * soft-fp/extendxftf2.c (__extendxftf2): Use
12866         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12868         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12869         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12870         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12871         FP_HANDLE_EXCEPTIONS.
12872         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12873         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12874         FP_HANDLE_EXCEPTIONS.
12875         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12876         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12877         FP_HANDLE_EXCEPTIONS.
12878         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12879         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12880         FP_HANDLE_EXCEPTIONS.
12882 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
12884         [BZ #14132]
12885         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12886         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12887         use INTUSE.
12888         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12889         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12890         Remove alias.
12891         (__adjtimex): Define using libc_hidden_ver.
12892         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12893         Remove declaration.
12894         (ntp_gettime): Call __adjtimex directly.
12895         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12896         Remove declaration.
12897         (ntp_gettimex): Call __adjtimex directly.
12898         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12899         __adjtimex_internal alias.
12901 2014-10-08  Roland McGrath  <roland@hack.frob.com>
12903         [BZ #17460]
12904         * nscd/nscd.c (more_help): Rewrite list of tables collection
12905         using xstrdup and asprintf.
12907         * nscd/nscd_conf.c: Remove local xstrdup declaration.
12909 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12910             Roland McGrath  <roland@hack.frob.com>
12912         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12913         (do_lookup_unique): ... local function 'enter' here; update callers.
12915 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
12917         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12918         compat_symbol calls on [SHARED].
12919         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12920         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12921         Remove.
12922         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12923         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12924         (oldsetrlimit): Remove.
12925         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12927         (lchown): New syscall entry.
12928         (oldsetrlimit): Remove.
12929         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12930         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12931         (oldsetrlimit): Remove.
12932         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12934         [BZ #14138]
12935         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12936         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12937         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12938         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12939         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12940         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12941         (fchown): Likewise.
12942         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12943         (fchown): Likewise.
12944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12945         Likewise.
12947 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12949         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12950         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12951         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12952         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12953         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12954         Likewise.
12955         (__old_sem_post): Likewise.
12957 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
12959         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12960         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12961         HAVE_CLOCK_GETTIME_VSYSCALL macros.
12962         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12963         Use INLINE_VSYSCALL macro.
12964         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12965         __vdso_clock_gettime.
12966         * sysdeps/unix/sysv/linux/tile/init-first.c
12967         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12968         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12969         __vdso_clock_gettime.
12971         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12972         to set up frame more cleanly.
12974         * sysdeps/tile/memcmp.c: New file.
12976         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12978         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12979         * sysdeps/tile/tilegx/strcasestr.c: New file.
12980         * sysdeps/tile/tilegx/strnlen.c: New file.
12981         * sysdeps/tile/tilegx/strstr.c: New file.
12983         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12985 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12987         * nptl/tst-setuid3.c: Write errors to stdout.
12989 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12991         * elf/dl-deps.c
12992         (preload): New functions broken out of _dl_map_object_deps.
12993         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12995 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12997         [BZ #14138]
12998         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12999         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13001 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13003         * sysdeps/mips/strcmp.S: New.
13005 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13007         [BZ #14138]
13008         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13009         (linkat): Likewise.
13010         (mkdirat): Likewise.
13011         (readlinkat): Likewise.
13012         (renameat): Likewise.
13013         (symlinkat): Likewise.
13014         (unlinkat): Likewise.
13015         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13016         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13017         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13018         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13019         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13020         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13021         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13023 2014-09-30  Will Newton  <will.newton@linaro.org>
13025         * math/math.h: Define long double math functions if
13026         _LIBC_TEST is defined.
13027         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13029         * localedata/Makefile: Move assignment to tests-special
13030         into an ifdef testing run-built-tests.
13031         * timezone/Makefile: Likewise.
13033 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13035         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13036         with $(BASH) not $(SHELL).
13038 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13039             Matthew LeGendre  <legendre1@llnl.gov>
13041         [BZ #17411]
13042         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13043         l_reloc_result.
13045 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13047         * stdio-common/printf_fp.c
13048         (hack_digit): New function, broken out of ...
13049         (__printf_fp): ... local function here.  Update call sites.
13050         hack_digit now takes an additional parameter that is a pointer
13051         to a struct of the referenced locals.  Those locals moved inside
13052         the struct and references updated.
13054 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13056         * aclocal.m4: Require autoconf 2.69.
13057         * configure: Regenerated.
13058         * sysdeps/aarch64/configure: Likewise.
13059         * sysdeps/alpha/configure: Likewise.
13060         * sysdeps/arm/armv7/configure: Likewise.
13061         * sysdeps/arm/configure: Likewise.
13062         * sysdeps/ia64/configure: Likewise.
13063         * sysdeps/mach/configure: Likewise.
13064         * sysdeps/mips/configure: Likewise.
13065         * sysdeps/s390/configure: Likewise.
13066         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13069         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13070         file.
13071         * sysdeps/ia64/configure.ac: Likewise.
13073 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13076         specify symbol version for ld.so.  Do not include entry for
13077         libpthread.
13078         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13079         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13080         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13082         [BZ #14171]
13083         * Makeconfig [$(build-shared) = yes]
13084         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13085         makefiles.
13086         [$(build-shared) = yes && $(soversions.mk-done) = t]
13087         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13088         [$(build-shared) = yes && $(soversions.mk-done) = t]
13089         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13090         to Makerules.
13091         [$(build-shared) = yes && $(soversions.mk-done) = t]
13092         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13093         here.
13094         [$(build-shared) = yes && $(soversions.mk-done) = t]
13095         (common-generated): Don't append gnu/lib-names.h and
13096         gnu/lib-names.stmp here.
13097         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13098         (lib-names-h-abi): New variable.
13099         [$(build-shared) = yes && $(soversions.mk-done) = t]
13100         (lib-names-stmp-abi): Likewise.
13101         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13102         abi-variants] (before-compile): Append
13103         $(common-objpfx)$(lib-names-h-abi).
13104         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13105         abi-variants] (common-generated): Append gnu/lib-names.h.
13106         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13107         abi-variants] (install-others-nosubdir): Depend on
13108         $(inst_includedir)/$(lib-names-h-abi).
13109         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13110         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13111         [$(build-shared) = yes && $(soversions.mk-done) = t]
13112         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13113         [$(build-shared) = yes && $(soversions.mk-done) = t]
13114         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13115         [$(build-shared) = yes && $(soversions.mk-done) = t]
13116         (common-generated): Append $(lib-names-h-abi) and
13117         $(lib-names-stmp-abi).
13118         * scripts/lib-names.awk: Do not handle multi being set.
13119         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13120         Remove variable.
13121         (abi-lp64_be-ld-soname): Likewise.
13122         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13123         Likewise.
13124         (abi-hard-ld-soname): Likewise.
13125         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13126         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13127         Remove variable.
13128         (abi-o32_hard-ld-soname): Likewise.
13129         (abi-o32_soft_2008-ld-soname): Likewise.
13130         (abi-o32_hard_2008-ld-soname): Likewise.
13131         (abi-n32_soft-ld-soname): Likewise.
13132         (abi-n32_hard-ld-soname): Likewise.
13133         (abi-n32_soft_2008-ld-soname): Likewise.
13134         (abi-n32_hard_2008-ld-soname): Likewise.
13135         (abi-n64_soft-ld-soname): Likewise.
13136         (abi-n64_hard-ld-soname): Likewise.
13137         (abi-n64_soft_2008-ld-soname): Likewise.
13138         (abi-n64_hard_2008-ld-soname): Likewise.
13139         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13140         Likewise.
13141         (abi-64-v2-ld-soname): Likewise.
13142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13143         ld.so entries.
13144         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13145         variable.
13146         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13147         entry.
13148         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13149         variable.
13150         (abi-64-ld-soname): Likewise.
13151         (abi-x32-ld-soname): Likewise.
13152         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13153         entry.
13154         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13156 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13158         [BZ #14138]
13159         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13160         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13161         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13162         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13163         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13164         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13165         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13166         syscall entry for GLIBC_2.2 symbol version.
13167         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13168         Likewise.
13169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13170         (setrlimit): Likewise.
13171         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13172         Likewise.
13174 2014-09-23  Will Newton  <will.newton@linaro.org>
13176         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13177         _LINUX_ARM_SYSDEP_H include guard too.
13178         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13179         define.
13181 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13183         * sysdeps/unix/sysv/linux/eventfd.c:
13184         Make first argument unsigned.
13185         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13186         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13188 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13190         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13191         * socket/sys/socket.h: Likewise
13192         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13194 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13196         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13198 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13200         * time/tst-ftime.c: New test.
13201         * time/Makefile (tests): Add tst-ftime.
13203 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13205         * soft-fp/extended.h: Fix comment formatting.
13206         * soft-fp/op-1.h: Likewise.
13207         * soft-fp/op-2.h: Likewise.
13208         * soft-fp/op-4.h: Likewise.
13209         * soft-fp/op-8.h: Likewise.
13210         * soft-fp/op-common.h: Likewise.
13211         * soft-fp/soft-fp.h: Likewise.
13213         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13215 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13217         [BZ #6652]
13218         * Makeconfig (soversions-default-setname): Remove variable.
13219         ($(common-objpfx)soversions.i): Don't pass default_setname to
13220         soversions.awk.
13221         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13222         oldest_abi to abi-versions.awk.
13223         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13224         * config.make.in (oldest-abi): Remove variable.
13225         * configure.ac (--enable-oldest-abi): Remove configure option.
13226         * configure: Regenerated.
13227         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13228         text.
13229         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13230         * scripts/soversions.awk: Do not handle default_setname variable.
13231         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13232         variable.
13233         * sysdeps/mach/hurd/configure: Regenerated.
13234         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13235         variable.
13236         * sysdeps/unix/sysv/linux/configure: Regenerated.
13238 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13240         * elf/Makefile (CFLAGS-interp.c): Remove.
13241         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13242         path string.
13243         * elf/interp.c: Include generated runtime-linker.h
13245         * Makerules (lib%.so): Don't include $(+interp) in
13246         prerequisites.
13247         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13248         * dlfcn/eval.c: Remove file.
13250         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13251         macros.
13253         [BZ #17266]
13254         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13255         4.2 and newer.
13257         [BZ #17370]
13258         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13260 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13261             Jakub Jelinek  <jakub@redhat.com>
13263         [BZ #17266]
13264         * libio/stdio.h: Check definition of __fortify_function
13265         instead of __extern_always_inline to include bits/stdio2.h.
13266         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13267         check if __extern_always_inline is defined.
13268         [__USE_MISC || __USE_XOPEN]: Likewise.
13269         [__USE_ISOC99] Likewise.
13270         * misc/sys/cdefs.h (__fortify_function): Define only if
13271         __extern_always_inline is defined.
13272         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13273         __extern_always_inline and __extern_inline only for g++-4.3
13274         and newer or a compatible gcc.
13276 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13278         [BZ #17371]
13279         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13280         last change to handle zero prefix length.
13282 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13284         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13285         _SC_REGEX_VERSION.
13287         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13288         _POSIX_RAW_SOCKETS.
13290 2014-09-13  Allan McRae  <allan@archlinux.org>
13292         * po/ru.po: Update Russian translation from translation project.
13294 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13296         * locale/programs/locale.c (show_locale_vars): Inline local function
13297         into its sole call site.  Clean up some style nits.
13298         (print_item): New function, broken out of ...
13299         (show_info): ... local function here.  Clean up style nits.
13301         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13302         out of ...
13303         (set_class_defaults): ... local function set_default here.
13304         Define set_default as a macro locally to pass constant parameters.
13305         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13306         rather than a shared local.
13308         * stdlib/rpmatch.c (try): New function, broken out of ...
13309         (rpmatch): ... local function here.  Also, prototypify definition.
13311 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13313         * scripts/soversions.awk: Do not handle configuration names.
13314         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13315         vendor and os variables to soversions.awk.
13316         * configure.ac: Do not modify gnu-* host_os.
13317         * configure: Regenerated
13318         * shlib-versions: Remove first column with configuration names.
13319         * nptl/shlib-versions: Likewise.
13320         * nptl_db/shlib-versions: Likewise.
13321         * sysdeps/hppa/shlib-versions: Likewise.
13322         * sysdeps/m68k/shlib-versions: Likewise.
13323         * sysdeps/mach/hurd/shlib-versions: Likewise.
13324         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13325         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13326         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13327         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13328         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13329         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13330         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13331         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13333         Likewise.
13334         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13335         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13336         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13337         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13338         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13339         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13340         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13341         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13344         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13346         Regenerated.
13347         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13349         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13351         * shlib-versions: Remove OS-specific entries.  Moved to files in
13352         sysdeps.
13353         * sysdeps/mach/hurd/shlib-versions: New file.
13354         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13356         * nptl/shlib-versions: Remove architecture-specific entries.
13357         Moved to files in sysdeps.
13358         * shlib-versions: Likewise.
13359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13360         file.
13361         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13362         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13363         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13364         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13366         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13367         (UDP_NO_CHECK6_RX): Likewise.
13369 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13371         * sysdeps/posix/sysconf.c (__sysconf): Spell
13372         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13374 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13376         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13377         loading.
13378         * iconv/Versions (__gconv_transliterate): Export for use from
13379         gconv modules.
13380         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13381         (struct __gconv_trans_data, __gconv_trans_fct,
13382         __gconv_trans_context_fct, __gconv_trans_query_fct,
13383         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13384         definitions.
13385         (struct __gconv_step_data): Remove __trans member.
13386         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13387         longer hidden.  Remove unused trans_data argument.
13388         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13389         (__gconv_translit_find): Remove declaration.
13390         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13391         prototype.
13392         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13393         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13394         trans_data argument.  Add hidden definition.
13395         (__gconv_translit_find): Remove.
13396         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13397         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13398         * iconv/skeleton.c: Remove transliteration initialization.
13399         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13400         __gconv_step_data initialization.
13401         * libio/iofwide.c (__libio_translit_): Remove.
13402         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13403         * wcsmbs/btowc.c (__btowc): Likewise.
13404         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13405         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13406         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13407         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13408         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13409         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13410         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13411         * wcsmbs/wctob.c (wctob): Likewise.
13413 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13415         [BZ #16194]
13416         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13417         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13418         register usage.
13419         * sysdeps/x86/Makefile: Adjust.
13421 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13422             Roland McGrath  <roland@hack.frob.com>
13424         * locale/weight.h: Add include guard.
13425         (findidx): Make static rather than auto; take new parameters
13426         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13427         * locale/weightwc.h: Likewise.
13428         * posix/fnmatch_loop.c
13429         (FCT): Change type of EXTRA from int32_t to wint_t.
13430         Don't include either header inside the function.
13431         Call FINDIDX rather than findidx, and pass new arguments.
13432         #undef FINDIDX at the end of the file.
13433         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13434         FINDIDX before including fnmatch_loop.c for the non-wide version.
13435         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13436         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13437         for the wide version.
13438         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13439         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13440         Pass new arguments to findidx.
13441         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13442         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13443         Don't #include it inside the function.  Pass new arguments to findidx.
13444         * posix/regex_internal.h
13445         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13446         (re_string_elem_size_at): Don't #include it inside the function.
13447         Pass new arguments to findidx.
13448         * string/strcoll_l.c: #include WEIGHT_H at top level.
13449         (get_next_seq): Don't #include it inside the function.
13450         Pass new arguments to findidx.
13451         (get_next_seq_nocache): Likewise.
13452         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13453         (STRXFRM): Don't #include it inside the function.
13454         Pass new arguments to findidx.
13456 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13458         [BZ #17344]
13459         * malloc/malloc.c (unlink): Turn asserts into a call to
13460         malloc_printerr.
13462 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13464         [BZ #17370]
13465         * libio/wfileops (do_ftell_wide): Free OUT.
13467 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13469         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13471 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13473         [BZ #17363]
13474         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13475         group if the current group is empty.
13477 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13479         * benchtests/bench-memset.c (test_main): Add more test from size
13480         from 32 to 512 bytes.
13481         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13482         Add POWER8 memset object.
13483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13484         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13485         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13486         implementation.
13487         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13488         Likewise.
13489         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13490         multiarch POWER8 memset optimization.
13491         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13492         POWER8 memset optimization.
13494         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13495         Remove bzero multiarch objects.
13496         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
13497         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
13498         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
13499         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
13500         Remove define.
13501         [__bzero]: Redefine to specific name.
13502         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
13503         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
13504         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
13505         define.
13506         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13507         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13509 2014-09-10  Florian Weimer  <fweimer@redhat.com>
13511         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
13512         warnings into errors.
13514         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
13515         __cxa_thread_atexit_impl prototype.
13517 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13519         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
13520         Fix capitalization of error message.
13522 2014-09-09  Steve Ellcey  <sellcey@mips.com>
13524         * sysdeps/mips/preconfigure: Modify ABI tests.
13526 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
13528         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
13530 2014-09-07  Roland McGrath  <roland@hack.frob.com>
13531             Carlos O'Donell  <carlos@systemhalted.org>
13533         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
13534         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
13535         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
13536         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
13537         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
13538         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
13539         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
13540         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
13541         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
13542         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
13543         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
13544         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
13545         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
13546         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
13547         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
13548         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
13549         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
13550         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
13551         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
13552         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
13553         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
13554         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
13555         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
13556         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
13557         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
13558         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
13559         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
13560         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
13561         Deconditionalize the code that was previously under [RESET_PID].
13562         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
13563         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
13564         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
13565         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
13566         include sysdep.h.
13568 2014-09-08  Allan McRae  <allan@archlinux.org>
13570         * version.h (RELEASE): Set to "development".
13571         (VERSION): Set to "2.20.90"
13573 2014-09-07  Allan McRae  <allan@archlinux.org
13575         * version.h (RELEASE): Set to "stable".
13576         (VERSION): Set to "2.20"
13577         * include/features.h (__GLIBC_MINOR__): Set to 20.
13579         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
13580         Liebler.
13582         * po/ko.po: Update Korean translation from translation project.
13584 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
13586         [BZ #17354]
13587         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
13588         macro for handling signed relocations.
13590 2014-09-03  Florian Weimer  <fweimer@redhat.com>
13592         [BZ #17325]
13593         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
13594         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
13595         assert.
13596         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
13597         * iconvdata/ibm935.c (BODY): Likewise.
13598         * iconvdata/ibm937.c (BODY): Likewise.
13599         * iconvdata/ibm939.c (BODY): Likewise.
13600         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
13601         assert.
13602         * iconvdata/Makefile (iconv-test.out): Pass module list to test
13603         script.
13604         * iconvdata/run-iconv-test.sh: New test loop for checking for
13605         decoder crashers.
13607 2014-09-02  Khem Raj  <raj.khem@gmail.com>
13609         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
13610         libm_hidden_ver.
13612 2014-09-01  Allan McRae  <allan@archlinux.org>
13614         * po/eo.po: Update Esperanto translation from translation project.
13616         * po/ca.po: Update Catalan translation from translation project.
13618 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13620         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
13621         __proc_dostop call.
13623 2014-08-27  Mark Wielaard  <mjw@redhat.com>
13625         [BZ #17319]
13626         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
13627         to call set_thread_area instead of hand written asm.
13628         (__NR_set_thread_area): Removed define.
13629         (TLS_FLAG_WRITABLE): Likewise.
13630         (__ASSUME_SET_THREAD_AREA): Remove check.
13631         (TLS_EBX_ARG): Remove define.
13632         (TLS_LOAD_EBX): Likewise.
13634 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13636         Simplify atomicity of socket creation in bind.
13638         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
13639         looking up the name after linking the file.
13641 2014-08-27  Allan McRae  <allan@archlinux.org>
13643         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13645 2014-08-26  Florian Weimer  <fweimer@redhat.com>
13647         [BZ #17187]
13648         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
13649         trans_compare, open_translit, __gconv_translit_find):
13650         Remove module loading code.
13652 2014-08-26  Allan McRae  <allan@archlinux.org>
13654         * po/vi.po: Update Vietnamese translation from translation project.
13656         * po/uk.po: Update Ukrainian translation from translation project.
13658         * po/fr.po: Update French translation from translation project.
13660         * po/ru.po: Update Russian translation from translation project.
13662         * po/pl.po: Update Polish translation from translation project.
13664         * po/cs.po: Update Czech translation from translation project.
13666         * po/de.po: Update German translation from translation project.
13668         * po/bg.po: Update Bulgarian translation from translation project.
13670         * po/sv.po: Update Sweedish translation from translation project.
13672         * po/nl.po: Update Dutch translation from translation project.
13674         * po/es.po: Update Spanish translation from translation project.
13676 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13678         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
13680         * catgets/Makefile (CPPFLAGS-gencat): Remove.
13681         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
13682         (CPPFLAGS-iconvconfig): Likewise.
13683         * timezone/Makefile (CPPFLAGS-zic): Likewise.
13685         * include/libc-symbols.h: Remove unnecessary check for
13686         NOT_IN_libc.
13687         * nptl/pthreadP.h: Likewise.
13688         * sysdeps/aarch64/setjmp.S: Likewise.
13689         * sysdeps/alpha/setjmp.S: Likewise.
13690         * sysdeps/arm/sysdep.h: Likewise.
13691         * sysdeps/i386/setjmp.S: Likewise.
13692         * sysdeps/m68k/setjmp.c: Likewise.
13693         * sysdeps/posix/getcwd.c: Likewise.
13694         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13695         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
13696         * sysdeps/s390/s390-32/setjmp.S: Likewise.
13697         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13698         * sysdeps/sh/sh3/setjmp.S: Likewise.
13699         * sysdeps/sh/sh4/setjmp.S: Likewise.
13700         * sysdeps/unix/alpha/sysdep.h: Likewise.
13701         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13702         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13703         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
13704         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13707         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13708         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13709         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13710         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13711         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13712         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13714         * sysdeps/x86_64/setjmp.S: Likewise.
13716 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
13718         [BZ #17263]
13719         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
13720         <stdint.h>.
13721         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
13722         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
13724 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13726         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
13728         [BZ #17262]
13729         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
13730         and __x86_64__ when disabling x87 inline functions.
13732 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13734         [BZ #17259]
13735         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13736         asm statement with __cpuid_count.
13738 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
13740         * configure.ac: Change __ehdr_start code to dereference the struct.
13741         Run readelf on the output to look for relocations.
13742         * configure: Regenerated.
13744 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
13746         [BZ #17261]
13747         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
13748         value to 0.
13749         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
13751 2014-08-12  Roland McGrath  <roland@hack.frob.com>
13753         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
13755 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
13757         [BZ #16892]
13758         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
13759         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
13761 2014-08-12  Sean Anderson  <seanga2@gmail.com>
13763         * malloc/malloc.c: Fix typo in comment.
13765 2014-08-09  Allan McRae  <allan@archlinux.org>
13767         * Regenerate libc.po.
13769 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
13771         * intl/tst-gettext2.sh: Check every lang file for creation.
13773 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13775         * sysdeps/aarch64/fpu/math_private.h
13776         (libc_feholdsetround_noex_aarch64_ctx): New function.
13778 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
13780         * sysdeps/arm/armv6/strcpy.S (strcpy):
13781         Fix performance issue in misaligned cases.
13783 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13785         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
13786         Move definition from termios.h.
13787         (struct termio): Likewise.
13788         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13789         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13790         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13791         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13792         Likewise.
13793         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
13794         Move definition to ioctl-types.h
13795         (struct termio): Likewise.
13796         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13797         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
13798         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
13799         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
13800         Likewise.
13802 2014-08-05  Richard Henderson  <rth@redhat.com>
13804         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
13805         exceptions.
13806         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
13807         Add fraiseexcpt.
13808         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
13809         Use __feraiseexcept.
13810         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
13811         Protect libm symbols with IS_IN_libm.
13813         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
13815 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
13817         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
13819 2014-08-04  Will Newton  <will.newton@linaro.org>
13821         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13822         file.
13824 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
13826         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13827         variants for each function.
13829 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13831         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13832         appended ...
13833         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13834         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13835         appended ...
13836         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13837         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13838         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13839         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13840         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13841         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13842         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13843         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13844         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13845         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13846         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13847         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13848         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13849         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13850         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13851         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13852         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13853         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13854         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13855         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13856         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13857         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13858         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13859         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13860         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13861         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13862         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13863         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13864         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13865         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13866         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13867         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13868         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13869         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13870         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13871         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13872         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13873         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13874         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13875         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13876         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13877         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13878         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13879         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13880         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13881         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13882         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13883         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13884         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13885         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13886         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13887         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13888         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13889         Update #include.
13890         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13891         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13893 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13895         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13896         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13897         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13898         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13899         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13900         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13902 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13904         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13905         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13906         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13907         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13909 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13911         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13912         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13913         (__libc_vfork): Define function under this name.
13914         (__vfork): Define as an alias.
13915         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13916         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13918 2014-08-04  Roland McGrath  <roland@hack.frob.com>
13920         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13921         that was previously under [RESET_PID].
13922         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13924 2014-08-04  Andreas Schwab  <schwab@suse.de>
13926         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13928 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
13930         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13931         (main): Likewise.
13933 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13935         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13937 2014-08-01  Richard Henderon  <rth@redhat.com>
13939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13940         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13941         typo in exact zero test.
13942         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13943         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13944         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13946 2014-08-01  Roland McGrath  <roland@hack.frob.com>
13948         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13949         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13950         * sysdeps/arm/sysdep.h: ... here.
13951         [!__ASSEMBLER__]: Include <stdint.h>.
13953 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13955         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13956         (HAVE_WCTYPE_H): Likewise.
13957         (HAVE_ISWCTYPE): Likewise.
13958         (ENABLE_NLS): Likewise.
13959         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13960         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13962         * posix/regex_internal.c: Check if DEBUG is defined and is
13963         set.
13965         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13966         (HAVE_MBSRTOWCS): Likewise.
13967         * posix/fnmatch.c: Include string.h unconditionally.
13969 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13971         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13972         reversal.
13974 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13976         * sysdeps/generic/safe-fatal.h: New file.
13977         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13978         * nptl/forward.c: Include it.
13979         (__pthread_unwind): Use __safe_fatal as default action, rather
13980         than a bogus use of INTERNAL_SYSCALL that could never work.
13982         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13983         * configure.ac (libc_cv_builtin_trap): New test.
13984         * configure: Regenerated.
13985         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13986         (ABORT_INSTRUCTION): Define using __builtin_trap.
13988         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13989         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13990         * sysdeps/nptl/nptl-signals.h: New file.
13991         * nptl/pthreadP.h: Include <nptl-signals.h>.
13993 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13995         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13996         (ONE_DIRECTION): Define.
13997         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13998         (ONE_DIRECTION): Define.
13999         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14000         (ONE_DIRECTION): Define.
14002 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14004         * sysdeps/s390/Makefile: Delete file.
14005         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14006         * sysdeps/s390/__longjmp.c: Delete file.
14007         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14008         Remove fields __flags and __reserved.
14009         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14010         and add versioning.
14011         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14012         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14013         * sysdeps/s390/rtld-setjmp.S: Likewise.
14014         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14015         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14016         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14017         * sysdeps/s390/s390-32/setjmp.S: ... here.
14018         Add versioning.
14019         (__sigsetjmp): Remove setting __flags field.
14020         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14021         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14022         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14023         * sysdeps/s390/s390-64/setjmp.S: ... here.
14024         Add versioning.
14025         (__sigsetjmp): Remove setting __flags field.
14026         * sysdeps/s390/setjmp.S: Delete file.
14027         * sysdeps/s390/sigjmp.c: Likewise.
14028         * sysdeps/s390/v1-longjmp.c: Likewise.
14029         * sysdeps/s390/v1-setjmp.h: Likewise.
14030         * sysdeps/s390/v1-sigjmp.c: Likewise.
14031         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14032         Remove v1-longjmp_chk.
14033         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14034         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14035         Include debug/longjmp_chk.c and add versioning.
14036         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14037         Include nptl/pt-longjmp.c and add versioning.
14038         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14039         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14040         Include __longjmp.c.
14041         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14042         Move to ...
14043         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14044         (__getcontext): Remove setting __flags field.
14045         Add versioning.
14046         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14047         Don't restore upper high grps.
14048         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14049         Likewise.
14050         (__swapcontext): Remove setting uc_flags field.
14051         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14052         Delete file.
14053         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14054         Include __longjmp.c.
14055         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14056         Move to ...
14057         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14058         (__getcontext): Remove setting __flags field.
14059         Add versioning.
14060         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14061         (__swapcontext): Remove setting uc_flags field.
14062         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14063         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14064         Remove fields uc_high_gprs and __reserved.
14065         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14066         New file with reverted content.
14067         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14068         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14069         Regenerated.
14070         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14071         Regenerated.
14073 2014-07-31  Andreas Schwab  <schwab@suse.de>
14075         * config.h.in (HAVE_IFUNC): Define to 0.
14076         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14077         definedness.
14079 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14082         memmove-avx-unaligned, memcpy-avx-unaligned and
14083         mempcpy-avx-unaligned.
14084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14085         Add tests for AVX memcpy functions.
14086         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14087         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14088         memcpy_chk.
14089         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14090         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14091         memmove_chk.
14092         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14093         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14094         mempcpy_chk.
14095         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14096         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14097         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14099 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14101         [BZ #17213]
14102         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14103         powerpc64le.
14105 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14107         [BZ #16839]
14108         * manual/llio.texi: Add section about open file description locks.
14109         * manual/examples/ofdlocks.c: Example of open file description
14110         lock usage.
14111         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14112         F_OFD_SETLK, and F_OFD_SETLKW.
14114 2014-07-23  Allan McRae  <allan@archlinux.org>
14116         * po/es.po: Update Spanish translation from translation project.
14118 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14120         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14122 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14124         [BZ #17078]
14125         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14126         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14127         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14129 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14131         [BZ #17088]
14132         * math/fesetenv.c (__fesetenv)
14133         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14134         * math/feupdateenv.c (__feupdateenv)
14135         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14137         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14138         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14139         (__ASSUME_SOCKETCALL): Do not define.
14141         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14142         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14143         (__ASSUME_SOCKETCALL): Do not define.
14144         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14145         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14146         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14147         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14148         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14149         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14150         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14151         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14153         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14154         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14155         (__ASSUME_SOCKETCALL): Do not define.
14156         (__ASSUME_IPC64): Define unconditionally.
14157         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14158         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14159         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14160         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14161         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14162         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14163         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14164         Likewise.
14166         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14167         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14168         (__ASSUME_SOCKETCALL): Do not define.
14169         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14170         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14171         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14172         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14173         (__ASSUME_REQUEUE_PI): Define unconditionally.
14174         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14175         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14176         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14177         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14178         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14179         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14181         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14182         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14183         (__ASSUME_SOCKETCALL): Do not define.
14184         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14185         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14186         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14187         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14188         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14189         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14191         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14192         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14193         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14194         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14195         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14196         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14197         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14198         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14199         (__ASSUME_GETCPU_SYSCALL): Likewise.
14201         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14202         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14203         cases for individual architectures.
14204         * sysdeps/gnu/configure: Regenerated.
14205         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14206         LIBC_SLIBDIR_RTLDDIR.
14207         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14208         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14209         LIBC_SLIBDIR_RTLDDIR.
14210         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14212         LIBC_SLIBDIR_RTLDDIR.
14213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14214         Regenerated.
14215         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14216         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14217         file.
14218         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14219         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14220         file.
14221         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14222         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14223         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14224         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14226         * sysdeps/aarch64/shlib-versions: Move to ...
14227         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14228         * sysdeps/alpha/shlib-versions: Move to ...
14229         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14230         * sysdeps/arm/shlib-versions: Move to ...
14231         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14232         * sysdeps/hppa/shlib-versions: Move all contents except for
14233         libgcc_s entry to ...
14234         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14235         entry from ...
14236         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14237         * sysdeps/ia64/shlib-versions: Move to ...
14238         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14239         entry from ...
14240         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14241         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14242         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14243         * sysdeps/microblaze/shlib-versions: Move to ...
14244         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14245         * sysdeps/mips/shlib-versions: Move to ...
14246         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14247         entry from ...
14248         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14249         * sysdeps/tile/shlib-versions: Move to ...
14250         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14251         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14252         from ...
14253         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14254         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14255         entry from ...
14256         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14258 2014-07-17  Will Newton  <will.newton@linaro.org>
14260         * sysdeps/arm/bits/atomic.h
14261         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14262         (__arch_compare_and_exchange_bool_16_int): Likewise.
14263         (__arch_compare_and_exchange_bool_64_int): Likewise.
14265         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14266         into an #else block.
14268 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14270         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14271         just Linux configurations.  Test empirically that the compiler sets
14272         __ARM_EABI__, rather than using the tuple to decide.
14273         * sysdeps/arm/preconfigure: Regenerated.
14274         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14275         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14276         contents appended ...
14277         * sysdeps/arm/configure.ac: ... here.
14278         * sysdeps/arm/configure: Regenerated.
14280 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14282         * nptl/pthread_kill.c: New file.
14283         * nptl/pthread_sigmask.c: New file.
14284         * nptl/pthread_sigqueue.c: New file.
14286         * sysdeps/nptl/lowlevellock.h: New file.
14287         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14288         * sysdeps/nptl/lowlevellock-futex.h: New file.
14290         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14291         Remove dead declarations.
14293 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14295         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14296         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14297         config-cflags-avx2.
14298         * sysdeps/x86_64/configure.ac: Likewise.
14299         * sysdeps/i386/configure: Regenerated.
14300         * sysdeps/x86_64/configure: Likewise.
14301         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14302         memset-avx2 only if config-cflags-avx2 is yes.
14303         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14304         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14305         defined.
14306         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14307         only if HAVE_AVX2_SUPPORT is defined.
14308         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14310 2014-07-14  Alan Modra  <amodra@gmail.com>
14312         [BZ #17153]
14313         * elf/elf.h (DT_PPC64_NUM): Correct value.
14314         * NEWS: Add to fixed bug list.
14316 2014-07-13  Jim Meyering  <meyering@fb.com>
14318         [BZ 17150]
14319         regex: don't deref NULL upon heap allocation failure
14320         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14321         failure in one more place.
14322         To trigger the segfault, configure grep -with-included-regex,
14323         build it, and run these commands:
14324         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14326 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14328         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14330 2014-07-11  Richard Henderson  <rth@redhat.com>
14332         * sysdeps/aarch64/libm-test-ulps: Update.
14334 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14336         [BZ #17135]
14337         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14338         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14339         (__nptl_setxid): Initialize error member.  Call
14340         __nptl_setxid_error.
14341         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14342         * nptl/descr.h (struct xid_command): Add error member.
14343         * nptl/tst-setuid3.c: New file.
14344         * nptl/Makefile (tests): Add it.
14346 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14348         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14349         New define.
14350         (__lll_trylock): Use __lll_base_trylock.
14351         (__lll_cond_trylock): Likewise.
14353 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14355         * nptl/pthread_create.c (start_thread): Use atomic_or and
14356         lll_futex_wake directly rather than lll_robust_dead.
14357         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14358         (lll_robust_dead): Macro removed.
14359         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14360         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14361         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14362         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14363         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14364         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14365         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14366         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14367         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14368         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14369         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14370         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14371         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14372         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14373         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14375         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14376         Use atomic_compare_and_exchange_val_acq directly rather than
14377         lll_robust_trylock.
14378         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14379         (__lll_robust_trylock, lll_robust_trylock): Removed.
14380         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14381         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14382         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14383         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14384         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14385         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14386         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14387         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14388         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14389         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14390         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14391         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14392         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14393         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14395 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14397         * manual/locale.texi (Locale Names): New section documenting
14398         locale name syntax.  Adjust menu and node chaining accordingly.
14399         (Choosing Locale): Reference Locale Names, Locale Categories.
14400         Mention setting LC_ALL=C.  Reflect that name syntax is now
14401         documented.
14402         (Locale Categories): New section title.  Reference Locale Names.
14403         LC_ALL is an environment variable, but not a category.
14404         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14405         description, now in Locale Name.  Reference that section.  Locale
14406         name syntax is now documented.
14408 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14410         [BZ #17137]
14411         * locale/findlocale.c (name_present, valid_locale_name): New
14412         functions.
14413         (_nl_find_locale): Use the loc_name variable to store name
14414         candidates.  Call name_present and valid_locale_name to check and
14415         validate locale names.  Return an error if the locale is invalid.
14417 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14419         * locale/setlocale.c (setlocale): Use strdup for allocating
14420         composite name copy.
14422 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14424         Sync up with gnulib.
14425         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14426         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14427         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14428         and _GL_ARG_NONNULL.
14429         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14430         [!_LIBC]: Include code for Windows and Cygwin.
14431         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14432         Include prototype for int strerror_r.
14433         [!_LIBC] (is_open): New function.
14434         (flush_stdout): New function.
14435         (print_errno_message): Use it.
14436         (error): Likewise.
14437         (error_at_line): Likewise.
14438         (error_tail) Add function attribute macros.  Use
14439         __builtin_expect.
14441         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14443         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14445         * io/ftw.c: Include sys/param.h unconditionally.
14447         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14449         [BZ #17125]
14450         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14451         libc_freeres_ptr.
14452         (freecache): New function to free CACHE on exit.
14454         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14455         initialization.
14457 2014-07-09  David S. Miller  <davem@davemloft.net>
14459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14461         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14462         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14463         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14464         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14465         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14466         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14467         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14468         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14469         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14470         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14471         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14472         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14473         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14475 2014-07-09  Andreas Schwab  <schwab@suse.de>
14477         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14478         output.
14479         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14480         (do_test): Likewise.
14482         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14484 2014-07-09  Will Newton  <will.newton@linaro.org>
14486         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14487         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14488         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14489         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14490         * sysdeps/hppa/start.S (_start): Likewise.
14492 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14494         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
14496         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
14497         defined.
14499 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14501         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
14502         after checking that it is non-NULL.
14504         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
14506 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14508         * sysdeps/powerpc/memmove.c: Remove file.
14509         * sysdeps/powerpc/powerpc32/power4/memcopy.h
14510         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
14511         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14512         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
14513         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
14514         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
14515         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
14516         string memmove instead of removed powerpc one.
14518         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14519         [weak_alias]: Fix compiler warning due trailing data.
14520         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
14521         [weak_alias]: Likewise.
14522         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
14523         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
14525         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14526         (__libc_ifunc_impl_list): Add memmove functions.
14528 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14530         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
14531         Remove code.
14532         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
14533         Likewise
14534         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
14535         Likewise
14536         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
14537         Likewise
14538         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
14539         Likewise
14540         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
14541         Likewise
14542         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
14543         Likewise
14544         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
14545         Likewise
14546         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
14547         Likewise
14548         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
14549         Likewise
14550         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
14551         Likewise
14552         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
14553         Likewise
14554         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
14555         Likewise
14556         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
14557         Likewise
14558         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
14559         Likewise
14560         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
14561         Likewise
14562         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
14563         Likewise
14565 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14567         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
14568         to avoid alignment traps in non-cacheable memory.
14569         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14571         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
14572         multiarch objects.
14573         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
14574         file: multiarch power7 memmove.
14575         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
14576         multiarch default memmove.
14577         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
14578         multiarch memove for powerpc32/power4.
14580         * string/bcopy.c: Use full path to include memmove.c.
14581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
14582         multiarch objects.
14583         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
14584         bcopy for powerpc64.
14585         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
14586         bcopy for powerpc64.
14587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
14588         and memmove implementations.
14589         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
14590         optimized multiarch memmove for POWER7/powerpc64.
14591         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
14592         default multiarch memmove for powerpc64.
14593         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
14594         multiarch for powerpc64.
14595         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
14596         for POWER7/powerpc64.
14597         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
14598         memmove for POWER7/powerpc64.
14600         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
14601         glibc default one.
14603         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
14604         __ELF_NATIVE_CLASS equal to 64.
14606 2014-07-07  Roland McGrath  <roland@hack.frob.com>
14608         * sysdeps/nptl/lowlevellock.h: File removed.
14610         * NEWS: NPTL is no longer an add-on!
14611         * nptl/internaltypes.h: Moved ...
14612         * sysdeps/nptl/internaltypes.h: ... here.
14613         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
14614         * sysdeps/nptl/fork.c: Likewise.
14615         * sysdeps/nptl/gai_misc.h: Likewise.
14616         * sysdeps/nptl/librt-cancellation.c: Likewise.
14617         * sysdeps/nptl/jmp-unwind.c: Likewise.
14618         * sysdeps/nptl/setxid.h: Likewise.
14619         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
14620         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
14621         * sysdeps/unix/sysv/linux/arm/Implies: New file.
14622         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
14623         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
14624         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
14625         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
14626         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
14627         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
14628         * sysdeps/unix/sysv/linux/mips/Implies: New file.
14629         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
14630         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
14631         * sysdeps/unix/sysv/linux/sh/Implies: New file.
14632         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
14633         * sysdeps/unix/sysv/linux/tile/Implies: New file.
14634         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
14635         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
14636         * nptl/Makeconfig: Moved ...
14637         * sysdeps/nptl/Makeconfig: ... here.
14638         * nptl/configure: File removed.
14639         * nptl/ANNOUNCE: File removed.
14640         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
14641         * sysdeps/unix/sysv/linux/configure: Regenerated.
14643         * nptl/Makefile (routines): Add libc_pthread_init,
14644         libc_multiple_threads, register-atfork and unregister-atfork.
14645         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
14646         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
14647         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
14648         pthread-pi-defines.sym, structsem.sym.
14649         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
14650         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
14651         [$(subdir) = nptl] (tests): Add tst-setgetname.
14652         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
14653         * sysdeps/unix/sysv/linux/sigaction.c: Just include
14654         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
14655         [!LIBC_SIGACTION]: Remove aliases.
14656         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14657         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14658         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14659         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
14660         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14661         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
14662         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14663         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14664         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14665         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
14666         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
14667         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
14668         __libc_allocate_rtsig_private.
14669         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
14670         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
14671         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
14672         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
14673         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
14674         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
14675         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
14676         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
14677         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
14678         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
14679         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
14680         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
14681         * nptl/internaltypes.h: ... here.
14682         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
14683         * sysdeps/nptl/jmp-unwind.c: ... here.
14684         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
14685         * nptl/libc-lowlevellock.c: ... here.
14686         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
14687         * nptl/libc_multiple_threads.c: ... here.
14688         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
14689         * nptl/libc_pthread_init.c: ... here.
14690         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
14691         * nptl/lowlevelbarrier.sym: ... here.
14692         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
14693         * nptl/lowlevelcond.sym: ... here.
14694         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
14695         * nptl/lowlevellock.c: ... here.
14696         * nptl/lowlevellock.h: Moved ...
14697         * sysdeps/nptl/lowlevellock.h: ... here.
14698         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
14699         * nptl/lowlevelrobustlock.c: ... here.
14700         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
14701         * nptl/lowlevelrobustlock.sym: ... here.
14702         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
14703         * nptl/lowlevelrwlock.sym: ... here.
14704         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
14705         * nptl/pt-fork.c: ... here.
14706         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
14707         * nptl/pthread-pi-defines.sym: ... here.
14708         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
14709         * nptl/pthread_attr_getaffinity.c: ... here.
14710         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
14711         * nptl/pthread_attr_setaffinity.c: ... here.
14712         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
14713         * nptl/pthread_mutex_cond_lock.c: ... here.
14714         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14715         Update #include.
14716         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
14717         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
14718         * nptl/pthread_once.c: ... here, replacing old file.
14719         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
14720         * nptl/pthread_yield.c: ... here.
14721         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
14722         * nptl/register-atfork.c: ... here.
14723         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
14724         * nptl/sem_post.c: ... here.
14725         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
14726         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
14727         * nptl/sem_timedwait.c: ... here.
14728         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
14729         * nptl/sem_trywait.c: ... here.
14730         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
14731         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
14732         * nptl/sem_wait.c: ... here.
14733         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
14734         * nptl/structsem.sym: ... here.
14735         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
14736         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
14737         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
14738         * nptl/unregister-atfork.c: ... here.
14739         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
14740         * nptl/unwindbuf.sym: ... here.
14741         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
14742         * sysdeps/nptl/fork.c: ... here.
14743         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
14744         * sysdeps/nptl/fork.h: ... here.
14745         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
14746         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
14747         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
14748         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
14749         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
14750         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
14751         * sysdeps/unix/sysv/linux/getpid.c: ... here.
14752         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
14753         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
14754         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
14755         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
14756         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
14757         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
14758         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
14759         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
14760         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
14761         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
14762         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
14763         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
14764         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
14765         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
14766         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
14767         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
14768         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
14769         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
14770         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
14771         * sysdeps/unix/sysv/linux/raise.c: ... here.
14772         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
14773         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
14774         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
14775         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
14776         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
14777         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
14778         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
14779         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
14780         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
14781         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
14782         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
14783         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
14784         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
14785         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
14786         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
14788 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14790         * sysdeps/generic/memcopy.h: Add comment for
14791         MEMCPY_OK_FOR_FWD_MEMMOVE.
14793 2014-07-04  Will Newton  <will.newton@linaro.org>
14795         * string/memchr.c: Merge from gnulib.
14796         [_LIBC]: Remove conditionals.
14797         (__ptr_t): Remove define.
14798         (LONG_MAX_32_BITS): Likewise.
14799         (LONG_MAX): Likewise.
14800         (MEMCHR): Use ANSI prototype and optimize algorithm.
14802         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
14804 2014-07-03  Roland McGrath  <roland@hack.frob.com>
14806         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
14807         (lll_futex_timed_wait_bitset): Fix syscall argument count.
14809         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
14810         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
14811         in a bare environment with no <stdlib.h> installed.
14812         * sysdeps/nptl/configure: Regenerated.
14814         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
14816         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
14817         AC_EGREP_CPP for kernel header checks, so they only succeed if
14818         including <linux/version.h> actually works right.
14819         * sysdeps/unix/sysv/linux/configure: Regenerated.
14821         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
14822         value so it's not diagnosed as unused.
14824         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14825         thing) with "ifeq ($(subdir),rt)".
14827 2014-07-03  Richard Henderson  <rth@redhat.com>
14829         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14830         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14831         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14833         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14834         (math_force_eval): New.
14836         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14837         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14839         * sysdeps/alpha/fpu/s_round.c: Remove file.
14840         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14842         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14843         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14844         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14845         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14846         (_dl_start, print_statistics): Likewise.
14847         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14848         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14850         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14851         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14852         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14853         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14854         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14855         (HP_SMALL_TIMING_AVAIL): Define.
14856         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14857         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14858         (HP_SMALL_TIMING_AVAIL): Define.
14859         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14860         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14862         * sysdeps/aarch64/hp-timing.h: New file.
14864         * sysdeps/generic/hp-timing.h: Remove dead comment.
14865         * sysdeps/generic/hp-timing-common.h: New file.
14866         * sysdeps/alpha/hp-timing.h: Include it.
14867         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14868         * sysdeps/i386/i686/hp-timing.h: Likewise.
14869         * sysdeps/ia64/hp-timing.h: Likewise.
14870         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14871         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14872         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14873         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14874         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14875         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14876         (hp_timing_t): New.
14878         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14879         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14880         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14881         * elf/rtld.c (_dl_start_final): Likewise.
14882         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14883         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14884         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14885         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14886         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14887         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14888         (HP_TIMING_DIFF_INIT): Remove.
14889         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14890         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14891         (HP_TIMING_DIFF_INIT): Remove.
14892         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14893         * sysdeps/i386/i686/hp-timing.c: Remove file.
14894         * sysdeps/x86_64/hp-timing.c: Remove file.
14895         * sysdeps/ia64/hp-timing.c: Remove file.
14896         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14897         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14898         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14899         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14901         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14902         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14903         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14904         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14905         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14906         (HP_TIMING_ACCUM): Remove.
14907         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14908         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14909         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14911         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14912         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14913         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14914         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14915         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14916         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14917         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14918         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14920         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14922 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
14924         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14926 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14928         Sync up with gettext.
14929         * intl/loadmsgcat.c: Define O_BINARY if not defined.
14930         [_MSC_VER]: Include malloc.h
14931         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14932         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14933         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
14934         TEMP_FAILURE_RETRY.  Cast return of alloca.
14935         [!_LIBC] Call gl_rwlock_init.
14936         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14938 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14940         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14941         before checking its value.
14943 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14945         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14947         * debug/memcpy_chk.c: Don't include pagecopy.h.
14948         * debug/mempcpy_chk.c: Likewise.
14949         * string/memcpy.c: Likewise.
14950         * string/memmove.c: Likewise.
14951         * sysdeps/powerpc/memmove.c: Likewise.
14952         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
14953         definition of PAGE_COPY_FWD_MAYBE here...
14954         * sysdeps/generic/pagecopy.h: ... from here.
14955         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14957 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14958             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14960         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14961         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14962         optimizations.
14963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14964         (__libc_ifunc_impl_list): Likewise.
14965         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14966         multiarch strcat for PPC64.
14967         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14968         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14970 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14972         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14974 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14976         * intl/loadmsgcat.c: Remove declaration of
14977         get_sysdep_segment_value.
14978         (get_sysdep_segment_value): Use ISO C style.
14979         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14980         semicolon.  Fix typo and formatting in comment.
14981         (_nl_unload_domain): Use ISO C style.
14983         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14985 2014-07-02  Will Newton  <will.newton@linaro.org>
14987         * malloc/obstack.c: Merge from gnulib master.
14988         [HAVE_CONFIG_H]: Remove conditional code.
14989         [!_LIBC]: Include config.h.
14990         [!ELIDE_CODE]: Don't include inttypes.h, include
14991         stdint.h unconditionally.
14992         (print_and_abort): Mark as _Noreturn.
14993         (_obstack_allocated_p): Mark as __attribute_pure__.
14994         (obstack_free): Rename to __obstack_free.
14995         [!__attribute__]: Remove conditional code.
14996         * malloc/obstack.h: Merge from gnulib master.
14997         [__cplusplus]: Move conditional down.
14998         [!__attribute_pure__]: Define __attribute_pure__ here
14999         if it is not already defined.
15000         (_obstack_memory_used): Mark as __attribute_pure__.
15001         [!__obstack_free]: Define as obstack_free.
15002         [__GNUC__]: Remove check for ancient NeXT gcc.
15004 2014-07-02  Will Newton  <will.newton@linaro.org>
15005             Paul Eggert  <eggert@cs.ucla.edu>
15007         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15009 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15011         * resolv/gethnamaddr.c: Add comment warning that the file is
15012         not maintained.
15014 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15016         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15017         entries.
15019         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15020         entry for aio_cancel and aio_cancel64.
15021         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15022         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15023         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15024         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15025         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15026         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15027         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15028         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15029         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15030         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15031         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15032         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15033         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15035 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15037         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15038         * nptl/pthread_mutex_lock.c: Likewise.
15039         * nptl/pthread_mutex_timedlock.c: Likewise.
15040         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15042 2014-07-01  Richard henderson  <rth@redhat.com>
15044         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15045         (__isnan, __isnanl): Remove.
15046         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15048         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15050 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15052         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15054 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15056         * resolv/nss_dns/dns-host.c (getanswer_r)
15057         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15059 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15061         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15062         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15063         undefine.
15064         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15065         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15067 2014-07-01  Roland McGrath <roland@hack.frob.com>
15069         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15070         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15072         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15073         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15075         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15076         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15077         ... here.
15078         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15079         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15081         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15082         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15083         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15084         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15086         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15087         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15088         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15089         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15090         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15091         Moved ...
15092         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15093         ... here.
15094         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15095         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15096         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15097         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15098         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15099         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15100         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15101         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15102         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15103         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15104         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15105         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15106         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15107         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15108         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15109         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15110         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15111         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15112         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15113         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15114         ... here.
15115         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15116         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15117         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15118         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15119         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15120         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15121         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15122         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15124 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15126         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15127         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15128         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15129         Add sysdep.
15131 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15135 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15137         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15138         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15140         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15142         * sysdeps/arm/libm-test-ulps: Regenerated.
15144 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15145             Roland McGrath <roland@hack.frob.com>
15147         * test-skeleton.c (signal_handler): Kill the whole process group
15148         before killing the child individually.
15149         (main): Report any failure on `setpgid'.
15151 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15153         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15154         from _TLS_H to _ARM_NPTL_TLS_H.
15155         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15156         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15158 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15160         [BZ #16539]
15161         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15162         (__expm1l): Return argument unchanged when small but not
15163         subnormal.
15165         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15166         include macro name.
15167         (_FP_UNPACK_RAW_1_P): Likewise.
15168         (_FP_PACK_RAW_1): Likewise.
15169         (_FP_PACK_RAW_1_P): Likewise.
15170         (_FP_MUL_MEAT_1_wide): Likewise.
15171         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15172         (_FP_MUL_MEAT_1_hard): Likewise.
15173         (_FP_DIV_MEAT_1_imm): Likewise.
15174         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15175         (_FP_DIV_MEAT_1_udiv): Likewise.
15176         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15177         (_FP_UNPACK_RAW_2): Likewise.
15178         (_FP_UNPACK_RAW_2_P): Likewise.
15179         (_FP_PACK_RAW_2): Likewise.
15180         (_FP_PACK_RAW_2_P): Likewise.
15181         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15182         (_FP_MUL_MEAT_2_wide): Likewise.
15183         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15184         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15185         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15186         (_FP_MUL_MEAT_2_gmp): Likewise.
15187         (_FP_DIV_MEAT_2_udiv): Likewise.
15188         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15189         (_FP_FRAC_SRL_4): Likewise.
15190         (_FP_FRAC_SRST_4): Likewise.
15191         (_FP_FRAC_SRS_4): Likewise.
15192         (_FP_UNPACK_RAW_4): Likewise.
15193         (_FP_UNPACK_RAW_4_P): Likewise.
15194         (_FP_PACK_RAW_4): Likewise.
15195         (_FP_PACK_RAW_4_P): Likewise.
15196         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15197         (_FP_MUL_MEAT_4_wide): Likewise.
15198         (_FP_MUL_MEAT_4_gmp): Likewise.
15199         (umul_ppppmnnn): Likewise.
15200         (_FP_DIV_MEAT_4_udiv): Likewise.
15201         (__FP_FRAC_ADD_4): Likewise.
15202         (__FP_FRAC_SUB_3): Likewise.
15203         (__FP_FRAC_SUB_4): Likewise.
15204         (__FP_FRAC_DEC_3): Likewise.
15205         (__FP_FRAC_DEC_4): Likewise.
15206         (__FP_FRAC_ADDI_4): Likewise.
15207         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15208         (_FP_FRAC_SRL_8): Likewise.
15209         (_FP_FRAC_SRS_8): Likewise.
15211         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15212         include macro name.
15213         (FP_UNPACK_RAW_EP): Likewise.
15214         (FP_PACK_RAW_E): Likewise.
15215         (FP_PACK_RAW_EP): Likewise.
15216         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15217         (_FP_ISSIGNAN): Likewise.
15218         (_FP_ADD_INTERNAL): Likewise.
15219         (_FP_FMA): Likewise.
15220         (_FP_CMP): Likewise.
15221         (_FP_SQRT): Likewise.
15222         (_FP_TO_INT): Likewise.
15223         (_FP_FROM_INT): Likewise.
15224         (FP_EXTEND): Likewise.
15225         (_FP_DIV_MEAT_N_loop): Likewise.
15227 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15229         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15230         throughout.
15232 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15234         [BZ #17097]
15235         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15236         result with correct sign in case of exponents that produce
15237         overflow except for X very close to 1.
15239 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15241         mktime: merge #if/#ifdef usage from glibc
15242         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15243         as that works with both Glibc's and Gnulib's style.
15244         See thread starting at Siddhesh Poyarekar's bug report at:
15245         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15247 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15249         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15250         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15251         * sysdeps/tile/tilegx/memmove.c: Remove file.
15253 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15255         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15256         abi-name definition.
15257         * scripts/soversions.awk: Do not handle or generate ABI lines.
15258         * shlib-versions: Remove ABI entries.
15259         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15260         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15262 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15265         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15266         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15267         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15268         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15269         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15270         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15271         Moved ...
15272         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15273         ... here.
15274         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15275         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15276         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15277         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15278         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15279         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15280         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15281         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15282         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15283         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15285         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15286         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15287         Moved ...
15288         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15289         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15290         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15291         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15292         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15293         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15294         Moved ...
15295         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15296         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15297         Moved ...
15298         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15300         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15301         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15302         Moved ...
15303         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15304         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15305         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15306         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15307         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15308         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15309         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15310         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15311         Moved ...
15312         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15313         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15314         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15315         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15316         Moved ...
15317         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15318         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15319         Moved ...
15320         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15321         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15322         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15323         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15324         Moved ...
15325         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15326         ... here.
15327         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15328         Identical file removed.
15329         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15330         Moved ...
15331         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15332         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15333         Identical file removed.
15334         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15335         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15336         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15337         Moved ...
15338         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15339         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15340         Identical file removed.
15341         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15342         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15343         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15344         Identical file removed.
15345         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15346         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15348         Identical file removed.
15349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15350         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15351         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15352         Identical file removed.
15353         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15354         Moved ...
15355         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15356         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15357         Identical file removed.
15358         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15359         Moved ...
15360         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15361         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15362         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15363         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15364         Identical file removed.
15365         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15366         Moved ...
15367         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15368         ... here.
15369         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15370         Identical file removed.
15371         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15372         Moved ...
15373         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15374         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15375         Identical file removed.
15376         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15377         Moved ...
15378         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15379         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15380         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15381         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15382         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15383         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15384         Moved ...
15385         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15386         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15387         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15389         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15390         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15391         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15392         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15393         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15395 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15397         [BZ #17092]
15398         * nscd/nscd.c (monitor_child): Return exit status of child
15399         instead of return value from wait syscall.
15401 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15403         * configure.ac (libc_commonpagesize): Remove variable.
15404         (libc_relro_required): Likewise.
15405         (libc_cv_z_relro): Remove configure test.
15406         * configure: Regenerated.
15407         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15408         variable.
15409         (libc_relro_required): Likewise.
15410         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15411         (libc_relro_required): Likewise.
15412         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15413         (libc_relro_required): Likewise.
15414         * sysdeps/arm/preconfigure: Regenerated.
15415         * sysdeps/ia64/preconfigure: Remove file.
15416         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15417         variable.
15418         (libc_relro_required): Likewise.
15420         [BZ #16561]
15421         [BZ #16562]
15422         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15423         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15424         recompute overflowing results in original rounding mode.
15425         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15426         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15427         recompute overflowing results in original rounding mode.
15428         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15429         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15430         recompute overflowing results in original rounding mode.
15431         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15432         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15433         recompute overflowing results in original rounding mode.
15434         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15435         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15436         recompute overflowing results in original rounding mode.
15437         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15438         (libc_feholdsetround_ctx): New macro.
15439         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15440         * sysdeps/i386/fpu/libm-test-ulps: Update.
15441         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15443 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15445         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15446         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15447         corresponding .cpsetup call.
15449 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15451         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15452         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15453         * sysdeps/arm/Makefile [$(subdir) = csu]
15454         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15455         (static-only-routines): Add aeabi_read_tp here.
15456         (shared-only-routines): Add libc-aeabi_read_tp here.
15457         (CFLAGS-libc-start.c): Add -fexceptions here.
15458         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15459         (sysdep_routines, static-only-routines, shared-only-routines):
15460         Don't add to these here.
15461         (CFLAGS-libc-start.c): Likewise.
15463         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15464         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15465         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15466         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15467         * sysdeps/arm/Makefile [$(subdir) = rt]
15468         (librt-sysdep_routines, librt-shared-only-routines):
15469         Append rt-aeabi_unwind_cpp_pr1 here.
15470         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15471         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15472         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15473         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15474         Append nptl-aeabi_unwind_cpp_pr1 here.
15475         (tests): Filter out tst-cleanupx4 here.
15476         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15477         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15478         Don't do those here.
15480 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15482         * scripts/list-sources.sh: Do not handle ports specially.
15484 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15486         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15487         * sysdeps/arm/feupdateenv.c: Likewise.
15489         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15491 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15493         * manual/texinfo.tex: Update to version 2014-05-05.10 with
15494         trailing whitespace removed.
15495         * scripts/config.guess: Update to version 2014-03-23.
15496         * scripts/config.sub: Update to version 2014-05-01
15497         * scripts/install-sh: Update to version 2013-12-25.23.
15498         * scripts/move-if-change: Update from gnulib.
15500 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15502         * debug/memmove_chk.c: Remove pagecopy.h include.
15504 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
15506         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
15507         identical to gnulib mktime.
15509 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15511         * configure.ac: Do not test for machine being rs6000.  Do not test
15512         for powerpc*-*soft.
15513         * configure: Regenerated.
15515         [BZ #11505]
15516         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
15517         test.
15518         * configure: Regenerated.
15519         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
15520         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
15521         Remove configure test.
15522         * sysdeps/arm/configure: Regenerated.
15523         * sysdeps/nptl/configure.ac: Do not check
15524         libc_cv_asm_cfi_directives.
15525         * sysdeps/nptl/configure: Regenerated.
15526         * sysdeps/x86_64/nptl/configure.ac: Remove file.
15527         * sysdeps/x86_64/nptl/configure: Remove generated file.
15528         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
15529         unconditional.
15530         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
15532 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15534         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
15535         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
15536         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
15537         it is defined.
15539         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
15540         instead of whether it is defined.
15541         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
15542         * sysdeps/hppa/dl-machine.h: Likewise.
15543         * sysdeps/ia64/dl-machine.h: Likewise.
15544         * sysdeps/m68k/dl-machine.h: Likewise.
15545         * sysdeps/microblaze/dl-machine.h: Likewise.
15546         * sysdeps/mips/dl-machine.: Likewise.
15547         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15548         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15549         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15550         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15551         * sysdeps/sh/dl-machine.h: Likewise.
15552         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15553         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15554         * sysdeps/tile/dl-machine.h: Likewise.
15555         * sysdeps/x86_64/dl-machine.h: Likewise.
15557         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
15558         code.
15559         (verify_persistent_db): Likewise.
15561 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
15564         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
15565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
15566         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
15567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15568         Moved ...
15569         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15570         ... here.
15571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
15572         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
15573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
15574         Identical file removed.
15575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
15576         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
15577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
15578         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
15579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
15580         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
15581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
15582         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
15583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
15584         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
15585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15586         Moved ...
15587         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
15588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
15589         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
15590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
15591         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
15592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15593         Moved ...
15594         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
15595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
15596         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
15597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
15598         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
15599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15600         Identical file removed.
15601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
15602         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
15603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
15604         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
15605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15606         Moved ...
15607         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15608         ... here.
15609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
15610         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
15611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
15612         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
15613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
15614         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
15615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
15616         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
15617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
15618         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
15619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15620         Moved ...
15621         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
15622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
15623         Moved ...
15624         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
15625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
15626         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
15627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15628         Moved ...
15629         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
15630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
15631         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
15633         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
15634         folded into ...
15635         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
15636         * sysdeps/unix/sysv/linux/s390/Versions
15637         (libpthread: GLIBC_2.19): New version set.
15638         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
15639         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
15640         (librt: GLIBC_2.3.3): New version set.
15641         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
15642         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
15643         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
15644         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
15645         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
15646         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
15647         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
15648         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
15649         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
15650         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
15651         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
15652         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
15653         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
15654         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
15655         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
15656         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
15657         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
15658         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
15659         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
15660         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
15661         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
15662         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
15663         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
15664         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
15665         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
15666         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
15667         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
15668         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
15669         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
15670         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
15671         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
15672         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
15673         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
15674         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
15675         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
15676         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
15677         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
15678         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
15679         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
15680         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
15681         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
15682         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
15683         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
15684         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
15685         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
15687         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
15688         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
15689         (__libc_vfork): Define the function under this name.
15690         [!NOT_IN_libc] (__vfork): Make this an alias.
15691         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15692         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
15693         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
15694         (__libc_vfork): Define the function under this name.
15695         [!NOT_IN_libc] (__vfork): Make this an alias.
15696         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
15697         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
15698         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
15699         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
15700         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
15701         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15703         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
15704         code that was previously under [RESET_PID].
15705         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
15706         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
15707         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
15709         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
15710         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
15711         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
15712         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
15713         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
15714         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
15715         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
15716         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
15717         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
15718         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
15719         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
15720         Moved ...
15721         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
15722         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
15723         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
15724         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
15725         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
15726         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
15727         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
15728         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
15729         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
15730         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
15731         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
15732         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
15733         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
15734         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
15735         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
15736         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
15737         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
15738         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
15739         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
15740         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
15741         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
15742         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
15743         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
15744         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
15745         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
15746         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
15747         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
15748         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
15749         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
15751 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15753         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
15754         that was previously under [RESET_PID].
15755         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
15757 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15759         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
15760         not undefine and redefine.
15761         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
15762         [O_CLOEXEC]: Make code unconditional.
15763         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
15764         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
15765         <kernel-features.h>.
15766         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
15767         conditional variable definition.
15768         (shm_open) [O_CLOEXEC]: Make code unconditional.
15769         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
15770         code.
15772         * configure.ac (USE_REGPARMS): Don't define here.
15773         * configure: Regenerated.
15774         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
15775         * sysdeps/i386/configure: Regenerated.
15777         * nptl/createthread.c: Don't include kernel-features.h.
15778         * nptl/pthread_cancel.c: Likewise.
15779         * nptl/pthread_condattr_setclock.c: Likewise.
15780         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
15781         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
15782         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
15783         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
15784         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
15785         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
15786         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
15787         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
15788         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
15789         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
15790         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
15791         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
15792         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
15793         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
15794         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
15795         * nscd/gai.c: Likewise.
15796         * nss/nss_db/db-open.c: Likewise.
15797         * sysdeps/generic/ldsodefs.h: Likewise.
15798         * sysdeps/sh/nptl/tls.h: Likewise.
15799         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15800         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
15801         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
15802         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
15803         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
15804         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15805         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
15806         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15807         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15808         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15809         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15810         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15811         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
15812         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
15813         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
15814         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
15815         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
15816         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
15817         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
15818         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
15819         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15820         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15821         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
15822         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15823         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15824         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15825         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15826         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15827         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15828         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15829         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15830         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15831         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15832         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15833         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15834         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15835         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15836         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15837         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15838         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15839         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15840         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15841         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15842         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15843         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15844         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15845         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15846         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15847         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15848         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15849         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15850         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15851         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15852         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15853         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15854         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15855         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15856         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15879         * sysdeps/unix/sysv/linux/pread.c: Likewise.
15880         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15881         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15882         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15883         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15884         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15885         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15886         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15887         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15888         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15889         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15890         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15891         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15892         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15893         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15894         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15895         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15896         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15897         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15898         * sysdeps/unix/sysv/linux/system.c: Likewise.
15899         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15900         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15901         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15902         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15903         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15904         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15905         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15907         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15908         * configure: Regenerated.
15909         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15911         * configure.ac (base_machine): Do not set specially for particular
15912         machines here.
15913         * configure: Regenerated.
15914         * sysdeps/powerpc/preconfigure: Move machine and base_machine
15915         settings from configure.ac.
15916         * sysdeps/i386/preconfigure: New file.
15917         * sysdeps/s390/preconfigure: Likewise.
15918         * sysdeps/sh/preconfigure: Likewise.
15919         * sysdeps/sparc/preconfigure: Likewise.
15921 2014-06-25  Roland McGrath  <roland@hack.frob.com>
15923         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15924         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15925         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15926         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15927         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15928         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15929         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15930         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15931         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15932         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15933         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15934         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15935         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15936         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15937         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15938         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15939         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15940         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15941         * sysdeps/sparc/sparc64/Makefile: ... appended here.
15943         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15944         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15945         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15946         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15947         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15948         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15949         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15950         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15951         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15952         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15953         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15954         * sysdeps/sparc/sparc32/sem_post.c: ... here.
15955         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15956         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15957         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15958         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15959         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15960         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15961         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15962         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15963         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15964         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15965         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15966         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15967         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15968         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15969         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15970         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15971         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15972         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15973         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15974         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15975         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15976         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15977         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15978         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15979         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15980         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15983         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15985         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15987         Moved ...
15988         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15989         ... here.
15990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15991         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15993         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15995         Moved ...
15996         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15998         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16000         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16002         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16004         Moved ...
16005         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16007         Moved ...
16008         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16010         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16012         Moved ...
16013         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16015         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16017         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16019         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16021         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16023         Moved ...
16024         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16025         ... here.
16026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16027         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16029         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16031         Moved ...
16032         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16034         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16036         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16038         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16040         Moved ...
16041         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16043         Moved ...
16044         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16046         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16048         Moved ...
16049         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16051         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16053         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16055 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16057         * timezone/checktab.awk: Update from tzcode 2014e.
16058         * timezone/private.h: Likewise.
16059         * timezone/tzfile.h: Likewise.
16060         * timezone/zdump.c: Likewise.
16061         * timezone/zic.c: Likewise.
16063         * sysdeps/unix/sysv/linux/kernel-features.h
16064         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16065         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16066         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16067         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16068         Remove conditional code.
16070 2014-06-25  Will Newton  <will.newton@linaro.org>
16072         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16073         (_dl_arm_cap_flags): Add HWCAP2 values.
16074         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16075         (_DL_HWCAP_COUNT): Increase to 37.
16076         (_DL_HWCAP_LAST): New define.
16077         (_DL_HWCAP2_LAST): New define.
16078         (_dl_procinfo): Add support for printing
16079         AT_HWCAP2 entries.
16080         (_dl_string_hwcap): Use _dl_hwcap_string.
16082 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16086 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16088         * README: Do not mention ports directory.
16090         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16091         Remove macro.
16092         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16093         <kernel-features.h>.
16094         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16095         conditional variable definition.
16096         (__futimes): Update comment.
16097         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16098         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16100         [BZ #16560]
16101         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16102         arguments close to 0.
16103         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16104         Likewise.
16105         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16106         Likewise.
16107         * math/auto-libm-test-in: Add more tests of exp10.
16108         * math/auto-libm-test-out: Regenerated.
16109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16111         * sysdeps/unix/sysv/linux/kernel-features.h
16112         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16113         * sysdeps/unix/sysv/linux/readv.c: Do not include
16114         <kernel-features.h>.
16115         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16116         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16117         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16118         unconditional.
16119         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16120         conditional code.
16121         * sysdeps/unix/sysv/linux/writev.c: Do not include
16122         <kernel-features.h>.
16123         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16124         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16125         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16126         unconditional.
16127         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16128         conditional code.
16130 2014-06-25  Will Newton  <will.newton@linaro.org>
16132         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16133         comment changes throughout the file.  Remove checks
16134         for HAVE_*_H definitions that are not required.
16135         (__gen_tempname): Call abort if an unknown kind value is
16136         passed.
16138 2014-06-25  Andreas Schwab  <schwab@suse.de>
16140         [BZ #17086]
16141         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16142         scalbln, scalblnf, scalblnl in libc.
16144 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16146         [BZ #17086]
16147         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16148         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16149         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16151 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16153         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16154         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16155         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16156         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16157         Update #include.
16158         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16159         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16160         Update #include.
16161         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16162         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16163         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16164         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16165         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16166         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16167         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16168         * sysdeps/x86/bits/semaphore.h: ... here.
16169         * sysdeps/x86/nptl/elide.h: Moved ...
16170         * sysdeps/x86/elide.h: ... here.
16171         * sysdeps/x86_64/nptl/Implies: File removed.
16172         * sysdeps/i386/nptl/Implies: File removed.
16174 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16176         [BZ #16539]
16177         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16178         return the argument for normal arguments with exponent below -64.
16179         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16180         Likewise.
16181         * math/auto-libm-test-in: Add another test of expm1.
16182         * math/auto-libm-test-out: Regenerated.
16184         [BZ #16287]
16185         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16186         calling __erfcl for arguments at least 16.
16187         * math/auto-libm-test-in: Add more tests of erf.
16188         * math/auto-libm-test-out: Regenerated.
16190         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16191         individual architectures.
16192         * sysdeps/unix/sysv/linux/configure: Regenerated.
16193         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16194         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16195         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16196         (ldd_rewrite_script): Define variable.
16197         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16199         file.
16200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16201         generated file.
16202         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16203         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16204         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16205         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16206         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16207         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16208         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16209         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16211 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16213         [BZ #17084]
16214         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16215         Rename member __data.d to __data.__elision_data.
16217 2014-06-24  Wilco  <wdijkstr@arm.com>
16219         * NEWS: Add 16918 to fixed bug list.
16221 2014-06-24  Wilco  <wdijkstr@arm.com>
16223         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16225 2014-06-24  Wilco  <wdijkstr@arm.com>
16227         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16228         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16229         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16230         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16231         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16232         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16233         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16234         Use _FPU_MASK_RM.
16236 2014-06-24  Wilco  <wdijkstr@arm.com>
16238         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16240 2014-06-24  Wilco  <wdijkstr@arm.com>
16242         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16243         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16244         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16245         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16247 2014-06-24  Wilco  <wdijkstr@arm.com>
16249         [BZ #16918]
16250         * sysdeps/arm/feupdateenv.c (feupdateenv):
16251         Rewrite to reduce FPSCR accesses and fix return value.
16253 2014-06-24  Wilco  <wdijkstr@arm.com>
16255         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16256         Optimize to avoid unnecessary FPSCR writes.
16257         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16258         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16259         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16260         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16262 2014-06-24  Wilco  <wdijkstr@arm.com>
16264         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16265         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16266         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16267         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16268         Call libc_fetestexcept_vfp.
16269         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16270         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16271         __SOFTFP__ ifdef so that they can be built for softfp.
16273 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16275         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16276         argument type signed char.
16278         * Makerules (check-abi): Dump diff of symlist if the test
16279         fails.
16281 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16283         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16284         using abort.
16286         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16287         Remove unused variable ST.
16289 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16291         [BZ #16354]
16292         [BZ #17061]
16293         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16294         small arguments before calling __expm1.
16295         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16296         small arguments before calling __expm1f.
16297         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16298         small arguments before calling __expm1l.
16299         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16300         Likewise.
16301         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16302         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16303         spurious underflow for some cosh tests.
16304         * math/auto-libm-test-out: Regenerated.
16305         * sysdeps/i386/fpu/libm-test-ulps: Update.
16307         [BZ #17050]
16308         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16309         (__ieee754_y1): Set errno if return value overflows.
16310         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16311         (__ieee754_y1f): Set errno if return value overflows.
16312         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16313         (__ieee754_y1l): Set errno if return value overflows.
16314         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16315         (__ieee754_y1l): Set errno if return value overflows.
16316         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16317         * math/auto-libm-test-out: Regenerated.
16319         * math/gen-auto-libm-tests.c: Document use of
16320         ignore-zero-inf-sign.
16321         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16322         (input_flags): Add ignore-zero-inf-sign.
16323         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16324         * math/gen-libm-test.pl (generate_testfile): Handle
16325         ignore-zero-inf-sign.
16326         * math/auto-libm-test-in: Mark some cpow tests with
16327         ignore-zero-inf-sign and some with xfail-rounding.
16328         * math/auto-libm-test-out: Regenerated.
16329         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16330         * sysdeps/i386/fpu/libm-test-ulps: Update.
16331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16333         [BZ #16315]
16334         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16335         overflowing or underflowing operations take place with sign of
16336         result.
16337         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16338         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16339         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16340         (__ieee754_pow): Recompute overflowing and underflowing results in
16341         original rounding mode.
16342         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16343         (__powl_helper): Allow negative argument X and scale negated value
16344         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16345         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16346         overflowing or underflowing operations take place with sign of
16347         result.
16348         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16349         Include <math.h>.
16350         * math/auto-libm-test-in: Add more tests of pow.
16351         * math/auto-libm-test-out: Regenerated.
16352         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16353         (pow_tonearest_test_data): Remove.
16354         (pow_test_tonearest): Likewise.
16355         (pow_towardzero_test_data): Likewise.
16356         (pow_test_towardzero): Likewise.
16357         (pow_downward_test_data): Likewise.
16358         (pow_test_downward): Likewise.
16359         (pow_upward_test_data): Likewise.
16360         (pow_test_upward): Likewise.
16361         (main): Don't call removed functions.
16362         * sysdeps/i386/fpu/libm-test-ulps: Update.
16363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16365 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16368         Moved ...
16369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16371         Moved ...
16372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16374         Moved ...
16375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16377         Moved ...
16378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16380         File removed.
16381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16382         File removed.
16383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16384         File removed.
16385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16386         File removed.
16387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16388         File removed.
16389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16390         File removed.
16391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16392         File removed.
16393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16394         File removed.
16395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16396         File removed.
16397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16398         File removed.
16399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16400         File removed.
16401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16402         File removed.
16403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16404         Moved ...
16405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16407         Moved ...
16408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16409         ... here.
16410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16411         Moved ...
16412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16414         Moved ...
16415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16417         Moved ...
16418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16420         Moved ...
16421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16423         Moved ...
16424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16426         Moved ...
16427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16429         Moved ...
16430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16433         ... here.
16434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16435         Moved ...
16436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16438         Moved ...
16439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16440         ... here.
16441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16442         Moved ...
16443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16444         ... here.
16445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16446         Moved ...
16447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16448         ... here.
16449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16450         Moved ...
16451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16453         Moved ...
16454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16458         Moved ...
16459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16460         ... here.
16461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16462         Moved ...
16463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16464         ... here.
16465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16466         Moved ...
16467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16469         Moved ...
16470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16472         Moved ...
16473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16475         Moved ...
16476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16478         Moved ...
16479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16480         ... here.
16481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16482         Moved ...
16483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16485         Moved ...
16486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16488         Moved ...
16489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16491         Moved ...
16492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
16493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
16494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
16495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16496         Moved ...
16497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
16498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16499         Moved ...
16500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
16501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16502         Moved ...
16503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
16504         ... here.
16505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16506         Moved ...
16507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
16508         ... here.
16509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16510         Moved ...
16511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
16512         ... here.
16513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16514         Moved ...
16515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
16516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16517         Moved ...
16518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
16519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16520         Moved ...
16521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
16522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16523         Moved ...
16524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
16525         ... here.
16526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16527         Moved ...
16528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
16529         ... here.
16530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16531         Moved ...
16532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
16533         ... here.
16534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16535         Moved ...
16536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
16537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16538         Moved ...
16539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
16541 2014-06-23  Will Newton  <will.newton@linaro.org>
16542             Wilco  <wdijkstr@arm.com>
16544         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
16545         implementation.  Include get-rounding-mode.h.
16546         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
16547         [!libc_feholdsetround_noex_ctx]: Define
16548         libc_feholdsetround_noex_ctx.
16549         [!libc_feholdsetround_noexf_ctx]: Define
16550         libc_feholdsetround_noexf_ctx.
16551         [!libc_feholdsetround_noexl_ctx]: Define
16552         libc_feholdsetround_noexl_ctx.
16553         (libc_feholdsetround_ctx): New function.
16554         (libc_feresetround_ctx): New function.
16555         (libc_feholdsetround_noex_ctx): New function.
16556         (libc_feresetround_noex_ctx): New function.
16558 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16560         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
16561         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
16562         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
16563         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
16564         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
16565         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
16567         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
16568         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
16569         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
16570         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
16571         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
16572         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
16573         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
16574         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
16575         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
16576         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
16577         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
16578         Moved ...
16579         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
16580         ... here.
16581         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
16582         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
16583         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
16584         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
16585         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
16586         Moved ...
16587         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
16588         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
16589         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
16590         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
16591         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
16592         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
16593         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
16594         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
16595         Moved ...
16596         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
16597         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
16598         Moved ...
16599         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
16600         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
16601         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
16602         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
16603         Moved ...
16604         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
16605         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
16606         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
16607         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
16608         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
16609         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
16610         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
16611         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
16612         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
16613         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
16614         Moved ...
16615         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
16616         ... here.
16617         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
16618         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
16619         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
16620         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
16621         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
16622         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
16623         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
16624         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
16625         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
16626         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
16627         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
16628         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
16629         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
16630         Moved ...
16631         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
16632         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
16633         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
16634         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
16635         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
16636         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
16637         Moved ...
16638         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
16639         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
16640         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
16641         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
16642         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
16644         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
16645         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
16646         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
16647         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
16648         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
16649         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
16650         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
16651         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
16652         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
16653         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
16654         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
16655         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
16656         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16657         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
16658         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
16659         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
16660         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
16661         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
16662         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
16663         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
16664         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
16665         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
16666         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
16667         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
16668         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
16669         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
16670         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
16671         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
16673 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16675         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
16676         (FALLOC_FL_COLLAPSE_RANGE): New macro.
16677         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
16678         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
16679         (IPV6_PMTUDISC_INTERFACE): Likewise.
16680         (IPV6_PMTUDISC_OMIT): Likewise.
16682 2014-06-23  Andreas Schwab  <schwab@suse.de>
16684         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
16685         Remove unused errout label.
16687 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16689         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
16690         macro: hardware supports Vector Crypto instructions.
16692 2014-06-23  Will Newton  <will.newton@linaro.org>
16694         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
16695         rather than __builtin_expect.
16697         * elf/dl-lookup.c (undefined_msg): Remove variable.
16698         (_dl_lookup_symbol_x): Replace undefined_msg with string
16699         literal.
16701         * elf/dl-lookup.c (do_lookup_unique): New function.
16702         (do_lookup_x): Move STB_GNU_UNIQUE handling code
16703         to a separate function.
16705 2014-06-23  Andreas Schwab  <schwab@suse.de>
16707         [BZ #17079]
16708         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
16709         before reading the next line.
16711 2014-06-23  Will Newton  <will.newton@linaro.org>
16713         * test-skeleton.c (signal_handler): Use printf and %m
16714         rather than perror.  Use printf rather than fprintf to
16715         stderr.  Use puts rather than fputs to stderr.
16716         (main): Likewise.
16718 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
16720         * nscd/nscd.c (thread_info_t): Remove typedef.
16721         (thread_info): Remove variable.
16723 2014-06-21  Allan McRae  <allan@archlinux.org>
16725         * NEWS: Mention CVE-2014-4043.
16727 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16729         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
16730         * nptl/smp.h: ... here.
16732         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
16734         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
16735         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
16736         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
16737         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
16739         * nptl/allocatestack.c: Include <stack-aliasing.h>.
16740         * nptl/stack-aliasing.h: New file.
16741         * sysdeps/i386/i686/stack-aliasing.h: New file.
16742         * sysdeps/i386/i686/nptl/Makefile: File removed.
16743         * sysdeps/x86_64/stack-aliasing.h: New file.
16744         * sysdeps/x86_64/nptl/Makefile
16745         (CFLAGS-pthread_create.c): Variable removed.
16747         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
16748         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
16749         old file.
16750         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
16751         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
16752         old file.
16754 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
16756         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16757         (__ASSUME_SIGFRAME_V2): Remove macro.
16758         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
16759         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16760         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
16761         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
16762         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
16763         Declare as function.  Remove conditional macro definitions.
16764         (__default_rt_sa_restorer): Likewise.
16765         (__default_sa_restorer_v1): Remove declaration.
16766         (__default_sa_restorer_v2): Likewise.
16767         (__default_rt_sa_restorer_v1): Likewise.
16768         (__default_rt_sa_restorer_v2): Likewise.
16769         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
16770         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
16771         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
16773 2014-06-20  Roland McGrath  <roland@hack.frob.com>
16775         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
16776         (libpthread-routines): Add sysdep.
16777         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
16778         * sysdeps/unix/sysv/linux/sparc/Versions
16779         (libpthread: GLIBC_2.3.3): New version set.
16780         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
16781         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
16782         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
16783         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
16784         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
16785         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
16786         Moved ...
16787         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16788         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
16789         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
16790         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
16791         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
16792         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
16793         * sysdeps/sparc/nptl/sem_init.c: ... here.
16794         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
16795         * sysdeps/sparc/nptl/sem_post.c: ... here.
16796         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
16797         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
16798         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
16799         * sysdeps/sparc/nptl/sem_wait.c: ... here.
16800         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
16801         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
16802         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
16803         (libpthread-routines): Add cpu_relax.
16804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
16805         File removed.
16806         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
16807         (librt: GLIBC_2.3.3): New version set.
16808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
16809         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
16810         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
16811         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
16812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
16813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
16814         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
16815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
16816         Moved ...
16817         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
16818         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
16819         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
16820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
16821         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
16822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16823         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16825         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16827         Moved ...
16828         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16829         Update #include.
16830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16831         Moved ...
16832         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16833         Update #include.
16834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16835         Moved ...
16836         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16837         Update #include.
16838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16839         Moved ...
16840         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16841         Update #include.
16842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16843         Moved ...
16844         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16845         Update #include.
16846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16847         Moved ...
16848         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16849         Update #include.
16850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16851         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16853         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16854         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16855         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16857         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16858         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16859         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16861         Moved ...
16862         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16864         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16866         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16868 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16870         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16871         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16872         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16873         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16874         * nscd/nscd.c: Likewise.
16875         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16876         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16877         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16878         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16880         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16881         <kernel-features.h>.
16882         (init_mq_netlink): Remove conditional have_sock_cloexec
16883         definitions.  Remove code conditional on have_sock_cloexec < 0.
16884         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16885         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16886         * sysdeps/unix/sysv/linux/opensock.c: Do not include
16887         <kernel-features.h>.
16888         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16889         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16891 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16893         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16894         Add tests for memset_chk and memset.
16896         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16897         with AVX2_Usable.
16899 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16901         [BZ #16046]
16902         * elf/tst-dl-iter-static.c: New file.
16903         * elf/Makefile (tests-static): Add tst-dl-iter-static.
16905         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16906         error.
16908 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16910         * sysdeps/unix/sysv/linux/kernel-features.h
16911         (__ASSUME_F_GETOWN_EX): Remove macro.
16912         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16913         <kernel-features.h>.
16914         (miss_F_GETOWN_EX): Remove variable or macro.
16915         (do_fcntl): Do not check miss_F_GETOWN_EX.
16916         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16918         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16919         Remove macro.
16920         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16921         [!__ASSUME_AT_RANDOM]: Remove conditional code.
16922         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16924         * sysdeps/unix/sysv/linux/kernel-features.h
16925         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16926         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16927         [ADJ_OFFSET_SS_READ]: Make code unconditional.
16928         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16930 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
16932         [BZ #17075]
16933         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16934         Fix calculation of the symbol's value.
16935         * sysdeps/arm/tst-armtlsdescloc.c: New file.
16936         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16937         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16938         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16939         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16940         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16941         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16942         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16943         (modules-names): Add `tst-armtlsdescmod',
16944         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16945         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16946         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16947         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16948         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16949         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16950         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16951         ($(objpfx)tst-armtlsdescloc): New dependency.
16952         ($(objpfx)tst-armtlsdescextnow): Likewise.
16953         ($(objpfx)tst-armtlsdescextlazy): Likewise.
16954         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16955         TLS scheme support.
16956         * sysdeps/arm/configure: Regenerate.
16958 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
16960         * include/fcntl.h (__atfct_seterrno): Remove prototype.
16961         (__atfct_seterrno_2): Likewise.
16962         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16963         <kernel-features.h>.
16964         (__ASSUME_ATFCTS): Do not undefine and redefine.
16965         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16966         (__have_atfcts): Remove conditional definition.
16967         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16968         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16969         unreachable if [__ASSUME_ATFCTS].
16970         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16971         not undefine and redefine.
16972         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16973         <kernel-features.h>.
16974         (faccessat) [__NR_faccessat]: Make code unconditional.
16975         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16976         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16977         <kernel-features.h>.
16978         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16979         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16980         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16981         <kernel-features.h>.
16982         (fchownat) [__NR_fchownat]: Make code unconditional.
16983         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16984         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16985         <kernel-features.h>.
16986         (futimesat) [__NR_futimesat]: Make code unconditional.
16987         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16988         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16989         <kernel-features.h>.
16990         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16991         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16992         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16993         <kernel-features.h>.
16994         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16995         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16996         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16997         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16998         <kernel-features.h>.
16999         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17000         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17001         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17002         <kernel-features.h>.
17003         (linkat) [__NR_linkat]: Make code unconditional.
17004         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17005         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17006         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17007         <kernel-features.h>.
17008         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17009         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17010         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17011         <kernel-features.h>.
17012         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17013         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17014         * sysdeps/unix/sysv/linux/openat.c: Do not include
17015         <kernel-features.h>.
17016         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17017         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17018         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17019         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17020         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17021         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17022         <kernel-features.h>.
17023         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17024         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17025         result of INLINE_SYSCALL directly, not via int variable.
17026         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17027         <kernel-features.h>.
17028         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17029         (renameat) [__NR_renameat]: Make code unconditional.
17030         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17031         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17032         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17033         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17034         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17035         (__ASSUME_ATFCTS): Do not undefine and redefine.
17036         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17037         <kernel-features.h>.
17038         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17039         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17040         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17041         <kernel-features.h>.
17042         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17043         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17044         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17045         (__ASSUME_ATFCTS): Do not undefine and redefine.
17046         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17047         <kernel-features.h>.
17048         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17049         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17050         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17051         <kernel-features.h>.
17052         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17053         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17055 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17057         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17059 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17061         [BZ #17069]
17062         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17063         constructed tree before returning error.
17064         * posix/bug-regexp36.c: Expand test case.
17066 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17068         [BZ #6803]
17069         * math/libm-test.inc (scalbln_test_date):
17070         Add errno expectations.
17071         * math/w_scalblnf.c: New File.
17072         Add wrapper which checks for setting errno to ERANGE.
17073         Add weak_alias for corresponding scalbln function.
17074         * math/w_scalbln.c: Likewise.
17075         * math/w_scalblnl.c: Likewise.
17076         * math/Makefile (libm-calls): Add w_scalbln.
17077         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17078         Remove weak_alias for corresponding scalbln function.
17079         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17080         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17081         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17082         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17083         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17084         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17085         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17086         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17087         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17088         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17089         Remove long_double_symbol for scalblnl function in libm, libc.
17090         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17091         Add wrapper which checks for setting errno to ERANGE.
17092         Add long_double_symbol for scalblnl function in libm, libc.
17093         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17094         Remove long_double_symbol for scalblnl in libm.
17095         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17096         Add wrapper which checks for setting errno to ERANGE.
17097         Add long_double_symbol for scalblnl function in libm.
17098         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17099         Do not use wrapper because of own implementation.
17101 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17103         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17104         3 bytes for __pad1 for x32.
17105         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17107 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17108             H.J. Lu  <hongjiu.lu@intel.com>
17110         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17111         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17112         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17113         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17114         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17116 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17118         [BZ #17069]
17119         * posix/regcomp.c (parse_expression): Deallocate partially
17120         constructed tree before returning error.
17121         * posix/Makefile.c (tests): Add bug-regex36.
17122         (generated): Add bug-regex36.mtrace.
17123         (tests-special): Add $(objpfx)bug-regex36-mem.out
17124         (bug-regex36-ENV): New variable.
17125         ($(objpfx)bug-regex36-mem.out): New rule.
17126         * posix/bug-regex36.c: New file.
17128 2014-06-19  Will Newton  <will.newton@linaro.org>
17130         * malloc/malloc.c (systrim): If extra is zero then return
17131         early.
17133 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17135         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17137 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17139         * sysdeps/aarch64/strchr.S: New file.
17141 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17143         [BZ #17022]
17144         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17145         from arguments -2 or below.
17146         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17147         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17149 2014-06-18  Andreas Schwab  <schwab@suse.de>
17151         [BZ #17062]
17152         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17153         of a bracket expr not to run off the end of the string.
17154         * posix/Makefile (tests): Add tst-fnmatch3.
17155         * posix/tst-fnmatch3.c: New file.
17157 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17159         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17160         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17161         [$(cross-compiling) = no]: Likewise.
17162         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17163         [$(cross-compiling) = no]: Likewise.
17165 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17167         [BZ #17031]
17168         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17169         double, adjusted for any remainder from the high double.
17170         * math/libm-test.inc (nearbyint): Add tests.
17171         (rint): Likewise.
17173 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17175         * nptl/sysdeps/powerpc/Makefile: Moved ...
17176         * sysdeps/powerpc/nptl/Makefile: ... here.
17177         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17178         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17179         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17180         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17181         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17182         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17183         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17184         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17185         * nptl/sysdeps/powerpc/tls.h: Moved ...
17186         * sysdeps/powerpc/nptl/tls.h: ... here.
17188 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17190         [BZ #16681]
17191         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17192         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17193         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17194         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17195         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17196         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17197         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17198         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17199         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17201 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17203         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17205 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17207         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17208         defined operator.
17210         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17211         $TIMEOUTFACTOR.
17213 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17215         [BZ #17058]
17216         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17217         non-executed part of the test.
17219 2014-06-16  Andreas Schwab  <schwab@suse.de>
17221         * string/bits/string2.h (strdup, strndup): Update feature guard.
17223 2014-06-14  David S. Miller  <davem@davemloft.net>
17225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17227 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17229         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17230         that was previously under [RESET_PID].
17231         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17233         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17234         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17235         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17236         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17237         (__libc_vfork): New strong alias.
17238         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17240 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17242         * sysdeps/generic/elide.h: New file.
17244 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17246         * Makefile (installed-headers): Adjust path of pthread.h header.
17248 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17250         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17251         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17252         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17253         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17255         * nptl/sysdeps/s390/Makefile: Moved ...
17256         * sysdeps/s390/nptl/Makefile: ... here.
17257         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17258         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17259         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17260         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17261         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17262         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17263         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17264         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17265         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17266         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17267         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17268         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17269         * nptl/sysdeps/s390/tls.h: Moved ...
17270         * sysdeps/s390/nptl/tls.h: ... here.
17272         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17273         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17275 2014-06-13  David S. Miller  <davem@davemloft.net>
17277         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17279         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17280         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17281         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17283         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17284         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17285         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17286         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17287         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17288         Remove RESET_PID cpp guards.
17289         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17290         Remove RESET_PID cpp guards.
17291         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17293 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17295         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17296         __sp to uintptr_t.
17298 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17300         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17301         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17302         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17303         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17304         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17305         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17306         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17307         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17308         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17309         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17310         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17311         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17312         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17313         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17314         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17315         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17316         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17317         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17318         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17319         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17321         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17322         (pthread_rwlock_rdlock): Add elision.
17323         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17324         (pthread_rwlock_wrlock): Add elision.
17325         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17326         (pthread_rwlock_trywrlock): Add elision.
17327         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17328         (pthread_rwlock_tryrdlock): Add elision.
17329         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17330         (pthread_rwlock_tryrdlock): Add elision unlock.
17331         * nptl/sysdeps/pthread/pthread.h:
17332         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17333         (PTHREAD_RWLOCK_INITIALIZER,
17334         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17335         Handle new elision field.
17336         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17337         * sysdeps/arm/nptl/bits/pthreadtypes.h
17338         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17339         * sysdeps/sh/nptl/bits/pthreadtypes.h
17340         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17341         * sysdeps/tile/nptl/bits/pthreadtypes.h
17342         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17343         * sysdeps/a/nptl/bits/pthreadtypes.h
17344         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17345         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17346         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17347         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17348         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17349         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17350         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17351         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17352         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17353         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17354         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17355         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17356         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17357         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17358         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17359         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17360         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17361         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17362         (elision_init): Set try_xbegin to zero when no RTM.
17363         * sysdeps/x86/nptl/bits/pthreadtypes.h
17364         (pthread_rwlock_t): Change __pad1 to __rwelision.
17365         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17367 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17369         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17370         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17371         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17372         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17374 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17376         [BZ #16996]
17377         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17378         that the cached result has been set before returning it.
17380 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17382         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17383         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17384         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17385         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17386         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17387         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17389         * nptl/sysdeps/sparc/Makefile: Moved ...
17390         * sysdeps/sparc/nptl/Makefile: ... here.
17391         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17392         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17393         * nptl/sysdeps/sparc/tls.h: Moved ...
17394         * sysdeps/sparc/nptl/tls.h: ... here.
17395         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17396         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17397         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17398         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17399         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17400         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17401         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17402         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17403         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17404         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17405         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17406         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17407         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17408         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17409         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17410         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17411         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17412         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17413         Update #include.
17414         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17415         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17416         Update #include.
17417         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17418         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17419         Update #include.
17420         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17421         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17422         Update #include.
17424         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17426         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17427         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17429         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17430         (struct list_links): Type removed.
17431         (struct thread_node, struct timer_node): Replace struct list_links
17432         with struct list_head.
17433         (list_unlink_ip): Likewise.
17434         * sysdeps/pthread/timer_routines.c
17435         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17436         (list_append, list_insbefore): Likewise.
17437         (list_init): Function removed.
17438         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17439         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17440         * sysdeps/pthread/Makefile: ... here, new file.
17442         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17443         * sysdeps/nptl/Implies: ... here.
17444         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17445         * nptl/sysdeps/pthread/list.h: Moved ...
17446         * include/list.h: ... here.
17447         * nptl/sysdeps/pthread/createthread.c: Moved ...
17448         * nptl/createthread.c: ... here.
17449         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17450         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17451         * nptl/pt-longjmp.c: ... here.
17452         * nptl/sysdeps/pthread/Makefile: Moved ...
17453         * sysdeps/nptl/Makefile: ... here.
17454         * nptl/sysdeps/pthread/Subdirs: Moved ...
17455         * sysdeps/nptl/Subdirs: ... here.
17456         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17457         * sysdeps/nptl/aio_misc.h: ... here.
17458         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17459         * sysdeps/nptl/bits/libc-lock.h: ... here.
17460         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17461         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17462         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17463         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17464         * nptl/sysdeps/pthread/configure: Moved ...
17465         * sysdeps/nptl/configure: ... here.
17466         * nptl/sysdeps/pthread/configure.ac: Moved ...
17467         * sysdeps/nptl/configure.ac: ... here.
17468         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17469         * sysdeps/nptl/gai_misc.h: ... here.
17470         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17471         * sysdeps/nptl/librt-cancellation.c: ... here.
17472         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17473         * sysdeps/nptl/malloc-machine.h: ... here.
17474         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17475         * sysdeps/nptl/pthread-functions.h: ... here.
17476         * nptl/sysdeps/pthread/pthread.h: Moved ...
17477         * sysdeps/nptl/pthread.h: ... here.
17478         * nptl/sysdeps/pthread/setxid.h: Moved ...
17479         * sysdeps/nptl/setxid.h: ... here.
17480         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17481         * sysdeps/nptl/sigfillset.c: ... here.
17482         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17483         * sysdeps/nptl/tcb-offsets.h: ... here.
17484         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17485         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17486         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17487         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17488         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17489         * sysdeps/pthread/allocalim.h: ... here.
17490         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17491         * sysdeps/pthread/bits/sigthread.h: ... here.
17492         * nptl/sysdeps/pthread/flockfile.c: Moved ...
17493         * sysdeps/pthread/flockfile.c: ... here.
17494         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
17495         * sysdeps/pthread/ftrylockfile.c: ... here.
17496         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
17497         * sysdeps/pthread/funlockfile.c: ... here.
17498         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
17499         * sysdeps/pthread/posix-timer.h: ... here.
17500         * nptl/sysdeps/pthread/timer_create.c: Moved ...
17501         * sysdeps/pthread/timer_create.c: ... here.
17502         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
17503         * sysdeps/pthread/timer_delete.c: ... here.
17504         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
17505         * sysdeps/pthread/timer_getoverr.c: ... here.
17506         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
17507         * sysdeps/pthread/timer_gettime.c: ... here.
17508         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
17509         * sysdeps/pthread/timer_routines.c: ... here.
17510         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
17511         * sysdeps/pthread/timer_settime.c: ... here.
17512         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
17513         * sysdeps/pthread/tst-timer.c: ... here.
17514         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
17515         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
17517         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
17518         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
17520         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
17521         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
17522         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
17523         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
17524         Update #include target.
17525         * nptl/sysdeps/i386/i686/Makefile: Moved ...
17526         * sysdeps/i386/i686/nptl/Makefile: ... here.
17527         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
17528         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
17529         Update #include target.
17530         * nptl/sysdeps/i386/i686/tls.h: Moved ...
17531         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
17532         * nptl/sysdeps/i386/Makefile: Moved ...
17533         * sysdeps/i386/nptl/Makefile: ... here.
17534         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
17535         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
17536         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
17537         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
17538         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
17539         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
17540         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
17541         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
17542         * sysdeps/i386/nptl/pthreaddef.h: ... here.
17543         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
17544         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
17545         * nptl/sysdeps/i386/tls.h: Moved ...
17546         * sysdeps/i386/nptl/tls.h: ... here.
17548         * sysdeps/sh/Makefile [$(subdir) = csu]
17549         (gen-as-const-headers): Add tcb-offsets.sym.
17550         * nptl/sysdeps/sh/Makefile: File removed.
17551         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
17552         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
17553         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
17554         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
17555         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
17556         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
17557         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
17558         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
17559         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
17560         * sysdeps/sh/nptl/pthreaddef.h: ... here.
17561         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
17562         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
17563         * nptl/sysdeps/sh/tls.h: Moved ...
17564         * sysdeps/sh/nptl/tls.h: ... here.
17565         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
17566         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
17567         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
17568         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
17569         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
17570         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
17571         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
17572         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
17573         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
17574         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
17575         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
17576         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
17577         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
17578         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
17579         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
17580         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
17581         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
17582         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
17583         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
17584         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
17585         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
17586         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
17587         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
17588         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
17589         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
17590         Moved ...
17591         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
17592         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
17593         Moved ...
17594         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
17595         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
17596         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
17597         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
17598         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
17599         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
17600         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
17601         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
17602         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
17603         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
17604         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
17605         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
17606         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
17607         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
17608         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
17609         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
17610         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
17611         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
17612         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
17614 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17616         * posix/spawn_faction_addopen.c: Include string.h.
17618 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17620         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
17621         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
17622         * nptl/sysdeps/x86_64/Makefile: Moved ...
17623         * sysdeps/x86_64/nptl/Makefile: ... here.
17624         * nptl/sysdeps/x86_64/configure: Moved ...
17625         * sysdeps/x86_64/nptl/configure: ... here.
17626         * nptl/sysdeps/x86_64/configure.ac: Moved ...
17627         * sysdeps/x86_64/nptl/configure.ac: ... here.
17628         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
17629         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
17630         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
17631         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
17632         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
17633         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
17634         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
17635         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
17636         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
17637         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
17638         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
17639         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
17640         * nptl/sysdeps/x86_64/tls.h: Moved ...
17641         * sysdeps/x86_64/nptl/tls.h: ... here.
17642         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
17643         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
17644         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
17645         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
17647         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
17649 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17653 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
17655         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
17656         type.
17657         [POSIX] (off_t): Likewise.
17658         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
17659         [POSIX] (S_ISBLK): Require macro.
17660         [POSIX] (S_ISCHR): Likewise.
17661         [POSIX] (S_ISDIR): Likewise.
17662         [POSIX] (S_ISFIFO): Likewise.
17663         [POSIX] (S_ISREG): Likewise.
17664         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
17665         optional-macro.
17666         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
17667         type.
17668         [POSIX] (time_t): Likewise.
17669         [POSIX] (timer_t): Likewise.
17671 2014-06-11  Florian Weimer  <fweimer@redhat.com>
17673         [BZ #17048]
17674         * posix/spawn_int.h (struct __spawn_action): Make the path string
17675         non-const to support deallocation.
17676         * posix/spawn_faction_addopen.c
17677         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
17678         * posix/spawn_faction_destroy.c
17679         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
17680         path in all spawn_do_open actions.
17681         * posix/tst-spawn.c (do_test): Exercise the copy operation in
17682         posix_spawn_file_actions_addopen.
17684 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
17686         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
17687         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
17688         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
17689         conditional code always true.
17690         (__libc_vfork): New alias.
17692 2014-06-11  Roland McGrath  <roland@hack.frob.com>
17694         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17695         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
17697         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
17699         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17700         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
17702         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17703         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
17705         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17706         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
17708 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17710         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17711         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
17712         multiarch strcmp for PPC64.
17713         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
17714         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
17715         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
17716         multiarch optimizations.
17717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17718         (__libc_ifunc_impl_list): Likewise.
17720 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17722         * benchtests/scripts/validate_benchout.py: New script.
17723         * benchtests/Makefile (bench-func): Call it.
17724         * benchtests/scripts/benchout.schema.json: New file.
17726 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
17728         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
17729         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
17730         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
17731         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
17732         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
17733         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17734         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
17735         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
17736         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
17737         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
17738         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
17739         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
17740         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
17741         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
17742         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
17743         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
17744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
17745         Moved ...
17746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
17747         ... here.
17748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
17749         Moved ...
17750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
17751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
17752         Moved ...
17753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
17754         ... here.
17755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
17756         Moved ...
17757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
17758         ... here.
17759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
17760         Moved ...
17761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
17762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
17763         Moved ...
17764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
17765         ... here.
17766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
17767         Moved ...
17768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
17769         ... here.
17770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
17771         Moved ...
17772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
17773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
17774         Moved ...
17775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
17776         ... here.
17777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
17778         Moved ...
17779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
17780         ... here.
17781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
17782         Moved ...
17783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
17784         ... here.
17785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
17786         Moved ...
17787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
17788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
17789         Moved ...
17790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
17791         ... here.
17792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
17793         Moved ...
17794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
17795         ... here.
17796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
17797         Moved ...
17798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
17799         ... here.
17800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
17801         Moved ...
17802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
17803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
17804         Moved ...
17805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
17806         ... here.
17807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
17808         Moved ...
17809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
17810         ... here.
17811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
17812         Moved ...
17813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
17814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
17815         Moved ...
17816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
17817         ... here.
17818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
17819         Moved ...
17820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
17821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17822         Moved ...
17823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17825         Moved ...
17826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17827         ... here.
17828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17829         Moved ...
17830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17831         ... here.
17832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17833         Moved ...
17834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17835         ... here.
17836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17837         Moved ...
17838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17840         Moved ...
17841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17842         ... here.
17843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17844         Moved ...
17845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17846         ... here.
17847         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17848         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17849         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17850         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17851         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17852         Moved ...
17853         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17854         ... here.
17855         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17856         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17857         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17858         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17859         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17860         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17861         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17862         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17863         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17864         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17865         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17866         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17867         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17868         Moved ...
17869         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17870         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17871         Moved ...
17872         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17873         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17874         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17875         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17876         Moved ...
17877         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17878         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17879         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17880         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17881         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17882         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17883         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17885 2014-06-10  Wilco  <wdijkstr@arm.com>
17887         * math/test-fenv-return.c: New file.
17888         * math/Makefile: Add new test test-fenv-return.
17890 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
17892         [BZ #17042]
17893         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17894         when x - 1 is zero.
17895         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17896         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17897         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17898         0.0L for an argument of 1.0L.
17899         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17900         Likewise.
17901         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17902         value when x - 1 is zero.
17903         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17904         * sysdeps/i386/fpu/libm-test-ulps: Update.
17905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17907 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
17909         [BZ #15119]
17910         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17912 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17914         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17915         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17917 2014-06-09  Roland McGrath  <roland@hack.frob.com>
17919         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17920         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17922         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17923         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17925         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17926         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17928         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17929         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17931         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17932         if not already defined.
17933         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17934         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17935         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17936         (TLS_INIT_TP): Use it.
17937         (TLS_DEFINE_INIT_TP): New macro.
17938         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17940 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
17942         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17943         constant.
17944         [POSIX] (IXANY): Likewise.
17945         [POSIX] (OLCUC): Likewise.
17946         [POSIX || POSIX2008] (CBAUD): Do not allow.
17947         [POSIX || POSIX2008] (DEFECHO): Likewise.
17948         [POSIX || POSIX2008] (ECHOCTL): Likewise.
17949         [POSIX || POSIX2008] (ECHOKE): Likewise.
17950         [POSIX || POSIX2008] (ECHOPRT): Likewise.
17951         [POSIX || POSIX2008] (EXTA): Likewise.
17952         [POSIX || POSIX2008] (EXTB): Likewise.
17953         [POSIX || POSIX2008] (FLUSHO): Likewise.
17954         [POSIX || POSIX2008] (LOBLK): Likewise.
17955         [POSIX || POSIX2008] (PENDIN): Likewise.
17956         [POSIX || POSIX2008] (SWTCH): Likewise.
17957         [POSIX || POSIX2008] (VDISCARD): Likewise.
17958         [POSIX || POSIX2008] (VDSUSP): Likewise.
17959         [POSIX || POSIX2008] (VLNEXT): Likewise.
17960         [POSIX || POSIX2008] (VREPRINT): Likewise.
17961         [POSIX || POSIX2008] (VSTATUS): Likewise.
17962         [POSIX || POSIX2008] (VWERASE): Likewise.
17963         (B*): Change to B[0123456789]*.
17964         * conform/data/time.h-data [POSIX || UNIX98]
17965         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17966         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17967         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17968         [POSIX] (tm_*): Do not allow.
17970 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17972         * Makefile (install): Don't set LANGUAGE.
17973         * Makefile.in (install): Likewise.
17974         * assert/Makefile (test-assert-ENV): Remove variable.
17975         (test-assert-perr-ENV): Likewise.
17976         * elf/Makefile (neededtest4-ENV): Likewise.
17977         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17978         [$(cross-compiling) = no]: Don't set LANGUAGE.
17979         * io/ftwtest-sh (LANG): Remove variable.
17980         * libio/Makefile (tst-widetext-ENV): Likewise.
17981         * manual/install.texi (Running make install): Don't refer to
17982         environment settings for make install.
17983         * INSTALL: Regenerated.
17984         * nptl/tst-tls6.sh: Don't set LANG.
17985         * posix/globtest.sh (LANG): Remove variable.
17986         * string/Makefile (tester-ENV): Likewise.
17987         (inl-tester-ENV): Likewise.
17988         (noinl-tester-ENV): Likewise.
17989         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17990         [$(cross-compiling) = no]: Don't set LANGUAGE.
17991         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17992         without explicit environment settings.
17994 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17996         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17997         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17998         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17999         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18001 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18003         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18004         other files in the crypt directory.
18005         * crypt/crypt.c: Remove duplicate includes.
18006         * crypt/crypt-entry.c: Likewise.
18007         * crypt/crypt_util.c: Likewise.
18009 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18011         * Makeconfig (run-program-env): New variable.
18012         (run-program-prefix-before-env): Likewise.
18013         (run-program-prefix-after-env): Likewise.
18014         (run-program-prefix): Define in terms of new variables.
18015         (built-program-cmd-before-env): New variable.
18016         (built-program-cmd-after-env): Likewise.
18017         (built-program-cmd): Define in terms of new variables.
18018         (test-program-prefix-before-env): New variable.
18019         (test-program-prefix-after-env): Likewise.
18020         (test-program-prefix): Define in terms of new variables.
18021         (test-program-cmd-before-env): New variable.
18022         (test-program-cmd-after-env): Likewise.
18023         (test-program-cmd): Define in terms of new variables.
18024         * Rules (make-test-out): Use $(run-program-env).
18025         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18026         (help): Do not mention environment variables.  Mention
18027         --timeoutfactor option.
18028         (timeoutfactor): New variable.
18029         (blacklist_exports): Remove function.
18030         (exports): Remove variable.
18031         (command): Do not include ${exports}.
18032         * manual/install.texi (Configuring and compiling): Do not mention
18033         test wrappers preserving environment variables.  Mention that last
18034         assignment to a variable must take precedence.
18035         * INSTALL: Regenerated.
18036         * benchtests/Makefile (run-bench): Use $(run-program-env).
18037         * catgets/Makefile ($(objpfx)test1.cat): Use
18038         $(built-program-cmd-before-env), $(run-program-env) and
18039         $(built-program-cmd-after-env).
18040         ($(objpfx)test2.cat): Do not specify environment variables
18041         explicitly.
18042         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18043         $(run-program-env) and $(built-program-cmd-after-env).
18044         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18045         $(run-program-env) and $(test-program-cmd-after-env).
18046         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18047         explicitly.
18048         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18049         run_program_env and test_program_cmd_after_env arguments.
18050         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18051         * elf/tst-pathopt.sh: Use run_program_env argument.
18052         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18053         $(test-wrapper-env) and $(run-program-env).
18054         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18055         run_program_env arguments.
18056         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18057         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18058         $(test-program-prefix-before-env), $(run-program-env) and
18059         $(test-program-prefix-after-env).
18060         ($(objpfx)tst-gettext2.out): Likewise.
18061         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18062         run_program_env and test_program_prefix_after_env arguments.
18063         * intl/tst-gettext2.sh: Likewise.
18064         * intl/tst-gettext4.sh: Do not set environment variables
18065         explicitly.
18066         * intl/tst-gettext6.sh: Likewise.
18067         * intl/tst-translit.sh: Likewise.
18068         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18069         $(test-program-prefix-before-env), $(run-program-env) and
18070         $(test-program-prefix-after-env).
18071         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18072         run_program_env and test_program_prefix_after_env arguments.
18073         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18074         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18075         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18076         explicitly with each use of ${test_wrapper_env}.
18077         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18078         $(test-program-prefix-before-env), $(run-program-env) and
18079         $(test-program-prefix-after-env).
18080         * posix/tst-getconf.sh: Do not set environment variables
18081         explicitly.
18082         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18083         run_program_env and test_program_prefix_after_env arguments.
18084         * stdio-common/tst-printf.sh: Do not set environment variables
18085         explicitly.
18086         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18087         $(test-program-prefix-before-env), $(run-program-env) and
18088         $(test-program-prefix-after-env).
18089         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18090         run_program_env and test_program_prefix_after_env arguments.
18091         Split $test calls into $test_pre and $test.
18092         * timezone/Makefile (build-testdata): Use
18093         $(built-program-cmd-before-env), $(run-program-env) and
18094         $(built-program-cmd-after-env).
18096 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18098         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18099         strlen for non SHARED builds.
18101 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18103         * nptl/allocatestack.c (check_list): Inlined function...
18104         (__reclaim_stacks): ... here.
18106 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18108         [BZ #15698]
18109         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18110         memory overrun.
18112 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18114         * Rules (make-test-out): Include
18115         LOCPATH=$(common-objpfx)localedata in default environment.
18116         * debug/Makefile (tst-chk1-ENV): Remove variable.
18117         (tst-chk2-ENV): Likewise.
18118         (tst-chk3-ENV): Likewise.
18119         (tst-chk4-ENV): Likewise.
18120         (tst-chk5-ENV): Likewise.
18121         (tst-chk6-ENV): Likewise.
18122         (tst-lfschk1-ENV): Likewise.
18123         (tst-lfschk2-ENV): Likewise.
18124         (tst-lfschk3-ENV): Likewise.
18125         (tst-lfschk4-ENV): Likewise.
18126         (tst-lfschk5-ENV): Likewise.
18127         (tst-lfschk6-ENV): Likewise.
18128         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18129         (tst-iconv7-ENV): Likewise.
18130         * intl/Makefile (LOCPATH-ENV): Likewise.
18131         (tst-codeset-ENV): Likewise.
18132         (tst-gettext3-ENV): Likewise.
18133         (tst-gettext5-ENV): Likewise.
18134         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18135         (tst-fopenloc-ENV): Likewise.
18136         (tst-fgetws-ENV): Remove variable.
18137         (tst-ungetwc1-ENV): Likewise.
18138         (tst-ungetwc2-ENV): Likewise.
18139         (bug-ungetwc2-ENV): Likewise.
18140         (tst-swscanf-ENV): Likewise.
18141         (bug-ftell-ENV): Likewise.
18142         (tst-fgetwc-ENV): Likewise.
18143         (tst-fseek-ENV): Likewise.
18144         (tst-ftell-partial-wide-ENV): Likewise.
18145         (tst-ftell-active-handler-ENV): Likewise.
18146         (tst-ftell-append-ENV): Likewise.
18147         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18148         (tst-regexloc-ENV): Likewise.
18149         (bug-regex1-ENV): Likewise.
18150         (tst-regex-ENV): Likewise.
18151         (tst-regex2-ENV): Likewise.
18152         (bug-regex5-ENV): Likewise.
18153         (bug-regex6-ENV): Likewise.
18154         (bug-regex17-ENV): Likewise.
18155         (bug-regex18-ENV): Likewise.
18156         (bug-regex19-ENV): Likewise.
18157         (bug-regex20-ENV): Likewise.
18158         (bug-regex22-ENV): Likewise.
18159         (bug-regex23-ENV): Likewise.
18160         (bug-regex25-ENV): Likewise.
18161         (bug-regex26-ENV): Likewise.
18162         (bug-regex30-ENV): Likewise.
18163         (bug-regex32-ENV): Likewise.
18164         (bug-regex33-ENV): Likewise.
18165         (bug-regex34-ENV): Likewise.
18166         (bug-regex35-ENV): Likewise.
18167         (tst-rxspencer-ENV): Likewise.
18168         (tst-rxspencer-no-utf8-ENV): Likewise.
18169         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18170         (tst-sscanf-ENV): Likewise.
18171         (tst-swprintf-ENV): Likewise.
18172         (tst-swscanf-ENV): Likewise.
18173         (test-vfprintf-ENV): Likewise.
18174         (scanf13-ENV): Likewise.
18175         (bug14-ENV): Likewise.
18176         (tst-grouping-ENV): Likewise.
18177         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18178         (tst-strtod3-ENV): Likewise.
18179         (tst-strtod4-ENV): Likewise.
18180         (tst-strtod5-ENV): Likewise.
18181         (testmb2-ENV): Likewise./
18182         * string/Makefile (tst-strxfrm-ENV): Likewise.
18183         (tst-strxfrm2-ENV): Likewise.
18184         (bug-strcoll1-ENV): Likewise.
18185         (test-strcasecmp-ENV): Likewise.
18186         (test-strncasecmp-ENV): Likewise.
18187         * time/Makefile (tst-strptime-ENV): Likewise.
18188         (tst-ftime_l-ENV): Likewise.
18189         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18190         (tst-mbrtowc-ENV): Likewise.
18191         (tst-wcrtomb-ENV): Likewise.
18192         (tst-mbrtowc2-ENV): Likewise.
18193         (tst-c16c32-1-ENV): Likewise.
18194         (tst-mbsnrtowcs-ENV): Likewise.
18196 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18198         * manual/resource.texi (How to get information about the memory
18199         subsystem?): Fix typo.
18200         Reported by Peon de la Parra Ivan <peon@keba.com>
18202 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18204         [BZ #16882]
18205         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18206         (pthread_spin_lock): Branch out of spin loop to proper location.
18207         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18208         (pthread_spin_lock): Likewise.
18210         * nptl/tst-spin4.c: New test.
18211         * nptl/Makefile (tests): Add tst-spin4.
18213 2014-06-03  Andreas Schwab  <schwab@suse.de>
18215         [BZ #15946]
18216         * resolv/res_send.c (send_dg): Reload file descriptor after
18217         calling reopen.
18219 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18221         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18223 2014-06-03  Richard Henderson  <rth@redhat.com>
18225         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18226         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18227         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18228         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18229         in the SAVE_PID block.
18230         (__libc_vfork): New alias.
18231         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18233         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18234         child in registers, not on the stack.  Remove RESET_PID conditionals.
18235         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18237 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18239         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18241 2014-06-03  Wilco  <wdijkstr@arm.com>
18243         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18244         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18245         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18246         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18247         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18248         Likewise.
18250 2014-06-03  Wilco  <wdijkstr@arm.com>
18252         * sysdeps/aarch64/fpu/math_private.h
18253         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18254         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18255         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18256         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18257         Fix declarations.
18259 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18261         * crypt/crypt-private.h: Include ufc-crypt.h.
18262         (__b64_from_24bit): Declare extern.
18263         * crypt/crypt_util.c(__b64_from_24bit): New function.
18264         (b64t): New static const variable.
18265         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18266         (b64t): Remove variable.
18267         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18268         * crypt/sha256-crypt.c: Include crypt-private.h.
18269         (b64t): Remove variable.
18270         (__sha256_crypt_r): Remove b64_from_24bit and replace
18271         with __b64_from_24bit.
18272         * crypt/sha512-crypt.c: Likewise.
18274 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18276         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18277         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18278         Label the code __libc_vfork rather than __vfork.
18279         [!NOT_IN_libc] (vfork): Define as weak alias.
18280         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18281         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18282         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18284 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18286         * malloc/malloc.c (malloc_info): Fix format specifier for
18287         n_mmaps.
18289 2014-06-02  Wilco  <wdijkstr@arm.com>
18291         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18292         FPCR write.
18294 2014-06-02  Wilco  <wdijkstr@arm.com>
18296         [BZ #17009]
18297         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18298         Rewrite to reduce FPCR/FPSR accesses.
18300 2014-06-01  David S. Miller  <davem@davemloft.net>
18302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18304 2014-05-31  David S. Miller  <davem@davemloft.net>
18306         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18307         to occur in round to nearest mode when |x| >= 2.0
18309 2014-05-30  Richard Henderson  <rth@twiddle.net>
18311         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18312         (PSEUDO_RET_NOERRNO): Remove.
18313         (ret): Don't redefine.
18314         (ret_NOERRNO): Define in terms of ret.
18315         (ret_ERRVAL): Likewise.
18317         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18318         use of PSEUDO_RET; perform the error check directly.
18320 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18322         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18323         with __int128_t.
18325 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18327         * malloc/malloc (malloc_info): Fix formatting.
18329 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18330             Roland McGrath  <roland@hack.frob.com>
18332         * malloc/malloc (malloc_info): Also print mmapped statistics.
18334 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18336         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18337         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18339 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18341         * malloc/malloc.c (malloc_info): Inline mi_arena.
18343 2014-05-29  Richard Henderson  <rth@twiddle.net>
18345         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18346         Remove comma before expanding ASM_ARGS_##nr.
18347         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18348         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18349         of ASM_ARGS_##nr.
18350         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18351         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18352         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18353         (ASM_ARGS_1): Add leading comma.
18355         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18356         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18357         to __errno_location.
18358         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18359         Remove the expected plt for __errno_location.
18361         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18362         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18363         call to __read_tp.
18365         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18366         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18367         it and break it down.
18368         (DOCARGS_0, DOCARGS_1): Do nothing.
18369         (DOCARGS_2): Update to store into the new stack frame.
18370         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18371         (UNDOCARGS_1): Update to restore from the new stack frame.
18372         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18373         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18375         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18376         (SINGLE_THREAD_P): New parameter for result regno.
18377         (PSEUDO): Update to match; use cbz instead of beq.
18379         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18380         Use ENTRY to define the _nocancel entry point.  Share the syscall
18381         and syscall error check paths with the cancel path.
18382         (PSEUDO_END): New.
18384         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18385         whitespace; tabs before and after asm mnemonics.
18387 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18389         [BZ #15132]
18390         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18391         Call fstat64 or stat64 internally, depending on arguments passed.
18392         Replace stat buffer argument with file descriptor argument.
18393         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18394         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18395         Pass fd to __internal_statvfs instead of calling fstat64.
18396         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18397         Pass fd to __internal_statvfs64 instead of calling fstat64.
18398         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18399         Pass -1 to __internal_statvfs instead of calling stat64.
18400         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18401         Pass -1 to __internal_statvfs64 instead of calling stat64.
18403 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18405         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18406         that was previously under [RESET_PID].
18407         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18409         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18410         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18412 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18414         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18416         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18417         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18419 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18421         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18423 2014-05-27  Andreas Schwab  <schwab@suse.de>
18425         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18426         TLS_INIT_TP macro.
18427         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18428         * elf/rtld.c (init_tls, dl_main): Likewise.
18429         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18430         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18431         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18432         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18433         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18434         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18435         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18436         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18437         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18438         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18439         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18440         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18441         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18442         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18443         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18444         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18445         * sysdeps/generic/tls.h: Update description.
18447 2014-05-27  Will Newton  <will.newton@linaro.org>
18449         [BZ #16990]
18450         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18451         and restore r2 rather than just restoring.
18453 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18455         [BZ #16724]
18456         * libio/tst-ftell-append.c: New test case.
18457         * libio/Makefile (tests): Add test case.
18458         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18459         append mode.
18460         * libio/wfileops.c (do_ftell_wide): Likewise.
18462 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18466         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18467         ...
18468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18470         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18471         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18472         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18473         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18474         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18475         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18476         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18477         Moved ...
18478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18479         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18480         Moved ...
18481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18482         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18483         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18484         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18485         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18486         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18487         ...
18488         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18489         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18490         Moved ...
18491         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18492         here.
18493         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
18494         ...
18495         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
18496         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
18497         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
18499         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
18500         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
18501         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
18502         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
18504         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
18505         merge into ...
18506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
18507         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
18508         ...
18509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
18510         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
18511         ...
18512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
18513         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18514         Moved ...
18515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
18516         here.
18517         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18518         Moved ...
18519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
18520         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18521         Moved ...
18522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
18524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
18525         conditional [RESET_PID].
18526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
18527         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
18528         removed.
18529         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
18530         removed.
18532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
18533         <tcb-offsets.h>.
18534         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18535         (__libc_vfork): New strong alias.
18536         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
18537         removed.
18538         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
18539         Removed.
18541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
18542         <tcb-offsets.h>.
18543         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
18544         (__libc_vfork): New strong alias.
18545         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
18546         removed.
18547         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
18548         removed.
18550 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
18552         * malloc/malloc.c (mi_arena): New function.
18553         (malloc_info): Remove nested function mi_arena. Call non-nosted
18554         function mi_arena.
18556 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18558         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
18559         by insrwi.
18560         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
18561         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
18562         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
18563         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
18564         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
18565         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
18566         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
18568 2014-05-26  Andreas Schwab  <schwab@suse.de>
18570         [BZ #16984]
18571         * locale/programs/repertoire.c (repertoire_read): Add slash
18572         between I18NPATH element and file name.
18573         * locale/programs/locfile.c (locfile_read): Likewise.
18575 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18577         * nptl/pthread_mutexattr_settype.c
18578         (__pthread_mutexattr_settype):
18579         Disable lock elision for PTHREAD_MUTEX_NORMAL.
18581 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18583         * nptl/tst-mutex5 (do_test):
18584         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
18586 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18588         * benchtests/README: Document 'init' directive.
18589         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
18590         BENCH_INIT.
18591         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
18592         (parse_file): Recognize 'init' directive.
18594 2014-05-26  Kyle McMartin  <kyle@redhat.com>
18596         [BZ #16796]
18597         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18598         alignment of struct pthread.
18600 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18602         [BZ #16878]
18603         * nscd/netgroupcache.c (addgetnetgrentX): Look for
18604         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18605         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
18606         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
18608 2014-05-25  Richard Henderson  <rth@twiddle.net>
18610         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18611         (SINGLE_THREAD_P_PIC): Remove.
18612         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
18613         (SINGLE_THREAD_P_PIC): Remove.
18615         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
18616         branch to syscall error ...
18617         (PSEUDO): ... here.
18618         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
18619         from __local_syscall_error to .Lsyscall_error.
18620         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
18621         (SYSCALL_ERROR): Update label name.
18623         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18624         Do not use DOARGS/UNDOARGS.
18625         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
18626         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
18627         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
18628         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
18629         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
18631         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
18632         block comment.
18634         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
18635         define if !NOT_IN_libc.
18636         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
18637         define with non-default symbol versions.
18639 2014-05-23  Richard Henderson  <rth@twiddle.net>
18641         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
18642         (vfork, __vfork): Define via compat_symbol.
18644         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
18645         [!HAVE_IFUNC] (vfork_compat): Remove.
18646         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
18648 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18650         [BZ #16978]
18651         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
18652         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
18653         variable.
18655 2014-05-23  Richard Henderson  <rth@twiddle.net>
18657         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
18658         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
18659         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
18660         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
18662         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
18663         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
18664         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
18665         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
18666         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
18667         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
18668         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
18669         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
18670         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
18671         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18672         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
18673         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
18674         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
18675         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
18676         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
18677         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
18678         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
18679         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
18680         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
18681         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
18682         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
18683         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
18684         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
18685         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
18686         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
18687         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
18688         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
18689         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
18690         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
18691         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
18692         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
18693         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
18694         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
18695         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
18696         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
18697         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
18698         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
18699         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
18700         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
18701         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
18702         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
18703         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
18704         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
18705         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
18706         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
18707         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
18708         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
18709         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
18710         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
18711         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
18712         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
18713         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
18714         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
18715         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
18716         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
18717         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
18719         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
18720         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
18721         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
18722         before exiting on error.
18723         (__libc_vfork): New strong alias.
18724         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
18725         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
18727         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
18728         that was previously under [RESET_PID].
18729         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
18731         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
18733 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
18735         [BZ #16977]
18736         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
18737         value when x - 1 is zero.
18738         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
18739         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18740         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
18741         0.0L for an argument of 1.0L.
18742         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
18743         Likewise.
18744         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
18745         value when x - 1 is zero.
18746         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
18747         * sysdeps/i386/fpu/libm-test-ulps: Update.
18748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18750 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18752         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
18753         alphasort and versionsort.
18755 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18757         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
18758         macro.
18759         [copysignf]: Likewise.
18761 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18763         * crypt/md5-crypt.c: Fix formatting.
18765 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18767         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
18768         (b64_from_24bit): New function.
18770 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18772         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
18773         libc_hidden_builtin_def to ifunc.
18774         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18775         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
18777 2014-05-21  Roland McGrath  <roland@hack.frob.com>
18779         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
18780         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
18782 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
18784         * nscd/Depend (linuxthreads): Remove.
18785         (nptl): Add.
18786         * resolv/Depend (linuxthreads): Remove.
18787         * rt/Depend (linuxthreads): Remove.
18789         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
18790         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
18791         $(common-objpfx)elf/.
18792         (link-libc-before-gnulib): Likewise.
18793         (elfobjdir): Remove variable.
18794         * Makefile (install): Use $(elf-objpfx) instead of
18795         $(common-objpfx)elf/.
18796         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
18797         $(elfobjdir)/.
18798         (link-libc-deps): Likewise.
18799         ($(common-objpfx)libc.so): Likewise.
18800         ($(common-objpfx)linkobj/libc.so): Likewise.
18801         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
18802         instead of $(common-objpfx)elf/.
18803         (symbolic-link-list): Likewise.
18804         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18805         [$(cross-compiling) = no]: Likewise.
18806         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
18807         $(elfobjdir)/.
18808         (static-gnulib-arch): Likewise.
18809         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18810         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
18811         $(common-objpfx)elf/.
18813 2014-05-21  Richard Henderson  <rth@redhat.com>
18815         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18816         (SINGLE_THREAD_P): Use the correct width load.  Fold
18817         into the ldr offset.
18819         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
18820         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
18822 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
18824         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18825         (libgcc_s_resume): Use __attribute_used__.
18826         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18827         Likewise.
18829 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18831         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18832         optimization when used with float constants.
18834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18836 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
18838         [BZ #16915]
18839         * locale/nl_langinfo_l.c: Make direct reference to every
18840         _nl_current_CATEGORY symbol.
18841         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18842         (tests-static): Add tst-langinfo-static.
18843         (tests-special): Add tst-langinfo-static.out.
18844         ($(objpfx)tst-langinfo.out): Redirect output.
18845         ($(objpfx)tst-langinfo-static.out): New.
18846         * localedata/tst-langinfo.sh: Send output to stdout.
18847         * localedata/tst-langinfo-static.c: New file.
18849         [BZ #16965]
18850         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18851         when the shift amount is modulo the limb size.
18853 2014-05-20  Richard Henderson  <rth@redhat.com>
18855         [BZ #16967]
18856         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18857         Change type of sa_flags from unsigned int to int.
18859         [BZ #16966]
18860         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18862         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18864 2014-05-20  Will Newton  <will.newton@linaro.org>
18866         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18867         Test the return value of the system call in the nocancel case.
18869 2014-05-20  Will Newton  <will.newton@linaro.org>
18870             Yvan Roux  <yvan.roux@linaro.org>
18872         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18873         #include of asm/ptrace.h.
18874         (PTRACE_GET_THREAD_AREA): Remove #undef.
18875         (PTRACE_GETHBPREGS): Likewise.
18876         (PTRACE_SETHBPREGS): Likewise.
18877         (struct user_regs_struct): New structure.
18878         (struct user_fpsimd_struct): New structure.
18879         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18880         #include of asm/ptrace.h and second #include of sys/user.h.
18881         (PTRACE_GET_THREAD_AREA): Remove #undef.
18882         (PTRACE_GETHBPREGS): Likewise.
18883         (PTRACE_SETHBPREGS): Likewise.
18884         (ELF_NGREG): Use new struct user_regs_struct.
18885         (elf_fpregset_t): Use new struct user_fpsimd_struct.
18887 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18889         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18890         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18892 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
18894         [BZ #16958]
18895         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18896         membar to avoid block loads/stores to overlap previous stores.
18898 2014-05-17  Richard Henderson  <rth@redhat.com>
18900         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18901         Create the __##syscall_name##_nocancel entry point.
18902         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18903         Remove; let the sysdep-cancel.h code create it.
18905 2014-05-17  David S. Miller  <davem@davemloft.net>
18907         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18908         Protect with __USE_GNU.
18909         (TIOCSET_TEMPT): Likewise.
18910         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18911         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18912         these are already provided in bits/ioctl-types.h
18914 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18916         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18917         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18919         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18920         Use wait4 regardless of [__NR_waitpid].
18922 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18924         PR libgcc/60166
18925         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18926         (_FP_NANSIGN_Q): Set the quiet bit.
18928 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
18930         * benchtests/Makefile
18931         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18932         not $(common-objpfx)math/libm.so.
18933         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18934         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18935         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18936         $(common-objpfx)dlfcn/libdl.so.
18937         ($(objpfx)tst-audit8): Depend on $(libm), not
18938         $(common-objpfx)math/libm.so.
18939         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18940         not $(common-objpfx)dlfcn/libdl.so.
18941         * math/Makefile
18942         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18943         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
18944         [$(build-shared) = yes].
18945         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18946         $(common-objpfx)nptl/libpthread.so.
18947         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18948         $(common-objpfx)math/libm.so$(libm.so-version) or
18949         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18950         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18951         $(common-objpfx)dlfcn/libdl.so.
18952         * setjmp/Makefile (link-libm): Remove variable.
18953         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18954         * stdio-common/Makefile (link-libm): Remove variable.
18955         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18956         * stdlib/Makefile (link-libm): Remove variable.
18957         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18958         ($(objpfx)tst-strtod-round): Likewise.
18959         ($(objpfx)tst-tininess): Likewise.
18960         ($(objpfx)tst-strtod-underflow): Likewise.
18961         ($(objpfx)tst-strtod6): Likewise.
18962         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18963         $(libdl), not $(common-objpfx)nptl/libpthread.so and
18964         $(common-objpfx)dlfcn/libdl.so.
18966 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18968         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18969         BSD terminal modes definitions.
18971 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18973         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18974         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18976         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18977         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18978         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18979         Don't do #include_next.
18980         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18981         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18982         Don't do #include_next.
18983         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18984         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18985         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18986         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18988 2014-05-16  Allan McRae  <allan@archlinux.org>
18990         * po/sv.po: Update Swedish translation from translation project.
18992         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18993         in sed expression.
18995 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18997         [BZ #16917]
18998         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18999         errno if the TIOCGPTN ioctl fails with an error different than
19000         EINVAL.
19001         * login/tst-ptsname.c: New file.
19002         * login/Makefile (tests): Add tst-ptsname.
19004         [BZ #16943]
19005         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19006         and prlimit64.
19008 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19010         [BZ #16849]
19011         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19012         herrno to return EAI_AGAIN.
19014 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19016         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19017         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19018         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19019         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19020         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19021         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19022         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19023         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19024         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19025         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19026         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19027         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19028         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19029         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19030         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19031         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19032         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19033         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19034         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19035         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19036         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19037         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19038         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19039         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19040         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19041         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19042         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19043         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19044         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19045         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19047         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19049         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19051         Moved ...
19052         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19054         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19056         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19058         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19060         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19062         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19064         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19066         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19068         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19070         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19072         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19074         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19075         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19076         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19078         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19080         Moved ...
19081         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19083         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19085         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19087         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19089         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19091         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19093         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19095         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19097         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19099         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19101         Moved ...
19102         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19104         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19106         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19107         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19108         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19109         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19110         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19111         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19112         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19113         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19114         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19115         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19116         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19117         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19118         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19119         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19120         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19121         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19122         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19123         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19124         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19125         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19126         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19127         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19128         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19129         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19130         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19131         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19132         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19133         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19134         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19135         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19136         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19138         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19139         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19141         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19142         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19143         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19144         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19145         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19146         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19147         Moved ...
19148         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19149         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19150         Moved ...
19151         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19152         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19153         Moved ...
19154         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19155         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19156         Moved ...
19157         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19158         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19159         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19160         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19161         Moved ...
19162         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19163         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19164         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19165         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19166         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19167         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19168         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19169         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19170         Moved ...
19171         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19172         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19173         Moved ...
19174         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19175         ... here.
19176         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19177         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19178         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19179         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19180         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19181         Moved ...
19182         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19183         ... here.
19184         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19185         Moved ...
19186         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19187         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19188         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19189         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19190         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19191         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19192         Moved ...
19193         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19194         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19195         Moved ...
19196         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19197         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19198         Moved ...
19199         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19200         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19201         Moved ...
19202         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19203         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19204         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19205         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19206         Moved ...
19207         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19208         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19209         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19210         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19211         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19212         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19213         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19214         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19215         Moved ...
19216         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19217         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19218         Moved ...
19219         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19220         ... here.
19221         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19222         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19223         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19224         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19225         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19226         Moved ...
19227         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19228         ... here.
19229         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19230         Moved ...
19231         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19232         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19233         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19234         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19235         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19236         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19237         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19238         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19239         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19240         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19241         Moved ...
19242         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19243         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19244         Moved ...
19245         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19246         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19247         Moved ...
19248         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19249         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19250         Moved ...
19251         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19252         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19253         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19254         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19255         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19256         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19257         Moved ...
19258         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19259         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19260         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19261         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19262         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19263         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19264         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19265         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19266         Moved ...
19267         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19268         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19269         Moved ...
19270         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19271         ... here.
19272         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19273         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19274         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19275         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19276         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19277         Moved ...
19278         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19279         ... here.
19280         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19281         Moved ...
19282         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19283         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19284         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19285         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19286         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19287         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19288         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19289         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19290         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19291         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19292         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19294         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19295         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19297         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19298         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19300         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19301         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19302         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19303         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19304         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19305         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19306         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19307         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19308         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19309         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19310         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19311         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19312         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19313         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19314         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19315         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19316         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19317         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19318         Moved ...
19319         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19320         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19321         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19322         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19323         Moved ...
19324         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19325         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19326         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19327         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19328         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19329         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19330         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19331         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19332         Moved ...
19333         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19334         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19335         Moved ...
19336         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19337         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19338         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19339         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19340         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19341         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19342         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19343         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19344         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19345         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19346         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19347         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19348         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19349         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19350         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19351         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19352         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19354         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19355         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19356         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19357         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19358         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19360         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19361         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19362         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19363         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19364         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19365         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19366         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19367         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19368         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19369         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19371         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19372         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19374         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19375         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19376         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19377         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19378         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19379         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19380         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19381         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19382         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19383         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19384         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19385         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19386         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19387         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19388         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19389         Update #include.
19390         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19391         Likewise.
19392         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19393         Likewise.
19394         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19395         Likewise.
19396         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19397         Likewise.
19398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19399         Likewise.
19400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19401         Likewise.
19402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19403         Likewise.
19404         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19405         Likewise.
19406         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19407         Likewise.
19408         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19409         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19410         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19411         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19412         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19413         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19414         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19415         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19416         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19417         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19418         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19419         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19420         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19421         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19422         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19424         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19425         that was previously under [RESET_PID].
19426         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19427         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19428         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19430         * sysdeps/i386/nptl/Implies: New file.
19431         * sysdeps/x86_64/nptl/Implies: New file.
19432         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19433         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19434         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19435         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19437         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19438         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19439         (__libc_vfork): New strong alias.
19440         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19441         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19443         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19444         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19445         (__libc_vfork): New strong alias.
19446         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19447         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19449         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19450         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19451         (__libc_vfork): New strong alias.
19452         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19453         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19454         * nptl/pt-vfork.c: New file.
19455         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19456         (libpthread: GLIBC_2.20): New version set (empty).
19458 2014-05-14  Will Newton  <will.newton@linaro.org>
19460         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19461         rather than #if.
19463 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19465         [BZ #16564]
19466         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19467         arguments with exponent 65 or above.
19468         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19469         arguments 0x1p113L or above.
19470         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19471         to arguments 0x1p107L or above.
19472         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19473         positive arguments with exponent 65 or above.
19474         * math/auto-libm-test-in: Add more tests of log1p.
19475         * math/auto-libm-test-out: Regenerated.
19477         [BZ #16928]
19478         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19479         non-finite arguments is +0.
19480         * math/s_cacosf.c (__cacosf): Likewise.
19481         * math/s_cacosl.c (__cacosl): Likewise.
19482         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19483         * sysdeps/i386/fpu/libm-test-ulps: Update.
19484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19486         [BZ #16927]
19487         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19488         value.
19489         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19490         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19491         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19492         for explicit high bit of mantissa when testing for argument equal
19493         to 1.
19494         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
19495         * sysdeps/i386/fpu/libm-test-ulps: Update.
19496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19498         [BZ #16516]
19499         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
19500         (__erf): Scale by 16 instead of 8 in potentially underflowing
19501         case.  Ensure exception if result actually underflows.
19502         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
19503         (__erff): Scale by 16 instead of 8 in potentially underflowing
19504         case.  Ensure exception if result actually underflows.
19505         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
19506         (efx8): Remove variable.
19507         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19508         case.  Ensure exception if result actually underflows.
19509         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
19510         (efx8): Remove variable.
19511         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19512         case.  Ensure exception if result actually underflows.
19513         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
19514         (efx8): Remove variable.
19515         (__erfl): Scale by 16 instead of 8 in potentially underflowing
19516         case.  Ensure exception if result actually underflows.
19517         * math/auto-libm-test-in: Add more tests of erf.
19518         * math/auto-libm-test-out: Regenerated.
19520 2014-05-14  Andreas Schwab  <schwab@suse.de>
19522         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
19523         Remove code conditionalized on USE___THREAD.
19525         * config.h.in (HAVE_PT_CHOWN): Define as 0.
19526         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
19527         not definedness.
19529 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19531         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
19532         Define unconditionally.
19533         (__ASSUME_O_CLOEXEC): Likewise.
19534         (__ASSUME_SOCK_CLOEXEC): Likewise.
19535         (__ASSUME_IN_NONBLOCK): Likewise.
19536         (__ASSUME_PIPE2): Likewise.
19537         (__ASSUME_EVENTFD2): Likewise.
19538         (__ASSUME_SIGNALFD4): Likewise.
19539         (__ASSUME_DUP3): Likewise.
19540         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19541         (__ASSUME_DUP3): Do not define.
19542         (__ASSUME_EVENTFD2): Likewise.
19543         (__ASSUME_IN_NONBLOCK): Likewise.
19544         (__ASSUME_O_CLOEXEC): Likewise.
19545         (__ASSUME_PIPE2): Likewise.
19546         (__ASSUME_SIGNALFD4): Likewise.
19547         (__ASSUME_SOCK_CLOEXEC): Likewise.
19548         (__ASSUME_UTIMES): Undefine.
19549         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19550         (__ASSUME_UTIMES): Do not define.
19551         (__ASSUME_O_CLOEXEC): Likewise.
19552         (__ASSUME_SOCK_CLOEXEC): Likewise.
19553         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
19554         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
19555         0x020621].
19556         (__ASSUME_PIPE2): Likewise.
19557         (__ASSUME_EVENTFD2): Likewise.
19558         (__ASSUME_SIGNALFD4): Likewise.
19559         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
19560         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
19561         Do not define.
19562         (__ASSUME_EVENTFD2): Likewise.
19563         (__ASSUME_SIGNALFD4): Likewise.
19564         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19565         (__ASSUME_32BITUIDS): Likewise.
19566         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19567         (__ASSUME_IPC64): Likewise.
19568         (__ASSUME_ST_INO_64_BIT): Likewise.
19569         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
19570         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
19571         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19572         (__ASSUME_UTIMES): Do not define.
19573         (__ASSUME_PSELECT): Likewise.
19574         (__ASSUME_PPOLL): Likewise.
19575         (__ASSUME_O_CLOEXEC): Likewise.
19576         (__ASSUME_SOCK_CLOEXEC): Likewise.
19577         (__ASSUME_IN_NONBLOCK): Likewise.
19578         (__ASSUME_PIPE2): Likewise.
19579         (__ASSUME_EVENTFD2): Likewise.
19580         (__ASSUME_SIGNALFD4): Likewise.
19581         (__ASSUME_DUP3): Likewise.
19582         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19583         (__ASSUME_UTIMES): Likewise.
19584         (__ASSUME_O_CLOEXEC): Likewise.
19585         (__ASSUME_SOCK_CLOEXEC): Likewise.
19586         (__ASSUME_IN_NONBLOCK): Likewise.
19587         (__ASSUME_PIPE2): Likewise.
19588         (__ASSUME_EVENTFD2): Likewise.
19589         (__ASSUME_SIGNALFD4): Likewise.
19590         (__ASSUME_DUP3): Likewise.
19591         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19592         (__ASSUME_UTIMES): Likewise.
19593         (__ASSUME_O_CLOEXEC): Likewise.
19594         (__ASSUME_SOCK_CLOEXEC): Likewise.
19595         (__ASSUME_IN_NONBLOCK): Likewise.
19596         (__ASSUME_PIPE2): Likewise.
19597         (__ASSUME_EVENTFD2): Likewise.
19598         (__ASSUME_SIGNALFD4): Likewise.
19599         (__ASSUME_DUP3): Likewise.
19600         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
19601         Likewise.
19602         (__ASSUME_UTIMES): Likewise.
19603         (__ASSUME_EVENTFD2): Likewise.
19604         (__ASSUME_SIGNALFD4): Likewise.
19605         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19606         (__ASSUME_O_CLOEXEC): Likewise.
19607         (__ASSUME_SOCK_CLOEXEC): Likewise.
19608         (__ASSUME_IN_NONBLOCK): Likewise.
19609         (__ASSUME_PIPE2): Likewise.
19610         (__ASSUME_EVENTFD2): Likewise.
19611         (__ASSUME_SIGNALFD4): Likewise.
19612         (__ASSUME_DUP3): Likewise.
19613         (__ASSUME_UTIMES): Undefine.
19615         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
19616         feclearexcept.  Remove symbol versioning code.
19617         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
19618         symbol versioning code.
19619         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
19620         symbol versioning code.
19621         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
19622         feupdateenv.  Remove symbol versioning code.
19623         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
19624         fegetexceptflag.  Remove symbol versioning code.
19625         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
19626         fesetexceptflag.  Remove symbol versioning code.
19627         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
19628         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
19629         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
19630         (__posix_fadvise64_l32): Remove prototype.
19631         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
19632         code.
19634 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19636         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
19637         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
19638         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
19639         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
19641 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
19643         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
19644         current working directory
19646 2014-05-13  Roland McGrath  <roland@hack.frob.com>
19648         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
19649         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
19650         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
19651         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
19652         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
19653         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
19654         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
19655         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
19656         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
19657         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
19658         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
19659         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
19660         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
19661         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
19662         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
19663         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
19664         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
19665         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
19666         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
19667         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
19668         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
19669         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
19670         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
19671         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
19672         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
19673         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
19674         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
19675         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
19676         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
19677         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
19678         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
19679         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
19680         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
19681         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
19682         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
19683         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
19684         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
19685         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
19686         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
19687         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
19688         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
19689         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
19691         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
19692         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
19694         * sysdeps/unix/sysv/linux/arm/Makefile
19695         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19696         Add rt-aeabi_unwind_cpp_pr1.
19697         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
19698         Add nptl-aeabi_unwind_cpp_pr1.
19699         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
19700         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
19701         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
19702         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19703         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
19704         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19706         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
19707         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
19708         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
19709         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
19711         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
19712         Deconditionalize the code that was previously under [RESET_PID].
19713         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
19715         * sysdeps/generic/exit-thread.h: New file.
19716         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
19717         * include/unistd.h (__exit_thread): Remove declaration.
19718         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
19719         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
19720         * csu/libc-start.c: Include <exit-thread.h>.
19721         (LIBC_START_MAIN): Pass no argument to __exit_thread.
19722         * nptl/pthread_create.c: Include <exit-thread.h>.
19723         (start_thread): Call __exit_thread in place of __exit_thread_inline.
19724         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
19725         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
19726         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
19727         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
19728         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
19729         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
19730         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
19731         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
19732         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
19733         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
19734         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
19735         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
19736         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
19737         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
19738         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
19739         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
19741 2014-05-13  Andreas Schwab  <schwab@suse.de>
19743         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
19745 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
19747         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
19748         (__ASSUME_UTIMES): Do not condition on kernel version.
19749         (__ASSUME_PSELECT): Define unconditionally.
19750         (__ASSUME_PPOLL): Likewise.
19751         (__ASSUME_ATFCTS): Likewise.
19752         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
19753         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
19754         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
19755         (__ASSUME_UTIMENSAT): Define unconditionally.
19756         (__ASSUME_PRIVATE_FUTEX): Likewise.
19757         (__ASSUME_FALLOCATE): Likewise.
19758         (__ASSUME_O_CLOEXEC): Likewise.
19759         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
19760         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
19761         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
19762         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
19763         (__ASSUME_IN_NONBLOCK): Likewise.
19764         (__ASSUME_PIPE2): Likewise.
19765         (__ASSUME_EVENTFD2): Likewise.
19766         (__ASSUME_SIGNALFD4): Likewise.
19767         (__ASSUME_DUP3): Likewise.
19768         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19769         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
19770         (__ASSUME_AT_RANDOM): Likewise.
19771         (__ASSUME_PREADV): Likewise.
19772         (__ASSUME_PWRITEV): Likewise.
19773         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
19774         (__ASSUME_F_GETOWN_EX): Define unconditionally.
19775         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
19776         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19777         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
19778         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19779         (__ASSUME_O_CLOEXEC): Define unconditionally.
19780         (__ASSUME_PSELECT): Do not undefine conditionally.
19781         (__ASSUME_PPOLL): Likewise.
19782         (__ASSUME_ATFCTS): Likewise.
19783         (__ASSUME_SET_ROBUST_LIST): Likewise.
19784         (__ASSUME_UTIMENSAT): Likewise.
19785         (__ASSUME_FDATASYNC): Define unconditionally.
19786         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19787         (__ASSUME_SIGFRAME_V2): Likewise.
19788         )__ASSUME_EVENTFD2): Likewise.
19789         (__ASSUME_SIGNALFD4): Likewise.
19790         (__ASSUME_PSELECT): Do not undefine conditionally.
19791         (__ASSUME_PPOLL): Likewise.
19792         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19793         (__ASSUME_PSELECT): Define unconditionally.
19794         (__ASSUME_PPOLL): Likewise.
19795         (__ASSUME_O_CLOEXEC): Likewise.
19796         (__ASSUME_SOCK_CLOEXEC): Likewise.
19797         (__ASSUME_IN_NONBLOCK): Likewise.
19798         (__ASSUME_PIPE2): Likewise.
19799         (__ASSUME_EVENTFD2): Likewise.
19800         (__ASSUME_SIGNALFD4): Likewise.
19801         (__ASSUME_DUP3): Likewise.
19802         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19803         (__ASSUME_O_CLOEXEC): Likewise.
19804         (__ASSUME_SOCK_CLOEXEC): Likewise.
19805         (__ASSUME_IN_NONBLOCK): Likewise.
19806         (__ASSUME_PIPE2): Likewise.
19807         (__ASSUME_EVENTFD2): Likewise.
19808         (__ASSUME_SIGNALFD4): Likewise.
19809         (__ASSUME_DUP3): Likewise.
19810         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19811         (__ASSUME_EVENTFD2): Likewise.
19812         (__ASSUME_SIGNALFD4): Likewise.
19813         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19815 2014-05-12  Andreas Schwab  <schwab@suse.de>
19817         [BZ #16932]
19818         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
19819         (_nss_nis_gethostbyname4_r): Return error if item length is larger
19820         than maximum RPC packet size.
19821         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
19822         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19823         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19824         (_nss_nis_getservbyport_r): Likewise.
19826 2014-05-12  Will Newton  <will.newton@linaro.org>
19828         * malloc/Makefile (tests): Add tst-mallopt.
19829         * malloc/tst-mallopt.c: New file.
19831 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19833         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19834         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19836 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19838         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19839         (tst-tlsmod6.so): Likewise.
19841 2014-05-09  Roland McGrath  <roland@hack.frob.com>
19843         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19845 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
19847         [BZ #16064]
19848         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19849         and <dl-procinfo.h>.
19850         (__fegetenv): Save SSE state in envp->__eip if supported.
19851         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19852         envp->__eip if supported.
19853         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19854         and <dl-procinfo.h>.
19855         (__fesetenv): Always set __eip, __cs_selector, __opcode,
19856         __data_offset and __data_selector in environment to 0.  Set SSE
19857         state if supported.
19858         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19859         test-fenv-sse.
19860         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19861         -mfpmath=sse.
19862         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19864 2014-05-09  Will Newton  <will.newton@linaro.org>
19866         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19867         and libc_relro_required for ARM.
19868         * sysdeps/arm/preconfigure: Regenerate.
19870 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
19871             Stefan Liebler  <stli@linux.vnet.ibm.com>
19873         * config.make.in (enable-lock-elision): New Makefile variable.
19874         * configure.ac: Likewise.
19875         * configure: Regenerate.
19876         * sysdeps/s390/configure.ac:
19877         Add check for gcc transactions support.
19878         * sysdeps/s390/configure: Regenerate.
19879         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19880         Build elision files if enabled.
19881         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19882         Add lock elision support for s390.
19883         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19884         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19885         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19886         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19887         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19888         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19889         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19890         Likewise.
19891         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19892         Likewise.
19893         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19894         Likewise.
19895         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19896         Likewise.
19897         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19898         (__lll_timedlock_elision, __lll_lock_elision)
19899         (__lll_unlock_elision, __lll_trylock_elision)
19900         (lll_timedlock_elision, lll_lock_elision)
19901         (lll_unlock_elision, lll_trylock_elision): Add.
19902         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19903         (pthread_mutex_t): Add lock elision support for s390.
19905 2014-05-14  Wilco  <wdijkstr@arm.com>
19907         * sysdeps/arm/fclrexcpt.c: Cleanup.
19908         * sysdeps/arm/fedisblxcpt.c: Cleanup.
19909         * sysdeps/arm/feenablxcpt.c: Cleanup.
19910         * sysdeps/arm/fegetenv.c: Cleanup.
19911         * sysdeps/arm/fegetexcept.c: Cleanup.
19912         * sysdeps/arm/fegetround.c: Cleanup.
19913         * sysdeps/arm/feholdexcpt.c: Cleanup.
19914         * sysdeps/arm/fesetenv.c: Cleanup.
19915         * sysdeps/arm/fesetround.c: Cleanup.
19916         * sysdeps/arm/feupdateenv.c: Cleanup.
19917         * sysdeps/arm/fgetexcptflg.c: Cleanup.
19918         * sysdeps/arm/fraiseexcpt.c: Cleanup.
19919         * sysdeps/arm/fsetexcptflg.c: Cleanup.
19920         * sysdeps/arm/ftestexcept.c: Cleanup.
19921         * sysdeps/arm/get-rounding-mode.h: Cleanup.
19922         * sysdeps/arm/setfpucw.c: Cleanup.
19924 2014-05-09  Will Newton  <will.newton@linaro.org>
19926         * sysdeps/arm/armv7/strcmp.S: New file.
19927         * NEWS: Mention addition of ARMv7 optimized strcmp.
19929 2014-05-08  Roland McGrath  <roland@hack.frob.com>
19931         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19932         look for %.ac rather than %.in.
19934         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19935         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19936         * sysdeps/mach/hurd/configure: Regenerated.
19937         * sysdeps/unix/sysv/linux/configure: Regenerated.
19939         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19941 2014-05-07  Steve Ellcey  <sellcey@mips.com>
19943         [BZ# 16922]
19944         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19945         (LONG_SUB): Ditto.
19946         (PTR_SUB): Ditto.
19948 2014-05-07  Andreas Schwab  <schwab@suse.de>
19950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19951         when skipping over non-matching result from nscd.
19953 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
19955         [BZ #16876]
19956         * nptl/sockperf.c (client): Check socket return value.
19958         [BZ #16877]
19959         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19960         nscd security class.
19962 2014-05-06  Roland McGrath  <roland@hack.frob.com>
19964         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19965         * sysdeps/arm/unwind.h: ... here.
19967 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19969         [BZ# 16916]
19970         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19971         Define.
19973 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19975         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19976         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19977         multiarch strncpy for PPC64.
19978         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19979         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19981         multiarch optimizations.
19982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19983         (__libc_ifunc_impl_list): Likewise.
19984         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19985         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19986         multiarch stpncpy for PPC64.
19987         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19988         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19990 2014-05-06  Andreas Schwab  <schwab@suse.de>
19992         [BZ #16912]
19993         * gmon/mcount.c (_MCOUNT_DECL): Use
19994         atomic_compare_and_exchange_bool_acq instead of
19995         catomic_compare_and_exchange_bool_acq.
19997 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19999         * elf/Makefile (others, install-bin): Remove pldd.
20000         (pldd-modules): Variable removed.
20001         ($(objpfx)pldd): Target removed.
20002         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20003         (others, install-bin): Append pldd here.
20004         ($(objpfx)pldd): New target.
20006         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20007         to 0, so the first #if test emitted later doesn't see it undefined.
20008         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20009         * sysdeps/gnu/errlist.c: Regenerated.
20011 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20013         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20014         [libc_hidden_builtin_def]: Define to empty value.
20015         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20016         [libc_hidden_builtin_def]: Likewise.
20017         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20018         [libc_hidden_builtin_def]: Likewise.
20019         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20020         [libc_hidden_builtin_def]: Likewise.
20021         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20022         __redirect_memcpy and define ifunc as default hidden symbol.
20023         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20024         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20026 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20028         * locale/iso-4217.def: Reintroduce XDR currency.
20030 2014-05-04  Allan McRae  <allan@archlinux.org>
20032         * po/eo.po: Update Esperanto translation from translation project.
20034 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20036         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20037         and FEATURE_INDEX_MAX to 1.
20038         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20040 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20042         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20043         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20044         * iconvdata/big5.c (ONE_DIRECTION): Define.
20045         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20046         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20047         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20048         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20049         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20050         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20051         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20052         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20053         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20054         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20055         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20056         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20057         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20058         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20059         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20060         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20061         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20062         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20063         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20064         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20065         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20066         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20067         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20068         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20069         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20070         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20071         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20072         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20073         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20074         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20075         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20076         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20077         * iconvdata/johab.c (ONE_DIRECTION): Define.
20078         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20079         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20080         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20081         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20082         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20083         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20084         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20085         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20086         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20087         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20089 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20091         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20092         (_IO_JUMPS_OFFSET): Define to 0.
20094         * nptl/sysdeps/pthread/bits/libc-lock.h
20095         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20096         (__libc_lock_define_initialized_recursive): Always define using
20097         initializer.  Modern compilers treat uninitialized (implicit zero) and
20098         explicit zero initializers the same (i.e. put the datum in bss).
20100 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20102         * nscd/nscd-client.h: Include <string.h>.
20104 2014-05-01  David S. Miller  <davem@davemloft.net>
20106         [BZ #16885]
20107         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20108         multiple zero bytes exist at the end of a string.
20109         Reported by Aurelien Jarno <aurelien@aurel32.net>
20111         * string/test-strcmp.c (check): Add explicit test for situations where
20112         there are multiple zero bytes after the first.
20114 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20116         [BZ #16890]
20117         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20118         when compiling wprintf.
20119         * stdio-common/tstdiomisc.c (t3): New function.
20120         (main): Call it.
20122 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20124         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20125         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20126         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20127         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20129 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20131         * stdlib/longlong.h: Updated from GCC.
20133 2014-05-01  Will Newton  <will.newton@linaro.org>
20134             Bernard Ogden  <bernie.ogden@linaro.org>
20136         * NEWS: Update fixed bug list.
20138         [BZ #15119]
20139         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20141 2014-04-30  David S. Miller  <davem@davemloft.net>
20143         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20144         (libc_feholdexcept_setround_sparc_ctx): New function.
20145         (libc_fesetenv_sparc_ctx): Likewise.
20146         (libc_feupdateenv_sparc_ctx): Likewise.
20147         (libc_feholdsetround_sparc_ctx): Likewise.
20148         (libc_feholdexcept_setround_ctx): Define.
20149         (libc_feholdexcept_setroundf_ctx): Likewise.
20150         (libc_feholdexcept_setroundl_ctx): Likewise.
20151         (libc_fesetenv_ctx): Likewise.
20152         (libc_fesetenvf_ctx): Likewise.
20153         (libc_fesetenvl_ctx): Likewise.
20154         (libc_feupdateenv_ctx): Likewise.
20155         (libc_feupdateenvf_ctx): Likewise.
20156         (libc_feupdateenvl_ctx): Likewise.
20157         (libc_feresetround_ctx): Likewise.
20158         (libc_feresetroundf_ctx): Likewise.
20159         (libc_feresetroundl_ctx): Likewise.
20160         (libc_feholdsetround_ctx): Likewise.
20161         (libc_feholdsetroundf_ctx): Likewise.
20162         (libc_feholdsetroundl_ctx): Likewise.
20164         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20165         with __USE_GNU instead of XOPEN cpp guards.
20167         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20168         0.
20170         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20171         with XOPEN cpp guards.
20173 2014-04-30  Julian Brown  <julian@codesourcery.com>
20175         [BZ #16888]
20176         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20177         handling.
20179 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20181         [BZ #9894]
20182         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20183         Change to 2.6.32.
20184         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20185         * sysdeps/unix/sysv/linux/configure: Regenerated.
20186         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20187         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20188         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20189         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20190         * README: Update reference to required Linux kernel version.
20191         * manual/install.texi (Linux): Update reference to required Linux
20192         kernel headers version.
20193         * INSTALL: Regenerated.
20195         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20196         header inclusion.
20197         [POSIX] (limits.h): Likewise.
20198         [POSIX] (math.h): Likewise.
20199         [POSIX] (sys/wait.h): Likewise.
20200         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20201         function.
20202         [POSIX] (stddef.h): Do not allow header inclusion.
20204 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20206         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20208 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20210         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20211         Return immediately after lll_futex_wake.
20213 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20215         [BZ #16791]
20216         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20217         structure.
20218         (datahead_init_pos): Call datahead_init_common early.
20219         (datahead_init_neg): Likewise.
20221         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20222         datahead_init_neg): New functions.
20223         * nscd/aicache.c (addhstaiX): Use them.
20224         * nscd/grpcache.c (cache_addgr): Likewise.
20225         * nscd/hstcache.c (cache_addhst): Likewise.
20226         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20227         * nscd/netgroupcache.c (do_notfound): Likewise.
20228         (addgetnetgrentX): Likewise.
20229         (addinnetgrX): Likewise.
20230         * nscd/pwdcache.c (cache_addpw): Likewise.
20231         * nscd/servicescache.c (cache_addserv): Likewise.
20233 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20234             Atsushi Onoe  <atsushi@onoe.org>
20236         [BZ #14308]
20237         [BZ #12994]
20238         [BZ #13651]
20239         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20240         one response is valid.
20241         * resolv/res_send.c (send_dg): Check for validity of other
20242         response if the current response is a referral.
20244 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20246         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20248 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20250         [BZ #16823]
20251         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20252         Always divide by positive zero when computing -Inf result.
20253         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20254         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20256 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20258         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20259         FPSCR if value do not change.
20260         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20261         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20262         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20263         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20264         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20265         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20266         function.
20268 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20270         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20271         * sysdeps/unix/sysv/linux/hppa: Move directory from
20272         ports/systeps/unix/sysv/linux/hppa.
20273         * README: Update listing for hppa-*-linux-gnu.
20275 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20277         [BZ #16754]
20278         * manual/stdio.texi (Hook functions): Fix types of stream hook
20279         functions.
20280         [BZ #16854]
20281         * socket/sys/socket.h: Fix typo in comment.
20283 2014-04-28  Wilco  <wdijkstr@arm.com>
20285         * sysdeps/arm/fenv_private.h: New file.
20286         * sysdeps/arm/math_private.h: New file.
20287         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20289 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20291         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20292         with __int128_t.
20293         (La_x86_64_retval): Likewise.
20295 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20297         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20298         fpsr if value didn't change.
20299         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20300         to fpcr if value didn't change.
20301         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20302         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20303         fpsr or fpcr if value didn't change.
20304         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20305         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20306         fpcr if value didn't change.
20307         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20308         to fpsr if value didn't change.
20310 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20312         * nptl/tst-sem3.c: Use test-skeleton.c
20313         (main): Rename to do_test.  Use return instead of
20314         exit.
20315         * nptl/tst-sem4.c: Use test-skeleton.c
20316         (main): Rename to do_test.
20318 2014-04-22  David S. Miller  <davem@davemloft.net>
20320         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20321         (struct sigaction): New struct member __glibc_reserved0, change
20322         type of sa_flags to int.
20324 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20326         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20327         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20329 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20331         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20332         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20334 2014-04-22  Will Newton  <will.newton@linaro.org>
20335             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20337         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20338         (__longjmp): Add longjmp and longjmp_target SystemTap
20339         probes.
20340         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20341         (__sigsetjmp): Add setjmp SystemTap probe.
20343 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20345         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20346         match manual order.
20348 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20350         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20352         * sysdeps/powerpc/fpu/fenv_private.h
20353         (libc_feholdexcept_setroundl_ctx): Define to
20354         libc_feholdexcept_setround_ppc_ctx.
20355         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20356         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20357         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20358         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20360 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20362         * sysdeps/aarch64/math-tests.h: New file.
20364 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20366         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20367         New.
20368         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20369         Check and set bit_AVX2_Usable.
20370         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20371         macro.
20372         (bit_AVX2): Likewise.
20373         (index_AVX2_Usable): Likewise.
20374         (CPUID_AVX2): Likewise.
20375         (HAS_AVX2): Likewise.
20377 2014-04-17  Will Newton  <will.newton@linaro.org>
20379         * manual/setjmp.texi (System V contexts): Add note that
20380         calling setcontext on a context created by a call to a
20381         signal handler is undefined.  Update text to note that
20382         setcontext from a signal handler is possible but not
20383         recommended.
20385         [BZ #16629]
20386         * stdlib/tst-setcontext.c: Include signal.h.
20387         (main): Check that the signal stack before and
20388         after swapcontext is the same.
20390         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20391         Re-implement to restore registers in user code and avoid
20392         rt_sigreturn system call.
20394 2014-04-17  Wilco  <wdijkstr@arm.com>
20396         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20397         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20398         * math/test-fenv.c: Skip exception trap tests on targets which only
20399         support non-stop mode.
20401 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20402             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20404         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20405         (libc_feholdsetround_aarch64_ctx)
20406         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20407         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20408         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20409         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20410         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20411         (libc_feresetround_noexl_ctx): Define.
20413 2014-04-16  Richard Henderson  <rth@redhat.com>
20415         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20417         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20418         unwind tables.
20420         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20421         const from the non-libc, non-ldso copy.
20423         * sysdeps/alpha/libm-test-ulps: Regenerate.
20425 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20426             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20428         * sysdeps/aarch64/fpu/math_private.h: New file.
20430 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20432         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20434 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20436         [BZ #16275]
20437         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20438         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20439         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20440         Intel MPX bound registers before _dl_profile_fixup.
20441         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20442         registers after _dl_profile_fixup.  Save and restore bound
20443         registers bnd0/bnd1 when calling _dl_call_pltexit.
20444         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20445         (LR_BND_OFFSET): Likewise.
20446         (LRV_BND0_OFFSET): Likewise.
20447         (LRV_BND1_OFFSET): Likewise.
20449 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20451         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20452         to...
20453         * sysdeps/mach/hurd/i386/tls.h: ... here.
20454         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20455         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20456         fields.
20458 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20460         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20462 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20464         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20466 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20468         [BZ #14770]
20469         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20470         * sysdeps/s390/configure: Regenerate.
20472         [BZ #16824]
20473         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20474         Set round-to-nearest internally to reduce error accumulation.
20476 2014-04-16  Alan Modra  <amodra@gmail.com>
20478         [BZ #16740]
20479         [BZ #16619]
20480         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20481         * math/libm-test.inc (frexp_test_data): Add tests.
20482         * NEWS: Update fixed bug list.
20484 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20486         * benchtests/Makefile: Depend on libraries in build directory.
20487         (bench-math): Separate out math tests.
20488         (bench-pthread): Separate out pthread tests.
20489         (bench): Include math and pthread tests.
20491 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
20493         [BZ #16831]
20494         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
20495         _dl_debug_initialize.
20497         * configure.ac: Remove SELinux header check.
20498         * configure: Regenerate.
20499         * nscd/selinux.c (perms): Array of const char* to permission names.
20500         (nscd_request_avc_has_perm): Call security_deny_unknown to find
20501         default policy. Call string_to_security_class and string_to_av_perm to
20502         translate strings. Enforce default policy and call avs_has_perm with
20503         results of translated strings.
20505 2014-04-13  David S. Miller  <davem@davemloft.net>
20507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20509 2014-04-12  Allan McRae  <allan@archlinux.org>
20511         [BZ #16838]
20512         * manual/string.texi (Collation Functions): Fix qsort argument
20513         order in example.
20514         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20516 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
20518         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
20519         Make the test a no-op if there are no exceptions defined.
20521 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20523         * elf/Makefile (tests): make tst-dlopen-aout conditional on
20524         enable-hardcoded-path-in-tests
20526 2014-04-11  Will Newton  <will.newton@linaro.org>
20528         * benchtests/Makefile (extra-objs): Add json-lib.o.
20529         (bench-func): Tidy up JSON output.
20530         * benchtests/bench-skeleton.c: Include json-lib.h.
20531         (main): Use JSON library functions to do output of
20532         benchmark results.
20533         * benchtests/bench-timing-type.c (main): Output the
20534         timing type simply, leaving formatting to the user.
20535         * benchtests/json-lib.c: New file.
20536         * benchtests/json-lib.h: Likewise.
20538 2014-04-11  Torvald Riegel  <triegel@redhat.com>
20540         [BZ #15215]
20541         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
20542         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
20543         memory barriers.  Add comments.
20544         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20545         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
20546         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
20547         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
20548         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
20549         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
20551 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20553         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
20554         * sysdeps/s390/s390-64/configure.ac: ... this ...
20555         * sysdeps/s390/configure.ac: ... to here.
20556         * sysdeps/s390/s390-32/configure: Delete file.
20557         * sysdeps/s390/s390-64/configure: Delete file.
20558         * sysdeps/s390/configure: Regenerate.
20560 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
20562         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
20564 2014-04-11  Will Newton  <will.newton@linaro.org>
20566         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
20567         to zero if it is not defined elsewhere.  (mtrim): Test
20568         the value of MALLOC_DEBUG with #if rather than #ifdef.
20570 2014-04-10 Torvald Riegel  <triegel@redhat.com>
20572         * benchtests/pthread_once-inputs: New file.
20573         * benchtests/pthread_once-source.c: New file.
20574         * benchtests/README: Update documentation.
20576 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20577             H.J. Lu  <hongjiu.lu@intel.com>
20579         [BZ #16275]
20580         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
20581         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
20582         * sysdeps/x86_64/configure: Regenerated.
20583         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
20584         macro.
20585         (REGISTER_SAVE_RAX): Likewise.
20586         (REGISTER_SAVE_RCX): Likewise.
20587         (REGISTER_SAVE_RDX): Likewise.
20588         (REGISTER_SAVE_RSI): Likewise.
20589         (REGISTER_SAVE_RDI): Likewise.
20590         (REGISTER_SAVE_R8): Likewise.
20591         (REGISTER_SAVE_R9): Likewise.
20592         (REGISTER_SAVE_BND0): Likewise.
20593         (REGISTER_SAVE_BND1): Likewise.
20594         (REGISTER_SAVE_BND2): Likewise.
20595         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
20596         bound registers when calling _dl_fixup.
20598 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20600         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
20601         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
20602         of its definition.
20603         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
20604         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
20605         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
20606         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
20607         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
20608         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
20609         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
20611 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
20613         [BZ #15514]
20614         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
20615         pathconf(_PC_NAME_MAX).
20617 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20619         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
20620         Remove macro usage.
20621         (__PTHREAD_SPINS): Move definition to ...
20622         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20623         (__PTHREAD_SPINS): ... here.
20624         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20625         (__PTHREAD_SPIN): Likewise.
20626         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
20627         (__PTHREAD_SPIN): Likewise.
20628         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
20629         (__PTHREAD_SPIN): Likewise.
20630         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
20631         (__PTHREAD_SPIN): Likewise.
20632         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20633         (__PTHREAD_SPIN): Likewise.
20634         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20635         (__PTHREAD_SPIN): Likewise.
20636         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
20637         (__PTHREAD_SPIN): Likewise.
20638         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20639         (__PTHREAD_SPIN): Likewise.
20640         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20641         (__PTHREAD_SPIN): Likewise.
20642         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20643         (__PTHREAD_SPIN): Likewise.
20644         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20645         (__PTHREAD_SPIN): Likewise.
20646         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
20647         (__PTHREAD_SPIN): Likewise.
20649         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
20650         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
20651         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
20652         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
20653         imply folder.
20654         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
20655         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
20656         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
20657         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
20658         correct imply path.
20659         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
20660         strlen symbol for non multi-arch builds.
20661         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
20662         missing hidden_def and weak_alias.
20664 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
20666         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
20668 2014-04-07  Will Newton  <will.newton@linaro.org>
20670         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
20671         and contents.  [!_LIBC] Remove #ifndef and contents.
20672         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
20673         * string/memccpy.c (__memccpy): Use ANSI prototype.
20674         * string/memfrob.c (memfrob): Likewise.
20675         * string/strcoll.c (STRCOLL): Likewise.
20676         * string/strlen.c (strlen): Likewise.
20677         * string/strtok.c (STRTOK): Likewise.
20678         * string/strcat.c: Remove unused #include of memcopy.h.
20679         (strcat): Use ANSI prototype.
20680         * string/strchr.c: Remove unused #include of memcopy.h.
20681         (strchr): Use ANSI prototype.
20682         * string/strcmp.c: Remove unused #include of memcopy.h.
20683         (strcmp): Use ANSI prototype.
20684         * string/strcpy.c: Remove unused #include of memcopy.h.
20685         (strcpy): Use ANSI prototype.
20687 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20689         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
20690         * config.make.in (config-extra-cppflags): Set it from
20691         libc_extra_cppflags.
20692         * configure.ac (libc_extra_cflags): Make it accumulate over
20693         configure fragments.
20694         (libc_extra_cppflags): New flag.
20695         * configure. Regenerate.
20696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20697         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
20698         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
20699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20701         [BZ #16815]
20702         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
20703         result for FE_DOWNWARD rounding mode.
20704         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20705         Likewise.
20706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20708 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
20710         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
20711         in function argument name.
20713 2014-04-03  David Svoboda  <svoboda@cert.org>
20715         [BZ #5666]
20716         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
20717         explicitly.
20719 2014-04-03  Roland McGrath  <roland@hack.frob.com>
20721         * elf/dl-unmap-segments.h: New file.
20722         * sysdeps/generic/ldsodefs.h
20723         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
20724         * elf/dl-close.c: Include <dl-unmap-segments.h>.
20725         * elf/dl-fptr.c: Likewise.
20726         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
20727         * sysdeps/aarch64/tlsdesc.c: Likewise.
20728         * sysdeps/arm/tlsdesc.c: Likewise.
20729         * sysdeps/i386/tlsdesc.c: Likewise.
20730         * sysdeps/tile/dl-runtime.c: Likewise.
20731         * sysdeps/x86_64/tlsdesc.c: Likewise.
20732         * elf/dl-load.h: New file.
20733         * elf/dl-load.c: Include it.
20734         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
20735         Macros moved to dl-load.h.
20736         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
20737         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
20738         Use _dl_unmap_segments in place of __munmap.
20739         Break out segment-mapping loop into ...
20740         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
20742 2014-04-03  Will Newton  <will.newton@linaro.org>
20744         * elf/dl-lookup.c (do_lookup_x): Remove comment
20745         referring to nested function and move variable
20746         declarations down to before first use.
20748 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
20750         [BZ #16799]
20751         [BZ #16800]
20752         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
20753         with 0 numerator.
20754         * math/s_catanf.c (__catanf): Likewise.
20755         * math/s_catanh.c (__catanh): Likewise.
20756         * math/s_catanhf.c (__catanhf): Likewise.
20757         * math/s_catanhl.c (__catanhl): Likewise.
20758         * math/s_catanl.c (__catanl): Likewise.
20759         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
20760         by positive zero when computing -Inf result.
20761         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
20762         (catanh_test): Likewise.
20763         * sysdeps/i386/fpu/libm-test-ulps: Update.
20764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20766         [BZ #16789]
20767         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
20768         instead of using underflowing value in computing result.
20769         * math/s_clog10.c (__clog10): Likewise.
20770         * math/s_clog10f.c (__clog10f): Likewise.
20771         * math/s_clog10l.c (__clog10l): Likewise.
20772         * math/s_clogf.c (__clogf): Likewise.
20773         * math/s_clogl.c (__clogl): Likewise.
20774         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
20775         (clog10_test): Likewise.
20776         * sysdeps/i386/fpu/libm-test-ulps: Update.
20777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20779 2014-04-02  Alan Modra  <amodra@gmail.com>
20781         [BZ #16739]
20782         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
20783         output when value is near a power of two.  Use int64_t for lx and
20784         remove casts.  Use decimal rather than hex exponent constants.
20785         Don't use long double multiplication when double will suffice.
20786         * math/libm-test.inc (nextafter_test_data): Add tests.
20787         * NEWS: Add 16739 and 16786 to bug list.
20789         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
20791         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
20793 2014-04-01  Will Newton  <will.newton@linaro.org>
20795         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
20796         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
20798 2014-04-01  Florian Weimer  <fweimer@redhat.com>
20800         [BZ #13347]
20801         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
20802         * nptl/tst-setuid2.c: New file.
20803         * nptl/Makefile (xtests): Add tst-setuid2.
20805 2014-04-01  Alan Modra  <amodra@gmail.com>
20807         [BZ #16786]
20808         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
20810 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20812         [BZ #6803]
20813         [BZ #6804]
20814         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
20815         set errno as appropriate.
20816         * math/w_scalbf.c (__scalbf): Likewise.
20817         * math/w_scalbl.c (__scalbl): Likewise.
20818         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
20819         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
20820         * math/libm-test.inc (scalb_test_data): Add errno expectations.
20821         Add more NaN tests.
20823         [BZ #16349]
20824         * math/w_atan2.c: Include <errno.h>.
20825         (__atan2): Set errno for result underflowing to zero.
20826         * math/w_atan2f.c: Include <errno.h>.
20827         (__atan2f): Set errno for result underflowing to zero.
20828         * math/w_atan2l.c: Include <errno.h>.
20829         (__atan2l): Set errno for result underflowing to zero.
20830         * math/auto-libm-test-in: Don't allow missing errno for some atan2
20831         tests.
20832         * math/auto-libm-test-out: Regenerated.
20834 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20836         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20837         Encode instruction correctly in little endian.
20838         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20839         Likewise.
20840         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20841         Likewise.
20842         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20843         Likewise.
20844         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20845         Likewise.
20847 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
20849         [BZ #9894]
20850         * sysdeps/unix/sysv/linux/kernel-features.h
20851         [__sparc__ && !__arch64__ && !__sparc_v9__]
20852         (__ASSUME_SET_ROBUST_LIST): Do not define.
20853         [__sparc__ && !__arch64__ && !__sparc_v9__]
20854         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20855         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20856         Likewise.
20857         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20858         (__ASSUME_FUTEX_LOCK_PI): Undefine.
20859         (__ASSUME_REQUEUE_PI): Likewise.
20860         (__ASSUME_SET_ROBUST_LIST): Likewise.
20861         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20862         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20863         Undefine.
20864         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20865         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20866         Likewise.
20867         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20868         Likewise.
20869         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20870         Likewise.
20871         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20872         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20873         Undefine.
20874         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20875         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20876         Likewise.
20878         [BZ #16648]
20879         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20880         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20881         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20883 2014-03-31  Will Newton  <will.newton@linaro.org>
20885         * benchtests/Makefile (bench): Add ffs and ffsll to list
20886         of tests.
20887         * benchtests/ffs-inputs: New file.
20888         * benchtests/ffsll-inputs: Likewise.
20890 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
20892         [BZ #16770]
20893         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20894         too large before casting to int.
20895         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20896         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20897         * math/libm-test.inc (scalb_test_data): Add more tests.
20899 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20901         * benchtests/Makefile (DETAILED_OPT): New make option.
20902         (bench-func): Run benchmark program with -d if DETAILED_OPT is
20903         set.
20904         * benchtests/bench-skeleton.c: Include stdbool.h.
20905         (main): Store and print timings per input.
20906         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20907         member to each argument value.
20908         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20909         (_print_arg_data): Initialize per-input timing to 0.
20911         * benchtests/Makefile (timing-type): New binary.
20912         (bench-clean): Also remove bench-timing-type.
20913         (bench): New target for timing-type.
20914         (bench-func): Print output in JSON format.
20915         * benchtests/bench-skeleton.c (main): Print output in JSON
20916         format.
20917         * benchtests/bench-timing-type.c: New file.
20918         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20919         (TIMING_PRINT_STATS): Remove.
20920         * benchtests/scripts/bench.py (_print_arg_data): Store variant
20921         name separately.
20923         * benchtests/bench-modf.c: Remove.
20924         * benchtests/modf-inputs: New inputs file.
20926 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
20928         [BZ #16362]
20929         * math/s_clog10.c (M_PI_LOG10E): New macro.
20930         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20931         imaginary parts are 0.
20932         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20933         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20934         imaginary parts are 0.
20935         * math/s_clog10l.c (M_PI_LOG10El): New macro.
20936         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20937         imaginary parts are 0.
20938         * math/libm-test.inc (clog10_test_data): Update expected results
20939         for when real and imaginary parts are 0.
20941 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
20943         * elf/dl-load.c: Finish conversion of __builtin_expect into
20944         __glibc_{un}likely.
20946 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
20948         [BZ #16348]
20949         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20950         1+x for argument with exponent below -67.
20951         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20952         Likewise.
20953         * math/auto-libm-test-in: Add more tests of exp.
20954         * math/auto-libm-test-out: Regenerated.
20956 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20958         [BZ #16759]
20959         * inet/getnetgrent_r.c (get_nonempty_val): New function.
20960         (nscd_getnetgrent): Use it.
20962         [BZ #16760]
20963         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20964         of stpcpy.
20966 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20968         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20969         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20970         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20971         (lll_robust_unlock): Remove out of line section. Use cfi
20972         intrinsics.
20973         (LLL_STUB_UNWIND_INFO*): Remove.
20974         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20975         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20976         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20977         (lll_robust_unlock): Remove out of line section. Use cfi
20978         intrinsics.
20979         (LLL_STUB_UNWIND_INFO*): Remove.
20981 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20983         [BZ #16758]
20984         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20985         blank values.
20987 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20989         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20991 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20993         [BZ #16198]
20994         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20995         fnstenv.
20996         * math/test-fenv-preserve.c: New file.
20997         * math/Makefile (tests): Add test-fenv-preserve.
20999 2014-03-26  Will Newton <will.newton@linaro.org>
21001         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21003 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21005         * scripts/versionlist.awk: Partition the version sets and emit all
21006         GLIBC_* (sorted) before all others (sorted).
21008 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21010         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21011         GLIBC_2.2.5 version.
21013 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21015         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21016         calls.
21018         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21019         previous change.
21021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21023 2014-03-25  Andreas Schwab  <schwab@suse.de>
21025         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21026         label to be used after in6ailist is initialized.
21028 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21030         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21031         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21033 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21035         [BZ #16357]
21036         [BZ #16599]
21037         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21038         min_plus_half.
21039         (fp_formats): Update initializers.
21040         (init_fp_formats): Initialize new field.
21041         (output_for_one_input_case): Allow underflow for results up to
21042         min_plus_half.
21043         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21044         * math/auto-libm-test-in: Don't mark some underflows from asin and
21045         atanh as spurious.
21046         * math/auto-libm-test-out: Regenerated.
21047         * sysdeps/i386/fpu/libm-test-ulps: Update.
21048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21050 2014-03-25  Andreas Schwab  <schwab@suse.de>
21052         * libio/Makefile (tst-ftell-partial-wide-ENV)
21053         (tst-ftell-active-handler-ENV): Define.
21055 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21057         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21059 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21061         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21063 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21065         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21066         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21067         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21069 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21071         [BZ #16634]
21072         * elf/dl-load.c (open_verify): Add mode parameter.
21073         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21074         (open_path): Change from boolean 'secure' to complete flag 'mode'
21075         (_dl_map_object): Adjust.
21076         * elf/Makefile (tests): Add tst-dlopen-aout.
21077         * elf/tst-dlopen-aout.c: New test.
21079 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21081         [BZ #16714]
21082         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21083         (struct stat): Rename member pad0 to __glibc_reserved0.
21085         [BZ #16712]
21086         * sysdeps/s390/s390-32/bits/wordsize.h
21087         (__WORDSIZE32_SIZE_ULONG): New define.
21088         * sysdeps/s390/s390-64/bits/wordsize.h
21089         (__WORDSIZE32_SIZE_ULONG): Likewise.
21090         * sysdeps/generic/stdint.h (SIZE_MAX):
21091         Define as UL if __WORDSIZE32_SIZE_ULONG.
21093         [BZ #16713]
21094         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21095         (__glibc_reserved0): New variable.
21096         (sa_flags): Change type to int.
21098         * posix/Makefile (before-compile): Use += before-compile instead
21099         of a :=.
21101         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21102         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21104 2014-03-20  Andreas Schwab  <schwab@suse.de>
21106         [BZ #16743]
21107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21108         non-matching result from nscd.
21110 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21112         * scripts/bench.py: Moved to ...
21113         * benchtests/scripts/bench.py: ... here.
21114         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21116 2014-03-24  Andreas Schwab  <schwab@suse.de>
21118         [BZ #16002]
21119         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21120         alloca_account and account alloca use for struct in6ailist.
21122 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21124         [BZ #16284]
21125         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21126         rounding mode to recompute results that overflow to infinity or
21127         underflow to zero.
21128         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21129         bug 16284.
21130         * math/auto-libm-test-out: Regenerated.
21131         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21132         (ccosh_test): Likewise.
21133         (csin_test_data): Use plus_oflow.
21134         (csin_test): Use ALL_RM_TEST.
21135         (csinh_test_data): Use plus_oflow.
21136         (csinh_test): Use ALL_RM_TEST.
21137         * sysdeps/i386/fpu/libm-test-ulps: Update.
21138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21140 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21142         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21143         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21144         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21146         [BZ #16731]
21147         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21148         when x - 1 is zero.
21149         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21150         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21151         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21152         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21153         argument is 1.
21154         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21155         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21156         zero.
21157         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21158         * sysdeps/i386/fpu/libm-test-ulps: Update.
21159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21161 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21163         * scripts/bench.pl: Remove file.
21164         * scripts/bench.py: New benchmark script.
21165         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21166         * benchtests/README: Mention python dependency.
21167         * scripts/pylintrc: New file.
21168         * scripts/pylint: New file.
21170         * bits/mathdef.h: Use #ifdef instead of #if.
21171         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21172         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21173         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21174         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21175         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21176         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21178 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21179             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21181         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21183         and strpbrk-ppc64 objects.
21184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21185         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21186         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21187         multiarch strpbrk for POWER7.
21188         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21189         multiarch strpbrk for PPC64.
21190         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21191         ifunc selector.
21192         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21193         strpbrk for POWER7.
21195 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21197         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21198         (atan_test): Likewise.
21199         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21200         (atanh_test): Use ALL_RM_TEST.
21201         (atan2_test_data): Likewise.
21202         (cabs_test): Likewise.
21203         (cacosh_test): Likewise.
21204         (carg_test): Likewise.
21205         (casin_test): Likewise.
21206         (casinh_test): Likewise.
21207         (cbrt_test): Likewise.
21208         (csqrt_test): Likewise.
21209         (erf_test): Likewise.
21210         (erfc_test): Likewise.
21211         (pow10_test): Likewise.
21212         (exp2_test): Likewise.
21213         (hypot_test): Likewise.
21214         (j0_test): Likewise.
21215         (j1_test): Likewise.
21216         (lgamma_test): Likewise.
21217         (gamma_test): Likewise.
21218         (sincos_test): Likewise.
21219         (tanh_test): Likewise.
21220         (y0_test): Likewise.
21221         (y1_test): Likewise.
21222         * sysdeps/i386/fpu/libm-test-ulps: Update.
21223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21225 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21227         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21229         and strcspn-ppc64 objects.
21230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21231         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21232         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21233         multiarch strcspn for POWER7.
21234         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21235         multiarch strcspn for PPC64.
21236         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21237         ifunc selector.
21238         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21239         strcspn for POWER7.
21241 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21243         * math/gen-libm-test.pl (generate_testfile): Expect only function
21244         name as argument to AUTO_TESTS_* and pass results for all rounding
21245         modes to parse_args.
21246         (parse_auto_input): Separate inputs of automatic tests from
21247         outputs before storing in %auto_tests.
21248         * math/libm-test.inc (acos_test_data): Update call to
21249         AUTO_TESTS_f_f.
21250         (acos_test): Use ALL_RM_TEST.
21251         (acos_tonearest_test_data): Remove.
21252         (acos_test_tonearest): Likewise.
21253         (acos_towardzero_test_data): Likewise.
21254         (acos_test_towardzero): Likewise.
21255         (acos_downward_test_data): Likewise.
21256         (acos_test_downward): Likewise.
21257         (acos_upward_test_data): Likewise.
21258         (acos_test_upward): Likewise.
21259         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21260         (asin_test_data): Likewise.
21261         (asin_test): Use ALL_RM_TEST.
21262         (asin_tonearest_test_data): Remove.
21263         (asin_test_tonearest): Likewise.
21264         (asin_towardzero_test_data): Likewise.
21265         (asin_test_towardzero): Likewise.
21266         (asin_downward_test_data): Likewise.
21267         (asin_test_downward): Likewise.
21268         (asin_upward_test_data): Likewise.
21269         (asin_test_upward): Likewise.
21270         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21271         (atan_test_data): Likewise.
21272         (atanh_test_data): Likewise.
21273         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21274         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21275         (carg_test_data): Likewise.
21276         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21277         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21278         (ccosh_test_data): Likewise.
21279         (cexp_test_data): Likewise.
21280         (clog_test_data): Likewise.
21281         (clog10_test_data): Likewise.
21282         (cos_test_data): Update call to AUTO_TESTS_f_f.
21283         (cos_test): Use ALL_RM_TEST.
21284         (cos_tonearest_test_data): Remove.
21285         (cos_test_tonearest): Likewise.
21286         (cos_towardzero_test_data): Likewise.
21287         (cos_test_towardzero): Likewise.
21288         (cos_downward_test_data): Likewise.
21289         (cos_test_downward): Likewise.
21290         (cos_upward_test_data): Likewise.
21291         (cos_test_upward): Likewise.
21292         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21293         (cosh_test): Use ALL_RM_TEST.
21294         (cosh_tonearest_test_data): Remove.
21295         (cosh_test_tonearest): Likewise.
21296         (cosh_towardzero_test_data): Likewise.
21297         (cosh_test_towardzero): Likewise.
21298         (cosh_downward_test_data): Likewise.
21299         (cosh_test_downward): Likewise.
21300         (cosh_upward_test_data): Likewise.
21301         (cosh_test_upward): Likewise.
21302         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21303         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21304         (ctan_test_data): Likewise.
21305         (ctan_test): Use ALL_RM_TEST.
21306         (ctan_tonearest_test_data): Remove.
21307         (ctan_test_tonearest): Likewise.
21308         (ctan_towardzero_test_data): Likewise.
21309         (ctan_test_towardzero): Likewise.
21310         (ctan_downward_test_data): Likewise.
21311         (ctan_test_downward): Likewise.
21312         (ctan_upward_test_data): Likewise.
21313         (ctan_test_upward): Likewise.
21314         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21315         (ctanh_test): Use ALL_RM_TEST.
21316         (ctanh_tonearest_test_data): Remove.
21317         (ctanh_test_tonearest): Likewise.
21318         (ctanh_towardzero_test_data): Likewise.
21319         (ctanh_test_towardzero): Likewise.
21320         (ctanh_downward_test_data): Likewise.
21321         (ctanh_test_downward): Likewise.
21322         (ctanh_upward_test_data): Likewise.
21323         (ctanh_test_upward): Likewise.
21324         (erf_test_data): Update call to AUTO_TESTS_f_f.
21325         (erfc_test_data): Likewise.
21326         (exp_test_data): Likewise.
21327         (exp_test): Use ALL_RM_TEST.
21328         (exp_tonearest_test_data): Remove.
21329         (exp_test_tonearest): Likewise.
21330         (exp_towardzero_test_data): Likewise.
21331         (exp_test_towardzero): Likewise.
21332         (exp_downward_test_data): Likewise.
21333         (exp_test_downward): Likewise.
21334         (exp_upward_test_data): Likewise.
21335         (exp_test_upward): Likewise.
21336         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21337         (exp10_test): Use ALL_RM_TEST.
21338         (exp10_tonearest_test_data): Remove.
21339         (exp10_test_tonearest): Likewise.
21340         (exp10_towardzero_test_data): Likewise.
21341         (exp10_test_towardzero): Likewise.
21342         (exp10_downward_test_data): Likewise.
21343         (exp10_test_downward): Likewise.
21344         (exp10_upward_test_data): Likewise.
21345         (exp10_test_upward): Likewise.
21346         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21347         (expm1_test_data): Likewise.
21348         (expm1_test): Use ALL_RM_TEST.
21349         (expm1_tonearest_test_data): Remove.
21350         (expm1_test_tonearest): Likewise.
21351         (expm1_towardzero_test_data): Likewise.
21352         (expm1_test_towardzero): Likewise.
21353         (expm1_downward_test_data): Likewise.
21354         (expm1_test_downward): Likewise.
21355         (expm1_upward_test_data): Likewise.
21356         (expm1_test_upward): Likewise.
21357         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21358         (fma_test): Use ALL_RM_TEST.
21359         (fma_towardzero_test_data): Remove.
21360         (fma_test_towardzero): Likewise.
21361         (fma_downward_test_data): Likewise.
21362         (fma_test_downward): Likewise.
21363         (fma_upward_test_data): Likewise.
21364         (fma_test_upward): Likewise.
21365         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21366         (j0_test_data): Update call to AUTO_TESTS_f_f.
21367         (j1_test_data): Likewise.
21368         (jn_test_data): Update call to AUTO_TESTS_if_f.
21369         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21370         (log_test_data): Update call to AUTO_TESTS_f_f.
21371         (log10_test_data): Likewise.
21372         (log1p_test_data): Likewise.
21373         (log2_test_data): Likewise.
21374         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21375         (pow_tonearest_test_data): Likewise.
21376         (sin_test_data): Update call to AUTO_TESTS_f_f.
21377         (sin_test): Use ALL_RM_TEST.
21378         (sin_tonearest_test_data): Remove.
21379         (sin_test_tonearest): Likewise.
21380         (sin_towardzero_test_data): Likewise.
21381         (sin_test_towardzero): Likewise.
21382         (sin_downward_test_data): Likewise.
21383         (sin_test_downward): Likewise.
21384         (sin_upward_test_data): Likewise.
21385         (sin_test_upward): Likewise.
21386         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21387         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21388         (sinh_test): Use ALL_RM_TEST.
21389         (sinh_tonearest_test_data): Remove.
21390         (sinh_test_tonearest): Likewise.
21391         (sinh_towardzero_test_data): Likewise.
21392         (sinh_test_towardzero): Likewise.
21393         (sinh_downward_test_data): Likewise.
21394         (sinh_test_downward): Likewise.
21395         (sinh_upward_test_data): Likewise.
21396         (sinh_test_upward): Likewise.
21397         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21398         (sqrt_test): Use ALL_RM_TEST.
21399         (sqrt_tonearest_test_data): Remove.
21400         (sqrt_test_tonearest): Likewise.
21401         (sqrt_towardzero_test_data): Likewise.
21402         (sqrt_test_towardzero): Likewise.
21403         (sqrt_downward_test_data): Likewise.
21404         (sqrt_test_downward): Likewise.
21405         (sqrt_upward_test_data): Likewise.
21406         (sqrt_test_upward): Likewise.
21407         (tan_test_data): Update call to AUTO_TESTS_f_f.
21408         (tan_test): Use ALL_RM_TEST.
21409         (tan_tonearest_test_data): Remove.
21410         (tan_test_tonearest): Likewise.
21411         (tan_towardzero_test_data): Likewise.
21412         (tan_test_towardzero): Likewise.
21413         (tan_downward_test_data): Likewise.
21414         (tan_test_downward): Likewise.
21415         (tan_upward_test_data): Likewise.
21416         (tan_test_upward): Likewise.
21417         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21418         (tgamma_test_data): Likewise.
21419         (y0_test_data): Likewise.
21420         (y1_test_data): Likewise.
21421         (yn_test_data): Update call to AUTO_TESTS_if_f.
21422         (main): Do not call removed functions.
21424 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21426         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21427         (ldexp_test_data): Remove.
21428         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21429         scalbn_test_data.
21430         (scalb_test): Use ALL_RM_TEST.
21432 2014-03-19  Andreas Schwab  <schwab@suse.de>
21434         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21436 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21438         [BZ #16649]
21439         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21440         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21441         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21442         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21443         (__ASSUME_PREADV): Undefine.
21444         (__ASSUME_PWRITEV): Likewise.
21446 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21448         * bits/mman-linux.h: Add comment about non-Linux use.
21449         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21450         bits/mman-linux.h resting place.
21452         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21453         * bits/mman-linux.h: ... here.
21455 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21457         * conform/conformtest.pl: Add standard definition when calling C
21458         preprocessor on data files.
21459         (checknamespace): Remove unused variable.
21461 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21463         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21464         minus_oflow, plus_uflow and minus_uflow in expected results.
21465         * math/libm-test.inc (scalbn_test_data): Add more tests of
21466         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21467         minus_uflow.
21468         (scalbn_test): Use ALL_RM_TEST.
21469         (scalbln_test_data): Add more tests of negative arguments.  Use
21470         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21471         (scalbln_test): Use ALL_RM_TEST.
21473 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21475         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21477 2014-03-18  Will Newton  <will.newton@linaro.org>
21479         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21480         inaccurate comment.
21482 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21484         * Makerules [!subdir] (check-abi): Exit with error status if a
21485         test failed.
21487 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21489         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21490         for rint.  Include results for all rounding modes.
21491         (nearbyint_test): Use ALL_RM_TEST.
21492         (rint_test_data): Include all tests used for nearbyint.
21494 2014-03-17  Will Newton  <will.newton@linaro.org>
21496         * nptl/sysdeps/pthread/pthread.h: Revert previous
21497         change.
21499         * sysdeps/generic/ldsodefs.h: Revert previous
21500         change.
21502         * libio/genops.c: Revert previous change.
21503         * libio/libioP.h: Likewise.
21504         * stdio-common/vfprintf.c: Likewise.
21506         * sysdeps/generic/math_private.h: Revert previous
21507         change.
21509         * sysdeps/generic/math_private.h: Check whether
21510         HAVE_RM_CTX is defined with #ifdef rather
21511         than #if.
21513         * argp/argp-fmtstream.h: Check whether
21514         __STRICT_ANSI__ is defined with #ifdef rather
21515         than #if.
21516         * argp/argp.h: Likewise.
21518         * libio/genops.c: Check whether
21519         _IO_JUMPS_OFFSET is defined with #ifdef rather
21520         than #if.
21521         * libio/libioP.h: Likewise.
21522         * stdio-common/vfprintf.c: Likewise.
21524         * sysdeps/generic/ldsodefs.h: Check whether
21525         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
21526         than #if.
21528         * nptl/sysdeps/pthread/pthread.h: Check
21529         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
21530         its value.
21532 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21534         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
21535         setting O_APPEND.
21536         * libio/tst-ftell-active-handler.c (do_append_test): Add a
21537         test case.
21539         [BZ #16680]
21540         * libio/fileops.c (_IO_file_open): Seek to end of file but
21541         don't cache the offset.
21542         (get_file_offset): Remove function.
21543         (do_ftell): Use cached offset when available.
21544         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
21545         don't cache the offset.
21546         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
21547         case.
21548         (do_one_test): Call it.
21549         (do_ftell_test): Fix up expected old offset for a+ mode.
21550         * libio/wfileops.c (do_ftell_wide): Used cached offset when
21551         available.
21553         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
21554         up test status with function return status.
21555         (do_write_test): Likewise.
21556         (do_append_test): Likewise.
21558         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
21559         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
21560         Remove.
21562 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21564         * math/gen-libm-test.pl (parse_args): Handle results specified for
21565         each rounding mode separately.
21566         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
21567         tests and results from lrint_tonearest_test_data,
21568         lrint_towardzero_test_data, lrint_downward_test_data and
21569         lrint_upward_test_data.
21570         (lrint_test): Use ALL_RM_TEST.
21571         (lrint_tonearest_test_data): Remove.
21572         (lrint_test_tonearest): Likewise.
21573         (lrint_towardzero_test_data): Likewise.
21574         (lrint_test_towardzero): Likewise.
21575         (lrint_downward_test_data): Likewise.
21576         (lrint_test_downward): Likewise.
21577         (lrint_upward_test_data): Likewise.
21578         (lrint_test_upward): Likewise.
21579         (llrint_test_data): Merge in per-rounding-mode tests and results
21580         from llrint_tonearest_test_data, llrint_towardzero_test_data,
21581         llrint_downward_test_data and llrint_upward_test_data.
21582         (llrint_test): Use ALL_RM_TEST.
21583         (llrint_tonearest_test_data): Remove.
21584         (llrint_test_tonearest): Likewise.
21585         (llrint_towardzero_test_data): Likewise.
21586         (llrint_test_towardzero): Likewise.
21587         (llrint_downward_test_data): Likewise.
21588         (llrint_test_downward): Likewise.
21589         (llrint_upward_test_data): Likewise.
21590         (llrint_test_upward): Likewise.
21591         (rint_test_data): Merge in per-rounding-mode tests and results
21592         from rint_tonearest_test_data, rint_towardzero_test_data,
21593         rint_downward_test_data and rint_upward_test_data.  Add
21594         per-rounding-mode results for tests not in those arrays.
21595         (rint_test): Use ALL_RM_TEST.
21596         (rint_tonearest_test_data): Remove.
21597         (rint_test_tonearest): Likewise.
21598         (rint_towardzero_test_data): Likewise.
21599         (rint_test_towardzero): Likewise.
21600         (rint_downward_test_data): Likewise.
21601         (rint_test_downward): Likewise.
21602         (rint_upward_test_data): Likewise.
21603         (rint_test_upward): Likewise.
21604         (main): Don't call removed functions.
21606 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21608         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
21609         "Compiled on ..." crapola.  It is anti-useful.
21611 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
21613         * scripts/evaluate-test.sh: Handle fourth argument to determine
21614         whether test run should stop on failure.
21615         * Makeconfig (stop-on-test-failure): New variable.
21616         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
21617         $(stop-on-test-failure).
21618         * Makefile (tests): Give a summary of results from testing and
21619         exit with failure status if they include an ERROR or FAIL.
21620         (xtests): Likewise.
21621         * manual/install.texi (Configuring and compiling): Mention
21622         stop-on-test-failure=y.
21623         * INSTALL: Regenerated.
21625 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21627         * scripts/versionlist.awk: New file.
21628         * Makerules [$(build-shared) = yes]
21629         (postclean-generated): Add Versions.def, not Versions.def.v and
21630         Versions.def.v.i.
21631         ($(common-objpfx)Versions.def.v.i): Target removed.
21632         ($(common-objpfx)Versions.def): New target.
21633         ($(common-objpfx)Versions.all): Depend on that rather that
21634         $(common-objpfx)Versions.def.v.
21635         * Versions.def: File removed.
21637         * Makeconfig (+gccwarn): Add -Wundef.
21638         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
21639         a dl-sysdep.h breaking its contract.
21640         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
21641         * include/stackinfo.h: New file.
21642         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
21643         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
21644         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21645         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
21646         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
21647         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
21648         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21649         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21650         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21651         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21652         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21653         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
21654         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21655         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21656         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
21658 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21660         [BZ #16707]
21661         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
21662         implementation.
21663         * math/libm-test.inc (round_test_data): Add more tests.
21665         [BZ #16706]
21666         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
21667         implementation.
21668         * math/libm-test.inc (nearbyint_test_data): Add more tests.
21670         [BZ #16701]
21671         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
21672         implementation.
21673         * math/libm-test.inc (ceil_test_data): Add more tests.
21675         * math/libm-test.inc (trunc_test_data): Add more tests related to
21676         BZ#16414.
21678 2014-03-14  Roland McGrath  <roland@hack.frob.com>
21680         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
21681         with #if rather than #ifdef.
21682         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
21684 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
21686         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
21687         first.  Disable AVX-512 GCC support if assembler doesn't support
21688         it.
21689         * sysdeps/x86_64/configure: Regenerated.
21691 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
21693         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
21694         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
21695         (__old_pthread_attr_setstack): Likewise.
21696         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
21697         [!_STACK_GROWS_DOWN]: Likewise.
21699 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
21701         * config.make.in (have-bash2): Delete.
21702         * configure.ac (libc_cv_have_bash2): Delete.
21703         * configure: Regenerate.
21704         * elf/Makefile (common-ldd-rewrite): Rename to ...
21705         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
21706         (sh-ldd-rewrite): Delete.
21707         (bash-ldd-rewrite): Delete.
21708         (have-bash2): Delete checks.
21709         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
21710         ldd-rewrite.
21712         * config.make.in (have-ksh): Delete.
21713         (KSH): Delete.
21714         * configure.ac (libc_cv_have_ksh): Delete.
21715         * configure: Regenerate.
21717         * elf/Makefile: Delete $(have-ksh) check.
21718         ($(objpfx)sotruss): Change KSH to BASH.
21719         * elf/sotruss.ksh: Rename to ...
21720         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
21721         function style to match POSIX.  Drop ksh vim mode setting.
21723         * manual/time.texi (Specifying the Time Zone with TZ): Change
21724         Tuesday to Thursday.
21726         * debug/tst-longjmp_chk2.c: Update header comment.
21727         (stackoverflow_handler): Add comment.  Call assert on pass value.
21729 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21731         [BZ #16194]
21732         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
21733         (HAVE_AVX512_ASM_SUPPORT): Likewise.
21734         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
21735         (La_x86_64_vector): Add zmm.
21736         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
21737         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
21738         ($(objpfx)tst-audit10): New target.
21739         ($(objpfx)tst-audit10.out): Likewise.
21740         (tst-audit10-ENV): New.
21741         (AVX512-CFLAGS): Likewise.
21742         (CFLAGS-tst-audit10.c): Likewise.
21743         (CFLAGS-tst-auditmod10a.c): Likewise.
21744         (CFLAGS-tst-auditmod10b.c): Likewise.
21745         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
21746         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
21747         * sysdeps/x86_64/configure: Regenerated.
21748         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
21749         AVX-512 zmm register support.
21750         (_dl_x86_64_save_sse): Likewise.
21751         (_dl_x86_64_restore_sse): Likewise.
21752         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
21753         size vector registers.
21754         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
21755         (ZMM_SIZE): Likewise.
21756         * sysdeps/x86_64/tst-audit10.c: New file.
21757         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
21758         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
21760 2014-03-13  Roland McGrath  <roland@hack.frob.com>
21762         * configure.ac (HAVE_EHDR_START): New check.
21763         * configure: Regenerated.
21764         * config.h.in (HAVE_EHDR_START): New #undef.
21765         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
21766         assuming the lowest-addressed segment maps the start of the file.
21768 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
21770         * INSTALL: Regenerated.
21772 2014-03-13  Will Newton  <will.newton@linaro.org>
21774         * manual/setjmp.texi (System V contexts): Improve
21775         clarity and grammar of documentation.
21777 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21779         [BZ #16381]
21780         * elf/Makefile (tests): Add tst-pie2.
21781         (tests-pie): Add tst-pie2.
21782         * elf/tst-pie2.c: New file.
21783         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
21784         for ET_EXEC.
21785         * elf/rtld.c (map_doit): Load executable as lt_executable.
21786         (dl_main): Likewise.
21788 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
21790         [BZ #16642]
21791         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21792         (__ASSUME_PSELECT): Undefine.
21794 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21796         [BZ #16689]
21797         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
21798         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
21799         static build.
21800         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
21801         selector for static builds.
21803 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21805         [BZ #16695]
21806         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
21807         key in the buffer.
21809 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21811         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
21812         IFUNC selector for static builds.
21814 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
21816         * sysdeps/mips/math_private.h [__mips_hard_float]
21817         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
21818         libc_feresetround_mips_ctx.
21819         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
21820         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
21821         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21823         [BZ #16677]
21824         * math/s_nextafter.c (__nextafter): Do not return value from
21825         overflowing computation.
21826         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21827         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21828         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21829         Likewise.
21830         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21831         Likewise.
21832         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21833         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21835 2014-03-11  Roland McGrath  <roland@hack.frob.com>
21837         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21838         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21839         Move sfi_sp use from the load-multiple (that no longer sets sp) to
21840         the new mov targetting sp.
21842 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21844         [BZ #16683]
21845         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21846         Define it for static builds as well.
21847         (NO_BZERO_IMPL): Likewise.
21849 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21851         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21852         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21853         multiarch strspn for PPC64.
21854         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21855         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21857         (__libc_ifunc_impl_list): Likewise.
21858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21859         multiarch optimizations
21860         * string/strspn.c (strspn): Using macro to redefine symbol name.
21862 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21863             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21865         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21866         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21867         multiarch strncat for PPC64.
21868         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21869         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21871         (__libc_ifunc_impl_list): Likewise.
21872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21873         multiarch optimizations
21875 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21877         [BZ #16639]
21878         * nscd/nscd.service: Make service type forking.
21880 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21882         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21883         sign in non default rounding modes.
21884         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21886 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
21888         * math/libm-test.inc (ALL_RM_TEST): New macro.
21889         (ceil_test): Use ALL_RM_TEST.
21890         (cimag_test): Likewise.
21891         (conj_test): Likewise.
21892         (copysign_test): Likewise.
21893         (cproj_test): Likewise.
21894         (creal_test): Likewise.
21895         (fabs_test): Likewise.
21896         (floor_test): Likewise.
21897         (fmax_test): Likewise.
21898         (fmin_test): Likewise.
21899         (fmod_test): Likewise.
21900         (fpclassify_test): Likewise.
21901         (frexp_test): Likewise.
21902         (ilogb_test): Likewise.
21903         (isfinite_test): Likewise.
21904         (finite_test): Likewise.
21905         (isgreater_test): Likewise.
21906         (isgreaterequal_test): Likewise.
21907         (isinf_test): Likewise.
21908         (isless_test): Likewise.
21909         (islessequal_test): Likewise.
21910         (islessgreater_test): Likewise.
21911         (isnan_test): Likewise.
21912         (isnormal_test): Likewise.
21913         (issignaling_test): Likewise.
21914         (isunordered_test): Likewise.
21915         (logb_test): Likewise.
21916         (logb_downward_test_data): Remove.
21917         (logb_test_downward): Likewise.
21918         (lround_test): Use ALL_RM_TEST.
21919         (llround_test): Likewise.
21920         (modf_test): Likewise.
21921         (nexttoward_test): Likewise.
21922         (remainder_test): Likewise.
21923         (drem_test): Likewise.
21924         (remainder_tonearest_test_data): Likewise.
21925         (remainder_test_tonearest): Likewise.
21926         (drem_test_tonearest): Likewise.
21927         (remainder_towardzero_test_data): Likewise.
21928         (remainder_test_towardzero): Likewise.
21929         (drem_test_towardzero): Likewise.
21930         (remainder_downward_test_data): Likewise.
21931         (remainder_test_downward): Likewise.
21932         (drem_test_downward): Likewise.
21933         (remainder_upward_test_data): Likewise.
21934         (remainder_test_upward): Likewise.
21935         (drem_test_upward): Likewise.
21936         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
21937         (round_test): Use ALL_RM_TEST.
21938         (signbit_test): Likewise.
21939         (trunc_test): Likewise.
21940         (significand_test): Likewise.
21941         (main): Don't call removed functions.
21943 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21945         [BZ #16674]
21946         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21947         || __USE_XOPEN2K8].
21948         (ILL_ILLOPN): Likewise.
21949         (ILL_ILLADR): Likewise.
21950         (ILL_ILLTRP): Likewise.
21951         (ILL_PRVOPC): Likewise.
21952         (ILL_PRVREG): Likewise.
21953         (ILL_COPROC): Likewise.
21954         (ILL_BADSTK): Likewise.
21955         (FPE_INTDIV): Likewise.
21956         (FPE_INTOVF): Likewise.
21957         (FPE_FLTDIV): Likewise.
21958         (FPE_FLTOVF): Likewise.
21959         (FPE_FLTUND): Likewise.
21960         (FPE_FLTRES): Likewise.
21961         (FPE_FLTINV): Likewise.
21962         (FPE_FLTSUB): Likewise.
21963         (SEGV_MAPERR): Likewise.
21964         (SEGV_ACCERR): Likewise.
21965         (BUS_ADRALN): Likewise.
21966         (BUS_ADRERR): Likewise.
21967         (BUS_OBJERR): Likewise.
21968         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21969         (TRAP_TRACE): Likewise.
21970         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21971         __USE_XOPEN2K8].
21972         (CLD_KILLED): Likewise.
21973         (CLD_DUMPED): Likewise.
21974         (CLD_TRAPPED): Likewise.
21975         (CLD_STOPPED): Likewise.
21976         (CLD_CONTINUED): Likewise.
21977         (POLL_IN): Likewise.
21978         (POLL_OUT): Likewise.
21979         (POLL_MSG): Likewise.
21980         (POLL_ERR): Likewise.
21981         (POLL_PRI): Likewise.
21982         (POLL_HUP): Likewise.
21983         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21984         Likewise.
21985         (ILL_ILLOPN): Likewise.
21986         (ILL_ILLADR): Likewise.
21987         (ILL_ILLTRP): Likewise.
21988         (ILL_PRVOPC): Likewise.
21989         (ILL_PRVREG): Likewise.
21990         (ILL_COPROC): Likewise.
21991         (ILL_BADSTK): Likewise.
21992         (FPE_INTDIV): Likewise.
21993         (FPE_INTOVF): Likewise.
21994         (FPE_FLTDIV): Likewise.
21995         (FPE_FLTOVF): Likewise.
21996         (FPE_FLTUND): Likewise.
21997         (FPE_FLTRES): Likewise.
21998         (FPE_FLTINV): Likewise.
21999         (FPE_FLTSUB): Likewise.
22000         (SEGV_MAPERR): Likewise.
22001         (SEGV_ACCERR): Likewise.
22002         (BUS_ADRALN): Likewise.
22003         (BUS_ADRERR): Likewise.
22004         (BUS_OBJERR): Likewise.
22005         (BUS_MCEERR_AR): Likewise.
22006         (BUS_MCEERR_AO): Likewise.
22007         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22008         (TRAP_TRACE): Likewise.
22009         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22010         __USE_XOPEN2K8].
22011         (CLD_KILLED): Likewise.
22012         (CLD_DUMPED): Likewise.
22013         (CLD_TRAPPED): Likewise.
22014         (CLD_STOPPED): Likewise.
22015         (CLD_CONTINUED): Likewise.
22016         (POLL_IN): Likewise.
22017         (POLL_OUT): Likewise.
22018         (POLL_MSG): Likewise.
22019         (POLL_ERR): Likewise.
22020         (POLL_PRI): Likewise.
22021         (POLL_HUP): Likewise.
22022         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22023         (ILL_ILLOPN): Likewise.
22024         (ILL_ILLADR): Likewise.
22025         (ILL_ILLTRP): Likewise.
22026         (ILL_PRVOPC): Likewise.
22027         (ILL_PRVREG): Likewise.
22028         (ILL_COPROC): Likewise.
22029         (ILL_BADSTK): Likewise.
22030         (FPE_INTDIV): Likewise.
22031         (FPE_INTOVF): Likewise.
22032         (FPE_FLTDIV): Likewise.
22033         (FPE_FLTOVF): Likewise.
22034         (FPE_FLTUND): Likewise.
22035         (FPE_FLTRES): Likewise.
22036         (FPE_FLTINV): Likewise.
22037         (FPE_FLTSUB): Likewise.
22038         (SEGV_MAPERR): Likewise.
22039         (SEGV_ACCERR): Likewise.
22040         (BUS_ADRALN): Likewise.
22041         (BUS_ADRERR): Likewise.
22042         (BUS_OBJERR): Likewise.
22043         (BUS_MCEERR_AR): Likewise.
22044         (BUS_MCEERR_AO): Likewise.
22045         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22046         (TRAP_TRACE): Likewise.
22047         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22048         __USE_XOPEN2K8].
22049         (CLD_KILLED): Likewise.
22050         (CLD_DUMPED): Likewise.
22051         (CLD_TRAPPED): Likewise.
22052         (CLD_STOPPED): Likewise.
22053         (CLD_CONTINUED): Likewise.
22054         (POLL_IN): Likewise.
22055         (POLL_OUT): Likewise.
22056         (POLL_MSG): Likewise.
22057         (POLL_ERR): Likewise.
22058         (POLL_PRI): Likewise.
22059         (POLL_HUP): Likewise.
22060         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22061         Likewise.
22062         (ILL_ILLOPN): Likewise.
22063         (ILL_ILLADR): Likewise.
22064         (ILL_ILLTRP): Likewise.
22065         (ILL_PRVOPC): Likewise.
22066         (ILL_PRVREG): Likewise.
22067         (ILL_COPROC): Likewise.
22068         (ILL_BADSTK): Likewise.
22069         (ILL_BADIADDR): Likewise.
22070         (ILL_BREAK): Likewise.
22071         (FPE_INTDIV): Likewise.
22072         (FPE_INTOVF): Likewise.
22073         (FPE_FLTDIV): Likewise.
22074         (FPE_FLTOVF): Likewise.
22075         (FPE_FLTUND): Likewise.
22076         (FPE_FLTRES): Likewise.
22077         (FPE_FLTINV): Likewise.
22078         (FPE_FLTSUB): Likewise.
22079         (FPE_DECOVF): Likewise.
22080         (FPE_DECDIV): Likewise.
22081         (FPE_DECERR): Likewise.
22082         (FPE_INVASC): Likewise.
22083         (FPE_INVDEC): Likewise.
22084         (SEGV_MAPERR): Likewise.
22085         (SEGV_ACCERR): Likewise.
22086         (SEGV_PSTKOVF): Likewise.
22087         (BUS_ADRALN): Likewise.
22088         (BUS_ADRERR): Likewise.
22089         (BUS_OBJERR): Likewise.
22090         (BUS_MCEERR_AR): Likewise.
22091         (BUS_MCEERR_AO): Likewise.
22092         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22093         (TRAP_TRACE): Likewise.
22094         (TRAP_BRANCH): Likewise.
22095         (TRAP_HWBKPT): Likewise.
22096         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22097         __USE_XOPEN2K8].
22098         (CLD_KILLED): Likewise.
22099         (CLD_DUMPED): Likewise.
22100         (CLD_TRAPPED): Likewise.
22101         (CLD_STOPPED): Likewise.
22102         (CLD_CONTINUED): Likewise.
22103         (POLL_IN): Likewise.
22104         (POLL_OUT): Likewise.
22105         (POLL_MSG): Likewise.
22106         (POLL_ERR): Likewise.
22107         (POLL_PRI): Likewise.
22108         (POLL_HUP): Likewise.
22109         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22110         (ILL_ILLOPN): Likewise.
22111         (ILL_ILLADR): Likewise.
22112         (ILL_ILLTRP): Likewise.
22113         (ILL_PRVOPC): Likewise.
22114         (ILL_PRVREG): Likewise.
22115         (ILL_COPROC): Likewise.
22116         (ILL_BADSTK): Likewise.
22117         (FPE_INTDIV): Likewise.
22118         (FPE_INTOVF): Likewise.
22119         (FPE_FLTDIV): Likewise.
22120         (FPE_FLTOVF): Likewise.
22121         (FPE_FLTUND): Likewise.
22122         (FPE_FLTRES): Likewise.
22123         (FPE_FLTINV): Likewise.
22124         (FPE_FLTSUB): Likewise.
22125         (SEGV_MAPERR): Likewise.
22126         (SEGV_ACCERR): Likewise.
22127         (BUS_ADRALN): Likewise.
22128         (BUS_ADRERR): Likewise.
22129         (BUS_OBJERR): Likewise.
22130         (BUS_MCEERR_AR): Likewise.
22131         (BUS_MCEERR_AO): Likewise.
22132         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22133         (TRAP_TRACE): Likewise.
22134         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22135         __USE_XOPEN2K8].
22136         (CLD_KILLED): Likewise.
22137         (CLD_DUMPED): Likewise.
22138         (CLD_TRAPPED): Likewise.
22139         (CLD_STOPPED): Likewise.
22140         (CLD_CONTINUED): Likewise.
22141         (POLL_IN): Likewise.
22142         (POLL_OUT): Likewise.
22143         (POLL_MSG): Likewise.
22144         (POLL_ERR): Likewise.
22145         (POLL_PRI): Likewise.
22146         (POLL_HUP): Likewise.
22147         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22148         (ILL_ILLOPN): Likewise.
22149         (ILL_ILLADR): Likewise.
22150         (ILL_ILLTRP): Likewise.
22151         (ILL_PRVOPC): Likewise.
22152         (ILL_PRVREG): Likewise.
22153         (ILL_COPROC): Likewise.
22154         (ILL_BADSTK): Likewise.
22155         (FPE_INTDIV): Likewise.
22156         (FPE_INTOVF): Likewise.
22157         (FPE_FLTDIV): Likewise.
22158         (FPE_FLTOVF): Likewise.
22159         (FPE_FLTUND): Likewise.
22160         (FPE_FLTRES): Likewise.
22161         (FPE_FLTINV): Likewise.
22162         (FPE_FLTSUB): Likewise.
22163         (SEGV_MAPERR): Likewise.
22164         (SEGV_ACCERR): Likewise.
22165         (BUS_ADRALN): Likewise.
22166         (BUS_ADRERR): Likewise.
22167         (BUS_OBJERR): Likewise.
22168         (BUS_MCEERR_AR): Likewise.
22169         (BUS_MCEERR_AO): Likewise.
22170         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22171         (TRAP_TRACE): Likewise.
22172         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22173         __USE_XOPEN2K8].
22174         (CLD_KILLED): Likewise.
22175         (CLD_DUMPED): Likewise.
22176         (CLD_TRAPPED): Likewise.
22177         (CLD_STOPPED): Likewise.
22178         (CLD_CONTINUED): Likewise.
22179         (POLL_IN): Likewise.
22180         (POLL_OUT): Likewise.
22181         (POLL_MSG): Likewise.
22182         (POLL_ERR): Likewise.
22183         (POLL_PRI): Likewise.
22184         (POLL_HUP): Likewise.
22185         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22186         (ILL_ILLOPN): Likewise.
22187         (ILL_ILLADR): Likewise.
22188         (ILL_ILLTRP): Likewise.
22189         (ILL_PRVOPC): Likewise.
22190         (ILL_PRVREG): Likewise.
22191         (ILL_COPROC): Likewise.
22192         (ILL_BADSTK): Likewise.
22193         (FPE_INTDIV): Likewise.
22194         (FPE_INTOVF): Likewise.
22195         (FPE_FLTDIV): Likewise.
22196         (FPE_FLTOVF): Likewise.
22197         (FPE_FLTUND): Likewise.
22198         (FPE_FLTRES): Likewise.
22199         (FPE_FLTINV): Likewise.
22200         (FPE_FLTSUB): Likewise.
22201         (SEGV_MAPERR): Likewise.
22202         (SEGV_ACCERR): Likewise.
22203         (BUS_ADRALN): Likewise.
22204         (BUS_ADRERR): Likewise.
22205         (BUS_OBJERR): Likewise.
22206         (BUS_MCEERR_AR): Likewise.
22207         (BUS_MCEERR_AO): Likewise.
22208         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22209         (TRAP_TRACE): Likewise.
22210         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22211         __USE_XOPEN2K8].
22212         (CLD_KILLED): Likewise.
22213         (CLD_DUMPED): Likewise.
22214         (CLD_TRAPPED): Likewise.
22215         (CLD_STOPPED): Likewise.
22216         (CLD_CONTINUED): Likewise.
22217         (POLL_IN): Likewise.
22218         (POLL_OUT): Likewise.
22219         (POLL_MSG): Likewise.
22220         (POLL_ERR): Likewise.
22221         (POLL_PRI): Likewise.
22222         (POLL_HUP): Likewise.
22223         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22224         (ILL_ILLOPN): Likewise.
22225         (ILL_ILLADR): Likewise.
22226         (ILL_ILLTRP): Likewise.
22227         (ILL_PRVOPC): Likewise.
22228         (ILL_PRVREG): Likewise.
22229         (ILL_COPROC): Likewise.
22230         (ILL_BADSTK): Likewise.
22231         (ILL_DBLFLT): Likewise.
22232         (ILL_HARDWALL): Likewise.
22233         (FPE_INTDIV): Likewise.
22234         (FPE_INTOVF): Likewise.
22235         (FPE_FLTDIV): Likewise.
22236         (FPE_FLTOVF): Likewise.
22237         (FPE_FLTUND): Likewise.
22238         (FPE_FLTRES): Likewise.
22239         (FPE_FLTINV): Likewise.
22240         (FPE_FLTSUB): Likewise.
22241         (SEGV_MAPERR): Likewise.
22242         (SEGV_ACCERR): Likewise.
22243         (BUS_ADRALN): Likewise.
22244         (BUS_ADRERR): Likewise.
22245         (BUS_OBJERR): Likewise.
22246         (BUS_MCEERR_AR): Likewise.
22247         (BUS_MCEERR_AO): Likewise.
22248         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22249         (TRAP_TRACE): Likewise.
22250         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22251         __USE_XOPEN2K8].
22252         (CLD_KILLED): Likewise.
22253         (CLD_DUMPED): Likewise.
22254         (CLD_TRAPPED): Likewise.
22255         (CLD_STOPPED): Likewise.
22256         (CLD_CONTINUED): Likewise.
22257         (POLL_IN): Likewise.
22258         (POLL_OUT): Likewise.
22259         (POLL_MSG): Likewise.
22260         (POLL_ERR): Likewise.
22261         (POLL_PRI): Likewise.
22262         (POLL_HUP): Likewise.
22263         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22264         (ILL_ILLOPN): Likewise.
22265         (ILL_ILLADR): Likewise.
22266         (ILL_ILLTRP): Likewise.
22267         (ILL_PRVOPC): Likewise.
22268         (ILL_PRVREG): Likewise.
22269         (ILL_COPROC): Likewise.
22270         (ILL_BADSTK): Likewise.
22271         (FPE_INTDIV): Likewise.
22272         (FPE_INTOVF): Likewise.
22273         (FPE_FLTDIV): Likewise.
22274         (FPE_FLTOVF): Likewise.
22275         (FPE_FLTUND): Likewise.
22276         (FPE_FLTRES): Likewise.
22277         (FPE_FLTINV): Likewise.
22278         (FPE_FLTSUB): Likewise.
22279         (SEGV_MAPERR): Likewise.
22280         (SEGV_ACCERR): Likewise.
22281         (BUS_ADRALN): Likewise.
22282         (BUS_ADRERR): Likewise.
22283         (BUS_OBJERR): Likewise.
22284         (BUS_MCEERR_AR): Likewise.
22285         (BUS_MCEERR_AO): Likewise.
22286         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22287         (TRAP_TRACE): Likewise.
22288         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22289         __USE_XOPEN2K8].
22290         (CLD_KILLED): Likewise.
22291         (CLD_DUMPED): Likewise.
22292         (CLD_TRAPPED): Likewise.
22293         (CLD_STOPPED): Likewise.
22294         (CLD_CONTINUED): Likewise.
22295         (POLL_IN): Likewise.
22296         (POLL_OUT): Likewise.
22297         (POLL_MSG): Likewise.
22298         (POLL_ERR): Likewise.
22299         (POLL_PRI): Likewise.
22300         (POLL_HUP): Likewise.
22301         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22302         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22304         [BZ #16670]
22305         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22306         before #include of <time.h>.
22307         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22308         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22309         (test-xfail-UNIX98/sched.h/conform): Likewise.
22311 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22313         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22314         error absence of trapping exception support.
22315         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22317 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22319         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22320         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22321         * timezone/Makefile (testdata): Move definition above include of
22322         Rules.
22323         (test-zones): New variable.
22324         (tests-special): Add zone files.
22325         (build-testdata): Use $(evaluate-test).
22327         * elf/Makefile (tests-special): Rename tests to end with .out.
22328         ($(objpfx)noload-mem): Likewise.
22329         ($(objpfx)tst-leaks1-mem): Likewise.
22330         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22331         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22332         $(objpfx)test-iconvconfig.out.
22333         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22334         set -e inside subshell and redirect output to file.
22335         * iconvdata/Makefile (generated): Rename tests to end with .out.
22336         Correct type.
22337         (tests-special): Rename tests to end with .out.
22338         ($(objpfx)mtrace-tst-loading): Likewise.
22339         * intl/Makefile (generated): Likewise.
22340         (tests-special): Likewise.
22341         ($(objpfx)mtrace-tst-gettext): Likewise.
22342         * misc/Makefile (generated): Likewise.
22343         (tests-special): Likewise.
22344         ($(objpfx)tst-error1-mem): Likewise.
22345         * nptl/Makefile (tests-special): Likewise.
22346         ($(objpfx)tst-stack3-mem): Likewise.
22347         (generated): Likewise.
22348         * posix/Makefile (generated): Likewise.
22349         (tests-special): Likewise.
22350         (xtests-special): Likewise.
22351         ($(objpfx)tst-fnmatch-mem): Likewise.
22352         ($(objpfx)bug-regex2-mem): Likewise.
22353         ($(objpfx)bug-regex14-mem): Likewise.
22354         ($(objpfx)bug-regex21-mem): Likewise.
22355         ($(objpfx)bug-regex31-mem): Likewise.
22356         ($(objpfx)tst-vfork3-mem): Likewise.
22357         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22358         ($(objpfx)tst-pcre-mem): Likewise.
22359         ($(objpfx)tst-boost-mem): Likewise.
22360         ($(objpfx)bug-ga2-mem): Likewise.
22361         ($(objpfx)bug-glob2-mem): Likewise.
22362         * resolv/Makefile (generate): Likewise.
22363         (tests-special): Likewise.
22364         (xtests-special): Likewise.
22365         (generated): Likewise.
22366         ($(objpfx)mtrace-tst-leaks): Likewise.
22367         ($(objpfx)mtrace-tst-leaks2): Likewise.
22369         * scripts/merge-test-results.sh: New file.
22370         * Makefile (tests-special-notdir): New variable.
22371         (tests): Run merge-test-results.sh.
22372         (xtests): Likewise.
22373         * Rules (tests-special-notdir): New variable.
22374         (xtests-special-notdir): Likewise.
22375         (tests): Run merge-test-results.sh
22376         (xtests): Likewise.
22378         * Makeconfig (test-xfail-name): New variable.
22379         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22380         compute variable name for expected failures.
22381         * conform/Makefile (conformtest-headers-data): New variable.
22382         (conformtest-standards): Likewise.
22383         (conformtest-headers-ISO): Likewise.
22384         (conformtest-headers-ISO99): Likewise.
22385         (conformtest-headers-ISO11): Likewise.
22386         (conformtest-headers-POSIX): Likewise.
22387         (conformtest-headers-XPG3): Likewise.
22388         (conformtest-headers-XPG4): Likewise.
22389         (conformtest-headers-UNIX98): Likewise.
22390         (conformtest-headers-XOPEN2K): Likewise.
22391         (conformtest-headers-POSIX2008): Likewise.
22392         (conformtest-headers-XOPEN2K8): Likewise.
22393         (conformtest-header-list-base): Likewise.
22394         (conformtest-header-list-tests): Likewise.
22395         (conformtest-header-base): Likewise.
22396         (conformtest-header-tests): Likewise.
22397         (tests-special): Add $(conformtest-header-list-tests).  If
22398         [$(fast-check) && !$(cross-compiling)], add
22399         $(conformtest-header-tests) instead of
22400         $(objpfx)run-conformtest.out.
22401         (generated): Add $(conformtest-header-list-base).  If
22402         [$(fast-check) && !$(cross-compiling)], add
22403         $(conformtest-header-base).  Remove previous setting.
22404         ($(conformtest-header-list-tests)): New target.
22405         (test-xfail-run-conformtest): Remove variable.
22406         ($(objpfx)run-conformtest.out): Remove target.
22407         (test-xfail-ISO11/complex.h/conform): New variable.
22408         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22409         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22410         (test-xfail-XPG3/varargs.h/conform): Likewise.
22411         (test-xfail-XPG4/varargs.h/conform): Likewise.
22412         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22413         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22414         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22415         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22416         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22417         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22418         (test-xfail-XPG3/ftw.h/conform): Likewise.
22419         (test-xfail-XPG3/grp.h/conform): Likewise.
22420         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22421         (test-xfail-XPG3/limits.h/conform): Likewise.
22422         (test-xfail-XPG3/pwd.h/conform): Likewise.
22423         (test-xfail-XPG3/search.h/conform): Likewise.
22424         (test-xfail-XPG3/signal.h/conform): Likewise.
22425         (test-xfail-XPG3/stdio.h/conform): Likewise.
22426         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22427         (test-xfail-XPG3/string.h/conform): Likewise.
22428         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22429         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22430         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22431         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22432         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22433         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22434         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22435         (test-xfail-XPG3/termios.h/conform): Likewise.
22436         (test-xfail-XPG3/time.h/conform): Likewise.
22437         (test-xfail-XPG3/unistd.h/conform): Likewise.
22438         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22439         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22440         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22441         (test-xfail-XPG4/netdb.h/conform): Likewise.
22442         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22443         (test-xfail-XPG4/signal.h/conform): Likewise.
22444         (test-xfail-XPG4/stdio.h/conform): Likewise.
22445         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22446         (test-xfail-XPG4/stropts.h/conform): Likewise.
22447         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22448         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22449         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22450         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22451         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22452         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22453         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22454         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22455         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22456         (test-xfail-XPG4/termios.h/conform): Likewise.
22457         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22458         (test-xfail-XPG4/unistd.h/conform): Likewise.
22459         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22460         (test-xfail-POSIX/sched.h/conform): Likewise.
22461         (test-xfail-POSIX/signal.h/conform): Likewise.
22462         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22463         (test-xfail-POSIX/tar.h/conform): Likewise.
22464         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22465         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22466         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22467         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22468         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22469         (test-xfail-UNIX98/sched.h/conform): Likewise.
22470         (test-xfail-UNIX98/signal.h/conform): Likewise.
22471         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22472         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22473         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22474         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22475         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22476         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22477         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22478         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22479         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22480         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22481         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22482         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22483         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22484         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22485         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22486         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22487         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22488         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22489         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22490         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22491         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22492         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
22493         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
22494         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
22495         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
22496         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22497         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22498         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22499         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22500         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22501         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22502         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
22503         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
22504         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
22505         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
22506         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22507         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
22508         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22509         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
22510         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
22511         (test-xfail-POSIX2008/signal.h/conform): Likewise.
22512         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22513         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
22514         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
22515         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22516         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22517         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
22518         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
22519         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22520         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22521         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
22522         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
22523         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22524         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22525         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22526         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
22527         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22528         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22529         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22530         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22531         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
22532         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22533         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
22534         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
22535         (conformtest-cc-flags): Likewise.
22536         ($(conformtest-header-tests): New target.
22537         * conform/check-header-lists.sh: New file.
22538         * conform/run-conformtest.sh: Remove.
22540         * conform/conformtest.pl: Allow ' and \ in values given for
22541         constants.
22542         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
22543         inclusion.
22544         [POSIX] (sys/types.h): Likewise.
22545         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
22546         inclusion.
22547         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
22548         inclusion.
22549         * conform/data/signal.h-data (SIGIO): Remove expectation.
22550         [XPG3] (SIGBUS): Do not expect.
22551         [POSIX || XPG3] (SIGPOLL): Likewise.
22552         [POSIX || XPG3] (SIGPROF): Likewise.
22553         [POSIX || XPG3] (SIGSYS): Likewise.
22554         [XPG3] (SIGTRAP): Likewise.
22555         [POSIX || XPG3] (SIGURG): Likewise.
22556         [POSIX || XPG3] (SIGVTALRM): Likewise.
22557         [POSIX || XPG3] (SIGXCPU): Likewise.
22558         [POSIX || XPG3] (SIGXFSZ): Likewise.
22559         [POSIX] (SA_SIGINFO): Expect.
22560         [XPG3] (siginfo_t): Do not expect type or contents.
22561         [POSIX] (si_pid): Do not expect element.
22562         [POSIX] (si_uid): Likewise.
22563         [POSIX] (si_addr): Likewise.
22564         [POSIX] (si_status): Likewise.
22565         [POSIX] (si_band): Likewise.
22566         [XPG4] (si_value): Likewise.
22567         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
22568         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
22569         [POSIX || XPG3] (ILL_ILLADR): Likewise.
22570         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
22571         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
22572         [POSIX || XPG3] (ILL_PRVREG): Likewise.
22573         [POSIX || XPG3] (ILL_COPROC): Likewise.
22574         [POSIX || XPG3] (ILL_BADSTK): Likewise.
22575         [POSIX || XPG3] (FPE_INTDIV): Likewise.
22576         [POSIX || XPG3] (FPE_INTOVF): Likewise.
22577         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
22578         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
22579         [POSIX || XPG3] (FPE_FLTUND): Likewise.
22580         [POSIX || XPG3] (FPE_FLTRES): Likewise.
22581         [POSIX || XPG3] (FPE_FLTINV): Likewise.
22582         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
22583         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
22584         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
22585         [POSIX || XPG3] (BUS_ADRALN): Likewise.
22586         [POSIX || XPG3] (BUS_ADRERR): Likewise.
22587         [POSIX || XPG3] (BUS_OBJERR): Likewise.
22588         [POSIX || XPG3] (CLD_EXITED): Likewise.
22589         [POSIX || XPG3] (CLD_KILLED): Likewise.
22590         [POSIX || XPG3] (CLD_DUMPED): Likewise.
22591         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
22592         [POSIX || XPG3] (CLD_STOPPED): Likewise.
22593         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
22594         [POSIX || XPG3] (POLL_IN): Likewise.
22595         [POSIX || XPG3] (POLL_OUT): Likewise.
22596         [POSIX || XPG3] (POLL_MSG): Likewise.
22597         [POSIX || XPG3] (POLL_ERR): Likewise.
22598         [POSIX || XPG3] (POLL_PRI): Likewise.
22599         [POSIX || XPG3] (POLL_HUP): Likewise.
22600         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
22601         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
22602         (SIG*): Do not allow.
22603         [XPG3] (si_*): Likewise.
22604         [XPG3] (SI_*): Likewise.
22605         [XPG3 || XPG4] (sigev_*): Likewise.
22606         [XPG3 || XPG4] (SIGEV_*): Likewise.
22607         [XPG3 || XPG4] (sival_*): Likewise.
22608         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
22609         [POSIX || XPG3] (BUS_*): Likewise.
22610         [POSIX || XPG3] (CLD_*): Likewise.
22611         [POSIX || XPG3] (FPE_*): Likewise.
22612         [POSIX || XPG3] (ILL_*): Likewise.
22613         [POSIX || XPG3] (POLL_*): Likewise.
22614         [POSIX || XPG3] (SEGV_*): Likewise.
22615         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
22616         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
22617         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
22618         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
22619         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
22620         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
22621         Specify type and value.
22622         (TVERSLEN): Likewise.
22623         (REGTYPE): Likewise.
22624         (AREGTYPE): Likewise.
22625         (LNKTYPE): Likewise.
22626         (SYMTYPE): Likewise.
22627         (CHRTYPE): Likewise.
22628         (BLKTYPE): Likewise.
22629         (DIRTYPE): Likewise.
22630         (FIFOTYPE): Likewise.
22631         (CONTTYPE): Likewise.
22632         (TSUID): Likewise.
22633         (TSGID): Likewise.
22634         (TSVTX): Likewise.
22635         (TUREAD): Likewise.
22636         (TUWRITE): Likewise.
22637         (TUEXEC): Likewise.
22638         (TGREAD): Likewise.
22639         (TGWRITE): Likewise.
22640         (TGEXEC): Likewise.
22641         (TOREAD): Likewise.
22642         (TOWRITE): Likewise.
22643         (TOEXEC): Likewise.
22644         [POSIX] (TSVTX): Expect constant.
22646 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
22648         * Makefile (tests): Change dependencies to ....
22649         (tests-special): ... additions to this variable.
22650         (tests): Depend on $(tests-special).
22651         * Makerules (check-abi-list): New variable.
22652         (check-abi): Depend on $(check-abi-list).
22653         [$(subdir) = elf] (tests-special): Add
22654         $(objpfx)check-abi-libc.out.
22655         [$(build-shared) = yes && subdir] (tests-special): Add
22656         $(check-abi-list).
22657         [$(build-shared) = yes && subdir] (tests): Do not depend on
22658         check-abi.
22659         * Rules (tests): Depend on $(tests-special).
22660         (xtests): Depend on $(xtests-special).
22661         * catgets/Makefile (tests): Change dependencies to ....
22662         (tests-special): ... additions to this variable.
22663         * conform/Makefile (tests): Change dependencies to ....
22664         (tests-special): ... additions to this variable.
22665         * elf/Makefile (tests): Change dependencies to ....
22666         (tests-special): ... additions to this variable.
22667         * grp/Makefile (tests): Change dependencies to ....
22668         (tests-special): ... additions to this variable.
22669         * iconv/Makefile (xtests): Change dependencies to ....
22670         (xtests-special): ... additions to this variable.
22671         * iconvdata/Makefile (tests): Change dependencies to ....
22672         (tests-special): ... additions to this variable.
22673         * intl/Makefile (tests): Change dependencies to ....
22674         (tests-special): ... additions to this variable.  Also add
22675         $(objpfx)tst-gettext.out.
22676         * io/Makefile (tests): Change dependencies to ....
22677         (tests-special): ... additions to this variable.
22678         * libio/Makefile (tests): Change dependencies to ....
22679         (tests-special): ... additions to this variable.
22680         * malloc/Makefile (tests): Change dependencies to ....
22681         (tests-special): ... additions to this variable.
22682         * misc/Makefile (tests): Change dependencies to ....
22683         (tests-special): ... additions to this variable.
22684         * nptl/Makefile (tests): Change dependencies to ....
22685         (tests-special): ... additions to this variable.
22686         * nptl_db/Makefile (tests): Change dependencies to ....
22687         (tests-special): ... additions to this variable.
22688         * posix/Makefile (tests): Change dependencies to ....
22689         (tests-special): ... additions to this variable.
22690         (xtests): Change dependencies to ....
22691         (xtests-special): ... additions to this variable.
22692         * resolv/Makefile (tests): Change dependencies to ....
22693         (tests-special): ... additions to this variable.
22694         (xtests): Change dependencies to ....
22695         (xtests-special): ... additions to this variable.
22696         * stdio-common/Makefile (tests): Change dependencies to ....
22697         (tests-special): ... additions to this variable.
22698         (do-tst-unbputc): Remove target.
22699         (do-tst-printf): Likewise.
22700         * stdlib/Makefile (tests): Change dependencies to ....
22701         (tests-special): ... additions to this variable.
22702         * string/Makefile (tests): Change dependencies to ....
22703         (tests-special): ... additions to this variable.
22704         * sysdeps/x86/Makefile (tests): Change dependencies to ....
22705         (tests-special): ... additions to this variable.
22707         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
22708         whole file.
22709         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
22710         whole file.
22711         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
22712         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
22714         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
22715         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
22716         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
22717         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
22718         * conform/data/libgen.h-data [XPG3]: Likewise.
22719         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
22720         * conform/data/ndbm.h-data [XPG3]: Likewise.
22721         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22722         * conform/data/netdb.h-data [XPG3]: Likewise.
22723         * conform/data/netinet/in.h-data [XPG3]: Likewise.
22724         * conform/data/poll.h-data [XPG3]: Likewise.
22725         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
22726         * conform/data/strings.h-data [XPG3]: Likewise.
22727         * conform/data/stropts.h-data [XPG3]: Likewise.
22728         * conform/data/sys/mman.h-data [XPG3]: Likewise.
22729         * conform/data/sys/resource.h-data [XPG3]: Likewise.
22730         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
22731         Likewise.
22732         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
22733         * conform/data/sys/time.h-data [XPG3]: Likewise.
22734         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
22735         * conform/data/sys/uio.h-data [XPG3]: Likewise.
22736         * conform/data/sys/un.h-data [XPG3]: Likewise.
22737         * conform/data/syslog.h-data [XPG3]: Likewise.
22738         * conform/data/ucontext.h-data [XPG3]: Likewise.
22739         * conform/data/utmpx.h-data [XPG3]: Likewise.
22740         * conform/data/varargs.h-data [UNIX98]: Enable file.
22742         * manual/Makefile (INSTALL_INFO): Remove variable setting.
22744         * math/libm-test.inc (struct test_f_f_data): Move expected results
22745         into structure for each rounding mode.
22746         (struct test_ff_f_data): Likewise.
22747         (struct test_ff_f_data_nexttoward): Likewise.
22748         (struct test_fi_f_data): Likewise.
22749         (struct test_fl_f_data): Likewise.
22750         (struct test_if_f_data): Likewise.
22751         (struct test_fff_f_data): Likewise.
22752         (struct test_c_f_data): Likewise.
22753         (struct test_f_f1_data): Likewise.
22754         (struct test_fF_f1_data): Likewise.
22755         (struct test_ffI_f1_data): Likewise.
22756         (struct test_c_c_data): Likewise.
22757         (struct test_cc_c_data): Likewise.
22758         (struct test_f_i_data): Likewise.
22759         (struct test_ff_i_data): Likewise.
22760         (struct test_f_l_data): Likewise.
22761         (struct test_f_L_data): Likewise.
22762         (struct test_fFF_11_data): Likewise.
22763         (RM_): New macro.
22764         (RM_FE_DOWNWARD): Likewise.
22765         (RM_FE_TONEAREST): Likewise.
22766         (RM_FE_TOWARDZERO): Likewise.
22767         (RM_FE_UPWARD): Likewise.
22768         (RUN_TEST_LOOP_f_f): Update references to expected results.
22769         (RUN_TEST_LOOP_2_f): Likewise.
22770         (RUN_TEST_LOOP_fff_f): Likewise.
22771         (RUN_TEST_LOOP_c_f): Likewise.
22772         (RUN_TEST_LOOP_f_f1): Likewise.
22773         (RUN_TEST_LOOP_fF_f1): Likewise.
22774         (RUN_TEST_LOOP_fI_f1): Likewise.
22775         (RUN_TEST_LOOP_ffI_f1): Likewise.
22776         (RUN_TEST_LOOP_c_c): Likewise.
22777         (RUN_TEST_LOOP_cc_c): Likewise.
22778         (RUN_TEST_LOOP_f_i): Likewise.
22779         (RUN_TEST_LOOP_f_i_tg): Likewise.
22780         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22781         (RUN_TEST_LOOP_f_b): Likewise.
22782         (RUN_TEST_LOOP_f_b_tg): Likewise.
22783         (RUN_TEST_LOOP_f_l): Likewise.
22784         (RUN_TEST_LOOP_f_L): Likewise.
22785         (RUN_TEST_LOOP_fFF_11): Likewise.
22786         * math/gen-libm-test.pl (parse_args): Output four copies of
22787         expected results for each test.
22789         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22790         (__ASSUME_UTIMES): Remove.
22791         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22792         (__ASSUME_UTIMES): Likewise.
22794         * math/gen-auto-libm-tests.c: Update comment on output format.
22795         (output_for_one_input_case): Generate before-rounding and
22796         after-rounding information as conditions on output flags not
22797         floating-point format.
22798         * math/auto-libm-test-out: Regenerated.
22799         * math/gen-libm-test.pl (cond_value): New function.
22800         (or_cond_value): Use cond_value.
22801         (generate_testfile): Handle conditional exceptions.
22803 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
22805         * math/libm-test.inc (max_valid_error): New variable.
22806         (init_max_error): Take new argument specifying whether function
22807         results are exactly determined.  Set max_valid_error and bound
22808         other variables for errors based on this argument.
22809         (set_max_error): Do not record results above max_valid_error.
22810         (check_float_internal): Only accept errors of up to 0.5ulps if
22811         also at most max_valid_error.
22812         (START): Take new argument EXACT and pass it to init_max_error.
22813         (acos_test): Update call to START.
22814         (acos_test_tonearest): Likewise.
22815         (acos_test_towardzero): Likewise.
22816         (acos_test_downward): Likewise.
22817         (acos_test_upward): Likewise.
22818         (acosh_test): Likewise.
22819         (asin_test): Likewise.
22820         (asin_test_tonearest): Likewise.
22821         (asin_test_towardzero): Likewise.
22822         (asin_test_downward): Likewise.
22823         (asin_test_upward): Likewise.
22824         (asinh_test): Likewise.
22825         (atan_test): Likewise.
22826         (atanh_test): Likewise.
22827         (atan2_test): Likewise.
22828         (cabs_test): Likewise.
22829         (cacos_test): Likewise.
22830         (cacosh_test): Likewise.
22831         (carg_test): Likewise.
22832         (casin_test): Likewise.
22833         (casinh_test): Likewise.
22834         (catan_test): Likewise.
22835         (catanh_test): Likewise.
22836         (cbrt_test): Likewise.
22837         (ccos_test): Likewise.
22838         (ccosh_test): Likewise.
22839         (ceil_test): Likewise.
22840         (cexp_test): Likewise.
22841         (cimag_test): Likewise.
22842         (clog_test): Likewise.
22843         (clog10_test): Likewise.
22844         (conj_test): Likewise.
22845         (copysign_test): Likewise.
22846         (cos_test): Likewise.
22847         (cos_test_tonearest): Likewise.
22848         (cos_test_towardzero): Likewise.
22849         (cos_test_downward): Likewise.
22850         (cos_test_upward): Likewise.
22851         (cosh_test): Likewise.
22852         (cosh_test_tonearest): Likewise.
22853         (cosh_test_towardzero): Likewise.
22854         (cosh_test_downward): Likewise.
22855         (cosh_test_upward): Likewise.
22856         (cpow_test): Likewise.
22857         (cproj_test): Likewise.
22858         (creal_test): Likewise.
22859         (csin_test): Likewise.
22860         (csinh_test): Likewise.
22861         (csqrt_test): Likewise.
22862         (ctan_test): Likewise.
22863         (ctan_test_tonearest): Likewise.
22864         (ctan_test_towardzero): Likewise.
22865         (ctan_test_downward): Likewise.
22866         (ctan_test_upward): Likewise.
22867         (ctanh_test): Likewise.
22868         (ctanh_test_tonearest): Likewise.
22869         (ctanh_test_towardzero): Likewise.
22870         (ctanh_test_downward): Likewise.
22871         (ctanh_test_upward): Likewise.
22872         (erf_test): Likewise.
22873         (erfc_test): Likewise.
22874         (exp_test): Likewise.
22875         (exp_test_tonearest): Likewise.
22876         (exp_test_towardzero): Likewise.
22877         (exp_test_downward): Likewise.
22878         (exp_test_upward): Likewise.
22879         (exp10_test): Likewise.
22880         (exp10_test_tonearest): Likewise.
22881         (exp10_test_towardzero): Likewise.
22882         (exp10_test_downward): Likewise.
22883         (exp10_test_upward): Likewise.
22884         (pow10_test): Likewise.
22885         (exp2_test): Likewise.
22886         (expm1_test): Likewise.
22887         (expm1_test_tonearest): Likewise.
22888         (expm1_test_towardzero): Likewise.
22889         (expm1_test_downward): Likewise.
22890         (expm1_test_upward): Likewise.
22891         (fabs_test): Likewise.
22892         (fdim_test): Likewise.
22893         (floor_test): Likewise.
22894         (fma_test): Likewise.
22895         (fma_test_towardzero): Likewise.
22896         (fma_test_downward): Likewise.
22897         (fma_test_upward): Likewise.
22898         (fmax_test): Likewise.
22899         (fmin_test): Likewise.
22900         (fmod_test): Likewise.
22901         (fpclassify_test): Likewise.
22902         (frexp_test): Likewise.
22903         (hypot_test): Likewise.
22904         (ilogb_test): Likewise.
22905         (isfinite_test): Likewise.
22906         (finite_test): Likewise.
22907         (isgreater_test): Likewise.
22908         (isgreaterequal_test): Likewise.
22909         (isinf_test): Likewise.
22910         (isless_test): Likewise.
22911         (islessequal_test): Likewise.
22912         (islessgreater_test): Likewise.
22913         (isnan_test): Likewise.
22914         (isnormal_test): Likewise.
22915         (issignaling_test): Likewise.
22916         (isunordered_test): Likewise.
22917         (j0_test): Likewise.
22918         (j1_test): Likewise.
22919         (jn_test): Likewise.
22920         (ldexp_test): Likewise.
22921         (lgamma_test): Likewise.
22922         (gamma_test): Likewise.
22923         (lrint_test): Likewise.
22924         (lrint_test_tonearest): Likewise.
22925         (lrint_test_towardzero): Likewise.
22926         (lrint_test_downward): Likewise.
22927         (lrint_test_upward): Likewise.
22928         (llrint_test): Likewise.
22929         (llrint_test_tonearest): Likewise.
22930         (llrint_test_towardzero): Likewise.
22931         (llrint_test_downward): Likewise.
22932         (llrint_test_upward): Likewise.
22933         (log_test): Likewise.
22934         (log10_test): Likewise.
22935         (log1p_test): Likewise.
22936         (log2_test): Likewise.
22937         (logb_test): Likewise.
22938         (logb_test_downward): Likewise.
22939         (lround_test): Likewise.
22940         (llround_test): Likewise.
22941         (modf_test): Likewise.
22942         (nearbyint_test): Likewise.
22943         (nextafter_test): Likewise.
22944         (nexttoward_test): Likewise.
22945         (pow_test): Likewise.
22946         (pow_test_tonearest): Likewise.
22947         (pow_test_towardzero): Likewise.
22948         (pow_test_downward): Likewise.
22949         (pow_test_upward): Likewise.
22950         (remainder_test): Likewise.
22951         (drem_test): Likewise.
22952         (remainder_test_tonearest): Likewise.
22953         (drem_test_tonearest): Likewise.
22954         (remainder_test_towardzero): Likewise.
22955         (drem_test_towardzero): Likewise.
22956         (remainder_test_downward): Likewise.
22957         (drem_test_downward): Likewise.
22958         (remainder_test_upward): Likewise.
22959         (drem_test_upward): Likewise.
22960         (remquo_test): Likewise.
22961         (rint_test): Likewise.
22962         (rint_test_tonearest): Likewise.
22963         (rint_test_towardzero): Likewise.
22964         (rint_test_downward): Likewise.
22965         (rint_test_upward): Likewise.
22966         (round_test): Likewise.
22967         (scalb_test): Likewise.
22968         (scalbn_test): Likewise.
22969         (scalbln_test): Likewise.
22970         (signbit_test): Likewise.
22971         (sin_test): Likewise.
22972         (sin_test_tonearest): Likewise.
22973         (sin_test_towardzero): Likewise.
22974         (sin_test_downward): Likewise.
22975         (sin_test_upward): Likewise.
22976         (sincos_test): Likewise.
22977         (sinh_test): Likewise.
22978         (sinh_test_tonearest): Likewise.
22979         (sinh_test_towardzero): Likewise.
22980         (sinh_test_downward): Likewise.
22981         (sinh_test_upward): Likewise.
22982         (sqrt_test): Likewise.
22983         (sqrt_test_tonearest): Likewise.
22984         (sqrt_test_towardzero): Likewise.
22985         (sqrt_test_downward): Likewise.
22986         (sqrt_test_upward): Likewise.
22987         (tan_test): Likewise.
22988         (tan_test_tonearest): Likewise.
22989         (tan_test_towardzero): Likewise.
22990         (tan_test_downward): Likewise.
22991         (tan_test_upward): Likewise.
22992         (tanh_test): Likewise.
22993         (tgamma_test): Likewise.
22994         (trunc_test): Likewise.
22995         (y0_test): Likewise.
22996         (y1_test): Likewise.
22997         (yn_test): Likewise.
22998         (significand_test): Likewise.
23000         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23001         individual tests in comment.
23002         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23003         (prev_max_error): New variable.
23004         (prev_real_max_error): Likewise.
23005         (prev_imag_max_error): Likewise.
23006         (compare_ulp_data): Don't refer to test names in comment.
23007         (find_test_ulps): Remove function.
23008         (find_function_ulps): Likewise.
23009         (find_complex_function_ulps): Likewise.
23010         (init_max_error): Take function name as argument.  Look up ulps
23011         for that function.
23012         (print_ulps): Remove function.
23013         (print_max_error): Use prev_max_error instead of calling
23014         find_function_ulps.
23015         (print_complex_max_error): Use prev_real_max_error and
23016         prev_imag_max_error instead of calling find_complex_function_ulps.
23017         (check_float_internal): Take max_ulp parameter instead of calling
23018         find_test_ulps.  Don't call print_ulps.
23019         (check_float): Update call to check_float_internal.
23020         (check_complex): Update calls to check_float_internal.
23021         (START): Pass argument to init_max_error.
23022         * math/gen-libm-test.pl (%results): Don't include "kind"
23023         information.
23024         (parse_ulps): Don't handle ulps of individual tests.
23025         (print_ulps_file): Likewise.
23026         (output_ulps): Likewise.
23027         * math/README.libm-test: Update.
23028         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23029         individual tests.
23030         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23031         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23032         * sysdeps/arm/libm-test-ulps: Likewise.
23033         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23034         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23035         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23036         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23037         * sysdeps/microblaze/libm-test-ulps: Likewise.
23038         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23039         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23040         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23041         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23042         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23043         * sysdeps/sh/libm-test-ulps: Likewise.
23044         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23045         * sysdeps/tile/libm-test-ulps: Likewise.
23046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23048 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23050         * math/libm-test.inc (print_complex_max_error): Check separately
23051         whether real and imaginary errors are within allowed range and
23052         pass 0 to print_complex_function_ulps instead of value within
23053         allowed range.
23055 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23057         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23058         formatting.
23059         (get_handles_fopen): Likewise.
23060         (do_write_test): Likewise.
23062         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23064         * libio/fileops.c (do_ftell): Use cached offset when
23065         available.
23066         * libio/iofwide.c (do_ftell_wide): Likewise.
23067         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23068         _IO_file_attach.
23069         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23071         [BZ #16532]
23072         * libio/libioP.h (get_file_offset): New function.
23073         * libio/fileops.c (get_file_offset): Likewise.
23074         (do_ftell): Likewise.
23075         (_IO_new_file_seekoff): Split out ftell logic.
23076         * libio/wfileops.c (do_ftell_wide): Likewise.
23077         (_IO_wfile_seekoff): Split out ftell logic.
23078         * libio/tst-ftell-active-handler.c: New test case.
23079         * libio/Makefile (tests): Add it.
23081 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23083         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23084         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23086 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23088         [BZ #16639]
23089         * nscd/connections.c (nscd_init): Call do_exit.
23090         (start_threads): Call do_exit and notify_parent.
23091         (begin_drop_privileges): Call do_exit.
23092         (finish_drop_privileges): Likewise.
23093         * nscd/selinux.c (preserve_capabilities): Likewise.
23094         (install_real_capabilities): Likewise.
23095         (nscd_selinux_enabled): Likewise.
23096         (avc_create_thread): Likewise.
23097         (avc_alloc_lock): Likewise.
23098         (nscd_avc_init): Likewise.
23099         * nscd/nscd.c (parent_fd): New static variable.
23100         (main): Create a pipe between parent and child processes.
23101         Skip closing parent_fd.
23102         (monitor_child): New function.
23103         (do_exit): Likewise.
23104         (notify_parent): Likewise.
23105         * nscd/nscd.h (notify_parent): Likewise.
23106         (do_exit): Likewise.
23108 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23110         * malloc/malloc.c (__libc_calloc): Revert last change.
23112 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23116 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23118         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23120         implementation.
23121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23122         (__libc_ifunc_impl_list): Likewise.
23123         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23124         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23125         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23126         * string/strrchr.c: Define STRRCHR.
23128 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23130         * benchtest/bench-strtok.c (simple_strtok): Delete.
23131         (strtok_string): Use as benchmark.
23132         * string/strtok (STRTOK): New macro.
23134 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23136         * manual/threads.texi: Add header and standard comments to all
23137         functions.
23139         * elf/dl-lookup.c (check_match): New function.
23140         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23141         (do_lookup_x): Remove nested function check_match. Use non-nested
23142         function check_match.
23144 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23146         * csu/Makefile (generated, before-compile): Use += rather than =.
23147         * catgets/Makefile (generated, generated-dirs): Likewise.
23148         * debug/Makefile (generated): Likewise.
23149         * dlfcn/Makefile (generated): Likewise.
23150         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23151         * iconvdata/Makefile (before-compile, generated): Likewise.
23152         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23153         * libio/Makefile (generated): Likewise.
23154         * malloc/Makefile (generated): Likewise.
23155         * manual/Makefile (generated, generated-dirs): Likewise.
23156         * misc/Makefile (generated): Likewise.
23157         * posix/Makefile (generated): Likewise.
23158         * resolv/Makefile (generated): Likewise.
23159         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23160         * timezone/Makefile (generated, generated-dirs): Likewise.
23162         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23164 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23167         power8 implementation.
23168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23169         file: POWER8 llround ifunc implementation.
23170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23171         (__lllround): Add POWER8 implementation.
23172         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23173         POWER8 llround implementation.
23175         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23176         power8 implementation.
23177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23178         file: POWER8 llrint ifunc implementation.
23179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23180         Add POWER8 implementation.
23181         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23182         POWER8 llrint implementation.
23184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23185         power8 implementation.
23186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23187         file: POWER8 finite ifunc implementation.
23188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23189         Add POWER8 implementation.
23190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23191         Likewise.
23192         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23193         POWER8 finite implementation.
23194         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23196         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23197         power8 implementation.
23198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23199         file: POWER8 isinf ifunc implementation.
23200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23201         POWER8 implementation.
23202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23203         Likewise.
23204         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23205         isinf implementation.
23206         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23208         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23209         (INIT_ARCH): Add hwcap2 initialization.
23210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23211         power8 implementation.
23212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23213         file: POWER8 isnan ifunc implementation.
23214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23215         POWER8 implementation.
23216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23217         Likewise.
23218         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23219         isnan implementation.
23220         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23222 2014-02-27  Joey Ye  <joey.ye@arm.com>
23224         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23225         (_FP_NANFRAC_Q): Set to zero.
23227 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23229         [BZ #16623]
23230         * math/auto-libm-test-in: New test inputs.
23231         * math/auto-libm-test-out: Regenerate.
23232         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23233         and DA.
23234         (__cos): Likewise.
23235         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23237 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23239         * scripts/evaluate-test.sh: Take new argument indicating whether
23240         failure is expected.
23241         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23242         indicating whether failure is expected.
23243         * conform/Makefile (test-xfail-run-conformtest): New variable.
23244         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23245         level.
23246         * posix/Makefile (test-xfail-annexc): New variable.
23247         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23249 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23251         * argp/Makefile: Include Makeconfig immediately after defining
23252         subdir.
23253         * assert/Makefile: Likewise.
23254         * benchtests/Makefile: Likewise.
23255         * catgets/Makefile: Likewise.
23256         * conform/Makefile: Likewise.
23257         * crypt/Makefile: Likewise.
23258         * csu/Makefile: Likewise.
23259         (all): Remove target.
23260         * ctype/Makefile: Include Makeconfig immediately after defining
23261         subdir.
23262         * debug/Makefile: Likewise.
23263         * dirent/Makefile: Likewise.
23264         * dlfcn/Makefile: Likewise.
23265         * gmon/Makefile: Likewise.
23266         * gnulib/Makefile: Likewise.
23267         * grp/Makefile: Likewise.
23268         * gshadow/Makefile: Likewise.
23269         * hesiod/Makefile: Likewise.
23270         * hurd/Makefile: Likewise.
23271         (all): Remove target.
23272         * iconvdata/Makefile: Include Makeconfig immediately after
23273         defining subdir.
23274         * inet/Makefile: Likewise.
23275         * intl/Makefile: Likewise.
23276         * io/Makefile: Likewise.
23277         * libio/Makefile: Likewise.
23278         (all): Remove target.
23279         * locale/Makefile: Include Makeconfig immediately after defining
23280         subdir.
23281         * login/Makefile: Likewise.
23282         * mach/Makefile: Likewise.
23283         (all): Remove target.
23284         * malloc/Makefile: Include Makeconfig immediately after defining
23285         subdir.
23286         (all): Remove target.
23287         * manual/Makefile: Include Makeconfig immediately after defining
23288         subdir.
23289         * math/Makefile: Likewise.
23290         * misc/Makefile: Likewise.
23291         * nis/Makefile: Likewise.
23292         * nss/Makefile: Likewise.
23293         * po/Makefile: Likewise.
23294         (all): Remove target.
23295         * posix/Makefile: Include Makeconfig immediately after defining
23296         subdir.
23297         * pwd/Makefile: Likewise.
23298         * resolv/Makefile: Likewise.
23299         * resource/Makefile: Likewise.
23300         * rt/Makefile: Likewise.
23301         * setjmp/Makefile: Likewise.
23302         * shadow/Makefile: Likewise.
23303         * signal/Makefile: Likewise.
23304         * socket/Makefile: Likewise.
23305         * soft-fp/Makefile: Likewise.
23306         * stdio-common/Makefile: Likewise.
23307         * stdlib/Makefile: Likewise.
23308         * streams/Makefile: Likewise.
23309         * string/Makefile: Likewise.
23310         * sunrpc/Makefile: Likewise.
23311         (all): Remove target.
23312         * sysvipc/Makefile: Include Makeconfig immediately after defining
23313         subdir.
23314         * termios/Makefile: Likewise.
23315         * time/Makefile: Likewise.
23316         * timezone/Makefile: Likewise.
23317         (all): Remove target.
23318         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23319         subdir.
23320         * wctype/Makefile: Likewise.
23322 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23324         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23325         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23326         (libc_feholdexcept_setround_mips): Ditto.
23327         (libc_feholdsetround): New.
23328         (libc_feholdsetroundf): New.
23329         (libc_feholdsetroundl): New.
23330         (libc_feupdateenv_test_mips): New.
23331         (libc_feupdateenv_test): New.
23332         (libc_feupdateenv_testf): New.
23333         (libc_feupdateenv_testl): New.
23334         (libc_feresetround): New.
23335         (libc_feresetroundf): New.
23336         (libc_feresetroundl): New.
23337         (libc_fetestexcept_mips): New.
23338         (libc_fetestexcept): New.
23339         (libc_fetestexceptf): New.
23340         (libc_fetestexceptl): New.
23341         (HAVE_RM_CTX): New.
23342         (libc_feholdexcept_setround_mips_ctx): New.
23343         (libc_feholdexcept_setround_ctx): New.
23344         (libc_feholdexcept_setroundf_ctx): New.
23345         (libc_feholdexcept_setroundl_ctx): New.
23346         (libc_fesetenv_mips_ctx): New.
23347         (libc_fesetenv_ctx): New.
23348         (libc_fesetenv_ctxf): New.
23349         (libc_fesetenv_ctxl): New.
23350         (libc_feupdateenv_mips_ctx): New.
23351         (libc_feupdateenv_ctx): New.
23352         (libc_feupdateenvf_ctx): New.
23353         (libc_feupdateenvl_ctx): New.
23354         (libc_feholdsetround_mips_ctx): New.
23355         (libc_feholdsetround_ctx): New.
23356         (libc_feholdsetroundf_ctx): New.
23357         (libc_feholdsetroundl_ctx): New.
23358         (libc_feresetround_mips_ctx): New.
23359         (libc_feresetround_ctx): New.
23360         (libc_feresetroundf_ctx): New.
23361         (libc_feresetroundl_ctx): New.
23363 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23365         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23367         * manual/ipc.texi: New file.
23368         * manual/Makefile (chapters): Add ipc.
23369         * manual/job.texi: Add "Inter-Process Communication" to next.
23370         * manual/process.texi: Add "Inter-Process Communication" to prev.
23372 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23376 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23378         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23380         * manual/arith.texi: Fix spaces after sentences.
23381         * manual/charset.texi: Likewise.
23382         * manual/errno.texi: Likewise.
23383         * manual/install.texi: Likewise.
23384         * manual/llio.texi: Likewise.
23385         * manual/locale.texi: Likewise.
23386         * manual/maint.texi: Likewise.
23387         * manual/math.texi: Likewise.
23388         * manual/memory.texi: Likewise.
23389         * manual/message.texi: Likewise.
23390         * manual/probes.texi: Likewise.
23391         * manual/resource.texi: Likewise.
23392         * manual/signal.texi: Likewise.
23393         * manual/socket.texi: Likewise.
23394         * manual/stdio.texi: Likewise.
23395         * manual/string.texi: Likewise.
23396         * manual/time.texi: Likewise.
23397         * manual/users.texi: Likewise.
23399 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23401         [BZ #16632]
23402         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23403         _DEFAULT_SOURCE is defined.
23405 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23406             Carlos O'Donell  <carlos@redhat.com>
23408         [BZ #16613]
23409         * elf/dl-tls.c (_dl_count_modids): New function.
23410         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23411         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23412         audit library and increment generation counter.
23413         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23414         * elf/tst-audit9.c: New file.
23415         * elf/tst-auditmod9a.c: New file.
23416         * elf/tst-auditmod9b.c: New file.
23417         * elf/Makefile: Add rules to build and run tst-audit9.
23419 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23421         [BZ #15347]
23422         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23424 2014-02-25  Will Newton  <will.newton@linaro.org>
23426         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23427         (__longjmp): Restore sp and lr before restoring callee
23428         saved registers.  Add longjmp and longjmp_target
23429         SystemTap probe point.
23430         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23431         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23432         Define to zero to match jmpbuf layout.
23433         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23434         (__sigsetjmp): Save sp and lr before saving callee
23435         saved registers.  Add setjmp SystemTap probe point.
23437 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23439         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23441 2014-02-24  Andreas Schwab  <schwab@suse.de>
23443         [BZ #15804]
23444         * elf/pldd.c (wait_for_ptrace_stop): New function.
23445         (main): Call it after attaching.
23447 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23449         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23450         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23451         Versions files is now verboten.
23452         * hurd/Versions (libc: GLIBC_2.0):
23453         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23454         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23455         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23456         * mach/Versions: Likewise.
23458         * csu/Versions: Remove unused %include.
23459         * resolv/Versions: Likewise.
23461 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23463         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23464         ($(objpfx)check-local-headers.out): Likewise.
23465         ($(objpfx)begin-end-check.out): Likewise.
23466         * Makerules (check-abi-%.out): Likewise.
23467         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23468         ($(objpfx)test2.cat): Likewise.
23469         ($(objpfx)de/libc.cat): Likewise.
23470         ($(objpfx)test-gencat.out): Likewise.
23471         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23472         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23473         ($(objpfx)noload-mem): Likewise.
23474         ($(objpfx)tst-pathopt.out): Likewise.
23475         ($(objpfx)tst-rtld-load-self.out): Likewise.
23476         ($(objpfx)tst-array1-cmp.out): Likewise.
23477         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23478         ($(objpfx)tst-array2-cmp.out): Likewise.
23479         ($(objpfx)tst-array3-cmp.out): Likewise.
23480         ($(objpfx)tst-array4-cmp.out): Likewise.
23481         ($(objpfx)tst-array5-cmp.out): Likewise.
23482         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23483         ($(objpfx)check-textrel.out): Likewise.
23484         ($(objpfx)check-execstack.out): Likewise.
23485         ($(objpfx)check-localplt.out): Likewise.
23486         ($(objpfx)order2-cmp.out): Likewise.
23487         ($(objpfx)tst-leaks1-mem): Likewise.
23488         ($(objpfx)tst-leaks1-static-mem): Likewise.
23489         ($(objpfx)tst-initorder-cmp.out): Likewise.
23490         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23491         ($(objpfx)tst-unused-dep.out): Likewise.
23492         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
23493         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
23494         * iconv/Makefile (test-iconvconfig): Likewise.
23495         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
23496         ($(objpfx)iconv-test.out): Likewise.
23497         ($(objpfx)tst-tables.out): Likewise.
23498         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
23499         ($(objpfx)tst-gettext.out): Likewise.
23500         ($(objpfx)tst-translit.out): Likewise.
23501         ($(objpfx)tst-gettext2.out): Likewise.
23502         ($(objpfx)tst-gettext4.out): Likewise.
23503         ($(objpfx)tst-gettext6.out): Likewise.
23504         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
23505         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
23506         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
23507         ($(objpfx)tst-fopenloc-mem.out): Likewise.
23508         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
23509         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
23510         * posix/Makefile ($(objpfx)globtest.out): Likewise.
23511         ($(objpfx)wordexp-tst.out): Likewise.
23512         ($(objpfx)annexc.out): Likewise.
23513         ($(objpfx)tst-fnmatch-mem): Likewise.
23514         ($(objpfx)bug-regex2-mem): Likewise.
23515         ($(objpfx)bug-regex14-mem): Likewise.
23516         ($(objpfx)bug-regex21-mem): Likewise.
23517         ($(objpfx)bug-regex31-mem): Likewise.
23518         ($(objpfx)tst-vfork3-mem): Likewise.
23519         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23520         ($(objpfx)tst-pcre-mem): Likewise.
23521         ($(objpfx)tst-boost-mem): Likewise.
23522         ($(objpfx)tst-getconf.out): Likewise.
23523         ($(objpfx)bug-ga2-mem): Likewise.
23524         ($(objpfx)bug-glob2-mem): Likewise.
23525         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
23526         ($(objpfx)mtrace-tst-leaks2): Likewise.
23527         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
23528         ($(objpfx)tst-printf.out): Likewise.
23529         ($(objpfx)tst-setvbuf1.out): Likewise.
23530         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
23531         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
23532         ($(objpfx)tst-fmtmsg.out): Likewise.
23533         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
23534         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
23536         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
23537         * bits/sigaction.h [__USE_MISC]: Likewise.
23538         * bits/waitstatus.h: Update #endif comments.
23539         * ctype/ctype.h: Likewise.
23540         * dirent/dirent.h: Likewise.
23541         [__USE_MISC]: Remove redundant conditionals.
23542         * grp/grp.h: Update #endif comments.
23543         [__USE_GNU]: Remove redundant conditionals.
23544         [__USE_MISC]: Likewise.
23545         * inet/netinet/in.h [__USE_GNU]: Likewise.
23546         * io/sys/stat.h [__USE_MISC]: Likewise.
23547         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
23548         * libio/bits/stdio.h: Update #endif comments.
23549         [__USE_MISC]: Remove redundant conditionals.
23550         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
23551         * libio/stdio.h: Update #endif comments.
23552         [__USE_MISC]: Remove redundant conditionals.
23553         * math/bits/math-finite.h [__USE_MISC]: Likewise.
23554         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
23555         * math/math.h: Update #else and #endif comments.
23556         [__USE_MISC]: Remove redundant conditionals.
23557         * misc/sys/uio.h: Update #endif comments.
23558         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
23559         * posix/glob.h [__USE_MISC]: Likewise.
23560         * posix/sys/types.h: Update #endif comments.
23561         [__USE_MISC]: Remove redundant conditionals.
23562         * posix/sys/wait.h: Update #endif comments.
23563         [__USE_MISC]: Remove redundant conditionals.
23564         * posix/unistd.h: Update #endif comments.
23565         [__USE_MISC]: Remove redundant conditionals.
23566         * pwd/pwd.h [__USE_GNU]: Likewise.
23567         [__USE_MISC]: Likewise.
23568         * resolv/netdb.h [__USE_GNU]: Likewise.
23569         * signal/signal.h: Update #endif comments.
23570         [__USE_MISC]: Remove redundant conditionals.
23571         * stdlib/stdlib.h: Update #else and #endif comments.
23572         [__USE_MISC]: Remove redundant conditionals.
23573         [__USE_GNU]: Likewise.
23574         * string/bits/string2.h [__USE_MISC]: Likewise.
23575         * string/string.h: Update #endif comments.
23576         [__USE_MISC]: Remove redundant conditionals.
23577         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
23578         Likewise.
23579         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
23580         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
23581         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
23582         Likewise.
23583         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
23584         Likewise.
23585         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
23586         comments.
23587         [__USE_MISC]: Remove redundant conditionals.
23588         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
23589         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
23590         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
23591         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
23592         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
23593         Likewise.
23594         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
23595         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
23596         Likewise.
23597         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
23598         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
23599         Likewise.
23600         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
23601         Likewise.
23602         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
23603         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
23604         Likewise.
23605         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
23606         Likewise.
23607         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
23608         * sysdeps/x86/bits/string.h: Update #endif comments.
23609         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
23610         conditionals.
23611         * time/sys/time.h: Update #endif comments.
23612         * time/time.h: Likewise.
23613         [__USE_MISC]: Remove redundant conditionals.
23615 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
23617         [BZ #16600]
23618         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
23620 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
23622         * Versions.def (librt): Add GLIBC_2.17.
23624 2014-02-21  Adam Conrad  <adconrad@0c3.net>
23626         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
23627         synonym for _SYS_AUXV_H to allow direct inclusion.
23628         * sysdeps/sparc/bits/hwcap.h: Likewise.
23629         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
23630         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
23631         * sysdeps/sparc/sysdep.h: Likewise.
23633 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23635         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
23637 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23639         * benchtests/bench-strrchr.c: Print length instead of position.
23641 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
23643         [BZ #16611]
23644         * sysdeps/unix/sysv/linux/kernel-features.h
23645         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
23646         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
23647         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
23648         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
23649         Likewise.
23650         [__i386__ || __powerpc__ || __sh__ || __sparc__]
23651         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23652         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
23653         (__ASSUME_SENDMMSG): Define instead of using previous
23654         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
23655         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23656         (__ASSUME_SENDMMSG_SYSCALL): Define.
23657         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23658         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
23659         Likewise.
23660         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23661         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23662         Likewise.
23663         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23664         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23665         Likewise.
23666         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
23667         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23668         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23669         [__ASSUME_SENDMMSG]: Change conditionals to
23670         [__ASSUME_SENDMMSG_SOCKETCALL].
23671         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23672         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
23673         Define.
23674         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23675         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
23676         Likewise.
23677         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
23678         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
23679         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
23680         [!__ASSUME_SENDMMSG]: Change conditional to
23681         [!__ASSUME_SENDMMSG_SOCKETCALL].
23682         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23683         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23684         Define.
23686         [BZ #16610]
23687         * sysdeps/unix/sysv/linux/kernel-features.h
23688         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
23689         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
23690         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
23691         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
23692         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23693         [__i386__ || __sparc__]
23694         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23695         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
23696         (__ASSUME_RECVMMSG): Define instead of using previous
23697         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
23698         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23699         (__ASSUME_RECVMMSG_SYSCALL): Define.
23700         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23701         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23702         Likewise.
23703         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23704         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23705         Likewise.
23706         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23707         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23708         Likewise.
23709         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
23710         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23711         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23712         [__ASSUME_RECVMMSG]: Change condition to
23713         [__ASSUME_RECVMMSG_SOCKETCALL].
23714         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23715         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23716         Define.
23717         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23718         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23719         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23720         Likewise.
23721         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
23722         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
23723         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
23724         [!__ASSUME_RECVMMSG]: Change condition to
23725         [!__ASSUME_RECVMMSG_SOCKETCALL].
23726         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23727         (__ASSUME_RECVMMSG_SYSCALL): Define.
23729         [BZ #16609]
23730         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
23731         __powerpc__ || __s390__ || __sh__ || __sparc__]
23732         (__ASSUME_SOCKETCALL): Define.
23733         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
23734         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
23735         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
23736         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
23737         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23738         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
23739         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
23740         (__ASSUME_ACCEPT4): Define instead of using previous
23741         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
23742         __powerpc__ || __sparc__ || __s390__)] condition.
23743         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23744         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23745         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
23746         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23747         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23748         [!__ASSUME_ACCEPT4]: Change condition to
23749         [!__ASSUME_ACCEPT4_SOCKETCALL].
23750         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23751         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
23752         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
23753         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23754         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
23755         __ASSUME_ACCEPT4_SYSCALL.
23756         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
23757         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
23758         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23759         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
23760         __ASSUME_ACCEPT4_SYSCALL.
23761         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
23762         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
23763         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
23764         [__ASSUME_ACCEPT4]: Change condition to
23765         [__ASSUME_ACCEPT4_SOCKETCALL].
23766         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23767         (__ASSUME_SOCKETCALL): Define.
23768         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
23769         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23770         (__ASSUME_SOCKETCALL): Define.
23771         (__ASSUME_ACCEPT4): Remove.
23772         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
23773         Define.
23774         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23775         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
23776         Likewise.
23777         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23778         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
23780         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
23781         macro.
23782         (HWCAP_ARM_LPAE): Likewise.
23783         (HWCAP_ARM_EVTSTRM): Likewise.
23784         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
23785         Add vpfd32, lpae and evtstrm.
23786         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
23787         Increase to 22.
23789 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
23791         * math/auto-libm-test-in: Add tests of clog10.
23792         * math/auto-libm-test-out: Regenerated.
23793         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
23794         * sysdeps/i386/fpu/libm-test-ulps: Update.
23795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23797 2014-02-18  Andreas Schwab  <schwab@suse.de>
23799         [BZ #16574]
23800         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
23801         Store non-zero if the second buffer was newly allocated.
23802         (send_dg): Likewise.
23803         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
23804         to send_vc and send_dg.
23805         (res_nsend): Pass NULL for ansp2_malloced.
23806         * resolv/res_query.c (__libc_res_nquery): Add parameter
23807         answerp2_malloced and pass it down to __libc_res_nsend.
23808         (res_nquery): Pass additional NULL to __libc_res_nquery.
23809         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
23810         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
23811         second answer buffer if answerp2_malloced was set.
23812         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
23813         (__libc_res_nquerydomain): Add parameter
23814         answerp2_malloced and pass it down to __libc_res_nquery.
23815         (res_nquerydomain): Pass additional NULL to
23816         __libc_res_nquerydomain.
23817         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
23818         additional NULL to __libc_res_nsend and __libc_res_nquery.
23819         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
23820         additional NULL to __libc_res_nsearch.
23821         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
23822         parameter of __libc_res_nsearch to check for separately allocated
23823         second buffer.
23824         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23825         __libc_res_nquery.
23826         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23827         additional NULL to __libc_res_nquery.
23828         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23829         __libc_res_nsearch.
23830         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23831         * include/resolv.h: Update prototypes of __libc_res_nquery,
23832         __libc_res_nsearch, __libc_res_nsend.
23834 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
23836         * math/auto-libm-test-in: Add tests of fma.
23837         * math/auto-libm-test-out: Regenerated.
23838         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23839         (fma_towardzero_test_data): Likewise.
23840         (fma_downward_test_data): Likewise.
23841         (fma_upward_test_data): Likewise.
23842         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23843         mpc_mode.
23844         (rounding_modes): Add values for new field.
23845         (func_calc_method): Add value mpfr_fff_f.
23846         (func_calc_desc): Add mpfr_fff_f union field.
23847         (test_function): Add field exact_args.
23848         (FUNC): Add macro argument EXACT_ARGS.
23849         (FUNC_mpfr_f_f): Update call to FUNC.
23850         (FUNC_mpfr_f_f): Likewise.
23851         (FUNC_mpfr_ff_f): Likewise.
23852         (FUNC_mpfr_if_f): Likewise.
23853         (FUNC_mpc_c_f): Likewise.
23854         (FUNC_mpc_c_c): Likewise.
23855         (test_functions): Add fma.  Update calls to FUNC.
23856         (handle_input_arg): Add argument exact_args.
23857         (add_test): Update call to handle_input_arg.
23858         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
23859         (output_for_one_input_case): Update call to calc_generic_results.
23860         Recalculate exact zero results in each rounding mode.
23862         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23863         non-negative before setting low bit.
23864         * math/auto-libm-test-in: Mark one asin test possibly having
23865         spurious underflow.
23866         * math/auto-libm-test-out: Regenerated.
23867         * sysdeps/i386/fpu/libm-test-ulps: Update.
23868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23870 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
23872         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23873         * sysdeps/unix/sysv/linux/microblaze: Move directory from
23874         ports/sysdeps/unix/sysv/linux/microblaze.
23875         * README: Add missing listing for microblaze*-*-linux-gnu.
23877 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
23879         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23880         duplicate code
23882 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
23884         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23885         * sysdeps/unix/sysv/linux/ia64: Move directory from
23886         ports/sysdeps/unix/sysv/linux/ia64.
23887         * README: Update listing for ia64-*-linux-gnu.
23889 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
23890             Joseph Myers  <joseph@codesourcery.com>
23892         * Makeconfig (test-name): New variable.
23893         (evaluate-test): Likewise.
23894         * Makerules (do-test-clean): Remove .test-result files.
23895         (common-mostlyclean): Likewise.
23896         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23897         * scripts/evaluate-test.sh: New file.
23899 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
23901         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23902         separate $(objpfx)tst-fopenloc-cmp.out and
23903         $(objpfx)tst-fopenloc-mem.out targets.
23904         (tests): Update dependencies.
23905         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23906         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23907         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23908         (tst-rxspencer-no-utf8-ARGS): New variable.
23909         (tst-rxspencer-no-utf8-ENV): Likewise.
23910         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23911         instead of $(objpfx)tst-rxspencer-mem.
23912         ($(objpfx)tst-rxspencer-mem): Change target to
23913         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
23914         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23915         * posix/tst-rxspencer-no-utf8.c: New file.
23917         * elf/Makefile ($(objpfx)order.out): Remove rule.
23918         [$(run-built-tests) = yes] (tests): Depend on
23919         $(objpfx)order-cmp.out.
23920         ($(objpfx)order-cmp.out): New rule.
23921         [$(run-built-tests) = yes] (tests): Depend on
23922         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23923         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23924         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23925         $(objpfx)tst-array5-static-cmp.out.
23926         ($(objpfx)tst-array1.out): Remove rule.
23927         ($(objpfx)tst-array1-cmp.out): New rule.
23928         ($(objpfx)tst-array1-static.out): Remove rule.
23929         ($(objpfx)tst-array1-static-cmp.out): New rule.
23930         ($(objpfx)tst-array2.out): Remove rule.
23931         ($(objpfx)tst-array2-cmp.out): New rule.
23932         ($(objpfx)tst-array3.out): Remove rule.
23933         ($(objpfx)tst-array3-cmp.out): New rule.
23934         ($(objpfx)tst-array4.out): Remove rule.
23935         ($(objpfx)tst-array4-cmp.out): New rule.
23936         ($(objpfx)tst-array5.out): Remove rule.
23937         ($(objpfx)tst-array5-cmp.out): New rule.
23938         ($(objpfx)tst-array5-static.out): Remove rule.
23939         ($(objpfx)tst-array5-static-cmp.out): New rule.
23940         [$(run-built-tests) = yes] (tests): Depend on
23941         $(objpfx)order2-cmp.out.
23942         ($(objpfx)order2.out): Remove rule.
23943         ($(objpfx)order2-cmp.out): New rule.
23944         ($(objpfx)tst-initorder.out): Remove rule.
23945         [$(run-built-tests) = yes] (tests): Depend on
23946         $(objpfx)tst-initorder-cmp.out.
23947         ($(objpfx)tst-initorder-cmp.out): New rule.
23948         ($(objpfx)tst-initorder2.out): Remove rule.
23949         [$(run-built-tests) = yes] (tests): Depend on
23950         $(objpfx)tst-initorder2-cmp.out.
23951         ($(objpfx)tst-initorder2-cmp.out): New rule.
23952         [$(run-built-tests) = yes] (tests): Depend on
23953         $(objpfx)tst-unused-dep-cmp.out.
23954         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23955         ($(objpfx)tst-unused-dep-cmp.out): New rule.
23956         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23957         on $(objpfx)tst-setvbuf1-cmp.out.
23958         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23959         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23960         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23961         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23962         ($(objpfx)tst-svc.out): Remove rule.
23963         ($(objpfx)tst-svc-cmp.out): New rule.
23965 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23967         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23968         * ctype/ctype.h [__USE_MISC]: Likewise.
23969         * dirent/dirent.h [__USE_MISC]: Likewise.
23970         * grp/grp.h [__USE_MISC]: Likewise.
23971         * io/fcntl.h [__USE_MISC]: Likewise.
23972         * io/sys/stat.h [__USE_MISC]: Likewise.
23973         * libio/stdio.h [__USE_MISC]: Likewise.
23974         * posix/unistd.h [__USE_MISC]: Likewise.
23975         * pwd/pwd.h [__USE_MISC]: Likewise.
23976         * stdlib.h [__USE_MISC]: Likewise.
23977         * string/bits/string2.h [__USE_MISC]: Likewise.
23978         * string/string.h [__USE_MISC]: Likewise.
23979         * time/time.h [__USE_MISC]: Likewise.
23981 2014-02-13  Andreas Schwab  <schwab@suse.de>
23983         [BZ #16574]
23984         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23985         second answer buffer if it was separately allocated.
23987 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23989         * sysdeps/mips/math-tests.h: Include <features.h>.
23990         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23991         (ROUNDING_TESTS_long_double): Do not define.
23992         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23993         (EXCEPTION_TESTS_long_double): Likewise.
23994         * sysdeps/mips/mips64/libm-test-ulps: Update.
23996         * include/features.h (__USE_BSD): Remove macro definitions.
23997         (__USE_SVID): Likewise.
23998         (_BSD_SOURCE): Likewise.
23999         (_SVID_SOURCE): Likewise.
24000         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24001         from definition of _DEFAULT_SOURCE.
24002         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24003         [_DEFAULT_SOURCE].
24004         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24005         * bits/mman.h [__USE_BSD]: Likewise.
24006         * bits/termios.h [__USE_BSD]: Likewise.
24007         * bits/waitstatus.h [__USE_BSD]: Likewise.
24008         * ctype/ctype.h [__USE_SVID]: Likewise.
24009         * dirent/dirent.h [__USE_BSD]: Likewise.
24010         * grp/grp.h [__USE_SVID]: Likewise.
24011         [__USE_BSD]: Likewise.
24012         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24013         * io/fcntl.h [__USE_BSD]: Likewise.
24014         * io/ftw.h [__USE_BSD]: Likewise.
24015         * io/sys/stat.h [__USE_BSD]: Likewise.
24016         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24017         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24018         * libio/stdio.h [__USE_SVID]: Likewise.
24019         [__USE_BSD]: Likewise.
24020         * math/math.h [__USE_SVID]: Likewise.
24021         [__USE_BSD]: Likewise.
24022         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24023         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24024         * misc/search.h [__USE_SVID]: Likewise.
24025         * misc/sys/mman.h [__USE_BSD]: Likewise.
24026         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24027         * misc/sys/uio.h [__USE_BSD]: Likewise.
24028         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24029         * posix/glob.h [__USE_BSD]: Likewise.
24030         * posix/regex.h [__USE_BSD]: Likewise.
24031         * posix/sys/types.h [__USE_BSD]: Likewise.
24032         [__USE_SVID]: Likewise.
24033         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24034         * posix/sys/wait.h [__USE_BSD]: Likewise.
24035         [__USE_SVID]: Likewise.
24036         * posix/unistd.h [__USE_BSD]: Likewise.
24037         [__USE_SVID]: Likewise.
24038         * pwd/pwd.h [__USE_SVID]: Likewise.
24039         * resolv/netdb.h [__USE_BSD]: Likewise.
24040         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24041         * signal/signal.h [__USE_BSD]: Likewise.
24042         [__USE_SVID]: Likewise.
24043         * socket/sys/socket.h [__USE_BSD]: Likewise.
24044         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24045         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24046         [__USE_SVID]: Likewise.
24047         * string/bits/string2.h [__USE_BSD]: Likewise.
24048         [__USE_SVID]: Likewise.
24049         * string/bits/string3.h [__USE_BSD]: Likewise.
24050         * string/endian.h [__USE_BSD]: Likewise.
24051         * string/string.h [__USE_SVID]: Likewise.
24052         [__USE_BSD]: Likewise.
24053         * string/strings.h [__USE_BSD]: Likewise.
24054         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24055         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24056         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24057         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24058         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24059         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24060         Likewise.
24061         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24062         Likewise.
24063         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24064         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24065         Likewise.
24066         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24067         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24068         Likewise.
24069         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24070         Likewise.
24071         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24072         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24073         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24074         Likewise.
24075         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24076         Likewise.
24077         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24078         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24079         * termios/termios.h [__USE_BSD]: Likewise.
24080         * time/sys/time.h [__USE_BSD]: Likewise.
24081         * time/time.h [__USE_BSD]: Likewise.
24082         [__USE_SVID]: Likewise.
24084         * Makefile (subdir_targets): Remove subdir_lint.out.
24086         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24087         (do-tst-printf): Likewise.
24088         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24089         $(objpfx)tst-printf.out.
24091         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24093         * Makerules (check-abi-%): Change target to
24094         $(objpfx)check-abi-%.out.
24095         (check-abi target): Update dependencies.
24096         (check-abi-pattern variable): Redirect output of diff to $@.
24097         (check-abi variable): Likewise.
24098         * elf/Makefile (check-abi): Update dependencies.
24100         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24101         unused.
24102         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24103         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24104         subnormal range.
24105         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24106         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24107         value has largest subnormal exponent.
24108         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24109         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24110         * sysdeps/aarch64/soft-fp/sfp-machine.h
24111         (_FP_TININESS_AFTER_ROUNDING): New macro.
24112         * sysdeps/alpha/soft-fp/sfp-machine.h
24113         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24114         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24115         Likewise.
24116         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24117         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24118         * sysdeps/mips/soft-fp/sfp-machine.h
24119         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24120         * sysdeps/powerpc/soft-fp/sfp-machine.h
24121         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24122         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24123         Likewise.
24124         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24125         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24126         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24127         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24128         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24129         Likewise.
24131 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24133         [BZ #16545]
24134         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24135         model 1.
24137 2014-02-12  Richard Henderson  <rth@redhat.com>
24139         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24140         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24141         * sysdeps/unix/sysv/linux/alpha: Move directory from
24142         ports/sysdeps/unix/sysv/linux/alpha.
24143         * README: Update listing for alpha-*-linux-gnu.
24145 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24147         * include/features.h: Update comment documenting feature test
24148         macros.
24149         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24150         _DEFAULT_SOURCE.
24151         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24152         (_SVID_SOURCE): Likewise.
24153         (_DEFAULT_SOURCE): Update description of default features.
24154         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24155         with _GNU_SOURCE.
24156         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24157         (S_ISVTX): Likewise.
24158         * manual/math.texi (Mathematical Constants): Likewise.
24159         * manual/signal.texi (Interrupted Primitives): Likewise.
24160         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24161         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24162         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24163         Don't refer to _SVID_SOURCE in warning text.
24165         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24167         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24168         already defined.
24169         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24170         * sysdeps/mips/dl-lookup.c: Remove.
24171         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24173 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24175         [BZ #16447]
24176         * math/auto-libm-test-in: Add testcase for expl.
24177         * math/auto-libm-test-out: Regenerate.
24178         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24179         calculation of unsafe.
24180         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24182 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24184         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24185         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24186         ports/sysdeps/unix/sysv/linux/aarch64.
24187         * README: Update listing for aarch64*-*-linux-gnu.
24189 2014-02-11  Will Newton  <will.newton@linaro.org>
24191         * manual/probes.texi (Mathematical Function Probes): Use
24192         "triggered" instead of "hit".
24194         * manual/probes.texi (Internal Probes): Add documentation
24195         of setjmp, longjmp and longjmp_target probes.
24197         * include/stap-probe.h: Add comment about probe argument
24198         format.
24200         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24201         definition.  (tr_where, tr_freehook, tr_mallochook,
24202         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24204 2014-02-11  David S. Miller  <davem@davemloft.net>
24206         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24207         processing int_tests.
24209 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24211         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24212         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24213         * sysdeps/unix/sysv/linux/mips: Move directory from
24214         ports/sysdeps/unix/sysv/linux/mips.
24215         * README: Update listing for mips-*-linux-gnu and
24216         mips64-*-linux-gnu.
24218 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24220         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24221         * sysdeps/unix/sysv/linux/m68k: Move directory from
24222         ports/sysdeps/unix/sysv/linux/m68k.
24223         * README: Update listing for m68k-*-linux-gnu.
24225 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24227         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24228         * sysdeps/unix/sysv/linux/generic: Move directory from
24229         ports/sysdeps/unix/sysv/linux/generic.
24230         * sysdeps/unix/sysv/linux/tile: Move directory from
24231         ports/sysdeps/unix/sysv/linux/tile.
24232         * README: Update listing for tile*-*-linux-gnu.
24234 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24236         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24237         __builtin_expect.
24238         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24239         * catgets/open_catalog.c (__open_catalog): Likewise.
24240         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24241         * debug/confstr_chk.c: Likewise.
24242         * debug/fread_chk.c (__fread_chk): Likewise.
24243         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24244         * debug/getgroups_chk.c: Likewise.
24245         * debug/mbsnrtowcs_chk.c: Likewise.
24246         * debug/mbsrtowcs_chk.c: Likewise.
24247         * debug/mbstowcs_chk.c: Likewise.
24248         * debug/memcpy_chk.c: Likewise.
24249         * debug/memmove_chk.c: Likewise.
24250         * debug/mempcpy_chk.c: Likewise.
24251         * debug/memset_chk.c: Likewise.
24252         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24253         * debug/strcat_chk.c (__strcat_chk): Likewise.
24254         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24255         * debug/strncat_chk.c (__strncat_chk): Likewise.
24256         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24257         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24258         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24259         * debug/wcpncpy_chk.c: Likewise.
24260         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24261         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24262         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24263         * debug/wcsncpy_chk.c: Likewise.
24264         * debug/wcsnrtombs_chk.c: Likewise.
24265         * debug/wcsrtombs_chk.c: Likewise.
24266         * debug/wcstombs_chk.c: Likewise.
24267         * debug/wmemcpy_chk.c: Likewise.
24268         * debug/wmemmove_chk.c: Likewise.
24269         * debug/wmempcpy_chk.c: Likewise.
24270         * debug/wmemset_chk.c: Likewise.
24271         * dirent/scandirat.c (SCANDIRAT): Likewise.
24272         * dlfcn/dladdr1.c (dladdr1): Likewise.
24273         * dlfcn/dladdr.c (dladdr): Likewise.
24274         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24275         * dlfcn/dlerror.c (__dlerror): Likewise.
24276         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24277         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24278         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24279         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24280         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24281         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24282         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24283         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24284         Likewise.
24285         * elf/dl-conflict.c: Likewise.
24286         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24287         * elf/dl-dst.h: Likewise.
24288         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24289         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24290         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24291         * elf/dl-init.c (call_init, _dl_init): Likewise.
24292         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24293         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24294         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24295         Likewise.
24296         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24297         Likewise.
24298         * elf/dl-minimal.c (__libc_memalign): Likewise.
24299         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24300         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24301         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24302         * elf/dl-sym.c (do_sym): Likewise.
24303         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24304         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24305         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24306         * elf/dl-writev.h (_dl_writev): Likewise.
24307         * elf/ldconfig.c (search_dir): Likewise.
24308         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24309         (dl_main): Likewise.
24310         * elf/setup-vdso.h (setup_vdso): Likewise.
24311         * grp/compat-initgroups.c (compat_call): Likewise.
24312         * grp/fgetgrent.c (fgetgrent): Likewise.
24313         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24314         * grp/putgrent.c (putgrent): Likewise.
24315         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24316         Likewise.
24317         * hurd/hurdinit.c: Likewise.
24318         * iconvdata/8bit-gap.c (struct): Likewise.
24319         * iconvdata/ansi_x3.110.c : Likewise.
24320         * iconvdata/big5.c : Likewise.
24321         * iconvdata/big5hkscs.c : Likewise.
24322         * iconvdata/cp1255.c: Likewise.
24323         * iconvdata/cp1258.c : Likewise.
24324         * iconvdata/cp932.c : Likewise.
24325         * iconvdata/euc-cn.c: Likewise.
24326         * iconvdata/euc-jisx0213.c : Likewise.
24327         * iconvdata/euc-jp.c: Likewise.
24328         * iconvdata/euc-jp-ms.c : Likewise.
24329         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24330         * iconvdata/gb18030.c : Likewise.
24331         * iconvdata/gbbig5.c (const): Likewise.
24332         * iconvdata/gbgbk.c: Likewise.
24333         * iconvdata/gbk.c : Likewise.
24334         * iconvdata/ibm1364.c : Likewise.
24335         * iconvdata/ibm930.c : Likewise.
24336         * iconvdata/ibm932.c: Likewise.
24337         * iconvdata/ibm933.c : Likewise.
24338         * iconvdata/ibm935.c : Likewise.
24339         * iconvdata/ibm937.c : Likewise.
24340         * iconvdata/ibm939.c : Likewise.
24341         * iconvdata/ibm943.c: Likewise.
24342         * iconvdata/iso_11548-1.c: Likewise.
24343         * iconvdata/iso-2022-cn.c : Likewise.
24344         * iconvdata/iso-2022-cn-ext.c : Likewise.
24345         * iconvdata/iso-2022-jp-3.c: Likewise.
24346         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24347         * iconvdata/iso-2022-kr.c : Likewise.
24348         * iconvdata/iso646.c (gconv_end): Likewise.
24349         * iconvdata/iso_6937-2.c : Likewise.
24350         * iconvdata/iso_6937.c : Likewise.
24351         * iconvdata/iso8859-1.c: Likewise.
24352         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24353         * iconvdata/shift_jisx0213.c : Likewise.
24354         * iconvdata/sjis.c : Likewise.
24355         * iconvdata/t.61.c : Likewise.
24356         * iconvdata/tcvn5712-1.c : Likewise.
24357         * iconvdata/tscii.c: Likewise.
24358         * iconvdata/uhc.c : Likewise.
24359         * iconvdata/unicode.c (gconv_end): Likewise.
24360         * iconvdata/utf-16.c (gconv_end): Likewise.
24361         * iconvdata/utf-32.c (gconv_end): Likewise.
24362         * iconvdata/utf-7.c (base64): Likewise.
24363         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24364         * iconv/gconv_close.c (__gconv_close): Likewise.
24365         * iconv/gconv_open.c (__gconv_open): Likewise.
24366         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24367         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24368         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24369         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24370         (ucs4le_internal_loop_single): Likewise.
24371         * iconv/iconv.c (iconv): Likewise.
24372         * iconv/iconv_close.c: Likewise.
24373         * iconv/loop.c (SINGLE): Likewise.
24374         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24375         * include/atomic.h: Likewise.
24376         * inet/inet6_option.c (option_alloc): Likewise.
24377         * intl/bindtextdom.c (set_binding_values): Likewise.
24378         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24379         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24380         * intl/localealias.c (read_alias_file): Likewise.
24381         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24382         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24383         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24384         * libio/fmemopen.c (fmemopen): Likewise.
24385         * libio/iofgets.c (_IO_fgets): Likewise.
24386         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24387         * libio/iofgetws.c (fgetws): Likewise.
24388         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24389         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24390         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24391         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24392         * locale/findlocale.c (_nl_find_locale): Likewise.
24393         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24394         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24395         Likewise.
24396         * locale/setlocale.c (setlocale): Likewise.
24397         * login/programs/pt_chown.c (main): Likewise.
24398         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24399         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24400         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24401         (mmap, mmap64, mremap, munmap): Likewise.
24402         * math/e_exp2l.c: Likewise.
24403         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24404         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24405         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24406         * math/s_catan.c (__catan): Likewise.
24407         * math/s_catanf.c (__catanf): Likewise.
24408         * math/s_catanh.c (__catanh): Likewise.
24409         * math/s_catanhf.c (__catanhf): Likewise.
24410         * math/s_catanhl.c (__catanhl): Likewise.
24411         * math/s_catanl.c (__catanl): Likewise.
24412         * math/s_ccosh.c (__ccosh): Likewise.
24413         * math/s_ccoshf.c (__ccoshf): Likewise.
24414         * math/s_ccoshl.c (__ccoshl): Likewise.
24415         * math/s_cexp.c (__cexp): Likewise.
24416         * math/s_cexpf.c (__cexpf): Likewise.
24417         * math/s_cexpl.c (__cexpl): Likewise.
24418         * math/s_clog10.c (__clog10): Likewise.
24419         * math/s_clog10f.c (__clog10f): Likewise.
24420         * math/s_clog10l.c (__clog10l): Likewise.
24421         * math/s_clog.c (__clog): Likewise.
24422         * math/s_clogf.c (__clogf): Likewise.
24423         * math/s_clogl.c (__clogl): Likewise.
24424         * math/s_csin.c (__csin): Likewise.
24425         * math/s_csinf.c (__csinf): Likewise.
24426         * math/s_csinh.c (__csinh): Likewise.
24427         * math/s_csinhf.c (__csinhf): Likewise.
24428         * math/s_csinhl.c (__csinhl): Likewise.
24429         * math/s_csinl.c (__csinl): Likewise.
24430         * math/s_csqrt.c (__csqrt): Likewise.
24431         * math/s_csqrtf.c (__csqrtf): Likewise.
24432         * math/s_csqrtl.c (__csqrtl): Likewise.
24433         * math/s_ctan.c (__ctan): Likewise.
24434         * math/s_ctanf.c (__ctanf): Likewise.
24435         * math/s_ctanh.c (__ctanh): Likewise.
24436         * math/s_ctanhf.c (__ctanhf): Likewise.
24437         * math/s_ctanhl.c (__ctanhl): Likewise.
24438         * math/s_ctanl.c (__ctanl): Likewise.
24439         * math/w_pow.c: Likewise.
24440         * math/w_powf.c: Likewise.
24441         * math/w_powl.c: Likewise.
24442         * math/w_scalb.c (sysv_scalb): Likewise.
24443         * math/w_scalbf.c (sysv_scalbf): Likewise.
24444         * math/w_scalbl.c (sysv_scalbl): Likewise.
24445         * misc/error.c (error_tail): Likewise.
24446         * misc/pselect.c (__pselect): Likewise.
24447         * nis/nis_callback.c (__nis_create_callback): Likewise.
24448         * nis/nis_call.c (__nisfind_server): Likewise.
24449         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24450         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24451         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24452         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24453         * nis/nis_lookup.c (nis_lookup): Likewise.
24454         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24455         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24456         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24457         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24458         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24459         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24460         * nis/nss_compat/compat-initgroups.c (add_group)
24461         (internal_getgrent_r): Likewise.
24462         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24463         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24464         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24465         (internal_getspnam_r): Likewise.
24466         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24467         (_nss_nis_getaliasbyname_r): Likewise.
24468         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24469         (_nss_nis_getntohost_r): Likewise.
24470         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24471         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24472         (_nss_nis_getgrgid_r): Likewise.
24473         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24474         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24475         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24476         (_nss_nis_gethostbyname4_r): Likewise.
24477         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24478         (initgroups_netid): Likewise.
24479         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24480         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24481         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24482         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24483         (_nss_nis_getprotobynumber_r): Likewise.
24484         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24485         (_nss_nis_getsecretkey): Likewise.
24486         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24487         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24488         (_nss_nis_getpwuid_r): Likewise.
24489         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24490         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24491         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24492         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
24493         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
24494         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
24495         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
24496         Likewise.
24497         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
24498         (_nss_nisplus_getntohost_r): Likewise.
24499         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
24500         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
24501         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
24502         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
24503         Likewise.
24504         * nis/nss_nisplus/nisplus-initgroups.c
24505         (_nss_nisplus_initgroups_dyn): Likewise.
24506         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
24507         (_nss_nisplus_getnetbyaddr_r): Likewise.
24508         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
24509         (_nss_nisplus_getprotobynumber_r): Likewise.
24510         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
24511         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
24512         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
24513         Likewise.
24514         * nis/nss_nisplus/nisplus-service.c
24515         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
24516         (_nss_nisplus_getservbyport_r): Likewise.
24517         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
24518         (_nss_nisplus_getspnam_r): Likewise.
24519         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
24520         Likewise.
24521         * nscd/aicache.c (addhstaiX): Likewise.
24522         * nscd/cache.c (cache_search, prune_cache): Likewise.
24523         * nscd/connections.c (register_traced_file, send_ro_fd)
24524         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
24525         (main_loop_epoll): Likewise.
24526         * nscd/grpcache.c (addgrbyX): Likewise.
24527         * nscd/hstcache.c (addhstbyX): Likewise.
24528         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24529         * nscd/mem.c (gc, mempool_alloc): Likewise.
24530         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
24531         (addinnetgrX): Likewise.
24532         * nscd/nscd-client.h (__nscd_acquire_maplock)
24533         (__nscd_drop_map_ref): Likewise.
24534         * nscd/nscd_getai.c (__nscd_getai): Likewise.
24535         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24536         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
24537         Likewise.
24538         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
24539         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24540         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
24541         (__nscd_get_map_ref): Likewise.
24542         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
24543         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
24544         Likewise.
24545         * nscd/pwdcache.c (addpwbyX): Likewise.
24546         * nscd/selinux.c (preserve_capabilities): Likewise.
24547         * nscd/servicescache.c (addservbyX): Likewise.
24548         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
24549         * posix/fnmatch.c (fnmatch): Likewise.
24550         * posix/getopt.c (_getopt_internal_r): Likewise.
24551         * posix/glob.c (glob, glob_in_dir): Likewise.
24552         * posix/wordexp.c (exec_comm_child): Likewise.
24553         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
24554         (getanswer_r, gaih_getanswer_slice): Likewise.
24555         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
24556         * resolv/res_init.c: Likewise.
24557         * resolv/res_mkquery.c (res_nmkquery): Likewise.
24558         * resolv/res_query.c (__libc_res_nquery): Likewise.
24559         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
24560         Likewise.
24561         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
24562         * stdio-common/perror.c (perror): Likewise.
24563         * stdio-common/printf_fp.c (___printf_fp): Likewise.
24564         * stdio-common/tmpnam.c (tmpnam): Likewise.
24565         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24566         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24567         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24568         Likewise.
24569         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24570         * stdlib/putenv.c (putenv): Likewise.
24571         * stdlib/setenv.c (__add_to_environ): Likewise.
24572         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24573         * stdlib/strtol_l.c (INTERNAL): Likewise.
24574         * string/memmem.c (memmem): Likewise.
24575         * string/strerror.c (strerror): Likewise.
24576         * string/strnlen.c (__strnlen): Likewise.
24577         * string/test-memmem.c (simple_memmem): Likewise.
24578         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
24579         * sunrpc/pm_getport.c (__get_socket): Likewise.
24580         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
24581         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
24582         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
24583         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
24584         Likewise.
24585         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24586         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24587         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
24588         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
24589         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
24590         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
24591         Likewise.
24592         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
24593         Likewise.
24594         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24595         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24596         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24597         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24598         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24599         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
24600         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
24601         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
24602         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
24603         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
24604         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24605         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
24606         Likewise.
24607         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
24608         Likewise.
24609         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
24610         Likewise.
24611         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
24612         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24613         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
24614         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
24615         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24616         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
24617         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24618         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
24619         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
24620         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
24621         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
24622         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24623         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24624         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
24625         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24626         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24627         Likewise.
24628         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
24629         Likewise.
24630         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
24631         Likewise.
24632         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
24633         Likewise.
24634         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24635         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24636         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
24637         Likewise.
24638         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
24639         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
24640         * sysdeps/posix/opendir.c (__opendirat): Likewise.
24641         * sysdeps/posix/sleep.c: Likewise.
24642         * sysdeps/posix/tempname.c: Likewise.
24643         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
24644         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24645         Likewise.
24646         * sysdeps/powerpc/powerpc32/dl-machine.h
24647         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
24648         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24649         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24650         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
24651         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
24652         Likewise.
24653         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
24654         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
24655         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24656         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
24657         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
24658         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
24659         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
24660         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
24661         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24662         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
24663         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
24664         (elf_machine_lazy_rel): Likewise.
24665         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24666         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
24667         (elf_machine_lazy_rel): Likewise.
24668         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
24669         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
24670         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
24671         * sysdeps/unix/grantpt.c (grantpt): Likewise.
24672         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
24673         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
24674         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
24675         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24676         Likewise.
24677         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24678         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24679         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
24680         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
24681         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24682         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24683         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
24684         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
24685         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
24686         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24687         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24688         Likewise.
24689         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
24690         (__posix_fallocate64_l64): Likewise.
24691         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
24692         (posix_fallocate): Likewise.
24693         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24694         Likewise.
24695         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24696         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
24697         (getifaddrs_internal): Likewise.
24698         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
24699         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
24700         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
24701         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24702         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24703         (__posix_fallocate64_l64): Likewise.
24704         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24705         Likewise.
24706         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
24707         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
24708         (__get_clockfreq): Likewise.
24709         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
24710         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
24711         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
24712         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24713         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24714         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
24715         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
24716         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
24717         Likewise.
24718         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
24719         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
24720         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24721         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
24722         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24723         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
24724         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
24725         Likewise.
24726         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24727         (posix_fallocate): Likewise.
24728         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24729         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
24730         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
24731         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
24732         (elf_machine_rela, elf_machine_rela_relative)
24733         (elf_machine_lazy_rel): Likewise.
24734         * time/asctime.c (asctime_internal): Likewise.
24735         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
24736         * time/tzset.c (__tzset_parse_tz): Likewise.
24737         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24738         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24739         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
24740         * wcsmbs/wcsmbsload.h: Likewise.
24742         [BZ #15894]
24743         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
24745         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
24746         (arena_get2): Remove THREAD_STATS conditionals.
24747         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
24748         (__malloc_stats, int): Likewise.
24750 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
24752         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
24753         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
24755         * manual/setjmp.texi: Fix typos/grammar errors.
24757         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
24758         Only return early when n is <= 0.  Delete unused return statement.
24760         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
24761         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24762         * debug/tst-longjmp_chk3.c: New file.
24764         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
24765         (test_main): Replace code with set_fortify_handler call.
24766         * debug/test-strcpy_chk.c: Likewise.
24767         * debug/tst-chk1.c: Likewise.
24768         * debug/tst-longjmp_chk.c: Likewise.
24769         * test-skeleton.c: Include fcntl.h & paths.h
24770         (set_fortify_handler): Define.
24772         * debug/tst-longjmp_chk.c: Add header comment and include
24773         ../test-skeleton.c.
24774         (do_test): Mark static.
24775         (TEST_FUNCTION): Define.
24777         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
24778         (IP_PMTUDISC_INTERFACE): Likewise.
24779         (IP_MULTICAST_IF): Likewise.
24780         (IP_MULTICAST_TTL): Likewise.
24781         (IP_MULTICAST_LOOP): Likewise.
24782         (IP_ADD_MEMBERSHIP): Likewise.
24783         (IP_DROP_MEMBERSHIP): Likewise.
24784         (IP_UNBLOCK_SOURCE): Likewise.
24785         (IP_BLOCK_SOURCE): Likewise.
24786         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
24787         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
24788         (IP_MSFILTER): Likewise.
24789         (MCAST_JOIN_GROUP): Likewise.
24790         (MCAST_BLOCK_SOURCE): Likewise.
24791         (MCAST_UNBLOCK_SOURCE): Likewise.
24792         (MCAST_LEAVE_GROUP): Likewise.
24793         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24794         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24795         (MCAST_MSFILTER): Likewise.
24796         (IP_MULTICAST_ALL): Likewise.
24797         (IP_UNICAST_IF): Likewise.
24799         * timezone/Makefile: Delete $(have-ksh) check.
24800         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
24801         * timezone/tzselect.ksh: Add +x mode bits.
24803         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
24804         (ANON_INODE_FS_MAGIC): Likewise.
24805         (BDEVFS_MAGIC): Likewise.
24806         (BINFMTFS_MAGIC): Likewise.
24807         (BTRFS_TEST_MAGIC): Likewise.
24808         (CRAMFS_MAGIC_WEND): Likewise.
24809         (DEBUGFS_MAGIC): Likewise.
24810         (ECRYPTFS_SUPER_MAGIC): Likewise.
24811         (EXT3_SUPER_MAGIC): Likewise.
24812         (EXT4_SUPER_MAGIC): Likewise.
24813         (FUTEXFS_SUPER_MAGIC): Likewise.
24814         (HOSTFS_SUPER_MAGIC): Likewise.
24815         (HUGETLBFS_MAGIC): Likewise.
24816         (MINIX3_SUPER_MAGIC): Likewise.
24817         (MTD_INODE_FS_MAGIC): Likewise.
24818         (NILFS_SUPER_MAGIC): Likewise.
24819         (OPENPROM_SUPER_MAGIC): Likewise.
24820         (PIPEFS_MAGIC): Likewise.
24821         (PSTOREFS_MAGIC): Likewise.
24822         (QNX6_SUPER_MAGIC): Likewise.
24823         (RAMFS_MAGIC): Likewise.
24824         (REISERFS_SUPER_MAGIC_STRING): Likewise.
24825         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24826         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24827         (SECURITYFS_MAGIC): Likewise.
24828         (SELINUX_MAGIC): Likewise.
24829         (SMACK_MAGIC): Likewise.
24830         (SOCKFS_MAGIC): Likewise.
24831         (SQUASHFS_MAGIC): Likewise.
24832         (STACK_END_MAGIC): Likewise.
24833         (TMPFS_MAGIC): Likewise.
24834         (USBDEVICE_SUPER_MAGIC): Likewise.
24835         (V9FS_MAGIC): Likewise.
24836         (XENFS_SUPER_MAGIC): Likewise.
24837         (CRAMFS_MAGIC): Fix typo in comment.
24838         (EXT2_SUPER_MAGIC): Update comment.
24839         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24841 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
24843         * sysdeps/arm: Move directory from ports/sysdeps/arm.
24844         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24845         * sysdeps/unix/sysv/linux/arm: Move directory from
24846         ports/sysdeps/unix/sysv/linux/arm.
24847         * README: Update listing for arm-*-linux-gnueabi.
24849         * README: Remove mention of am33.
24851 2014-02-07  Roland McGrath  <roland@hack.frob.com>
24853         * bits/sigset.h (__sigemptyset): Use a statement expression rather
24854         than the comma operator, to avoid "rhs of comma has no effect"
24855         compiler warnings.
24856         (__sigfillset, __sigandset, __sigorset): Likewise.
24857         * include/signal.h (__sigemptyset): Likewise.
24858         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24860 2014-02-07  Allan McRae  <allan@archlinux.org>
24862         * version.h (RELEASE): Set to "development".
24863         (VERSION): Set to "2.19.90"
24864         * NEWS: Add 2.20 section.
24866 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
24868         [BZ #16529]
24869         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24871 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24873         * manual/contrib.texi: Update entry for Carlos O'Donell,
24874         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24876 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
24878         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24880         * sysdeps/unix/sysv/linux/kernel-features.h
24881         [__LINUX_KERNEL_VERSION >= 0x020621]
24882         (__ASSUME_PROC_PID_TASK_COMM): Define.
24884 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24886         [BZ #16398]
24887         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24888         conversion when destination buffer does not have enough space.
24889         * libio/tst-ftell-partial-wide.c: New test case.
24890         * libio/Makefile (tests): Add tst-ftell-partial-wide.
24892         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24893         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
24894         Leonard and Allan McRae.
24896 2014-02-04  David S. Miller  <davem@davemloft.net>
24898         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24899         32-bit.
24901 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24904         New file
24905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24906         New file
24907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24908         New file.
24909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24910         New file.
24911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24912         New file.
24913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24914         New file.
24915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24916         New file.
24917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24918         New file.
24919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24920         New file.
24921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24922         New file.
24923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24924         New file.
24925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24926         New file.
24927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24928         New file.
24930 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24932         * nptl/shlib-versions: Change powerpc*le start to 2.17.
24933         * shlib-versions: Likewise.
24935 2014-02-04  Roland McGrath  <roland@hack.frob.com>
24936             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24938         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24939         (abilist-pattern): New variable, set to %-le.abilist.
24941         * Makerules (abilist-pattern): New variable.
24942         (vpath): Use $(abilist-pattern) in place of %.abilist.
24943         (check-abi-% pattern rule): Likewise.
24944         (check-abi, update-abi): Likewise.
24946 2014-02-04  Eric Wong  <normalperson@yhbt.net>
24948         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24950 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
24952         * manual/startup.texi: Add next, previous, and top entries for
24953         the `Program Arguments' and `Environment Variables' nodes.
24955 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
24957         * manual/macros.texi: Add comments before MTASC-safety macros.
24959         * manual/users.texi: Document MTASC-safety properties.
24961         * manual/threads.texi (pthread_key_create, pthread_key_delete)
24962         (pthread_getspecific, pthread_setspecific): Format with
24963         @deftypefun, and add @safety note.
24964         * manual/signal.texi: Move comments that analyze the above
24965         functions to their home place.
24967 2014-02-03  Allan McRae  <allan@archlinux.org>
24969         * po/sl.po: Update Slovenian translation from translation project.
24971 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24973         * manual/time.texi (timegm): Add missing blank after @c.
24974         Reported by Joseph Myers <joseph@codesourcery.com>.
24976 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24978         * manual/check-safety.sh: New.
24979         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24981         * manual/terminal.texi: Document MTASC-safety properties.
24983         * manual/filesys.texi: Document MTASC-safety properties.
24985         * manual/errno.texi: Document MTASC-safety properties.
24987         * manual/intro.texi: Document safety identifiers and
24988         conditionals.
24990         * manual/string.texi (wcstok): Fix prototype.
24991         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24993         * manual/time.texi: Document MTASC-safety properties.
24995         * manual/string.texi: Document MTASC-safety properties.
24997         * manual/threads.texi: Document MTASC-safety properties.
24999         * manual/stdio.texi: Document MTASC-safety properties.
25001         * manual/syslog.texi: Document MTASC-safety properties.
25003         * manual/sysinfo.texi: Document MTASC-safety properties.
25005         * manual/startup.texi: Document MTASC-safety properties.
25007         * manual/socket.texi: Document MTASC-safety properties.
25009         * manual/signal.texi: Document MTASC-safety properties.
25011 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25013         * manual/setjmp.texi: Document MTASC-safety properties.
25015         * manual/search.texi: Document MTASC-safety properties.
25017         * manual/resource.texi: Document MTASC-safety properties.
25019         * manual/process.texi: Document MTASC-safety properties.
25021         * manual/platform.texi: Document MTASC-safety properties.
25023         * manual/pipe.texi: Document MTASC-safety properties.
25025         * manual/pattern.texi: Document MTASC-safety properties.
25027         * manual/message.texi: Document MTASC-safety properties.
25029         [BZ #12751]
25030         * manual/memory.texi: Document MTASC-safety properties.
25032         * manual/math.texi: Document MTASC-safety properties.
25034         * manual/locale.texi: Document MTASC-safety properties.
25036         * manual/llio.texi: Document MTASC-safety properties.
25038         * manual/libdl.texi: New.
25040         * manual/lang.texi: Document MTASC-safety properties.
25042         * manual/job.texi: Document MTASC-safety properties.
25044         * manual/getopt.texi: Document MTASC-safety properties.
25046         * manual/ctype.texi: Document MTASC-safety properties.
25048 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25050         [BZ #16046]
25051         * csu/libc-tls.c (static_map): Remove variable.
25052         (__libc_setup_tls): Use main executable's link map for TLS data.
25053         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25054         casing for LM_ID_BASE and GL(dl_nns).
25055         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25056         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25057         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25058         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25059         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25060         member.
25061         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25062         l_phnum members.
25064 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25066         * manual/debug.texi: Document MTASC-safety properties.
25068 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25070         [BZ #16510]
25071         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25072         of __x86_64__ when disabling x87 inline functions.
25074 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25076         * manual/charset.texi: Document MTASC-safety properties.
25078         * manual/crypt.texi: Document MTASC-safety properties.
25080         * manual/conf.texi: Document MTASC-safety properties.
25082         * manual/arith.texi: Document MTASC-safety properties.
25084         * manual/argp.texi: Document MTASC-safety properties.
25086         * manual/macros.texi: Introduce macros to document multi
25087         thread, asynchronous signal and asynchronous cancellation
25088         safety properties.
25089         * manual/intro.texi: Introduce the properties themselves.
25091 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25093         * sysdeps/sh/sh4/Makefile: New file.
25095 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25097         * math/gen-libm-test.pl ($srcdir): New variable.
25098         ($auto_input): Use it.
25100 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25102         [BZ #16506]
25103         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25104         access beyond array bounds when parsing netgroups file.
25106         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25107         the old buffer before realloc.
25109 2014-01-27  Allan McRae  <allan@archlinux.org>
25111         * po/fr.po: Update French translation from translation project.
25113 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25115         * sysdeps/sh/libm-test-ulps: Regenerate.
25117 2014-01-24  David S. Miller  <davem@davemloft.net>
25119         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25121 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25123         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25124         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25126 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25128         [BZ #16474]
25129         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25130         string pointers after reallocation.
25132 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25134         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25135         __SH4A__ instead of __SH_FPU_ANY__.
25137 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25139         * sysdeps/sh/fpu_control.h: New file.
25140         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25141         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25142         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25143         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25144         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25145         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25146         * sysdeps/sh/sys/ucontext.h: Remove.
25147         * sysdeps/sh/sys: Remove directory.
25149 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25151         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25152         s390/sys/ucontext.h.
25153         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25154         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25156 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25158         [BZ #15605]
25159         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25161 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25163         [BZ#16431]
25164         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25165         Adjust the vDSO correctly for internal calls.
25166         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25168 2014-01-20  Allan McRae  <allan@archlinux.org>
25170         * po/ca.po: Update Catalan translation from translation project.
25172 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25174         * sysdeps/s390/sotruss-lib.c: New file.
25176 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25178         [BZ#16430]
25179         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25180         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25181         local calls issues by not having a PLT stub required for IFUNC calls.
25182         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25184 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25186         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25187         * math/test-fpucw-static.c: Likewise.
25189 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25191         [BZ #16453]
25192         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25194 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25196         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25197         implementation for powerpc.
25199 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25201         [BZ #14782]
25202         * sysdeps/posix/system.c (__libc_system): Do not enable
25203         asynchronous cancellation.
25205 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25207         [BZ #16427]
25208         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25209         handling only for numbers special also in the IEEE case.
25211 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25213         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25215 2014-01-11  Allan McRae  <allan@archlinux.org>
25217         * po/bg.po: Update Bulgarian translation from translation project.
25219         * po/de.po: Update German translation from translation project.
25221 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25223         * sysdeps/generic/gcc-compat.h: New file.
25225 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25227         * benchtests/asin-inputs: Correct slow inputs.
25228         * benchtests/acos-inputs: Likewise.
25230 2014-01-10  Allan McRae  <allan@archlinux.org>
25232         * po:sv.po: Update Swedish translation from translation project.
25234         * po/vi.po: Update Vietnamese translation from translation project.
25236         * po/eo.po: Update Esperanto translation from translation project.
25238         * po/cs.po: Update Czech translation from translation project.
25240         * po/nl.po: Update Dutch translation from translation project.
25242         * po/pl.po: Update Polish translation from translation project.
25244         * po/ru.po: Update Russian translation from translation project.
25246         * po/uk.po: Update Ukrainian translation from translation project.
25248 2014-01-08  Brooks Moses  <bmoses@google.com>
25250         * elf/dl-load.c: Fix comment typo.
25252 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25254         * po/header.pot: Rename to...
25255         * po/pot.header: ... this.
25256         * po/Makefile: Use pot.header.
25258 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25259             Maxim Kuvyrkov  <maxim@kugelworks.com>
25261         [BZ #16394]
25262         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25263         SRC and DEST against LEN.
25265 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25267         [BZ #16414]
25268         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25269         implementation.
25270         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25272 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25276 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25278         [BZ #16408]
25279         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25280         for large positive arguments.
25282 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25284         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25286         * math/auto-libm-test-in: Mark various tests with
25287         xfail-rounding:ldbl-128ibm.
25288         * math/auto-libm-test-out: Regenerated.
25290         [BZ #16407]
25291         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25292         Increase overflow threshold.
25294 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25296         [BZ #14286]
25297         * stdio-common/vfprintf.c: Check for integer overflow.
25299 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25301         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25302         the first argument and return value of __tls_get_addr_internal.
25304 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25306         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25307         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25309 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25311         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25312         * sysdeps/s390/rtld-global-offsets.sym: New file.
25313         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25314         GLIBC_2.19 symbol.
25315         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25316         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25317         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25318         ... this.
25319         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25320         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25321         ... this.
25322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25323         Regenerate.
25324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25325         Regenerate.
25326         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25327         halfs of GPRs for high_gprs contexts.
25328         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25329         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25330         field.
25331         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25332         uc_flags field.
25333         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25334         64 bit versions:
25335         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25336         for high GPRs (uc_high_gprs) and for future extensions
25337         (__reserved).
25338         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25339         for future extensions (__reserved).
25340         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25341         64 bit versions:
25342         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25343         SC_HIGHGPRS offset definition.
25344         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25345         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25347         * Versions.def: Add GLIBC_2.19 for libpthread.
25348         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25349         siglongjmp for libpthread with GLIBC_2.19 symver.
25350         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25351         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25352         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25353         * sysdeps/s390/__longjmp.c: New file.
25354         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25355         * sysdeps/s390/longjmp.c: New file.
25356         * sysdeps/s390/setjmp.S: New file.
25357         * sysdeps/s390/sigjmp.S: New file.
25358         * sysdeps/s390/v1-longjmp.c: New file.
25359         * sysdeps/s390/v1-setjmp.h: New file.
25360         * sysdeps/s390/v1-sigjmp.c: New file.
25361         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25362         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25363         GLIBC_2.19 version.
25364         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25365         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25366         versioned symbols for ____longjmp_chk.
25367         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25368         Likewise.
25369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25370         Regenerate.
25371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25372         Regenerate.
25373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25374         Regenerate.
25375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25376         Regenerate.
25377         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25378         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25379         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25380         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25381         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25382         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25383         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25384         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25385         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25386         * sysdeps/s390/rtld-__longjmp.c: New file.
25387         * sysdeps/s390/rtld-setjmp.S: New file.
25389 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25391         [BZ #16400]
25392         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25393         Return -__logl (x) for small positive arguments without evaluating
25394         a polynomial.
25396 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25398         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25399         Rename to ...
25400         (__ptrace_peeksiginfo_args): ... this.
25401         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25402         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25403         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25405 2014-01-06  Allan McRae  <allan@archlinux.org>
25407         * inet/netinet/in.h: Fix typo in comment.
25409 2014-01-05  Andreas Jaeger  <aj@suse.de>
25411         * sysdeps/i386/fpu/libm-test-ulps: Update.
25413 2014-01-05  Allan McRae  <allan@archlinux.org>
25415         * po/libc.pot: Regenerated.
25417         * malloc/memusagestat.c: Fix gettext call formatting.
25419 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25421         * nscd/nscd.c: Improve usage() output.
25423 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25425         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25426         * sysdeps/unix/sysv/linux/configure: Regenerated.
25427         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25428         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25430 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25432         [BZ #16390]
25433         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25434         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25436 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25438         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25439         extra tokens at end of #undef directive.
25440         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25441         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25442         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25444 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25446         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25448         * math/auto-libm-test-in: Mark various tests with
25449         xfail-rounding:ldbl-128ibm.
25450         * math/auto-libm-test-out: Regenerated.
25452 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25454         [BZ #16386]
25455         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25456         numbers with subnormal high part when calculating exponent.
25458         [BZ #16385]
25459         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25460         fabs.
25462         [BZ #16384]
25463         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25464         M_LN2l.
25465         (__ieee754_acoshl): Use __log1pl not __log1p.
25467 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25469         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25470         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25471         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25472         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25473         (reused_arena, arena_get2): Convert to GNU style.
25474         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25475         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25476         (memalign_check, __malloc_set_state): Likewise.
25477         * malloc/mallocbug.c (main): Likewise.
25478         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25479         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25480         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25481         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25482         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25483         (__posix_memalign, malloc_info): Likewise.
25484         * malloc/malloc.h: Likewise.
25485         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25486         (mallochook, memalignhook, reallochook, mabort): Likewise.
25487         * malloc/mcheck.h: Likewise.
25488         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25489         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25490         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25491         * malloc/morecore.c (__default_morecore): Likewise.
25492         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
25493         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
25494         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
25495         (print_and_abort): Likewise.
25496         * malloc/obstack.h: Likewise.
25497         * malloc/set-freeres.c (__libc_freeres): Likewise.
25498         * malloc/tst-mallocstate.c (main): Likewise.
25499         * malloc/tst-mtrace.c (main): Likewise.
25500         * malloc/tst-realloc.c (do_test): Likewise.
25502 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25504         [BZ #16366]
25505         * nscd/netgroupcache.c (do_notfound): New function.
25506         (addgetnetgrentX): Use it.
25508         [BZ # 16365]
25509         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
25510         NSS_STATUS_NOTFOUND.
25512 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
25514         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25517 2014-01-01  Allan McRae  <allan@archlinux.org>
25519         * scripts/update-copyrights: Update configure input file suffix.
25521         * NEWS: Update copyright year.
25522         * catgets/gencat.c: Likewise.
25523         * csu/version.c: Likewise.
25524         * debug/catchsegv.sh: Likewise.
25525         * debug/pcprofiledump.c: Likewise.
25526         * debug/xtrace.sh: Likewise.
25527         * elf/ldconfig.c: Likewise.
25528         * elf/ldd.bash.in: Likewise.
25529         * elf/pldd.c: Likewise.
25530         * elf/sotruss.ksh: Likewise.
25531         * elf/sprof.c: Likewise.
25532         * iconv/iconv_prog.c: Likewise.
25533         * iconv/iconvconfig.c: Likewise.
25534         * locale/programs/locale.c: Likewise.
25535         * locale/programs/localedef.c: Likewise.
25536         * login/programs/pt_chown.c: Likewise.
25537         * malloc/memusage.sh: Likewise.
25538         * malloc/memusagestat.c: Likewise.
25539         * malloc/mtrace.pl: Likewise.
25540         * manual/libc.texinfo: Likewise.
25541         * nscd/nscd.c: Likewise.
25542         * nss/getent.c: Likewise.
25543         * nss/makedb.c: Likewise.
25544         * posix/getconf.c: Likewise.
25545         * scripts/test-installation.pl: Likewise.
25547         * All files with FSF copyright notices: Update copyright dates
25548         using scripts/update-copyrights.
25549         * intl/plural.c: Regenerated.
25550         * locale/programs/charmap-kw.h: Likewise.
25551         * locale/programs/locfile-kw.h: Likewise.
25553 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
25555         * sysdeps/unix/sysv/linux/configure: Regenerated.
25556         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
25557         the linux/fanotify.h header.
25558         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
25559         HAVE_LINUX_FANOTIFY_H is defined.
25561 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25563         * benchtests/cos-inputs: New inputs.
25564         * benchtests/sin-inputs: Likewise.
25566         * benchtests/atan-inputs: New inputs. Fix name of multiple
25567         precision fallback inputs.
25569         * benchtests/atanh-inputs: New inputs.
25570         * benchtests/tanh-inputs: Likewise.
25572         * benchtests/acosh-inputs: New inputs.
25573         * benchtests/asinh-inputs: Likewise.
25575         * benchtests/cosh-inputs: New inputs.
25576         * benchtests/sinh-inputs: Likewise.
25578         * benchtests/acos-inputs: Add more inputs.
25579         * benchtests/asin-inputs: Likewise.
25581 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
25583         [BZ #16375]
25584         * manual/arith.texi: Fix spelling.
25585         * manual/charset.texi: Likewise.
25586         * manual/errno.texi: Likewise.
25587         * manual/filesys.texi: Likewise.
25588         * manual/lang.texi: Likewise.
25589         * manual/llio.texi: Likewise.
25590         * manual/locale.texi: Likewise.
25591         * manual/message.texi: Likewise.
25592         * manual/resource.texi: Likewise.
25593         * manual/search.texi: Likewise.
25594         * manual/setjmp.texi: Likewise.
25595         * manual/stdio.texi: Likewise.
25596         * manual/string.texi: Likewise.
25597         * manual/sysinfo.texi: Likewise.
25598         * manual/time.texi: Likewise.
25600 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
25602         * po/sl.po: New file.
25604 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
25606         * .gitignore: Add core/.gdbinit/.gdb_history.
25608 2013-12-27  Allan McRae  <allan@archlinux.org>
25610         [BZ #16369]
25611         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
25612         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
25614 2013-12-24  Brooks Moses  <bmoses@google.com>
25616         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
25617         all compilers that claim C++98 compliance, not just GCC.
25618         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25619         Likewise.
25621 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25623         * NEWS: Restore accidentally deleted bug-fix entries.
25625 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
25626             Ondřej Bílka  <neleai@seznam.cz>
25628         [BZ #15073]
25629         * malloc/malloc.c (_int_free): Perform sanity check only if we
25630         have_lock.
25632 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
25634         [BZ #12986]
25635         * manual/stdio.texi (String Input Conversions): Clarify that character
25636         classes are not supported.
25638 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25642 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
25644         [BZ #16337]
25645         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25646         Calculate results for small negative arguments directly rather
25647         than using reflection formula with special underflow handling.
25649         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
25650         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
25651         sysdeps/unix/bsd/bsd4.4/syscalls.list.
25652         (fchflags): Likewise.
25653         (revoke): Likewise.
25654         (setlogin): Likewise.
25655         (sigaltstack): Likewise.
25656         (wait4): Likewise.
25657         (sigblock): Remove.
25658         (sigsetmask): Likewise.
25659         (wait3): Likewise.
25660         (waitpid): Likewise.
25661         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
25662         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
25663         file.
25664         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
25665         * sysdeps/unix/bsd/Makefile: ... here.
25666         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
25667         * sysdeps/unix/bsd/Versions: ... here.
25668         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
25669         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
25670         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
25671         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
25672         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
25673         * sysdeps/unix/bsd/sigblock.c: ... here.
25674         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
25675         * sysdeps/unix/bsd/sigsetmask.c: ... here.
25676         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
25677         * sysdeps/unix/bsd/sigvec.c: ... here.
25678         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
25679         * sysdeps/unix/bsd/tcdrain.c: ... here.
25680         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
25681         * sysdeps/unix/bsd/tcgetattr.c: ... here.
25682         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
25683         * sysdeps/unix/bsd/tcsetattr.c: ... here.
25684         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
25685         * sysdeps/unix/bsd/wait.c: ... here.
25686         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
25687         * sysdeps/unix/bsd/wait3.c: ... here.
25688         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
25689         * sysdeps/unix/bsd/waitpid.c: ... here.
25691 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
25693         [BZ #16356]
25694         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
25695         round-to-nearest for [!USE_AS_EXPM1L].
25696         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
25697         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
25698         more tests of exp and exp10.  Expect some exp10 tests to miss
25699         exceptions or fail in directed rounding modes.
25700         * math/auto-libm-test-out: Regenerated.
25701         * math/libm-test.inc (exp10_tonearest_test_data): New array.
25702         (exp10_test_tonearest): New function.
25703         (exp10_towardzero_test_data): New array.
25704         (exp10_test_towardzero): New function.
25705         (exp10_downward_test_data): New array.
25706         (exp10_test_downward): New function.
25707         (exp10_upward_test_data): New array.
25708         (exp10_test_upward): New function.
25709         (main): Call the new functions.
25710         * sysdeps/i386/fpu/libm-test-ulps: Update.
25711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25713 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
25715         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25716         asinh, atan, atan2, atanh, cbrt, cos and cosh.
25717         * math/auto-libm-test-out: Regenerated.
25718         * math/libm-test.inc (acosh_test_data): Add more tests.
25719         (atanh_test_data): Likewise.
25720         (ceil_test_data): Likewise.
25721         (copysign_test_data): Likewise.
25722         * sysdeps/i386/fpu/libm-test-ulps: Update.
25723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25725         * timezone/checktab.awk: Update from tzcode 2013i.
25726         * timezone/private.h: Likewise.
25727         * timezone/scheck.c: Likewise.
25728         * timezone/tzfile.h: Likewise.
25729         * timezone/tzselect.ksh: Likewise.
25730         * timezone/zdump.c: Likewise.
25731         * timezone/zic.c: Likewise.
25733         * math/auto-libm-test-in: Add tests of cpow.
25734         * math/auto-libm-test-out: Regenerated.
25735         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
25736         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25737         mpc_cc_c.
25738         (func_calc_desc): Add mpc_cc_c union field.
25739         (test_functions): Add cpow.
25740         (special_fill_2pi): New function.
25741         (special_real_inputs): Add 2pi.
25742         (calc_generic_results): Handle mpc_cc_c.
25743         * sysdeps/i386/fpu/libm-test-ulps: Update.
25744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25746         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
25747         csqrt, ctan and ctanh.
25748         * math/auto-libm-test-out: Regenerated.
25749         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25750         (TEST_COND_x86): Likewise.
25751         (ccos_test_data): Use AUTO_TESTS_c_c.
25752         (ccosh_test_data): Likewise.
25753         (cexp_test_data): Likewise.
25754         (clog_test_data): Likewise.
25755         (csqrt_test_data): Likewise.
25756         (ctan_test_data): Likewise.
25757         (ctan_tonearest_test_data): Likewise.
25758         (ctan_towardzero_test_data): Likewise.
25759         (ctan_downward_test_data): Likewise.
25760         (ctan_upward_test_data): Likewise.
25761         (ctanh_test_data): Likewise.
25762         (ctanh_tonearest_test_data): Likewise.
25763         (ctanh_towardzero_test_data): Likewise.
25764         (ctanh_downward_test_data): Likewise.
25765         (ctanh_upward_test_data): Likewise.
25766         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25767         mpc_c_c.
25768         (func_calc_desc): Add mpc_c_c union field.
25769         (FUNC_mpc_c_c): New macro.
25770         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
25771         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
25772         ctanh.
25773         (special_fill_min_subnorm_p120): New function.
25774         (special_real_inputs): Add min_subnorm_p120.
25775         (calc_generic_results): Handle mpc_c_c.
25776         * sysdeps/i386/fpu/libm-test-ulps: Update.
25777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25779 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25781         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
25782         (do_sin_slow): New functions.
25783         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
25784         (cslow2, csloww1, csloww2): Use the new functions.
25786         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
25787         Use M to change sign of result instead of X.  Assume X is
25788         positive.
25789         (csloww1): Likewise.
25790         (__sin): Adjust.
25791         (__cos): Adjust.
25793         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
25794         arguments A and DA.
25795         (__sin): Adjust.
25796         (__cos): Likewise.
25798         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
25799         (__cos): Likewise.
25800         (sloww1): Don't adjust sign of DX.
25801         (csloww1): Likewise.
25802         (sloww2): Use X directly and don't adjust sign of DX.
25803         (csloww2): Likewise.
25805 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25807         * math/auto-libm-test-in: Add tests of cabs and carg.
25808         * math/auto-libm-test-out: Regenerated.
25809         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
25810         (carg_test_data): Likewise.
25811         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25812         mpc_c_f.
25813         (func_calc_desc): Add mpc_c_f union field.
25814         (test_functions): Add cabs and carg.
25815         (calc_generic_results): Handle mpc_c_f.
25817         * sysdeps/powerpc/powerpc32/libgcc-compat.S
25818         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
25819         as a macro and a compat symbol.
25820         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25821         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25822         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25823         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25824         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25825         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25826         not use .hidden.
25827         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25828         Likewise.
25829         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25830         Likewise.
25831         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25832         Likewise.
25833         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25834         Likewise.
25835         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25836         Likewise.
25837         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25838         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25839         from GLIBC_2.3.2.
25841 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25845 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25847         * manual/texinfo.tex: Update to version 2013-11-26.10 with
25848         trailing whitespace removed.
25849         * scripts/config.guess: Update to version 2013-11-29.
25850         * scripts/config.sub: Update to version 2013-10-01.
25852         * math/auto-libm-test-in: Add tests of sincos.
25853         * math/auto-libm-test-out: Regenerated.
25854         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25855         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25856         mpfr_f_11.
25857         (func_calc_desc): Add mpfr_f_11 union field.
25858         (test_functions): Add sincos.
25859         (calc_generic_results): Handle mpfr_f_11.
25860         * sysdeps/i386/fpu/libm-test-ulps: Update.
25861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25863 2013-12-19  Andreas Schwab  <schwab@suse.de>
25865         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25866         CALL_MCOUNT.
25867         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25868         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25869         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25871 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
25873         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25874         * sysdeps/i386/fpu/libm-test-ulps: Update.
25875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25877         [BZ #16293]
25878         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25879         round-to-nearest mode when using frndint.
25880         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25881         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25882         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25883         Likewise.
25884         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
25885         sinh test to fail.
25886         * math/auto-libm-test-out: Regenerated.
25887         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25888         (TEST_COND_x86): Likewise.
25889         (expm1_tonearest_test_data): New array.
25890         (expm1_test_tonearest): New function.
25891         (expm1_towardzero_test_data): New array.
25892         (expm1_test_towardzero): New function.
25893         (expm1_downward_test_data): New array.
25894         (expm1_test_downward): New function.
25895         (expm1_upward_test_data): New array.
25896         (expm1_test_upward): New function.
25897         (main): Run the new test functions.
25898         * sysdeps/i386/fpu/libm-test-ulps: Update.
25899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25901         * include/features.h: Update comment documenting feature test
25902         macros.  Mention _DEFAULT_SOURCE in comment.
25903         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25904         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25905         _BSD_SOURCE and _SVID_SOURCE.
25906         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25907         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25908         !_SVID_SOURCE]: Likewise.
25909         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25910         (__USE_POSIX_IMPLICITLY): Define.
25911         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25912         (_POSIX_SOURCE): Undefine and redefine.
25913         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25914         (_POSIX_C_SOURCE): Likewise.
25915         * manual/creature.texi (_DEFAULT_SOURCE): Document.
25916         (Feature Test Macros): Update documentation of default features.
25918 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25920         * benchtests/Makefile: Add bench-strtok.
25921         * benchtests/bench-strtok.c: New file: strtok benchtest.
25923 2013-12-19  Allan McRae  <allan@archlinux.org>
25925         * manual/install.texi: Suppress menu for plain text output.
25926         * INSTALL: Regenerated.
25928 2013-12-18  Brooks Moses  <bmoses@google.com>
25930         [BZ #15846]
25931         * misc/getauxval.c: Include errno.h.
25932         (__getauxval): Set errno to ENOENT if the requested type is not
25933         found.
25934         * misc/sys/auxv.h (getauxval): Document that it may set errno;
25935         don't declare with __attribute_const__.
25936         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25937         * manual/startup.texi: Document that getauxval sets errno.
25939 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25941         * math/auto-libm-test-in: Add tests of jn and yn.
25942         * math/auto-libm-test-out: Regenerated.
25943         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25944         (yn_test_data): Likewise.
25945         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25946         mpfr_if_f.
25947         (func_calc_desc): Add mpfr_if_f union field.
25948         (FUNC_mpfr_if_f): New macro.
25949         (test_functions): Add jn and yn.
25950         (calc_generic_results): Assert type of second input for
25951         mpfr_ff_f.  Handle mpfr_if_f.
25952         (output_for_one_input_case): Disable all checking for arguments
25953         fitting floating-point types in case of an integer argument.
25954         * sysdeps/i386/fpu/libm-test-ulps: Update.
25955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25958         Don't expect fegetround reference in libm.so.
25960 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25962         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25963         $(config-cflags-nofma).
25965 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25967         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25968         * math/auto-libm-test-out: Regenerated.
25970         [BZ #16338]
25971         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25972         to determine exponent and adjust argument to have exponent of -1.
25973         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25974         log2.
25975         * math/auto-libm-test-out: Regenerated.
25976         * sysdeps/i386/fpu/libm-test-ulps: Update.
25977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25979 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25981         * manual/probes.texi: Remove cases when per-thread arenas are
25982         disabled.
25984 2013-12-18  Andreas Schwab  <schwab@suse.de>
25986         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25987         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25988         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25989         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25990         * sysdeps/i386/i686/multiarch/Makefile: Update.
25991         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25993 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25995         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25996         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25998 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26000         [BZ #15968]
26001         Support TZ transition times < 00:00:00.
26002         This is needed for version-3 tz-format files; it supports time
26003         stamps past 2037 for America/Godthab (the only entry in the tz
26004         database for which this change is relevant).
26005         * manual/time.texi (TZ Variable): Document transition times
26006         from -167:59:59 through -00:00:01.
26007         * time/tzset.c (tz_rule): Time of day is now signed.
26008         (__tzset_parse_tz): Parse negative time of day.
26010         Document TZ transition times >= 25:00:00.
26011         * manual/time.texi (TZ Variable): Document transition times from
26012         25:00:00 through 167:59:59.  These are already supported, and this
26013         support will help with version-3 tz-format files.
26015         * manual/time.texi (TZ Variable): Modernize North America example
26016         to reflect current (i.e., 2007-and-later) daylight saving rules.
26018         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26020 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26022         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26023         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26024         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26025         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26026         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26027         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26028         * sysdeps/unix/bsd/clock.c: Likewise.
26029         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26030         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26031         * sysdeps/unix/bsd/init-posix.c: Likewise.
26032         * sysdeps/unix/bsd/poll.c: Likewise.
26033         * sysdeps/unix/bsd/ptsname.c: Likewise.
26034         * sysdeps/unix/bsd/seekdir.c: Likewise.
26035         * sysdeps/unix/bsd/setegid.c: Likewise.
26036         * sysdeps/unix/bsd/seteuid.c: Likewise.
26037         * sysdeps/unix/bsd/setgid.c: Likewise.
26038         * sysdeps/unix/bsd/setrgid.c: Likewise.
26039         * sysdeps/unix/bsd/setruid.c: Likewise.
26040         * sysdeps/unix/bsd/setsid.c: Likewise.
26041         * sysdeps/unix/bsd/setuid.c: Likewise.
26042         * sysdeps/unix/bsd/sigaction.c: Likewise.
26043         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26044         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26045         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26046         * sysdeps/unix/bsd/telldir.c: Likewise.
26047         * sysdeps/unix/bsd/times.c: Likewise.
26048         * sysdeps/unix/bsd/usleep.c: Likewise.
26050         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26051         ($(objpfx)libbsd-compat.a): Remove rule.
26053         * include/features.h (__FAVOR_BSD): Do not define.
26054         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26055         features conflicting with POSIX.
26056         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26057         (_BSD_SOURCE): Remove description of not being a subset of other
26058         feature test macros.
26059         * manual/job.texi (getpgrp): Do not document BSD version.
26060         (getpgid): Do not document by reference to BSD getpgrp.
26061         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26062         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26063         * signal/signal.h [__FAVOR_BSD]: Likewise.
26064         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26065         instead of making contents conditional on [__FAVOR_BSD].
26066         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26068 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26072 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26074         [BZ #16314]
26075         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26076         values below 2**-450, not 2**-500.
26077         * math/auto-libm-test-in: Don't allow spurious underflow from
26078         hypot.
26079         * math/auto-libm-test-out: Regenerated.
26081         [BZ #16316]
26082         [BZ #16330]
26083         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26084         values of ha and hb and sort them after adjusting subnormal
26085         arguments.
26086         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26087         Likewise.
26088         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26089         values of ea and eb and sort them after adjusting subnormal
26090         arguments.
26091         * math/auto-libm-test-in: Do not expect some hypot tests of
26092         subnormals to fail.  Add more hypot tests.
26093         * math/auto-libm-test-out: Regenerated.
26095 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26097         [BZ #13304]
26098         * sysdeps/sh/s_fma.c: New file.
26099         * sysdeps/sh/s_fmaf.c: New file.
26100         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26101         version.
26102         * sysdeps/sh/Implies: Add sh/soft-fp.
26104 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26106         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26107         level of indirection to members `objname', `errstring', `malloced'.
26108         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26109         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26110         it as the __longjmp argument (just pass 1 instead).
26111         (_dl_catch_error): Initialize C with argument pointers and address of
26112         volatile local ERRCODE rather than copying values out of C at return.
26114 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26116         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26117         * math/auto-libm-test-out: Regenerated.
26118         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26119         (hypot_test_data): Likewise.
26120         (pow_test_data): Likewise.
26121         (pow_tonearest_test_data): Likewise.
26122         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26123         mpfr_ff_f.
26124         (func_calc_desc): Add mpfr_ff_f union field.
26125         (FUNC_mpfr_ff_f): New macro.
26126         (test_functions): Add atan2, hypot and pow.
26127         (special_fill_min): New function.
26128         (special_fill_minus_min): Likewise.
26129         (special_fill_min_subnorm): Likewise.
26130         (special_fill_minus_min_subnorm): Likewise.
26131         (special_real_inputs): Add min, -min, min_subnorm and
26132         -min_subnorm.
26133         (calc_generic_results): Handle mpfr_ff_f.
26134         * sysdeps/i386/fpu/libm-test-ulps: Update.
26135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26137 2013-12-16  Will Newton  <will.newton@linaro.org>
26139         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26140         (Aligned Memory Blocks): Add documentation for aligned_alloc
26141         and suggest it as an alternative to posix_memalign.
26142         (Hooks for Malloc): Document __memalign_hook is also called
26143         for aligned_alloc.  (Summary of Malloc): Add summary for
26144         aligned alloc.  Document __memalign_hook is also called
26145         for aligned_alloc.
26147 2013-12-16  Will Newton  <will.newton@linaro.org>
26149         * manual/memory.texi (Malloc Examples): Clarify default
26150         alignment documentation.  Suggest posix_memalign rather
26151         than memalign or valloc.
26152         (Aligned Memory Blocks): Remove suggestion to use memalign
26153         or valloc.  Remove obsolete comment about BSD.
26154         Document memalign errno values and mark the function obsolete.
26155         Document posix_memalign returned error codes.  Mark valloc
26156         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26157         called for posix_memalign and valloc.
26158         (Summary of Malloc): Add posix_memalign to function summary.
26159         __memalign_hook is also called for posix_memalign and valloc.
26161 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26163         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26164         TAYLOR_SIN.
26165         (__sin): Adjust.
26166         (__cos): Likewise.
26167         (sloww): Use mynumber union.  Expand ternary operator into
26168         if-else statements.
26169         (cslow): use mynumber union.
26171 2013-12-16  Allan McRae  <allan@archlinux.org>
26173         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26174         * configure: Regenerated.
26176         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26178         [BZ #14120]
26179         * configure.ac: Added --enable-maintainer-mode. Check for
26180         autoconf when enabled.
26181         * configure: Regenerated.
26183         * nscd/nscd.service: New file.
26184         * nscd/nscd.tmpfiles: New file.
26186 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26188         [BZ #12100]
26189         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26190         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26191         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26192         (strstr): Add __strstr_sse2_unaligned ifunc.
26193         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26194         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26195         (strcasestr): Remove __strcasestr_sse42 ifunc.
26196         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26197         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26200 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26202         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26203         * sysdeps/sh/bits/fenv.h: ... here.
26204         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26206 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26208         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26211         hypotf multiarch implementations.
26212         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26213         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26214         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26215         multiarch hypot for PPC64.
26216         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26217         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26218         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26219         multiarch hypotf for PPC64.
26221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26222         modff multiarch implementations.
26223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26226         multiarch modf for PPC64.
26227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26230         multiarch modff for PPC64.
26232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26233         and logl multiarch implementations.
26234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26237         multiarch logb for PPC64.
26238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26241         multiarch logb for PPC64.
26242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26245         multiarch logb for PPC64.
26247         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26248         isinff multiarch implementation.
26249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26250         file.
26251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26253         multiarch isinf for PPC64.
26254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26255         file.
26256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26257         multiarch isinff for PPC64.
26259         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26260         finitef multiarch implementation.
26261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26262         file.
26263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26265         multiarch finite for PPC64.
26266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26267         file.
26268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26269         multiarch finitef for PPC64.
26271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26272         lrint multiarch implementation.
26273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26274         file.
26275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26277         multiarch llrint for PPC64.
26278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26279         multiarch lrint for PPC64.
26281         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26282         copysignf multiarch implementation.
26283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26284         file.
26285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26286         file.
26287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26288         multiarch copysign for PPC64.
26289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26290         multiarch copysignf for PPC64.
26292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26293         multiarch implementation.
26294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26295         file.
26296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26297         file.
26298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26299         file.
26300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26301         file.
26302         multiarch llround for PPC64.
26303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26304         multiarch trunc for PPC64.
26305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26306         multiarch truncf for PPC64.
26308         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26309         multiarch implementation.
26310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26311         file.
26312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26313         file.
26314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26315         file.
26316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26317         file.
26318         multiarch llround for PPC64.
26319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26320         multiarch round for PPC64.
26321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26322         multiarch roundf for PPC64.
26324         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26325         multiarch implementation.
26326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26327         file.
26328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26329         file.
26330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26331         file.
26332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26333         file.
26334         multiarch llround for PPC64.
26335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26336         multiarch floor for PPC64.
26337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26338         multiarch floorf for PPC64.
26340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26341         multiarch implementation.
26342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26343         file.
26344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26345         file.
26346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26347         file.
26348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26349         file.
26350         multiarch llround for PPC64.
26351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26352         multiarch ceil for PPC64.
26353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26354         multiarch ceilf for PPC64.
26356         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26357         multiarch implementation.
26358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26359         file.
26360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26361         file.
26362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26363         file.
26364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26365         multiarch llround for PPC64.
26366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26367         multiarch lround for PPC64.
26369         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26370         multiarch implementation.
26371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26374         file.
26375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26378         multiarch isnan for PPC64.
26379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26380         multiarch isnanf for PPC64.
26382         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26383         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26384         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26385         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26386         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26389         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26390         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26391         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26392         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26395         multiarch implementations.
26396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26397         (__libc_ifunc_impl_list): Likewise.
26398         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26399         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26400         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26401         multiarch stpcpy for PPC64.
26403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26404         multiarch implementations.
26405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26406         (__libc_ifunc_impl_list): Likewise.
26407         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26408         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26409         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26410         multiarch strcpy for PPC64.
26412         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26413         redefine function name.
26414         (_wordcopy_fwd_dest_aligned): Likewise.
26415         (_wordcopy_bwd_aligned): Likewise.
26416         (_wordcopy_bwd_dest_aligned): Likewise.
26417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26418         multiarch implementations.
26419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26420         (__libc_ifunc_impl_list): Likewise.
26421         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26422         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26423         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26424         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26425         multiarch wcscpy for PPC64.
26427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26428         multiarch implementations.
26429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26430         (__libc_ifunc_impl_list): Likewise.
26431         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26432         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26433         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26434         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26435         multiarch wcscpy for PPC64.
26437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26438         multiarch implementations.
26439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26440         (__libc_ifunc_impl_list): Likewise.
26441         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26442         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26443         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26444         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26445         multiarch wcsrchr for PPC64.
26447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26448         multiarch implementations.
26449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26450         (__libc_ifunc_impl_list): Likewise.
26451         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26452         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26453         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26454         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26455         multiarch wcschr for PPC64.
26457         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26458         multiarch implementations.
26459         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26460         (__libc_ifunc_impl_list): Likewise.
26461         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26462         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26463         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26464         multiarch strchrnul for PPC64.
26466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26467         implementations.
26468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26469         (__libc_ifunc_impl_list): Likewise.
26470         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26471         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26472         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26473         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26474         strchr for PPC64.
26476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26477         implementations.
26478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26479         (__libc_ifunc_impl_list): Likewise.
26480         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26481         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26482         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26483         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26484         strncmp for PPC64.
26486         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26487         multiarch implementations.
26488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26489         (__libc_ifunc_impl_list): Likewise.
26490         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26491         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26492         strncasecmp for PPC64.
26493         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
26494         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
26495         multiarch strncasecmp_l for PPC64.
26497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
26498         multiarch implementations.
26499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26500         (__libc_ifunc_impl_list): Likewise.
26501         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
26502         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
26503         multiarch strcasecmp for PPC64.
26504         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
26505         file.
26506         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
26507         multiarch strcasecmp_l for PPC64.
26509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
26510         implementations.
26511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26512         (__libc_ifunc_impl_list): Likewise.
26513         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
26514         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
26515         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
26516         strnlen for PPC64.
26518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
26519         implementations.
26520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26521         (__libc_ifunc_impl_list): Likewise.
26522         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
26523         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
26524         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
26525         strlen for PPC64.
26527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
26528         implementations.
26529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26530         (__libc_ifunc_impl_list): Likewise.
26531         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
26532         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
26533         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
26534         rawmemrchr for PPC64.
26536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
26537         implementation.
26538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26539         (__libc_ifunc_impl_list): Likewise.
26540         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
26541         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
26542         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
26543         memrchr for PPC64.
26545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
26546         implementation.
26547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26548         (__libc_ifunc_impl_list): Likewise.
26549         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
26550         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
26551         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
26552         memchr for PPC64.
26554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
26555         implementation.
26556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26557         (__libc_ifunc_impl_list): Likewise.
26558         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
26559         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
26560         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
26561         mempcpy for PPC64.
26563         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
26564         avoid cretion of __bzero symbol.
26565         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
26566         Likewise.
26567         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
26568         Likewise.
26569         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
26570         Likewise.
26571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
26572         multiarch implementations.
26573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26574         (__libc_ifunc_impl_list): Likewise.
26575         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
26576         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
26577         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
26578         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
26579         bzero for PPC32.
26580         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
26581         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
26582         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
26583         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
26584         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
26585         memset for PPC64.
26586         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
26588         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
26589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
26590         implementations.
26591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26592         (__libc_ifunc_impl_list): Likewise.
26593         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
26594         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
26595         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
26596         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
26597         memcmp for PPC64.
26599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
26600         multiarch for POWER/PPC64.
26601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26602         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
26603         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
26604         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
26605         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
26606         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
26607         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
26608         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
26609         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
26610         memcpy for PPC64.
26612         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
26613         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
26614         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
26615         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
26616         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
26617         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
26618         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
26619         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
26620         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
26621         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
26622         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
26623         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
26624         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
26625         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
26626         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
26627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
26628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
26629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
26630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
26631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
26632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
26633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26635 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26637         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
26639 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26641         * benchtests/Makefile (bench): Add exp2 and log2.
26642         (LDLIBS-bench-exp2): Add -lm.
26643         (LDLIBS-bench-log2): Likewise.
26644         * benchtests/exp2-inputs: New inputs file.
26645         * benchtests/log2-inputs: New inputs file.
26646         * benchtests/log-inputs: Add new inputs.
26647         * benchtests/tan-inputs: Likewise.
26649 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26651         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
26652         definition...
26653         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
26654         (csloww2): ... from here.
26656         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
26657         instead of structures.
26658         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
26659         (POLYNOMIAL): Likewise.
26660         (TAYLOR_SLOW): Likewise.
26661         (__sin): Likewise.
26662         (__cos): Likewise.
26663         (slow1): Likewise.
26664         (slow2): Likewise.
26665         (sloww): Likewise.
26666         (sloww1); Likewise.
26667         (sloww2): Likewise.
26668         (bsloww1): Likewise.
26669         (bsloww2): Likewise.
26670         (cslow2): Likewise.
26671         (csloww): Likewise.
26672         (csloww1): Likewise.
26673         (csloww2): Likewise.
26675 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
26677         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
26678         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
26679         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
26680         * malloc/hooks.c (realloc_check): Likewise.
26682         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
26683         * malloc/arena.c: Remove PER_THREAD conditional.
26684         [!PER_THREAD]: Remove code.
26685         (ptmalloc_unlock_all2): Likewise.
26686         (ptmalloc_init): Likewise.
26687         (_int_new_arena): Likewise.
26688         (arena_get2): Likewise.
26689         * malloc/hooks.c (__malloc_get_state): Likewise.
26690         (__malloc_set_state): Likewise.
26691         * malloc/malloc.c: Likewise.
26692         (struct malloc_state): Likewise.
26693         (struct malloc_par): Likewise.
26694         (__libc_realloc): Likewise.
26695         (__libc_mallopt): Likewise.
26697 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26699         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
26701 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
26703         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
26704         macro to a function.  Check for zero perturb_byte.
26705         (_int_malloc, _int_free): Remove zero perturb_byte checks.
26707         * malloc/malloc.c: (force_reg): Remove.
26708         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
26709         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
26710         force_reg by atomic_forced_read.
26711         * malloc/arena.c (ptmalloc_init): Likewise.
26712         * malloc/hooks.c (top_check): Likewise.
26714 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26718 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
26720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26722 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
26724         * math/auto-libm-test-in: Add tests of lgamma.
26725         * math/auto-libm-test-out: Regenerated.
26726         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
26727         (M_LOG_2_SQRT_PIl): Likewise.
26728         (lgamma_test_data): Use AUTO_TESTS_f_f1.
26729         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26730         mpfr_f_f1.
26731         (func_calc_desc): Add mpfr_f_f1 union field.
26732         (ARGS1): New macro.
26733         (ARGS2): Likewise.
26734         (ARGS3): Likewise.
26735         (ARGS4): Likewise.
26736         (RET1): Likewise.
26737         (RET2): Likewise.
26738         (CALC): Likewise.
26739         (FUNC): Likewise.
26740         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
26741         (test_functions): Add lgamma.
26742         (calc_generic_results): Handle mpfr_f_f1.
26743         * sysdeps/i386/fpu/libm-test-ulps: Update.
26744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26746 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26748         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
26749         __mpn_add_n for PowerPC64/POWER7.
26750         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
26751         __mpn_sub_n for PowerPC64/POWER7.
26753         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
26754         __mpn_addmul_1 for PowerPC64.
26755         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
26756         __mpn_submul_1 for PowerPC64.
26757         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
26758         for PowerPC64.
26759         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
26760         for PowerPC64.
26762 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
26764         [BZ #15089]
26765         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
26767 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26769         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
26771         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
26772         add multiarch folders.
26773         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
26774         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
26775         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
26776         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
26777         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
26778         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
26779         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
26780         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
26781         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
26782         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
26783         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
26784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
26785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
26786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
26787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
26788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
26789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
26791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26792         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
26793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
26794         New file.
26795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
26796         New file.
26797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
26798         multiarch __ieee754_hypot for PowerPC32.
26799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
26800         New file.
26801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
26802         New file.
26803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
26804         multiarch __ieee754_hypotf for PowerPC32.
26806         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
26807         long_double_symbol only if __logbl is defined.
26808         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
26809         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
26810         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
26811         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
26812         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
26813         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
26814         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
26815         path for implementation.
26816         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
26817         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
26818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
26819         logb, and logbl multiarch implementations for PowerPC32.
26820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
26821         file.
26822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26823         file.
26824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26825         multiarch logb for PowerPC32.
26826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26827         file.
26828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26829         file.
26830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26831         multiarch logbf for PowerPC32.
26832         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26834         file.
26835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26836         multiarch logbl implementation for PowerPC32.
26838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26839         and modff multiarch implementations.
26840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26841         New file.
26842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26843         New file.
26844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26845         multiarch modf for PowerPC32.
26846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26847         New file.
26848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26849         New file.
26850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26851         multiarch modff for PowerPC32.
26853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26854         and lrintf multiarch implementations.
26855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26856         New file.
26857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26858         New file.
26859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26860         multiarch lrint for PowerPC32.
26861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26862         file: multiarch lrintf for PowerPC32.
26864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26865         and lroundf multiarch implementations.
26866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26867         New file.
26868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26869         New file.
26870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26871         New file.
26872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26873         multiarch lround for PowerPC32.
26874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26875         file: multiarch lroundf for PowerPC32.
26877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26878         copysign and copysignf multiarch implementations.
26879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26880         New file.
26881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26882         New file.
26883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26884         file: multiarch copysign for PowerPC32.
26885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26886         file: multiarch copysignf for PowerPC32.
26888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26889         and truncf multiarch implementations.
26890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26891         New file.
26892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26893         file.
26894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26895         multiarch trunc for PowerPC32.
26896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26897         New file.
26898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26899         New file.
26900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26901         multiarch truncf for PowerPC32.
26903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26904         and roundf multiarch implementations.
26905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26906         New file.
26907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26908         file.
26909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26910         multiarch round for PowerPC32.
26911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26912         New file.
26913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26914         New file.
26915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26916         multiarch roundf for PowerPC32.
26918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26919         and floorf multiarch implementations.
26920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26921         New file.
26922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26923         file.
26924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26925         multiarch floor for PowerPC32.
26926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26927         New file.
26928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26929         New file.
26930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26931         multiarch floorf for PowerPC32.
26933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26934         and ceilf multiarch implementations.
26935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26936         New file.
26937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26938         file.
26939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26940         multiarch ceil for PowerPC32.
26941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26942         New file.
26943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26944         file.
26945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26946         multiarch ceilf for PowerPC32.
26948         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26949         is defined.
26950         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26951         FINITEF is defined.
26952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26953         and finitef multiarch implementations.
26954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26955         New file.
26956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26957         file.
26958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26959         multiarch finite for PowerPC32.
26960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26961         New file.
26962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26963         file: multiarch finitef for PowerPC32.
26965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26966         and isinff multiarch implementations.
26967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26968         file.
26969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26970         file.
26971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26972         multiarch isinf for PowerPC32.
26973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26974         New file.
26975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26976         multiarch isinff for PowerPC32.
26978         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26979         alias when __isnan is defined.
26980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26981         and isnanf multiarch implementations.
26982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26983         file.
26984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26985         file.
26986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26987         file.
26988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26989         file.
26990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26991         multiarch isnan for PowerPC32.
26992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26993         New file.
26994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26995         New file.
26996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26997         multiarch isnanf for PowerPC32.
26999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27000         and sqrtf multiarch implementations.
27001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27002         file.
27003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27004         file.
27005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27006         multiarch sqrt for PowerPC32.
27007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27008         file.
27009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27010         file.
27011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27012         multiarch sqrtf for PowerPC32.
27014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27015         and llroundf multiarch implementations.
27016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27017         New file.
27018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27019         New file.
27020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27021         New file.
27022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27023         file: multiarch llround for PowerPC32.
27024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27025         file: multiarch llroundf for PowerPC32.
27027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27028         multiarch PowerPC32 fpu implementations.
27029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27030         New file.
27031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27032         New file.
27033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27034         multiarch llrint for PowerPC32.
27035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27036         New file.
27037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27038         New file.
27039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27040         file.
27042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27044         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27045         file.
27046         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27047         file.
27048         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27049         file.
27050         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27051         multiarch wordcopy for PPC32.
27052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27053         wordcopy objects.
27054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27055         (__libc_ifunc_impl_list): Likewise.
27056         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27057         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27058         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27059         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27060         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27061         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27063         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27065         file.
27066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27067         file.
27068         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27069         file.
27070         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27071         multiarch wcscpy for PPC32.
27072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27073         multiarch objects.
27074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27075         (__libc_ifunc_impl_list): Likewise.
27076         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27077         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27078         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27079         sysdeps/powerpc/power6/wcscpy.c.
27081         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27082         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27083         file.
27084         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27085         file.
27086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27087         file.
27088         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27089         multiarch wcsrchr for PPC32.
27090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27091         multiarch objects.
27092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27093         (__libc_ifunc_impl_list): Likewise.
27094         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27095         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27096         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27097         sysdeps/powerpc/power6/wcsrchr.c.
27099         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27100         file.
27101         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27102         file.
27103         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27105         multiarch wcschr for PPc32.
27106         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27107         multiarch objects.
27108         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27109         (__libc_ifunc_impl_list): Likewise.
27110         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27111         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27112         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27113         sysdeps/powerpc/power6/wcschr.c.
27115         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27116         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27117         file.
27118         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27119         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27120         file: multiarch strchr for PPC32.
27121         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27122         multiarch objects.
27123         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27124         (__libc_ifunc_impl_list): Likewise.
27126         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27127         name.
27128         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27129         file.
27130         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27131         file.
27132         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27133         multiarch strchrnul for PPC32.
27134         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27135         multiarch objects.
27136         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27137         (__libc_ifunc_impl_list): Likewise.
27139         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27140         file.
27141         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27142         multiarch strncasecmp for PPC32.
27143         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27144         file.
27145         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27146         multiarch strncasecmp_l for PPC32.
27147         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27148         strncasecmp multiarch objects.
27149         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27150         (__libc_ifunc_impl_list): Likewise.
27152         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27153         file.
27154         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27155         multiarch strncasecmp for PPC32.
27156         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27157         New file.
27158         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27159         multiarch strcasecmp_l for PPC32.
27160         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27161         multiarch objects.
27162         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27163         (__libc_ifunc_impl_list): Likewise.
27165         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27166         file.
27167         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27168         file.
27169         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27170         multiarch strncmp for PPC32.
27171         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27172         multiarch objects.
27173         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27174         (__libc_ifunc_impl_list): Likewise.
27176         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27177         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27178         file.
27179         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27180         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27182         multiarch objects.
27183         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27184         (__libc_ifunc_impl_list): Likewise.
27186         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27187         file.
27188         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27189         file.
27190         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27192         multiarch objects.
27193         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27194         (__libc_ifunc_impl_list): Likewise.
27196         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27197         file.
27198         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27199         file.
27200         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27201         multiarch rawmemchr for PPC32.
27202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27203         multiarch objects.
27204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27205         (__libc_ifunc_impl_list): Likewise.
27207         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27208         file.
27209         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27210         file.
27211         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27212         file: memrchr multiarch for PPC32.
27213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27214         multiarch objects.
27215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27216         (__libc_ifunc_impl_list): Likewise.
27218         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27219         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27220         file.
27221         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27222         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27223         multiarch memchr for PPC32.
27224         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27225         multiarch objects.
27226         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27227         (__libc_ifunc_impl_list): Likewise.
27229         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27230         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27231         file.
27232         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27233         file.
27234         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27235         file: multiarch mempcpy for PPC32.
27236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27237         multiarch objects.
27238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27239         (__libc_ifunc_impl_list): Likewise.
27241         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27242         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27243         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27244         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27245         multiarch bzero for PPC32.
27246         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27247         file.
27248         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27249         file.
27250         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27251         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27252         file: multiarch memset for PPC32.
27253         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27254         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27255         memset multiarch objects.
27256         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27257         (__libc_ifunc_impl_list): Likewise.
27259         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27260         file.
27261         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27262         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27263         memcmp for PPC32.
27264         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27265         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27266         multiarch objects.
27267         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27268         (__libc_ifunc_impl_list): Likewise.
27270         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27271         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27272         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27273         file.
27274         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27275         file.
27276         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27277         file.
27278         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27279         multiarch memcpy for PPC32.
27280         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27281         multiarch objects.
27282         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27283         (__libc_ifunc_impl_list): Likewise.
27285         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27286         support multiarch for POWER/PPC32.
27287         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27288         Likewise.
27289         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27291         Implies file to make multiarch folder appers before the fpu and
27292         default folder for power4 configuration.
27294 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27296         * scripts/bench.pl: Append volatile keyword to type.
27298 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27300         * sysdeps/sh/sotruss-lib.c: New file.
27301         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27303 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27307 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27309         [BZ #6810]
27310         * math/w_tgamma.c: Include <errno.h>.
27311         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27312         * math/w_tgammaf.c: Include <errno.h>.
27313         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27314         * math/w_tgammal.c: Include <errno.h>.
27315         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27316         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27317         underflow.  Add more tgamma tests.
27318         * math/auto-libm-test-out: Regenerated.
27319         * sysdeps/i386/fpu/libm-test-ulps: Update.
27320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27322         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27323         sin, sinh, tan, tanh, tgamma, y0 and y1.
27324         * math/auto-libm-test-out: Regenerated.
27325         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27326         (TEST_COND_x86): Likewise.
27327         (M_E2l): Remove macro.
27328         (M_E3l): Likewise.
27329         (M_2_SQRT_PIl): Likewise.
27330         (M_SQRT_PIl): Likewise.
27331         (M_1_DIV_El): Likewise.
27332         (log_test_data): Use AUTO_TESTS_f_f.
27333         (log10_test_data): Likewise.
27334         (log1p_test_data): Likewise.
27335         (log2_test_data): Likewise.
27336         (sin_test_data): Likewise.
27337         (sin_tonearest_test_data): Likewise.
27338         (sin_towardzero_test_data): Likewise.
27339         (sin_downward_test_data): Likewise.
27340         (sin_upward_test_data): Likewise.
27341         (sinh_test_data): Likewise.
27342         (sinh_tonearest_test_data): Likewise.
27343         (sinh_towardzero_test_data): Likewise.
27344         (sinh_downward_test_data): Likewise.
27345         (sinh_upward_test_data): Likewise.
27346         (tan_test_data): Likewise.
27347         (tan_tonearest_test_data): Likewise.
27348         (tan_towardzero_test_data): Likewise.
27349         (tan_downward_test_data): Likewise.
27350         (tan_upward_test_data): Likewise.
27351         (tanh_test_data): Likewise.
27352         (tgamma_test_data): Likewise.
27353         (y0_test_data): Likewise.
27354         (y1_test_data): Likewise.
27355         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27356         (special_real_inputs): Add pi/4.
27357         * sysdeps/i386/fpu/libm-test-ulps: Update.
27358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27360 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27362         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27363         "longjmp_target" static probes.
27364         (__longjmp): Rename to __longjmp_symbol.
27365         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27366         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27367         on which longjmp to generate.
27368         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27369         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27370         probe.
27371         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27372         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27373         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27374         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27375         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27376         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27378         __longjmp_symbol based on which __longjmp to generate.
27379         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27380         probe.
27381         (setjmp): Rename to setjmp_symbol.
27382         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27383         (_setjmp): Rename to _setjmp_symbol.
27384         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27385         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27386         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27387         which setjmp to generate.
27388         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27389         "longjmp_target" static probes.
27391 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27393         * benchtests/README: Add note about output arguments.
27394         * benchtests/bench-sincos.c: Remove file.
27395         * benchtests/sincos-inputs: New file.
27396         * scripts/bench.pl: Identify output arguments and define
27397         static variables for them.
27399         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27401         [BZ #15941]
27402         * Makefile (INSTALL): Add install-plain.texi as the primary
27403         dependency.
27404         * manual/install-plain.texi: New file.
27405         * manual/install.texi: Include node directive only for
27406         non-plaintext output.
27408 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27410         * stdlib/longlong.h: Update from GCC.
27412         [BZ #6807]
27413         [BZ #15901]
27414         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27415         * math/w_j0f.c (y0f): Likewise.
27416         * math/w_j0l.c (__y0l): Likewise.
27417         * math/w_j1.c (y1): Likewise.
27418         * math/w_j1f.c (y1f): Likewise.
27419         * math/w_j1l.c (__y1l): Likewise
27420         * math/w_jn.c (yn): Likewise.
27421         * math/w_jnf.c (ynf): Likewise.
27422         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27423         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27424         value for Bessel function domain errors outside _SVID_ mode.
27425         Adjust sign of return value for yn (negative integer, 0).
27426         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27427         by zero in return for negative x and set sign appropriately for
27428         negative n.
27429         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27430         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27431         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27432         expectations in error cases.
27433         (y1_test_data): Likewise.
27434         (yn_test_data): Likewise.
27435         * sysdeps/i386/fpu/libm-test-ulps: Update.
27436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27438 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27440         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27441         "64" to "64-v1".  Add "64-v2".
27442         (abi-64-options): Rename to ...
27443         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27444         (abi-64-condition): Rename to ...
27445         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27446         (abi-64-ld-soname): Rename to ...
27447         (abi-64-v1-ld-soname): ... this.
27448         (abi-64-v2-options): Define.
27449         (abi-64-v2-condition): Likewise.
27450         (abi-64-v2-ld-soname): Likewise.
27451         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27452         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27457 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27458             Alan Modra  <amodra@gmail.com>
27460         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27461         New versions for use with the ELFv2 ABI.
27462         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27463         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27464         declaration.
27465         (struct La_ppc64v2_retval): Likewise.
27466         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27467         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27468         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27469         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27470         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27471         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27472         Do not save or restore CR.
27473         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27474         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27475         return values for ELFv2 ABI.  Fix location of FPR return registers.
27476         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27477         updated values for _CALL_ELF == 2.
27478         (La_regs, La_retval, int_retval): Likewise.
27480 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27482         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27483         (FRAME_MIN_SIZE_PARM): Likewise.
27484         (FRAME_BACKCHAIN): Likewise.
27485         (FRAME_CR_SAVE): Likewise.
27486         (FRAME_LR_SAVE): Likewise.
27487         (FRAME_TOC_SAVE): Likewise.
27488         (FRAME_PARM_SAVE): Likewise.
27489         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27490         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27491         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27492         (call_mcount_parm_offset): New macro.
27493         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
27494         (PROF): Use symbolic stack frame offsets.
27495         (TAIL_CALL_SYSCALL_ERROR): Likewise.
27496         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
27497         Redefine in terms of FRAME_MIN_SIZE.
27498         (_dl_runtime_resolve): Use symbolic stack frame offsets.
27499         (_dl_profile_resolve): Likewise.  Update comment.
27500         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
27501         symbols stack frame offsets.
27502         (__sigsetjmp): Likewise.
27503         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
27504         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
27505         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
27506         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
27508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
27509         (FRAME_BACKCHAIN): Remove.
27510         (FRAME_CR_SAVE): Likewise.
27511         (FRAME_LR_SAVE): Likewise.
27512         (FRAME_COMPILER_DW): Likewise.
27513         (FRAME_LINKER_DW): Likewise.
27514         (FRAME_TOC_SAVE): Likewise.
27515         (FRAME_PARM_SAVE): Likewise.
27516         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
27517         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
27518         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
27520         (CHECK_SP): Use symbolic stack frame offsets.
27521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
27522         zone" instead of caller's parameter save area for temp storage.
27523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27524         Likewise.  Also, use symbolic stack frame offsets.
27525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
27526         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
27527         our own stack frame instead of the caller's.
27528         (__socket): Use symbolic stack frame offsets.
27530 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27531             Alan Modra  <amodra@gmail.com>
27533         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
27534         Define.
27535         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
27536         (PPC64_LOCAL_ENTRY_OFFSET): Define.
27537         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
27538         New function.
27539         (elf_machine_fixup_plt): Call it.
27540         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
27541         reloc arguments.
27542         (elf_machine_rela): Update call to elf_machine_plt_conflict.
27543         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27544         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
27545         r2 before calling target.
27547 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27548             Alan Modra  <amodra@gmail.com>
27550         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
27551         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
27552         versions of macros to support ELFv2 ABI.
27553         (LOCALENTRY): New macro.
27554         (ENTRY, EALIGN): Use it.
27555         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
27556         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
27557         fall through into ENTRY entry point.
27558         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
27559         Only define if _CALL_ELF != 2.
27561         (elf_machine_matches_host): Verify ABI version matches.
27562         (RTLD_START): Use LOCALENTRY.
27563         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
27564         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
27565         (PLT_ENTRY_WORDS): New macro.
27566         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
27567         (elf_machine_runtime_setup): Support ELFv2 ABI.
27568         (elf_machine_fixup_plt): Likewise.
27569         (elf_machine_plt_conflict): Likewise.
27570         (resolve_ifunc): Likewise.
27571         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
27572         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27573         Likewise.
27574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
27575         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
27576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27577         (makecontext): Support ELFv2 ABI.
27578         * elf/elf.h (EF_PPC64_ABI): Define.
27580 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27582         * sysdeps/powerpc/powerpc64/sysdep.h
27583         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
27584         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
27585         (ENTRY) [ASSEMBLER]: ... but instead here ...
27586         (EALIGN) [ASSEMBLER]: ... and here.
27587         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
27588         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
27589         (ENTRY_2) [!ASSEMBLER]: Use it.
27590         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
27591         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
27592         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
27593         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
27594         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
27595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
27596         Use PPC64_LOAD_FUNCPTR.
27598         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
27600 2013-12-04  Alan Modra  <amodra@gmail.com>
27602         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
27603         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
27604         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
27605         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
27607         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
27608         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
27609         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
27610         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
27611         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
27612         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
27614 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27617         (__makecontext): Fix incorrect CFI when backtracing out of
27618         context created via makecontext.
27619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
27620         (__setcontext): Fix incorrect CFI during switch to new context.
27621         (__novec_setcontext): Likewise.
27623 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27625         [BZ #4772]
27626         * time/strptime_l.c (__strptime_internal): Allow modifiers
27627         in strptime.
27628         * time/tst-strptime.c (day_tests): Add testcase.
27630 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27632         * scripts/bench.pl: Skip over blank lines.
27634 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
27636         [BZ #926]
27637         * manual/time.texi (Calendar Time): Clarify what timezone functions
27638         use.
27640 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27644 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
27646         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
27647         implementation.
27648         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27649         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27650         * debug/memset_chk.c (__memset_chk): Likewise.
27651         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
27652         * debug/strncpy_chk.c: Likewise.
27654 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27656         [BZ #15268]
27657         [BZ #15425]
27658         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
27659         (__ieee754_exp): For possibly underflowing results, check size of
27660         result and force underflow exception if required.
27661         * math/auto-libm-test-in: Add more tests of exp.
27662         * math/auto-libm-test-out: Regenerated.
27663         * sysdeps/i386/fpu/libm-test-ulps: Update.
27664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27666         [BZ #16283]
27667         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
27668         * math/w_exp2f.c (__exp2f): Likewise.
27669         * math/w_exp2l.c (__exp2l): Likewise.
27670         * math/auto-libm-test-in: Do not allow missing errno on exp2
27671         underflow.
27672         * math/auto-libm-test-out: Regenerated.
27674 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
27676         [BZ #16274]
27677         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
27678         handle filename validation.
27679         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
27680         (do_open): Delete.
27682 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
27684         [BZ #6786]
27685         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
27686         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
27687         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
27688         <float.h>.
27689         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
27690         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
27691         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27692         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
27693         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27694         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
27695         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
27696         * math/auto-libm-test-in: Don't allow missing errno from erfc.
27697         Add more erfc tests.
27698         * math/auto-libm-test-out: Regenerated.
27699         * sysdeps/i386/fpu/libm-test-ulps: Update.
27700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27702         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
27703         exp2, expm1, j0 and j1.
27704         * math/auto-libm-test-out: Regenerated.
27705         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
27706         (erfc_test_data): Likewise.
27707         (exp_test_data): Likewise.
27708         (exp_tonearest_test_data): Likewise.
27709         (exp_towardzero_test_data): Likewise.
27710         (exp_downward_test_data): Likewise.
27711         (exp_upward_test_data): Likewise.
27712         (exp10_test_data): Likewise.
27713         (exp2_test_data): Likewise.
27714         (expm1_test_data): Likewise.
27715         (j0_test_data): Likewise.
27716         (j1_test_data): Likewise.
27717         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
27718         (input_flag_type): Add flag_xfail_rounding.
27719         (input_flags): Add xfail-rounding.
27720         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
27721         (output_for_one_input_case): Handle flag_xfail_rounding.
27722         * sysdeps/i386/fpu/libm-test-ulps: Update.
27723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27725 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
27727         [BZ #16289]
27728         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
27729         division by 0.
27731 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27733         [BZ #16195]
27734         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
27735         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
27736         (STAP_PROBE0): New macro.
27737         (STAP_PROBE1): Likewise.
27738         (STAP_PROBE2): Likewise.
27739         (STAP_PROBE3): Likewise.
27740         (STAP_PROBE4): Likewise.
27742 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
27744         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
27746 2013-12-02  Steve Ellcey  <sellcey@mips.com>
27748         * benchtests/Makefile (bench): Add sqrt.
27749         (LDLIBS-bench-sqrt): New.
27750         * benchtests/sqrt-input: New.
27752 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
27754         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
27755         (GAIH_EAI): Likewise.
27756         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27757         (gaih_inet): Likewise.
27758         (getaddrinfo): Don't use GAIH_EAI.
27760         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
27761         (struct gaih): Remove definition.
27763 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27765         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
27766         Use HERRNOP directly.
27768 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27772 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
27774         * math/gen-auto-libm-tests.c (test_functions): Add more
27775         single-argument functions.
27776         (special_fill_pi_2): New function.
27777         (special_fill_minus_pi_2): Likewise.
27778         (special_fill_pi_6): Likewise.
27779         (special_fill_minus_pi_6): Likewise.
27780         (special_fill_pi_3): Likewise.
27781         (special_fill_2pi_3): Likewise.
27782         (special_fill_e): Likewise.
27783         (special_fill_1_e): Likewise.
27784         (special_fill_e_minus_1): Likewise.
27785         (special_real_inputs): Add more special inputs.
27786         (output_for_one_input_case): Do not require ERANGE on underflow to
27787         zero if round-to-nearest result does not underflow to zero, unless
27788         exact results required.
27789         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
27790         atan, atanh, cbrt, cos and cosh.
27791         * math/auto-libm-test-out: Regenerated.
27792         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
27793         (acos_tonearest_test_data): Likewise.
27794         (acos_towardzero_test_data): Likewise.
27795         (acos_downward_test_data): Likewise.
27796         (acos_upward_test_data): Likewise.
27797         (acosh_test_data): Likewise.
27798         (asin_test_data): Likewise.
27799         (asin_tonearest_test_data): Likewise.
27800         (asin_towardzero_test_data): Likewise.
27801         (asin_upward_test_data): Likewise.
27802         (asinh_test_data): Likewise.
27803         (atan_test_data): Likewise.
27804         (atanh_test_data): Likewise.
27805         (cbrt_test_data): Likewise.
27806         (cos_test_data): Likewise.
27807         (cos_tonearest_test_data): Likewise.
27808         (cos_towardzero_test_data): Likewise.
27809         (cos_downward_test_data): Likewise.
27810         (cos_upward_test_data): Likewise.
27811         (cosh_test_data): Likewise.
27812         (cosh_tonearest_test_data): Likewise.
27813         (cosh_towardzero_test_data): Likewise.
27814         (cosh_downward_test_data): Likewise.
27815         (cosh_upward_test_data): Likewise.
27816         * sysdeps/i386/fpu/libm-test-ulps: Update.
27817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27819 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
27821         [BZ #6787]
27822         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27823         * math/w_exp10f.c (__exp10f): Likewise.
27824         * math/w_exp10l.c (__exp10l): Likewise.
27825         * math/libm-test.inc (exp10_test_data): Add more tests and expect
27826         errno settings in existing tests.
27828         [BZ #14032]
27829         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27830         precision control set to double precision.
27831         * sysdeps/i386/fpu/w_sqrt.c: New file.
27832         * math/auto-libm-test-in: Add more tests.
27833         * math/auto-libm-test-out: Update.
27835         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27836         (sqrt_test_tonearest): New function.
27837         (sqrt_towardzero_test_data): New variable.
27838         (sqrt_test_towardzero): New function.
27839         (sqrt_downward_test_data): New variable.
27840         (sqrt_test_downward): New function.
27841         (sqrt_upward_test_data): New variable.
27842         (sqrt_test_upward): New function.
27843         (main): Call the new functions.
27845         * math/gen-auto-libm-tests.c: New file.
27846         * math/auto-libm-test-in: Likewise.
27847         * math/auto-libm-test-out: New generated file.
27848         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27849         variables.
27850         (%beautify): Add generated representations of zero.
27851         (top level): Set $auto_input and call parse_auto_input.
27852         (beautify): Remove trailing "f" from hex float constants.
27853         (parse_args): Handle XFAIL_TEST.
27854         (convert_condition): New function.
27855         (or_value): Likewise.
27856         (or_cond_value): Likewise.
27857         (generate_testfile): Handle AUTO_TESTS_* lines.
27858         (parse_auto_input): New function.
27859         * math/libm-test.inc (XFAIL_TEST): New macro.
27860         (ERRNO_UNCHANGED): Update value.
27861         (ERRNO_EDOM): Likewise.
27862         (ERRNO_ERANGE): Likewise.
27863         (IGNORE_RESULT): Likewise.
27864         (TEST_COND_flt_32): New macro.
27865         (TEST_COND_dbl_64): Likewise.
27866         (TEST_COND_ldbl_96_intel): Likewise.
27867         (TEST_COND_ldbl_96_m68k): Likewise.
27868         (TEST_COND_ldbl_128): Likewise.
27869         (TEST_COND_ldbl_128ibm): Likewise.
27870         (TEST_COND_long32): Likewise.
27871         (TEST_COND_long64): Likewise.
27872         (TEST_COND_before_rounding): Likewise.
27873         (TEST_COND_after_rounding): Likewise.
27874         (enable_test): Handle XFAIL_TEST flag.
27875         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27876         with finite results.
27877         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27878         auto-libm-test-out.
27880 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27881             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27883         [BZ #16214]
27884         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27885         __tls_get_addr_internal instead of __tls_get_offset in order to
27886         avoid GOT pointer dependency.  Make rtld export
27887         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27888         __tls_get_addr since we are a __tls_get_offset platform.
27889         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27890         GOT pointer being set up before.
27891         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27893 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
27895         * manual/math.texi (Errors in Math Functions): Document accuracy
27896         goals.
27898         [BZ #15004]
27899         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27900         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27901         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27902         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27903         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27904         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27905         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27906         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27907         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27908         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27909         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27910         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27911         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27912         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27913         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27914         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27916         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27917         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27918         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27919         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27920         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27921         Likewise.
27922         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27923         Likewise.
27924         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27925         Likewise.
27926         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27927         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27928         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27929         atomic-feupdateenv and flt-rounds.
27930         * sysdeps/powerpc/nofpu/Versions (libc): Add
27931         __atomic_feholdexcept, __atomic_feclearexcept,
27932         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27933         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27934         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27935         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27936         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27937         here.
27938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27939         Update.
27941         * manual/arith.texi (FP Exceptions): Document that exceptions may
27942         not be raised when matherr is used.
27943         (Math Error Reporting): Document overflow in directed rounding
27944         modes.  Document that errno may not be set when finite values are
27945         returned on overflow.  Document intent to set errno on underflow
27946         only for underflow to zero.
27948         [BZ #16271]
27949         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27950         round-to-nearest then adjust result for other rounding modes.
27951         * include/fenv.h (fegetround): Use libm_hidden_proto.
27952         * math/fegetround.c (fegetround): Use libm_hidden_def.
27953         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27954         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27955         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27956         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27957         Likewise.
27958         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27959         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27960         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27961         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27963 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27965         [BZ #16077]
27966         * nss/Versions (libnss_files): Add
27967         _nss_files_gethostbyname3_r.
27968         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27969         New function.
27970         (HOST_DB_LOOKUP): Remove macro.
27971         (_nss_files_gethostbyname_r): Implement function without the
27972         HOST_DB_LOOKUP macro.
27973         (_nss_files_gethostbyname2_r): Likewise.
27975 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27977         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27979 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27981         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27982         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27983         warning.
27985 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27987         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27988         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27989         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27990         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27991         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27992         __fe_nomask_env_priv and attribute_hidden.
27993         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27994         (libc_feupdateenv_test_ppc): Likewise.
27995         (libc_feresetround_ppc): Likewise.
27996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27997         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27998         compat_symbol macro.
27999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28000         (__fe_nomask_env): Likewise.
28001         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28003 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28005         * string/Makefile: Remove ifunc tests.
28006         * string/test-string.h: Define TEST_IFUNC.
28007         * string/test-bcopy-ifunc.c: Remove.
28008         * string/test-bzero-ifunc.c: Likewise.
28009         * string/test-memccpy-ifunc.c: Likewise.
28010         * string/test-memchr-ifunc.c: Likewise.
28011         * string/test-memcmp-ifunc.c: Likewise.
28012         * string/test-memcpy-ifunc.c: Likewise.
28013         * string/test-memmem-ifunc.c: Likewise.
28014         * string/test-memmove-ifunc.c: Likewise.
28015         * string/test-mempcpy-ifunc.c: Likewise.
28016         * string/test-memrchr-ifunc.c: Likewise.
28017         * string/test-memset-ifunc.c: Likewise.
28018         * string/test-rawmemchr-ifunc.c: Likewise.
28019         * string/test-stpcpy-ifunc.c: Likewise.
28020         * string/test-stpncpy-ifunc.c: Likewise.
28021         * string/test-strcasecmp-ifunc.c: Likewise.
28022         * string/test-strcasestr-ifunc.c: Likewise.
28023         * string/test-strcat-ifunc.c: Likewise.
28024         * string/test-strchr-ifunc.c: Likewise.
28025         * string/test-strchrnul-ifunc.c: Likewise.
28026         * string/test-strcmp-ifunc.c: Likewise.
28027         * string/test-strcpy-ifunc.c: Likewise.
28028         * string/test-strcspn-ifunc.c: Likewise.
28029         * string/test-strlen-ifunc.c: Likewise.
28030         * string/test-strncasecmp-ifunc.c: Likewise.
28031         * string/test-strncat-ifunc.c: Likewise.
28032         * string/test-strncmp-ifunc.c: Likewise.
28033         * string/test-strncpy-ifunc.c: Likewise.
28034         * string/test-strnlen-ifunc.c: Likewise.
28035         * string/test-strpbrk-ifunc.c: Likewise.
28036         * string/test-strrchr-ifunc.c: Likewise.
28037         * string/test-strspn-ifunc.c: Likewise.
28038         * string/test-strstr-ifunc.c: Likewise.
28040 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28042         * benchtests/Makefile: Remove ifunc tests.
28043         * benchtests/bench-string.h: Define TEST_IFUNC.
28044         * benchtests/bench-bcopy-ifunc.c: Remove.
28045         * benchtests/bench-bzero-ifunc.c: Likewise.
28046         * benchtests/bench-memccpy-ifunc.c: Likewise.
28047         * benchtests/bench-memchr-ifunc.c: Likewise.
28048         * benchtests/bench-memcmp-ifunc.c: Likewise.
28049         * benchtests/bench-memcpy-ifunc.c: Likewise.
28050         * benchtests/bench-memmem-ifunc.c: Likewise.
28051         * benchtests/bench-memmove-ifunc.c: Likewise.
28052         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28053         * benchtests/bench-memrchr-ifunc.c: Likewise.
28054         * benchtests/bench-memset-ifunc.c: Likewise.
28055         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28056         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28057         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28058         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28059         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28060         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28061         * benchtests/bench-strcat-ifunc.c: Likewise.
28062         * benchtests/bench-strchr-ifunc.c: Likewise.
28063         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28064         * benchtests/bench-strcmp-ifunc.c: Likewise.
28065         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28066         * benchtests/bench-strcpy-ifunc.c: Likewise.
28067         * benchtests/bench-strcspn-ifunc.c: Likewise.
28068         * benchtests/bench-strlen-ifunc.c: Likewise.
28069         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28070         * benchtests/bench-strncat-ifunc.c: Likewise.
28071         * benchtests/bench-strncmp-ifunc.c: Likewise.
28072         * benchtests/bench-strncpy-ifunc.c: Likewise.
28073         * benchtests/bench-strnlen-ifunc.c: Likewise.
28074         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28075         * benchtests/bench-strrchr-ifunc.c: Likewise.
28076         * benchtests/bench-strsep-ifunc.c: Likewise.
28077         * benchtests/bench-strspn-ifunc.c: Likewise.
28078         * benchtests/bench-strstr-ifunc.c: Likewise.
28080 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28082         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28084 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28086         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28087         * rt/aio.h: Likewise.
28088         * sysdeps/gnu/bits/utmp.h: Likewise.
28089         * sysdeps/gnu/bits/utmpx.h: Likewise.
28090         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28091         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28092         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28093         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28094         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28095         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28096         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28097         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28098         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28099         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28100         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28101         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28102         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28104         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28105         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28106         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28107         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28108         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28109         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28110         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28111         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28112         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28113         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28114         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28115         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28116         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28117         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28118         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28119         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28120         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28121         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28122         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28123         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28124         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28125         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28126         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28127         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28128         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28129         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28130         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28131         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28133 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28135         [BZ #16245]
28136         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28137         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28139 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28141         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28142         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28143         Likewise.
28145 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28147         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28148         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28149         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28150         (__fesetround): Remove define.
28151         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28152         rounding and exceptions handling.
28153         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28154         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28155         (__fe_nomask_env): Likewise.
28156         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28157         __fegetround instead of fegetround.
28158         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28159         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28161 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28163         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28164         it's there.
28166         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28168 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28170         [BZ #11157]
28171         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28172         (encrypt_r): Likewise.
28173         * malloc/obstack.h (obstack_free): Likewise.
28174         * posix/unistd.h (encrypt): Likewise.
28176 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28178         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28179         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28180         DL_CALL_DT_FINI() that call the functions directly.
28181         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28182         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28183         * elf/dl-fini.c: Likewise.
28185 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28187         * malloc/hooks.c (memalign_check): Add alignment rounding.
28188         * malloc/malloc.c (_mid_memalign): New function.
28189         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28190         Implement by calling _mid_memalign.
28191         * manual/probes.texi (Memory Allocation Probes): Remove
28192         memory_valloc_retry and memory_pvalloc_retry.
28194 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28196         * locale/programs/locarchive.c (open_archive): Add const
28197         qualifier to ARCHIVEFNAME and copy default fname to
28198         DEFAULT_FNAME.
28200         [BZ #15601]
28201         * libio/tst-widetext.input: Rename Oriya to Odia.
28202         * locale/iso-639.def: Likewise.
28204         * manual/probes.texi (Mathematical Function Probes): Add
28205         documentation for sin, cos, asin and acos probes.
28206         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28207         (__sin32): Add slowasin probe.
28208         (__cos32): Add slowacos probe.
28209         (__mpsin): Add slowsin probe.
28210         (__mpcos): Add slowcos probe.
28212 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28214         [BZ #15483]
28215         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28216         thread-local __sim_exceptions_thread and global
28217         __sim_exceptions_global.
28218         (__sim_disabled_exceptions): Change to thread-local
28219         __sim_disabled_exceptions_thread and global
28220         __sim_disabled_exceptions_global.
28221         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28222         and global __sim_round_mode_global.
28223         (__simulate_exceptions): Use thread-local floating-point state and
28224         set global state from it as needed.
28225         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28226         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28227         __sim_round_mode_thread.
28228         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28229         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28230         and global __sim_exceptions_global.
28231         (__sim_disabled_exceptions): Change to thread-local
28232         __sim_disabled_exceptions_thread and global
28233         __sim_disabled_exceptions_global.
28234         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28235         and global __sim_round_mode_global.
28236         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28237         (SIM_SET_GLOBAL): Likewise.
28238         * sysdeps/powerpc/soft-fp/sfp-machine.h
28239         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28240         __sim_round_mode_thread.
28241         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28242         __sim_disabled_exceptions_thread.
28243         (__sim_exceptions): Change to __sim_exceptions_thread.
28244         (__sim_disabled_exceptions): Change to
28245         __sim_disabled_exceptions_thread.
28246         (__sim_round_mode): Change to __sim_round_mode_thread.
28247         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28248         thread-local floating-point state and set global state from it as
28249         needed.
28250         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28251         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28252         (__sim_disabled_exceptions): Remove extern declaration.
28253         (feenableexcept): Use thread-local floating-point state and set
28254         global state from it as needed.
28255         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28256         extern declaration.
28257         (__sim_disabled_exceptions): Likewise.
28258         (__sim_round_mode): Likewise.
28259         (__fegetenv): Use thread-local floating-point state.
28260         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28261         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28262         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28263         floating-point state and set global state from it as needed.
28264         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28265         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28266         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28267         Likewise.
28268         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28269         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28270         Likewise.
28271         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28272         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28273         Use __sim_round_mode_thread.
28274         * math/test-fenv-tls.c: New file.
28275         * math/Makefile (tests): Add test-fenv-tls.
28276         ($(objpfx)test-fenv-tls): Depend on
28277         $(common-objpfx)nptl/libpthread.so.
28279 2013-11-19  Andreas Schwab  <schwab@suse.de>
28281         * locale/programs/locale.c (show_info): Decode wordarray elements.
28282         * locale/categories.def (LC_MONETARY): Add element for
28283         _NL_MONETARY_CRNCYSTR.
28284         * locale/C-monetary.c (conversion_rate): New variable.
28285         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28286         element.
28288 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28290         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28291         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28293 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28295         * elf/Makefile (tst-auxv): New test.
28296         * elf/tst-auxv.c: New
28297         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28299 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28301         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28302         (hidden_proto): Caller changed.
28303         (hidden_tls_proto): New macro.
28304         (libc_hidden_tls_proto): Likewise.
28305         (rtld_hidden_tls_proto): Likewise.
28306         (libm_hidden_tls_proto): Likewise.
28307         (libresolv_hidden_tls_proto): Likewise.
28308         (librt_hidden_tls_proto): Likewise.
28309         (libdl_hidden_tls_proto): Likewise.
28310         (libnss_files_hidden_tls_proto): Likewise.
28311         (libnsl_hidden_tls_proto): Likewise.
28312         (libnss_nisplus_hidden_tls_proto): Likewise.
28313         (libutil_hidden_tls_proto): Likewise.
28315 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28317         [BZ #10253]
28318         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28319         (decompose_rpath): Defer expansion to fillin_rpath.
28320         (_dl_init_paths): Pass linkmap to fillin_rpath.
28322 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28324         * benchtests/Makefile: Add strsep.
28325         * benchtests/bench-strsep.c: New file: strsep benchtest.
28326         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28328 2013-11-18  Andreas Schwab  <schwab@suse.de>
28330         * locale/programs/locale.c (show_info) [case byte]: Check for
28331         '\377' instead of '\177'.
28332         * locale/C-monetary.c (not_available): Always use "\377".
28333         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28334         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28335         detect unavailable sign_posn locale elements.
28336         * locale/localeconv.c (__localeconv): For grouping and
28337         mon_grouping handle "\177" and "\377" like no grouping.
28338         (INT_ELEM): New macro.  Use it to set all numeric members.
28339         * locale/programs/ld-monetary.c (monetary_read)
28340         <tok_mon_grouping>: Normalize single -1 to the empty string.
28341         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28342         Likewise.
28344 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28346         [BZ #16055]
28347         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28348         when we match (nil).
28349         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28351 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28353         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28354         (NO_TEST_INLINE): Update value.
28355         (ERRNO_UNCHANGED): Likewise.
28356         (ERRNO_EDOM): Likewise.
28357         (ERRNO_ERANGE): Likewise.
28358         (IGNORE_RESULT): Likewise.
28359         (check_float_internal): Check signs of NaN results if
28360         TEST_NAN_SIGN used.
28361         (check_complex): Pass TEST_NAN_SIGN flag through to second
28362         check_float_internal call.
28363         (copysign_test_data): Add tests with quiet NaNs as second
28364         argument.  Use TEST_NAN_SIGN.
28365         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28366         TEST_NAN_SIGN.
28367         (signbit_test_data): Add tests of quiet NaN argument.
28368         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28370         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28371         $ignore_result.
28372         (parse_args): Handle function results specified as IGNORE.
28373         * math/libm-test.inc (IGNORE_RESULT): New macro.
28374         (check_float_internal): Do not check numerical result if flag
28375         IGNORE_RESULT set.
28376         (check_complex): Pass through IGNORE_RESULT to second
28377         check_float_internal call.
28378         (check_int): Do not check numerical result if flag IGNORE_RESULT
28379         set.
28380         (check_long): Likewise.
28381         (check_bool): Likewise.
28382         (check_longlong): Likewise.
28383         (lrint_test_data): Add tests of infinite and NaN arguments.
28384         (lrint_tonearest_test_data): Likewise.
28385         (lrint_towardzero_test_data): Likewise.
28386         (lrint_downward_test_data): Likewise.
28387         (lrint_upward_test_data): Likewise.
28388         (llrint_test_data): Likewise.
28389         (llrint_tonearest_test_data): Likewise.
28390         (llrint_towardzero_test_data): Likewise.
28391         (llrint_downward_test_data): Likewise.
28392         (llrint_upward_test_data): Likewise.
28393         (lround_test_data): Likewise.
28394         (llround_test_data): Likewise.
28396         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28397         (ERRNO_UNCHANGED): Update value.
28398         (ERRNO_EDOM): Likewise.
28399         (ERRNO_ERANGE): Likewise.
28400         (NO_TEST_INLINE_FLOAT): New macro.
28401         (NO_TEST_INLINE_DOUBLE): Likewise.
28402         (enable_test): New function.
28403         (RUN_TEST_f_f): Check enable_test before running test.
28404         (RUN_TEST_2_f): Likewise.
28405         (RUN_TEST_fff_f): Likewise.
28406         (RUN_TEST_c_f): Likewise.
28407         (RUN_TEST_f_f1): Likewise.
28408         (RUN_TEST_fF_f1): Likewise.
28409         (RUN_TEST_fI_f1): Likewise.
28410         (RUN_TEST_ffI_f1): Likewise.
28411         (RUN_TEST_c_c): Likewise.
28412         (RUN_TEST_cc_c): Likewise.
28413         (RUN_TEST_f_i): Likewise.
28414         (RUN_TEST_f_i_tg): Likewise.
28415         (RUN_TEST_ff_i_tg): Likewise.
28416         (RUN_TEST_f_b): Likewise.
28417         (RUN_TEST_f_b_tg): Likewise.
28418         (RUN_TEST_f_l): Likewise.
28419         (RUN_TEST_f_L): Likewise.
28420         (RUN_TEST_fFF_11): Likewise.
28421         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28422         conditionals.
28423         (cosh_test_data): Likewise.
28424         (exp_test_data): Likewise.
28425         (expm1_test_data): Likewise.
28426         (hypot_test_data): Likewise.
28427         (pow_test_data): Likewise.
28428         (sinh_test_data): Likewise.
28429         (tanh_test_data): Likewise.
28430         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28431         flags argument.
28433         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28434         tests with quiet NaN input and output.
28435         (acosh_test_data): Likewise.
28436         (asin_test_data): Likewise.
28437         (asinh_test_data): Likewise.
28438         (atan_test_data): Likewise.
28439         (atanh_test_data): Likewise.
28440         (atan2_test_data): Likewise.
28441         (cbrt_test_data): Likewise.
28442         (cos_test_data): Likewise.
28443         (cosh_test_data): Likewise.
28444         (erf_test_data): Likewise.
28445         (erfc_test_data): Likewise.
28446         (exp_test_data): Likewise.
28447         (exp10_test_data): Likewise.
28448         (exp2_test_data): Likewise.
28449         (expm1_test_data): Likewise.
28450         (hypot_test_data): Likewise.
28451         (j0_test_data): Likewise.
28452         (j1_test_data): Likewise.
28453         (jn_test_data): Likewise.
28454         (lgamma_test_data): Likewise.
28455         (log_test_data): Likewise.
28456         (log10_test_data): Likewise.
28457         (log1p_test_data): Likewise.
28458         (log2_test_data): Likewise.
28459         (pow_test_data): Likewise.
28460         (scalb_test_data): Likewise.
28461         (sin_test_data): Likewise.
28462         (sincos_test_data): Likewise.
28463         (sinh_test_data): Likewise.
28464         (tan_test_data): Likewise.
28465         (tanh_test_data): Likewise.
28466         (tgamma_test_data): Likewise.
28467         (y0_test_data): Likewise.
28468         (y1_test_data): Likewise.
28469         (yn_test_data): Likewise.
28471         [BZ #16167]
28472         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28473         argument being NaN and avoid computations with second argument in
28474         that case.
28475         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28476         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28477         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28479 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28481         * locale/iso-639.def: Add Chitwani Tharu (the).
28483 2013-11-14  Andreas Schwab  <schwab@suse.de>
28485         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28486         word instead of empty string.
28488 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28491         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28493         (__fe_nomask_env): Likewise.
28495 2013-11-13  Steve Ellcey  <sellcey@mips.com>
28497         * benchtests/bench-timing.h: Include time.h.
28499 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
28501         [BZ #15997]
28502         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
28503         to 3.4.0 for x32.
28504         * sysdeps/unix/sysv/linux/configure: Regenerated.
28506 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
28508         [BZ #16151]
28509         * stdlib/strtod_l.c (round_and_return): Do not consider
28510         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
28511         exponent one less than half the least subnormal exponent.
28512         * stdlib/test-strtod-round-data: Add more tests.
28513         * stdlib/tst-strtod-round.c (tests): Regenerated.
28515 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28517         [BZ #14143]
28518         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
28519         (__fe_mask_env): Likewise.
28520         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
28521         libm_hidden_proto and add function prototype.
28522         (__fe_mask_env): Add function prototype.
28523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28524         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
28525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28526         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
28527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28528         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
28530 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28532         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
28533         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
28535 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28537         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
28538         of htab_find_slot().
28540 2013-11-11  David S. Miller  <davem@davemloft.net>
28542         [BZ #16150]
28543         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
28544         symbol in the non-vis3 case in static builds.
28545         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
28546         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
28547         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
28548         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
28550 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
28552         [BZ #387]
28553         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
28554         it is empty.
28556 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28558         * benchtests/Makefile: Add bench-strtod.
28559         * benchtests/bench-strtod.c: New file: strtod benchtest
28561 2013-11-11  Andreas Schwab  <schwab@suse.de>
28563         [BZ #16153]
28564         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
28565         terminating NUL in key length.
28567 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28569         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28570         Add artificial ODP entry for vDSO symbol for PPC64.
28571         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
28572         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28574 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28576         [BZ #15374]
28577         * nss/getent.c (services_keys): Recognize services starting with digit.
28579 2013-11-06  David S. Miller  <davem@davemloft.net>
28581         [BZ #15985]
28582         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
28583         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
28585 2013-11-06  Will Newton  <will.newton@linaro.org>
28587         * manual/memory.texi (Malloc Examples): Remove register
28588         keyword from examples.
28590 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
28592         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
28594 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
28596         [BZ #6981]
28597         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
28598         depending on [__GCC_IEC_559 > 0].
28599         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
28600         depending on [__GCC_IEC_559_COMPLEX > 0].
28602 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
28604         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
28605         to iso-639.def.
28607 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
28609         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
28611 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
28613         [BZ #16112]
28614         * malloc/malloc (malloc_info): Do not handle first bin as
28615         special case.
28617 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
28619         * locale/iso-639.def: Add Central Nahuatl (nhn).
28621 2013-11-01  Bruno Haible  <bruno@clisp.org>
28623         [BZ #7003]
28624         * manual/math.texi (BSD Random): Specify range upper bound as
28625         in POSIX.
28627 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
28629         * locale/iso-639.def: Add Meadow Mari (mhr).
28631 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
28633         [BZ #14752], [BZ #15763]
28634         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
28635         Validate name.
28636         * rt/tst_shm.c: Add test for escaping directory.
28638 2013-10-31  Andreas Schwab  <schwab@suse.de>
28640         [BZ #15917]
28641         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
28642         followed by 'x' as part of digit sequence.
28643         * stdio-common/tst-sscanf.c (double_tests2): New tests.
28645 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
28647         [BZ #16037]
28648         * configure.ac: allow GNU Make 4.0 and greater.
28649         * configure: Regenerated.
28651 2013-10-30  Will Newton  <will.newton@linaro.org>
28653         [BZ #16038]
28654         * malloc/hooks.c (memalign_check): Limit alignment to the
28655         maximum representable power of two.
28656         * malloc/malloc.c (__libc_memalign): Likewise.
28657         * malloc/tst-memalign.c (do_test): Add test for very
28658         large alignment values.
28659         * malloc/tst-posix_memalign.c (do_test): Likewise.
28661 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28663         [BZ #11087]
28664         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
28665         (munmap_chunk): Likewise.
28666         (mremap_chunk): Likewise.
28668 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
28670         [BZ #15799]
28671         * stdlib/div.c (div): Remove obsolete code.
28672         * stdlib/ldiv.c (ldiv): Likewise.
28673         * stdlib/lldiv.c (lldiv): Likewise.
28675 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28677         [BZ #16071]
28678         * nss/nss_files/files-XXX.c (get_contents_ret): New
28679         enumerator.
28680         (get_contents): New function.
28681         (internal_getent): Use it.  Expand size of LINEBUFLEN.
28683 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
28685         * configure.in: Moved to ...
28686         * configure.ac: ... here. Change reference to configure.in
28687         to configure.ac.
28688         * sysdeps/arm/preconfigure.ac: ... here.
28689         configure.in to configure.ac.
28690         * sysdeps/gnu/configure.in: Moved to ...
28691         * sysdeps/gnu/configure.ac: ... here.
28692         * sysdeps/i386/configure.in: Moved to ...
28693         * sysdeps/i386/configure.ac: ... here.
28694         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
28695         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
28696         * sysdeps/mach/configure.in: Moved to ...
28697         * sysdeps/mach/configure.ac: ... here.
28698         * sysdeps/mach/hurd/configure.in: Moved to ...
28699         * sysdeps/mach/hurd/configure.ac: ... here.
28700         * sysdeps/powerpc/configure.in: Moved to ...
28701         * sysdeps/powerpc/configure.ac: ... here.
28702         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
28703         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
28704         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
28705         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
28706         * sysdeps/s390/s390-32/configure.in: Moved to ...
28707         * sysdeps/s390/s390-32/configure.ac: ... here.
28708         * sysdeps/s390/s390-64/configure.in: Moved to ...
28709         * sysdeps/s390/s390-64/configure.ac: ... here.
28710         * sysdeps/sh/configure.in: Moved to ...
28711         * sysdeps/sh/configure.ac: ... here.
28712         * sysdeps/sparc/configure.in: Moved to ...
28713         * sysdeps/sparc/configure.ac: ... here.
28714         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
28715         * sysdeps/unix/sysv/linux/configure.ac: ... here.
28716         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
28717         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
28718         * sysdeps/x86_64/configure.in: Moved to ...
28719         * sysdeps/x86_64/configure.ac: ... here.
28720         * sysdeps/x86_64/preconfigure.in: Moved to ...
28721         * sysdeps/x86_64/preconfigure.ac: ... here.
28722         * aclocal.m4: Change reference to configure.in to configure.ac.
28723         * config.h.in: Likewise.
28724         * manual/install.texi: Likewise.
28725         * manual/maint.texi: Likewise.
28726         * Makefile: Likewise.
28727         * malloc/Makefile: Likewise.
28728         * nscd/Makefile: Likewise.
28729         * Makeconfig: Change reference to configure.in and
28730         preconfigure.in to configure.ac and preconfigure.ac
28731         respectively.
28732         * INSTALL: Regenerated.
28733         * configure: Likewise.
28734         * sysdeps/gnu/configure: Likewise.
28735         * sysdeps/i386/configure: Likewise.
28736         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
28737         * sysdeps/mach/configure: Likewise.
28738         * sysdeps/mach/hurd/configure: Likewise.
28739         * sysdeps/powerpc/configure: Likewise.
28740         * sysdeps/powerpc/powerpc32/configure: Likewise.
28741         * sysdeps/powerpc/powerpc64/configure: Likewise.
28742         * sysdeps/s390/s390-32/configure: Likewise.
28743         * sysdeps/s390/s390-64/configure: Likewise.
28744         * sysdeps/sh/configure: Likewise.
28745         * sysdeps/sparc/configure: Likewise.
28746         * sysdeps/unix/sysv/linux/configure: Likewise.
28747         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
28748         * sysdeps/x86_64/configure: Likewise.
28749         * sysdeps/x86_64/preconfigure: Likewise.
28751 2013-10-29  Andreas Schwab  <schwab@suse.de>
28753         * stdio-common/Makefile (tst-swscanf-ENV): Define.
28755 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28757         * benchtests/pow-inputs: Add new inputs.
28759         * benchtests/exp-inputs: Add new inputs.
28761         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
28762         conditional check for return value.
28763         (__cos32): Likewise.
28765 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28767         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
28768         to provide a boost for large inputs with word alignment.
28769         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
28770         implementation based on optimized PPC64 strcpy.
28771         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
28772         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
28773         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
28774         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
28776 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28778         [BZ #2801]
28779         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
28781 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28783         [BZ #14876]
28784         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
28785         * time/tst-strptime.c (day_tests): Add testcase.
28787 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
28789         [BZ #14029]
28790         * manual/pattern.texi: Acknowledge that fnmatch can fail.
28792 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
28794         [BZ #16074]
28795         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
28796         MAP_FAILED on error.
28798 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28800         [BZ #16072]
28801         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
28802         heap for large requests.
28804 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
28806         [BZ #9954]
28807         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
28808         result if the result has no associated interface.
28809         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
28810         interface for all 127.X.Y.Z addresses.
28812 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
28814         * locale/iso-639.def: Add Ligurian (lij)
28816 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
28818         [BZ #15825]
28819         * sunrpc/rpc_main.c: Document rpcgen -5.
28821 2013-10-19  Michael Stahl  <mstahl@redhat.com>
28823         * elf/rtld.c (do_preload): Print the reason why preloading failed.
28825 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28827         [BZ #10278]
28828         * posix/glob.c: Match only directories when trailing slash is present.
28829         * posix/tst-gnuglob.c (my_opendir): Do not open files.
28830         (main): Add testcase.
28832 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
28834         [BZ #15670]
28835         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28837 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
28839         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28840         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28841         AUTH_DES and cindex for FIPS 140-2.
28842         (DES Encryption): Add cindex FIPS 46-3.
28844         * locale/locarchive.h (struct locarhandle): Add fname.
28845         * locale/programs/localedef.c (main): Pass ARGV[remaining]
28846         if an optional argument was specified to --list-archive,
28847         otherwise NULL.
28848         * locale/programs/locarchive.c (show_archive_content): Take new
28849         argument fname and pass it via ah.fname to open_archive.
28850         * locale/programs/localedef.h: Update decl.
28851         (open_archive): If AH->fname is non-null, open that file
28852         rather than the default file name, and don't ignore ENOENT.
28853         (create_archive): Set AH.fname to NULL.
28854         (delete_locales_from_archive): Likewise.
28855         (add_locales_to_archive): Likewise.
28856         * locale/programs/locfile.c (write_all_categories): Likewise.
28858 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
28859             Aldy Hernandez  <aldyh@redhat.com>
28861         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28862         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28863         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28864         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28865         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28866         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28867         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28868         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28869         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28870         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28871         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28872         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28873         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28874         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28875         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28876         Likewise.
28877         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28878         Likewise.
28879         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28880         Likewise.
28881         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28882         Likewise.
28883         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28884         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28885         Likewise.
28886         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28887         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28888         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28889         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28890         Likewise.
28891         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28892         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28893         * sysdeps/powerpc/preconfigure: Likewise.
28894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28895         Likewise.
28896         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28897         Replace contents of file by #include of <fenv_libc.h>.
28898         * sysdeps/powerpc/soft-fp/sfp-machine.h
28899         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28900         and <sys/prctl.h>.
28901         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28902         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28903         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28904         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28905         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28906         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28907         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28908         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28909         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28910         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28911         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28912         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28914         Allow copysignl PLT reference to be missing.
28916 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
28917             Joseph Myers  <joseph@codesourcery.com
28919         [BZ #15948]
28920         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28921         single character.
28922         (add_to_tablewc): Assert sequence of wide characters is nonempty.
28924 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28926         * elf/tst-tls-dlinfo.c: Don't include tls.h.
28927         * elf/tst-tls1.c: Likewise.
28928         * elf/tst-tls10.h: Likewise.
28929         * elf/tst-tls14.c: Likewise.
28930         * elf/tst-tls2.c: Likewise.
28931         * elf/tst-tls3.c: Likewise.
28932         * elf/tst-tls4.c: Likewise.
28933         * elf/tst-tls5.c: Likewise.
28934         * elf/tst-tls6.c: Likewise.
28935         * elf/tst-tls7.c: Likewise.
28936         * elf/tst-tls8.c: Likewise.
28937         * elf/tst-tls9.c: Likewise.
28938         * elf/tst-tlsmod1.c: Likewise.
28939         * elf/tst-tlsmod13.c: Likewise.
28940         * elf/tst-tlsmod13a.c: Likewise.
28941         * elf/tst-tlsmod14a.c: Likewise.
28942         * elf/tst-tlsmod16a.c: Likewise.
28943         * elf/tst-tlsmod16b.c: Likewise.
28944         * elf/tst-tlsmod2.c: Likewise.
28945         * elf/tst-tlsmod3.c: Likewise.
28946         * elf/tst-tlsmod4.c: Likewise.
28947         * elf/tst-tlsmod5.c: Likewise.
28948         * elf/tst-tlsmod6.c: Likewise.
28950 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
28952         [BZ #12486]
28953         * malloc/malloc.c: remove checks for statistics.
28955 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28957         [BZ #15277]
28958         * inet/inet_net.c (inet_network): Detect additional invalid strings.
28959         * inet/tst-network.c: Add testcase.
28961 2013-10-17  Andreas Schwab  <schwab@suse.de>
28963         [BZ #15218]
28964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28965         to determine canonical name.
28967 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28969         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28970         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28971         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28972         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28973         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28974         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28975         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28976         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28977         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28978         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28979         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28980         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28981         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28982         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28983         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28984         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28985         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28986         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28987         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28988         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28989         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28990         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28991         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28992         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28993         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28994         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28995         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28996         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28997         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28998         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28999         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29000         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29001         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29002         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29003         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29004         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29005         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29006         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29007         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29008         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29009         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29010         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29011         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29012         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29013         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29014         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29015         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29016         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29017         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29018         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29019         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29020         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29021         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29022         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29023         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29024         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29025         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29026         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29028 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29030         [BZ #16041]
29031         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29032         make result into a quiet NaN.
29034 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29036         * soft-fp/adddf3.c: Fix horizontal whitespace.
29037         * soft-fp/addsf3.c: Likewise.
29038         * soft-fp/addtf3.c: Likewise.
29039         * soft-fp/divdf3.c: Likewise.
29040         * soft-fp/divsf3.c: Likewise.
29041         * soft-fp/divtf3.c: Likewise.
29042         * soft-fp/double.h: Likewise.
29043         * soft-fp/eqdf2.c: Likewise.
29044         * soft-fp/eqsf2.c: Likewise.
29045         * soft-fp/eqtf2.c: Likewise.
29046         * soft-fp/extenddftf2.c: Likewise.
29047         * soft-fp/extended.h: Likewise.
29048         * soft-fp/extendsfdf2.c: Likewise.
29049         * soft-fp/extendsftf2.c: Likewise.
29050         * soft-fp/extendxftf2.c: Likewise.
29051         * soft-fp/fixdfdi.c: Likewise.
29052         * soft-fp/fixdfsi.c: Likewise.
29053         * soft-fp/fixdfti.c: Likewise.
29054         * soft-fp/fixsfdi.c: Likewise.
29055         * soft-fp/fixsfsi.c: Likewise.
29056         * soft-fp/fixsfti.c: Likewise.
29057         * soft-fp/fixtfdi.c: Likewise.
29058         * soft-fp/fixtfsi.c: Likewise.
29059         * soft-fp/fixtfti.c: Likewise.
29060         * soft-fp/fixunsdfdi.c: Likewise.
29061         * soft-fp/fixunsdfsi.c: Likewise.
29062         * soft-fp/fixunsdfti.c: Likewise.
29063         * soft-fp/fixunssfdi.c: Likewise.
29064         * soft-fp/fixunssfsi.c: Likewise.
29065         * soft-fp/fixunssfti.c: Likewise.
29066         * soft-fp/fixunstfdi.c: Likewise.
29067         * soft-fp/fixunstfsi.c: Likewise.
29068         * soft-fp/fixunstfti.c: Likewise.
29069         * soft-fp/floatdidf.c: Likewise.
29070         * soft-fp/floatdisf.c: Likewise.
29071         * soft-fp/floatditf.c: Likewise.
29072         * soft-fp/floatsidf.c: Likewise.
29073         * soft-fp/floatsisf.c: Likewise.
29074         * soft-fp/floatsitf.c: Likewise.
29075         * soft-fp/floattidf.c: Likewise.
29076         * soft-fp/floattisf.c: Likewise.
29077         * soft-fp/floattitf.c: Likewise.
29078         * soft-fp/floatundidf.c: Likewise.
29079         * soft-fp/floatundisf.c: Likewise.
29080         * soft-fp/floatunditf.c: Likewise.
29081         * soft-fp/floatunsidf.c: Likewise.
29082         * soft-fp/floatunsisf.c: Likewise.
29083         * soft-fp/floatunsitf.c: Likewise.
29084         * soft-fp/floatuntidf.c: Likewise.
29085         * soft-fp/floatuntisf.c: Likewise.
29086         * soft-fp/floatuntitf.c: Likewise.
29087         * soft-fp/fmadf4.c: Likewise.
29088         * soft-fp/fmasf4.c: Likewise.
29089         * soft-fp/fmatf4.c: Likewise.
29090         * soft-fp/gedf2.c: Likewise.
29091         * soft-fp/gesf2.c: Likewise.
29092         * soft-fp/getf2.c: Likewise.
29093         * soft-fp/ledf2.c: Likewise.
29094         * soft-fp/lesf2.c: Likewise.
29095         * soft-fp/letf2.c: Likewise.
29096         * soft-fp/muldf3.c: Likewise.
29097         * soft-fp/mulsf3.c: Likewise.
29098         * soft-fp/multf3.c: Likewise.
29099         * soft-fp/negdf2.c: Likewise.
29100         * soft-fp/negsf2.c: Likewise.
29101         * soft-fp/negtf2.c: Likewise.
29102         * soft-fp/op-1.h: Likewise.
29103         * soft-fp/op-2.h: Likewise.
29104         * soft-fp/op-4.h: Likewise.
29105         * soft-fp/op-8.h: Likewise.
29106         * soft-fp/op-common.h: Likewise.
29107         * soft-fp/quad.h: Likewise.
29108         * soft-fp/single.h: Likewise.
29109         * soft-fp/soft-fp.h: Likewise.
29110         * soft-fp/sqrtdf2.c: Likewise.
29111         * soft-fp/sqrtsf2.c: Likewise.
29112         * soft-fp/sqrttf2.c: Likewise.
29113         * soft-fp/subdf3.c: Likewise.
29114         * soft-fp/subsf3.c: Likewise.
29115         * soft-fp/subtf3.c: Likewise.
29116         * soft-fp/truncdfsf2.c: Likewise.
29117         * soft-fp/trunctfdf2.c: Likewise.
29118         * soft-fp/trunctfsf2.c: Likewise.
29119         * soft-fp/trunctfxf2.c: Likewise.
29120         * soft-fp/unorddf2.c: Likewise.
29121         * soft-fp/unordsf2.c: Likewise.
29122         * soft-fp/unordtf2.c: Likewise.
29124 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29126         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29127         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29129 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29131         * elf/dl-libc.c: Clear initfini list after freeing.
29133 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29135         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29136         * soft-fp/addsf3.c: Likewise.
29137         * soft-fp/addtf3.c: Likewise.
29138         * soft-fp/divdf3.c: Likewise.
29139         * soft-fp/divsf3.c: Likewise.
29140         * soft-fp/divtf3.c: Likewise.
29141         * soft-fp/double.h: Likewise.
29142         * soft-fp/eqdf2.c: Likewise.
29143         * soft-fp/eqsf2.c: Likewise.
29144         * soft-fp/eqtf2.c: Likewise.
29145         * soft-fp/extenddftf2.c: Likewise.
29146         * soft-fp/extended.h: Likewise.
29147         * soft-fp/extendsfdf2.c: Likewise.
29148         * soft-fp/extendsftf2.c: Likewise.
29149         * soft-fp/extendxftf2.c: Likewise.
29150         * soft-fp/fixdfdi.c: Likewise.
29151         * soft-fp/fixdfsi.c: Likewise.
29152         * soft-fp/fixdfti.c: Likewise.
29153         * soft-fp/fixsfdi.c: Likewise.
29154         * soft-fp/fixsfsi.c: Likewise.
29155         * soft-fp/fixsfti.c: Likewise.
29156         * soft-fp/fixtfdi.c: Likewise.
29157         * soft-fp/fixtfsi.c: Likewise.
29158         * soft-fp/fixtfti.c: Likewise.
29159         * soft-fp/fixunsdfdi.c: Likewise.
29160         * soft-fp/fixunsdfsi.c: Likewise.
29161         * soft-fp/fixunsdfti.c: Likewise.
29162         * soft-fp/fixunssfdi.c: Likewise.
29163         * soft-fp/fixunssfsi.c: Likewise.
29164         * soft-fp/fixunssfti.c: Likewise.
29165         * soft-fp/fixunstfdi.c: Likewise.
29166         * soft-fp/fixunstfsi.c: Likewise.
29167         * soft-fp/fixunstfti.c: Likewise.
29168         * soft-fp/floatdidf.c: Likewise.
29169         * soft-fp/floatdisf.c: Likewise.
29170         * soft-fp/floatditf.c: Likewise.
29171         * soft-fp/floatsidf.c: Likewise.
29172         * soft-fp/floatsisf.c: Likewise.
29173         * soft-fp/floatsitf.c: Likewise.
29174         * soft-fp/floattidf.c: Likewise.
29175         * soft-fp/floattisf.c: Likewise.
29176         * soft-fp/floattitf.c: Likewise.
29177         * soft-fp/floatundidf.c: Likewise.
29178         * soft-fp/floatundisf.c: Likewise.
29179         * soft-fp/floatunsidf.c: Likewise.
29180         * soft-fp/floatunsisf.c: Likewise.
29181         * soft-fp/floatuntidf.c: Likewise.
29182         * soft-fp/floatuntisf.c: Likewise.
29183         * soft-fp/floatuntitf.c: Likewise.
29184         * soft-fp/fmadf4.c: Likewise.
29185         * soft-fp/fmasf4.c: Likewise.
29186         * soft-fp/fmatf4.c: Likewise.
29187         * soft-fp/gedf2.c: Likewise.
29188         * soft-fp/gesf2.c: Likewise.
29189         * soft-fp/getf2.c: Likewise.
29190         * soft-fp/ledf2.c: Likewise.
29191         * soft-fp/lesf2.c: Likewise.
29192         * soft-fp/letf2.c: Likewise.
29193         * soft-fp/muldf3.c: Likewise.
29194         * soft-fp/mulsf3.c: Likewise.
29195         * soft-fp/multf3.c: Likewise.
29196         * soft-fp/negdf2.c: Likewise.
29197         * soft-fp/negsf2.c: Likewise.
29198         * soft-fp/negtf2.c: Likewise.
29199         * soft-fp/op-1.h: Likewise.
29200         * soft-fp/op-2.h: Likewise.
29201         * soft-fp/op-4.h: Likewise.
29202         * soft-fp/op-8.h: Likewise.
29203         * soft-fp/op-common.h: Likewise.
29204         * soft-fp/quad.h: Likewise.
29205         * soft-fp/single.h: Likewise.
29206         * soft-fp/soft-fp.h: Likewise.
29207         * soft-fp/sqrtdf2.c: Likewise.
29208         * soft-fp/sqrtsf2.c: Likewise.
29209         * soft-fp/sqrttf2.c: Likewise.
29210         * soft-fp/subdf3.c: Likewise.
29211         * soft-fp/subsf3.c: Likewise.
29212         * soft-fp/subtf3.c: Likewise.
29213         * soft-fp/truncdfsf2.c: Likewise.
29214         * soft-fp/trunctfdf2.c: Likewise.
29215         * soft-fp/trunctfsf2.c: Likewise.
29216         * soft-fp/trunctfxf2.c: Likewise.
29217         * soft-fp/unorddf2.c: Likewise.
29218         * soft-fp/unordsf2.c: Likewise.
29219         * soft-fp/unordtf2.c: Likewise.
29221 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29223         [BZ #15672]
29224         * misc/error.c (error_tail): Fix possible buffer overflow.
29226 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29228         [BZ #13028]
29229         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29230         address.
29232 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29234         [BZ #832]
29235         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29236         testing pipefail option.
29238 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29240         * soft-fp/double.h: Indent preprocessor directives inside #if.
29241         * soft-fp/extended.h: Likewise.
29242         * soft-fp/op-2.h: Likewise.
29243         * soft-fp/op-4.h: Likewise.
29244         * soft-fp/op-common.h: Likewise.
29245         * soft-fp/quad.h: Likewise.
29246         * soft-fp/single.h: Likewise.
29247         * soft-fp/soft-fp.h: Likewise.
29249 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29251         * iconv/iconv_prog.c: Fix typos.
29252         * stdio-common/psiginfo-data.h: Likewise.
29254 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29256         [BZ #15764]
29257         * locale/setlocale.c: Fix typo.
29259 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29261         [BZ #16036]
29262         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29263         signaling NaN arguments.
29264         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29265         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29267         [BZ #14910]
29268         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29269         unordered operands.
29270         * soft-fp/gesf2.c (__gesf2): Likewise.
29271         * soft-fp/getf2.c (__getf2): Likewise.
29272         * soft-fp/ledf2.c (__ledf2): Likewise.
29273         * soft-fp/lesf2.c (__lesf2): Likewise.
29274         * soft-fp/letf2.c (__letf2): Likewise.
29276         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29277         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29278         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29279         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29280         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29281         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29282         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29283         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29284         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29285         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29286         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29287         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29288         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29289         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29290         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29291         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29292         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29293         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29294         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29295         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29296         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29297         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29298         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29299         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29300         * soft-fp/floattidf.c (__floattidf): Likewise.
29301         * soft-fp/floattisf.c (__floattisf): Likewise.
29302         * soft-fp/floattitf.c (__floattitf): Likewise.
29303         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29304         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29305         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29306         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29307         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29308         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29309         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29310         * soft-fp/gesf2.c (__gesf2): Likewise.
29311         * soft-fp/getf2.c (__getf2): Likewise.
29312         * soft-fp/ledf2.c (__ledf2): Likewise.
29313         * soft-fp/lesf2.c (__lesf2): Likewise.
29314         * soft-fp/letf2.c (__letf2): Likewise.
29316         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29317         Undefine and redefine.
29318         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29319         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29320         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29321         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29322         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29323         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29324         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29325         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29326         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29327         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29328         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29329         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29330         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29331         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29332         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29334         [BZ #16032]
29335         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29336         without decrementing exponent if mantissa >= that for the
29337         denominator, not >.
29338         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29339         denominator, not >.  Decrement exponent in < case instead of
29340         incrementing in >= case.
29341         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29342         without decrementing exponent if mantissa >= that for the
29343         denominator, not >.
29345         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29346         computing saturated result for unsigned overflow.
29348 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29349             Jeff Law  <law@redhat.com>
29351         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29352         (atan2Mp): Add systemtap probe marker.
29353         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29354         (__ieee754_log): Add systemtap probe marker.
29355         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29356         (atanMp): Add systemtap probe marker.
29357         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29358         (tanMp): Add systemtap probe marker.
29359         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29360         (__slowexp): Add systemtap probe marker.
29361         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29362         (__slowpow): Add systemtap probe marker.
29363         * manual/probes.texi: Document probes.
29365 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29367         [BZ #15362]
29368         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29369         written.
29370         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29371         written.
29372         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29373         written to buffer but not flushed.
29374         * libio/iofwrite_u.c:  Likewise.
29375         * libio/iopadn.c:  Return bytes returned even if EOF was
29376         encountered.
29377         * libio/iowpadn.c:  Likewise.
29378         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29379         if _IO_padn does not write the whole buffer.
29380         [!COMPILE_WPRINTF] (PAD): Likewise.
29382 2013-10-10  David S. Miller  <davem@davemloft.net>
29384         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29385         directory block.
29387 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29389         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29390         instead of FSF address.
29391         * soft-fp/fixdfti.c: Likewise.
29392         * soft-fp/fixsfti.c: Likewise.
29393         * soft-fp/fixtfti.c: Likewise.
29394         * soft-fp/fixunsdfti.c: Likewise.
29395         * soft-fp/fixunssfti.c: Likewise.
29396         * soft-fp/fixunstfti.c: Likewise.
29397         * soft-fp/floattidf.c: Likewise.
29398         * soft-fp/floattisf.c: Likewise.
29399         * soft-fp/floattitf.c: Likewise.
29400         * soft-fp/floatuntidf.c: Likewise.
29401         * soft-fp/floatuntisf.c: Likewise.
29402         * soft-fp/floatuntitf.c: Likewise.
29403         * soft-fp/trunctfxf2.c: Likewise.
29405         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29406         * soft-fp/fixdfti.c: Likewise.
29407         * soft-fp/fixsfti.c: Likewise.
29408         * soft-fp/fixtfti.c: Likewise.
29409         * soft-fp/fixunsdfti.c: Likewise.
29410         * soft-fp/fixunssfti.c: Likewise.
29411         * soft-fp/fixunstfti.c: Likewise.
29412         * soft-fp/floattidf.c: Likewise.
29413         * soft-fp/floattisf.c: Likewise.
29414         * soft-fp/floattitf.c: Likewise.
29415         * soft-fp/floatuntidf.c: Likewise.
29416         * soft-fp/floatuntisf.c: Likewise.
29417         * soft-fp/floatuntitf.c: Likewise.
29418         * soft-fp/trunctfxf2.c: Likewise.
29420 2013-10-10  David S. Miller  <davem@davemloft.net>
29422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29424 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29426         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29427         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29428         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29429         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29430         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29431         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29432         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29434         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29435         for NaNs before doing comparisons on argument.
29436         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29437         Likewise.
29439 2013-10-10  Will Newton  <will.newton@linaro.org>
29441         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29442         passed to _int_memalign does not overflow.
29444 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29446         * scripts/bench.pl: Add include-sources directive.
29447         * benchtests/README: Update documentation.
29449 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29451         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29452         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29453         instead of FP_INIT_ROUNDMODE.
29454         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29455         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29457         [BZ #16034]
29458         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29459         copy class of input value.
29460         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29461         not handle exceptions.
29462         * soft-fp/negsf2.c (__negsf2): Likewise.
29463         * soft-fp/negtf2.c (__negtf2): Likewise.
29464         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29466 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29468         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29469         semicolon.  From Linux kernel.
29471 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29473         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29475 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29477         [BZ #156]
29478         * manual/socket.texi: Added statement about buffer
29479         for gethostbyname2_r.
29481 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29483         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29484         Use .p2align directive instead, throughout.
29485         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29486         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29487         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29488         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29489         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29490         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29491         * sysdeps/x86_64/strchr.S: Likewise.
29492         * sysdeps/x86_64/strrchr.S: Likewise.
29494 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29496         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
29498         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
29500         * sysdeps/generic/math_private.h (__mpsin1): Remove
29501         declaration.
29502         (__mpcos1): Likewise.
29503         (__mpsin): New argument __range_reduce.
29504         (__mpcos): Likewise.
29505         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29506         (slow): Use __mpsin and __mpcos.
29507         (slow1): Likewise.
29508         (slow2): Likewise.
29509         (sloww): Likewise.
29510         (sloww1): Likewise.
29511         (sloww2): Likewise.
29512         (bsloww): Likewise.
29513         (bsloww1): Likewise.
29514         (bsloww2): Likewise.
29515         (cslow2): Likewise.
29516         (csloww): Likewise.
29517         (csloww1): Likewise.
29518         (csloww2): Likewise.
29519         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
29520         range_reduce.  Merge in __mpsin1.
29521         (__mpcos): Likewise.
29522         (__mpsin1): Remove.
29523         (__mpcos1): Likewise.
29525 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
29527         * locale/loadlocale.c (_nl_intern_locale_data): Use
29528         LOCFILE_ALIGNED_P.
29529         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
29530         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
29531         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
29532         obstack data is appropriately aligned.
29533         (obstack_int32_grow_fast): Likewise.
29534         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
29535         * locale/programs/locfile.c (add_locale_uint32): Likewise.
29536         (add_locale_uint32_array): Likewise.
29538 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29540         * benchtests/Makefile: Remove ARGLIST and RET variables.
29541         ($(objpfx)bench-%.c): Pass only function name to the script.
29542         * benchtests/README: Update documentation.
29543         * benchtests/acos-inputs: Add new directives.
29544         * benchtests/acosh-inputs: Likewise.
29545         * benchtests/asin-inputs: Likewise.
29546         * benchtests/asinh-inputs: Likewise.
29547         * benchtests/atan-inputs: Likewise.
29548         * benchtests/atanh-inputs: Likewise.
29549         * benchtests/cos-inputs: Likewise.
29550         * benchtests/cosh-inputs: Likewise.
29551         * benchtests/exp-inputs: Likewise.
29552         * benchtests/log-inputs: Likewise.
29553         * benchtests/pow-inputs: Likewise.
29554         * benchtests/rint-inputs: Likewise.
29555         * benchtests/sin-inputs: Likewise.
29556         * benchtests/sinh-inputs: Likewise.
29557         * benchtests/tan-inputs: Likewise.
29558         * benchtests/tanh-inputs: Likewise.
29559         * scripts/bench.pl: Add support for new directives.
29561 2013-10-07  Alan Modra  <amodra@gmail.com>
29563         * README: Fix careless merge.
29565 2013-10-05  Alan Modra  <amodra@gmail.com>
29567         * NEWS: Mention powerpc64le support and bugs fixed.
29568         * README: Both big-endian and little-endian powerpc64 supported.
29570 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29572         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
29573         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
29574         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
29575         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
29577 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
29579         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
29580         match prototype.
29582 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
29584         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
29585         Move -mhard-float appending from
29586         ports/sysdeps/powerpc/powerpc32/Makefile.
29587         [$(with-fp) = yes] (ASFLAGS): Likewise.
29588         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
29589         * sysdeps/powerpc/nofpu: Move directory from
29590         ports/sysdeps/powerpc/nofpu.
29591         * sysdeps/powerpc/soft-fp: Move directory from
29592         ports/sysdeps/powerpc/soft-fp.
29593         * sysdeps/powerpc/powerpc32/405: Move directory from
29594         ports/sysdeps/powerpc/powerpc32/405.
29595         * sysdeps/powerpc/powerpc32/440: Move directory from
29596         ports/sysdeps/powerpc/powerpc32/440.
29597         * sysdeps/powerpc/powerpc32/464: Move directory from
29598         ports/sysdeps/powerpc/powerpc32/464.
29599         * sysdeps/powerpc/powerpc32/476: Move directory from
29600         ports/sysdeps/powerpc/powerpc32/476.
29601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
29602         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
29603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
29604         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
29605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
29606         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
29607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
29608         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
29609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
29610         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
29611         * README: Update for powerpc-*-linux-gnu software floating point
29612         support in libc.
29614         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
29615         case to powerpc/powerpc32*.
29616         * sysdeps/unix/sysv/linux/configure: Regenerated.
29618         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
29619         (_FPU_MASK_OM): Define as 0x04.
29620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
29621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
29622         0x00c10080.
29623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
29624         0x0000003c.
29625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
29627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
29628         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29629         getcontext_e500.
29630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
29631         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
29632         setcontext_e500.
29633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
29634         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
29635         and setcontext_e500.
29637 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
29639         * locale/iso-3166.def: Update iso-1366.def and related occurrences
29641 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29643         * manual/threads.texi (Default Thread Attributes): Fix typo.
29645 2013-10-04  Will Newton  <will.newton@linaro.org>
29647         * malloc/Makefile: Add tst-memalign.
29648         * malloc/tst-memalign.c: New file.
29650         * malloc/tst-posix_memalign.c: Add comments.
29651         (do_test): Add comments and call free on all potentially
29652         allocated pointers. Add space after cast.
29654         * malloc/tst-pvalloc.c: Add comments.
29655         (do_test): Add comments and call free on all potentially
29656         allocated pointers. Remove duplicate check for NULL pointer.
29657         Add space after cast.
29659         * malloc/tst-valloc.c: Add comments.
29660         (do_test): Add comments and call free on all potentially
29661         allocated pointers. Remove duplicate check for NULL pointer.
29662         Add space after cast.
29664 2013-10-04  Alan Modra  <amodra@gmail.com>
29666         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29667         Use stdint types in rather than __attribute__((mode())).
29668         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29670 2013-10-04  Alan Modra  <amodra@gmail.com>
29672         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
29673         Correct handling of unaligned relocs for little-endian.
29674         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
29676 2013-10-04  Alan Modra  <amodra@gmail.com>
29678         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
29679         * configure: Regenerate.
29680         * nptl/shlib-versions: Powerpc*le starts at 2.18.
29681         * shlib-versions: Likewise.
29683 2013-10-04  Alan Modra  <amodra@gmail.com>
29685         * string/tester.c (test_memrchr): Increment reported test cycle.
29687 2013-10-04  Alan Modra  <amodra@gmail.com>
29689         * string/test-memcpy.c (do_one_test): When reporting errors, print
29690         string address and don't overrun end of string.
29692 2013-10-04  Alan Modra  <amodra@gmail.com>
29694         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
29695         insrdi.  Make better use of reg selection to speed exit slightly.
29696         Schedule entry path a little better.  Remove useless "are we done"
29697         checks on entry to main loop.  Handle wrapping around zero address.
29698         Correct main loop count.  Handle single left-over word from main
29699         loop inline rather than by using loop_small.  Remove extra word
29700         case in loop_small caused by wrong loop count.  Add little-endian
29701         support.
29702         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29703         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
29704         cache hint.
29705         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29706         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
29707         support.  Avoid rlwimi.
29708         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
29710 2013-10-04  Alan Modra  <amodra@gmail.com>
29712         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
29713         insrdi.  Formatting.
29714         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
29715         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29716         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29717         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29718         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29719         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
29721 2013-10-04  Alan Modra  <amodra@gmail.com>
29723         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
29724         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29725         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29726         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
29727         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29728         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29729         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29730         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29731         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
29732         use of regs.  Use power7 mtocrf.  Tidy function tails.
29734 2013-10-04  Alan Modra  <amodra@gmail.com>
29736         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
29737         Formatting.  Consistently use rXXX register defines or rN defines.
29738         Use early exit labels that avoid restoring unused non-volatile regs.
29739         Make cr field use more consistent with rWORDn compares.  Rename
29740         regs used as shift registers for unaligned loop, using rN defines
29741         for short lifetime/multiple use regs.
29742         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29743         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
29744         addi 1,1,64 to pop stack frame.  Simplify return value code.
29745         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29747 2013-10-04  Alan Modra  <amodra@gmail.com>
29749         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
29750         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
29751         rather than rlwimi.
29752         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
29753         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
29754         little-endian support.  Correct typos.
29755         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
29756         rather than rlwimi.
29757         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
29758         in loop and entry code to keep "and." results.
29759         (strchr): Add little-endian support.  Comment.  Move cntlzd
29760         earlier in tail.
29761         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
29763 2013-10-04  Alan Modra  <amodra@gmail.com>
29765         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
29766         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
29767         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29768         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
29770 2013-10-04  Alan Modra  <amodra@gmail.com>
29772         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
29773         (rTMP): Define as r11.
29774         (strcmp): Add little-endian support.  Optimise tail.
29775         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
29776         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29777         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29778         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29779         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29780         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29781         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29783 2013-10-04  Alan Modra  <amodra@gmail.com>
29785         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
29786         little-endian support.  Remove unnecessary "are we done" tests.
29787         Handle "s" wrapping around zero and extremely large "size".
29788         Correct main loop count.  Handle single left-over word from main
29789         loop inline rather than by using small_loop.  Correct comments.
29790         Delete "zero" tail, use "end_max" instead.
29791         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
29793 2013-10-04  Alan Modra  <amodra@gmail.com>
29795         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
29796         support.  Don't branch over align.
29797         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
29798         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
29799         support.  Rearrange tmp reg use to suit.  Comment.
29800         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
29802 2013-10-04  Alan Modra  <amodra@gmail.com>
29804         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
29806 2013-10-04  Alan Modra  <amodra@gmail.com>
29808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
29809         conditional form of branch and link when obtaining pc.
29810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
29812 2013-10-04  Alan Modra  <amodra@gmail.com>
29814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
29815         HIWORD/LOWORD.
29816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
29817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
29819 2013-10-04  Alan Modra  <amodra@gmail.com>
29821         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
29822         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29823         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29824         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29825         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29826         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29827         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29828         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29829         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29830         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29832 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29833             Alistair Popple <alistair@ozlabs.au.ibm.com>
29834             Alan Modra <amodra@gmail.com>
29836         [BZ #15723]
29837         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29838         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29839         _dl_hwcap access for little-endian.
29840         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
29841         destroy vmx regs when saving unaligned.
29842         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29843         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
29844         destroy vmx regs when saving unaligned.
29846 2013-10-04  Alan Modra  <amodra@gmail.com>
29848         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29849         Don't use a union to pack hi/low value.
29851 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29853         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29854         for little-endian.
29855         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29856         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29857         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29858         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29859         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29861 2013-10-04  Alan Modra  <amodra@gmail.com>
29863         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29864         constants to usual value for .cst8 section, and remove redundant
29865         high address load.
29866         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29867         constant for 0x1p52.  Load little-endian words of double from
29868         correct stack offsets.
29870 2013-10-04  Alan Modra  <amodra@gmail.com>
29872         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29873         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29874         words of double from correct stack offsets.
29875         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29876         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29877         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29878         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29879         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29880         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29881         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29882         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29883         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29884         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29885         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29886         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29887         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29888         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29889         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29890         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29891         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29893 2013-10-04  Alan Modra  <amodra@gmail.com>
29895         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29896         64-bit int/double union.
29897         (_FPU_SETCW): Likewise.
29898         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29899         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29901 2013-10-04  Alan Modra  <amodra@gmail.com>
29903         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29904         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29906 2013-10-04  Alan Modra  <amodra@gmail.com>
29908         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29909         use vector int constants.
29910         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29912 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29914         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29915         array with long long.
29916         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29917         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29918         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29919         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29920         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29921         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29922         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29923         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29924         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29925         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29926         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29927         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29928         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29930 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
29932         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29933         (__signbit): Likewise.  Correct for little-endian.
29934         (__signbitl): Call __signbit.
29935         (lrint): Correct for little-endian.
29936         (lrintf): Call lrint.
29938 2013-10-04  Alan Modra  <amodra@gmail.com>
29940         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29941         union 32-bit int array member with 64-bit int array.
29942         (t515, tm256): Double rather than long double.
29943         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29945 2013-10-04  Alan Modra  <amodra@gmail.com>
29947         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29948         Delete.
29949         (IEEE854_LONG_DOUBLE_BIAS): Delete.
29950         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29951         version of math_ldbl.h.
29953 2013-10-04  Alan Modra  <amodra@gmail.com>
29955         [BZ #15734], [BZ #15735]
29956         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29957         all uses of ieee875 long double macros and unions.  Simplify test
29958         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
29959         ldbl_extract_mantissa value for ix,iy exponents.  Properly
29960         normalize after ldbl_extract_mantissa, and don't add hidden bit
29961         already handled.  Don't treat low word of ieee854 mantissa like
29962         low word of IBM long double and mask off bit when testing for
29963         zero.
29964         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29965         all uses of ieee875 long double macros and unions.  Simplify tests
29966         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29967         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29968         two1022, instead use their values.  Recognise that tests for large
29969         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29970         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29971         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29972         test for 0.0L and nan.  Correct negation.
29973         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29974         ieee875 long double macros and unions.  Correct output for large
29975         magnitude x.  Correct absolute value calculation.
29976         (__erfcl): Likewise.
29977         * math/libm-test.inc: Add tests for errors discovered in IBM long
29978         double versions of fmodl, remainderl, erfl and erfcl.
29980 2013-10-04  Alan Modra  <amodra@gmail.com>
29982         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29983         all uses of ieee854 long double macros and unions.  Simplify tests
29984         for long doubles that are fully specified by the high double.
29985         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29986         Likewise.
29987         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29988         Remove dead code too.
29989         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29990         (__ieee754_ynl): Likewise.
29991         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29992         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29993         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29994         Remove dead code too.
29995         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29996         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29997         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29998         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29999         Simplify.
30000         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30001         Simplify.
30002         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30003         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30004         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30005         Comment on variable precision.
30006         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30007         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30008         Likewise.
30009         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30010         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30011         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30012         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30013         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30015 2013-10-04  Alan Modra  <amodra@gmail.com>
30017         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30018         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30019         all uses of ieee854 long double macros and unions.
30020         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30021         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30022         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30023         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30024         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30025         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30026         Likewise.
30027         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30028         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30029         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30030         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30031         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30032         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30033         Simplify sign and nan test too.
30034         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30035         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30036         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30037         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30038         Likewise.
30039         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30040         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30041         Likewise.
30042         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30043         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30044         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30045         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30046         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30047         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30049 2013-10-04  Alan Modra  <amodra@gmail.com>
30051         * stdio-common/printf_size.c (__printf_size): Don't use
30052         union ieee854_long_double in fpnum union.
30053         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30054         signbit macro to retrieve sign from long double.
30055         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30056         retrieve sign from long double.
30057         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30058         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30059         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30060         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30061         * math/test-misc.c (main): Don't use union ieee854_long_double.
30063 2013-10-04  Alan Modra  <amodra@gmail.com>
30065         [BZ #15680]
30066         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30067         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30068         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30069         calculation.  Remove unnecessary test for denormal exponent.
30070         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30071         Correct handling of denormals.  Avoid undefined shift behaviour.
30072         Correct normalisation of low mantissa when low double is denormal.
30073         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30074         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30075         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30076         Correct normalisation of low mantissa.  Test for overflow of high
30077         mantissa and normalise.
30078         (ldbl_nearbyint): Use more readable constant for two52.
30079         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30080         (__mpn_construct_long_double): Fix test for overflow of high
30081         mantissa and correct normalisation.  Avoid undefined shift.
30083 2013-10-04  Alan Modra  <amodra@gmail.com>
30085         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30086         (union ibm_extended_long_double): Define as an array of ieee754_double.
30087         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30088         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30089         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30090         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30091         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30092         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30093         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30094         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30095         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30096         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30097         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30099 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30101         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30102         page size instead of calling getpagesize.
30104         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30105         (LOCFILE_ALIGN_MASK): Likewise.
30106         (LOCFILE_ALIGN_UP): Likewise.
30107         (LOCFILE_ALIGNED_P): Likewise.
30108         * locale/programs/ld-collate.c (collate_output): Use the new
30109         macros instead of __alignof__ (int32_t).
30110         * locale/weight.h (findidx): Likewise.
30112 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30114         [BZ #431]
30115         * manual/string.texi: Fix strncat and wcsncat.
30117 2013-10-03  Brooks Moses  <bmoses@google.com>
30119         [BZ #15915]
30120         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30121         * Makerules: ...here, and adjust associated comments.
30123 2013-10-02  Will Newton  <will.newton@linaro.org>
30125         * malloc/Makefile: Add tst-pvalloc.
30126         * malloc/tst-pvalloc.c: New file.
30128 2013-10-02  Will Newton  <will.newton@linaro.org>
30130         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30131         improve test coverage.
30133 2013-10-02  Will Newton  <will.newton@linaro.org>
30135         * malloc/Makefile: Add tst-posix_memalign.
30136         * malloc/tst-posix_memalign.c: New file.
30138 2013-10-01  Eric Blake  <eblake@redhat.com>
30140         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30141         Use __THROWNL rather than __THROW on static functions.
30143 2013-09-30  Petr Machata  <pmachata@redhat.com>
30145         * elf/elf.h (R_AARCH64_ABS16): New macro.
30146         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30147         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30148         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30149         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30150         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30151         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30152         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30153         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30154         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30155         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30156         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30157         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30158         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30159         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30160         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30161         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30162         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30163         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30164         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30165         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30166         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30167         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30168         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30169         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30170         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30171         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30172         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30173         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30174         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30175         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30176         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30177         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30178         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30179         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30180         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30181         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30182         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30183         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30184         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30185         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30186         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30187         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30188         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30189         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30190         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30191         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30192         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30193         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30194         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30195         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30196         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30197         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30198         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30199         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30200         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30201         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30202         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30203         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30204         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30205         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30206         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30207         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30208         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30209         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30210         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30211         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30212         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30213         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30214         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30215         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30216         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30217         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30218         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30219         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30220         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30221         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30222         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30223         (R_AARCH64_TLSDESC_LDR): Likewise.
30224         (R_AARCH64_TLSDESC_ADD): Likewise.
30225         (R_AARCH64_TLSDESC_CALL): Likewise.
30227 2013-09-30  Andreas Schwab  <schwab@suse.de>
30229         [BZ #15048]
30230         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30231         the nss database lookup.
30232         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30233         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30235 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30237         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30239 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30241         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30242         ${Bash-specific parameter/pattern/string} parameter expansion.
30243         * sysdeps/unix/make-syscalls.sh: Likewise.
30245 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30247         * sysdeps/sh/stackguard-macros.h: New file.
30249 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30252         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30253         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30254         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30255         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30256         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30258 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30260         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30261         Fix thread ID register.
30263 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30265         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30266         [POSIX || UNIX98]: Require rather than permitting all symbols from
30267         <time.h>.
30268         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30269         element of struct sched_param.
30270         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30271         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30272         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30273         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30274         constant.
30276 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30278         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30279         argument calculation.
30281 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30283         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30284         Expect macro.
30285         [POSIX] (pthread_attr_t): Do not require type.
30286         [POSIX] (pthread_cond_t): Likewise.
30287         [POSIX] (pthread_condattr_t): Likewise.
30288         [POSIX] (pthread_key_t): Likewise.
30289         [POSIX] (pthread_mutex_t): Likewise.
30290         [POSIX] (pthread_mutexattr_t): Likewise.
30291         [POSIX] (pthread_once_t): Likewise.
30292         [POSIX] (pthread_t): Likewise.
30293         [POSIX-based standards] (pthread_atfork): Expect function.
30295 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30296             Richard Sandiford  <richard@codesourcery.com>
30298         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30299         (swap_endianness_p): New extern variable.
30300         (set_big_endian): New inline function.
30301         (maybe_swap_uint32): Likewise.
30302         (maybe_swap_uint32_array): Likewise.
30303         (maybe_swap_uint32_obstack): Likewise.
30304         * locale/programs/locfile.c: Include <stdbool.h>.
30305         (swap_endianness_p): New variable.
30306         (add_locale_uint32): Call maybe_swap_uint32.
30307         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30308         (write_locale_data): Call maybe_swap_uint32_array.
30309         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30310         maybe_swap_uint32.
30311         (obstack_int32_grow_fast): Likewise.
30312         (output_weightwc): Call maybe_swap_uint32_obstack.
30313         (collate_output): Likewise.
30314         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30315         (OPT_LITTLE_ENDIAN): Likewise.
30316         (options): Add --little-endian and --big-endian options.
30317         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30318         * locale/programs/locarchive.c: Include "locfile.h".
30319         (GET): New macro.
30320         (SET): Likewise.
30321         (INC): Likewise.
30322         (create_archive): Use the new macros to access fields of
30323         structures directly mapped from or written to locale archives.
30324         (oldlocrecentcmp): Likewise.
30325         (enlarge_archive): Likewise.
30326         (insert_name): Likewise.
30327         (add_alias): Likewise.
30328         (add_locale): Likewise.
30329         (delete_locales_from_archive): Likewise.
30330         (show_archive_content): Likewise.
30331         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30332         locale data.
30334 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30336         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30337         http://www.gnu.org/doc/freemanuals.texi.
30338         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30340 2013-09-24  Will Newton  <will.newton@linaro.org>
30342         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30343         macro.
30345 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30347         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30348         unsigned char.
30350 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30352         * manual/threads.texi (POSIX Threads): Fix a typo.
30354 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30356         [BZ #14547]
30357         * string/tst-strcoll-overflow.c: New test case.
30358         * string/Makefile (xtests): Add tst-strcoll-overflow.
30359         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30360         cache if string sizes may cause integer overflow.
30362         [BZ #14547]
30363         * string/strcoll_l.c (coll_seq): New members rule, idx,
30364         save_idx and back_us.
30365         (get_next_seq_nocache): New function.
30366         (do_compare_nocache): New function.
30367         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30368         when malloc fails.
30370 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30372         [BZ #15754]
30373         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30374         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30375         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30377         [BZ #15754]
30378         * elf/Makefile (tests): Add tst-ptrguard1.
30379         (tests-static): Add tst-ptrguard1-static.
30380         (tst-ptrguard1-ARGS): Define.
30381         (tst-ptrguard1-static-ARGS): Define.
30382         * elf/tst-ptrguard1.c: New file.
30383         * elf/tst-ptrguard1-static.c: New file.
30384         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30385         * sysdeps/i386/stackguard-macros.h: Likewise.
30386         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30387         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30388         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30389         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30390         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30391         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30393 2013-09-23  Hector Marco  <hecmargi@upv.es>
30394             Ismael Ripoll  <iripoll@disca.upv.es>
30395             Carlos O'Donell  <carlos@redhat.com>
30397         [BZ #15754]
30398         * sysdeps/generic/stackguard-macros.h: Define
30399         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30400         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30401         Define __pointer_chk_guard_local.
30402         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30403         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30405 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30407         [BZ #15859]
30408         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30410 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30412         * include/string.h (__ffs): Declare as hidden.
30413         * string/ffs.c (__ffs): Define as hidden.
30414         * sysdeps/i386/ffs.c (__ffs): Likewise.
30415         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30416         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30417         * sysdeps/s390/ffs.c (__ffs): Likewise.
30418         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30420 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30422         * NEWS: Mention malloc probes.
30424         * malloc/arena.c (new_heap): New memory_heap_new probe.
30425         (grow_heap): New memory_heap_more probe.
30426         (shrink_heap): New memory_heap_less probe.
30427         (heap_trim): New memory_heap_free probe.
30428         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30429         (systrim): New memory_sbrk_less probe.
30430         * manual/probes.texi: Document them.
30432         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30433         * manual/probes.texi: Document it.
30435         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30436         (__libc_realloc): Add memory_realloc_retry probe.
30437         (__libc_memalign): Add memory_memalign_retry probe.
30438         (__libc_valloc): Add memory_valloc_retry probe.
30439         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30440         (__libc_calloc): Add memory_calloc_retry probe.
30441         * manual/probes.texi: Document them.
30443         * malloc/arena.c (get_free_list): Add probe
30444         memory_arena_reuse_free_list.
30445         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30446         and memory_arena_reuse.
30447         (arena_get2) [!PER_THREAD]: Likewise.
30448         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30449         memory_arena_reuse_realloc.
30450         * manual/probes.texi: Document them.
30452         * malloc/malloc.c (__libc_free): Add
30453         memory_mallopt_free_dyn_thresholds probe.
30454         (__libc_mallopt): Add multiple memory_mallopt probes.
30455         * manual/probes.texi: Document them.
30457         * malloc/malloc.c: Include stap-probe.h.
30458         (__libc_mallopt): Add memory_mallopt probe.
30459         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30460         * manual/probes.texi: New.
30461         * manual/Makefile (chapters): Add probes.
30462         * manual/threads.texi: Set next node.
30464 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30466         [BZ #15963, #13985]
30467         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30468         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30469         Add `Chinese' to `nan' entry name.
30471 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30473         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30474         (POLYNOMIAL): Likewise.
30475         (TAYLOR_SINCOS): Likewise.
30476         (TAYLOR_SLOW): Likewise.
30477         (__sin): Use TAYLOR_SINCOS.
30478         (__cos): Likewise.
30479         (slow): Use TAYLOR_SLOW.
30480         (sloww): Likewise.
30481         (bsloww): Likewise.
30482         (csloww): Likewise.
30484 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30486         * stdlib/strtod_l.c: Fix buffer overrun.
30488 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30490         * benchtests/Makefile (bench): Add sincos.
30491         * benchtests/bench-sincos.c: New file.
30493         * math/libm-test.inc (cos_test_data): New test inputs.
30494         (sin_test_data): Likewise.
30496         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
30497         macro.
30498         (__sin): Use it.
30499         (__cos): Likewise.
30500         (slow1): Likewise.
30501         (slow2): Likewise.
30502         (sloww1): Likewise.
30503         (sloww2): Likewise.
30504         (bsloww1): Likewise.
30505         (bsloww2): Likewise.
30506         (cslow2): Likewise.
30507         (csloww1): Likewise.
30508         (csloww2): Likewise.
30510         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
30511         function.
30512         (__sin): Use it.
30513         (__cos): Likewise.
30515         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
30516         gotos.
30517         (__cos): Likewise.
30519 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
30521         * config.h.in (HAVE_MIPS_NAN2008): New macro.
30522         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
30523         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
30524         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
30525         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
30526         * elf/cache.c (print_entry): Handle the new cache flags.
30528 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30529             Aldy Hernandez  <aldyh@redhat.com>
30531         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
30532         Change condition to [_SOFT_FLOAT].
30533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
30534         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
30535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
30536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
30537         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
30538         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
30539         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
30540         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
30541         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
30542         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
30543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
30544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
30545         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
30546         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
30547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
30548         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
30549         declaration.
30551 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
30553         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
30554         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30555         (__longjmp): Use LOAD_GP to load saved GPRs.
30556         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
30557         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
30558         (__sigsetjmp): Use SAVE_GP to save GPRs.
30560         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
30561         Do not append -msoft-float.
30562         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
30564 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30566         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
30568 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
30570         [BZ #15966]
30571         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
30572         (_FPU_GETCW): Use initial "__" on variable and field names but not
30573         on macro parameter name.
30574         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
30575         parentheses around reference to macro parameter.
30577 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
30579         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
30580         prototype.
30581         (ctype_startup): Use uint32_t in cast and sizeof for
30582         ctype->charnames.
30584 2013-09-11  Jia Liu  <proljc@gmail.com>
30586         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
30587         __daddr_t_defined.
30588         [__FreeBSD__]: Likewise.
30590 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
30592         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30593         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
30594         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
30595         (strchr): Remove __strchr_sse42 ifunc selection.
30596         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
30597         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
30599 2013-09-11  Will Newton  <will.newton@linaro.org>
30601         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
30602         parameter to RES. Remove hardcoded 1000 value.
30603         * benchtests/bench-skeleton.c (main): Pass RES parameter
30604         to TIMING_INIT and multiply result by 1000.
30606 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30610 2013-09-11  Andreas Schwab  <schwab@suse.de>
30612         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
30613         if not defined.
30614         (O_TMPFILE) [__USE_GNU]: Define.
30615         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
30616         Define.
30618 2013-09-11  Will Newton  <will.newton@linaro.org>
30620         [BZ #15857]
30621         * malloc/malloc.c (__libc_memalign): Check the value of bytes
30622         does not overflow.
30624 2013-09-11  Will Newton  <will.newton@linaro.org>
30626         [BZ #15856]
30627         * malloc/malloc.c (__libc_valloc): Check the value of bytes
30628         does not overflow.
30630 2013-09-11  Will Newton  <will.newton@linaro.org>
30632         [BZ #15855]
30633         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
30634         does not overflow.
30636 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
30638         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
30639         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30640         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30641         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30642         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30644 2013-09-10  Allan McRae  <allan@archlinux.org>
30646         [BZ #15748]
30647         * manual/arith.texi (Parsing of Floats): Clarify
30648         cross-reference.
30650         [BZ #15849]
30651         * manual/install.texi (Running make install): Mention
30652         --enable-pt-chown.
30653         * INSTALL: Regenerated.
30655 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
30657         * csu/init-first.c (_init): Remove the !SHARED condition around
30658         FPU control word initialization.
30659         * elf/dl-support.c (_dl_fpu_control): New variable.
30660         (_dl_aux_init) <AT_FPUCW>: Initialize it.
30661         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
30662         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
30663         * math/test-fpucw-static.c: New file.
30664         * math/test-fpucw-ieee.c: New file.
30665         * math/test-fpucw-ieee-static.c: New file.
30666         * math/Makefile (tests): Add `test-fpucw-ieee' and
30667         `$(tests-static)'.
30668         (tests-static): New variable.
30669         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
30670         dependency to...
30671         [($(build-shared),yes)]
30672         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30673         ... this.
30674         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
30675         New dependency.
30677 2013-09-09  Allan McRae  <allan@archlinux.org>
30679         [BZ #15939]
30680         * manual/string.texi (Collation Functions): Fix typo in
30681         strcoll example.
30682         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
30684         [BZ #15893]
30685         * stdlib/isomac.c (get_null_defines): Fix memory leak.
30687         [BZ #15892]
30688         * libio/memstream.c (open_memstream): Fix memory leak.
30689         * libio/wmemstream.c (open_wmemstream): Likewise.
30691         [BZ #15895]
30692         * nscd/netgroupcache.c: Fix nesting of ifdefs.
30694 2013-09-09  Will Newton  <will.newton@linaro.org>
30696         * malloc/Makefile: Add tst-realloc to tests.
30697         * malloc/tst-realloc.c: New file.
30699 2013-09-09  Allan McRae  <allan@archlinux.org>
30701         [BZ #15844]
30702         * COPYING: Update from GNU website to fix FSF address.
30703         * COPYING.LIB: Likewise.
30705 2013-09-06  David S. Miller  <davem@davemloft.net>
30707         * po/zh_TW.po: Update Chinese (traditional) translation from
30708         translation project.
30710 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
30711             Joseph Myers  <joseph@codesourcery.com>
30713         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
30714         "localeinfo.h".
30715         (obstack_chunk_alloc): New macro.
30716         (obstack_chunk_free): Likewise.
30717         (record_offset): New function.
30718         (init_locale_data): Likewise.
30719         (align_locale_data): Likewise.
30720         (add_locale_empty): Likewise.
30721         (add_locale_raw_data): Likewise.
30722         (add_locale_raw_obstack): Likewise.
30723         (add_locale_string): Likewise.
30724         (add_locale_wstring): Likewise.
30725         (add_locale_uint32): Likewise.
30726         (add_locale_uint32_array): Likewise.
30727         (add_locale_char): Likewise.
30728         (start_locale_structure): Likewise.
30729         (end_locale_structure): Likewise.
30730         (start_locale_prelude): Likewise.
30731         (end_locale_prelude): Likewise.
30732         (write_locale_data): Take locale_file structure rather than an
30733         iovec.
30734         * locale/programs/locfile.h: Include "obstack.h".
30735         (struct locale_file): Change to store locale file contents instead
30736         of header.
30737         (init_locale_data): New prototype.
30738         (align_locale_data): Likewise.
30739         (add_locale_empty): Likewise.
30740         (add_locale_raw_data): Likewise.
30741         (add_locale_raw_obstack): Likewise.
30742         (add_locale_string): Likewise.
30743         (add_locale_wstring): Likewise.
30744         (add_locale_uint32): Likewise.
30745         (add_locale_uint32_array): Likewise.
30746         (add_locale_char): Likewise.
30747         (start_locale_structure): Likewise.
30748         (end_locale_structure): Likewise.
30749         (start_locale_prelude): Likewise.
30750         (end_locale_prelude): Likewise.
30751         (write_locale_data): Update prototype.
30752         * locale/programs/3level.h (struct TABLE): Remove result field.
30753         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
30754         Use new locale_file interface.
30755         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
30756         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
30757         * locale/programs/ld-address.c (address_output): Use new
30758         locale_file interface.
30759         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
30760         NO_ADD_LOCALE.
30761         (collate_finish): Don't call collseq_table_finalize.
30762         (collate_output): Use new locale_file interface.
30763         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
30764         in file.
30765         (NO_FINALIZE): Change to NO_ADD_LOCALE.
30766         (TABLE): Move defines earlier in file.
30767         (ELEMENT): Likewise.
30768         (DEFAULT): Likewise.
30769         (wctrans_table_add): Move macro and inline function earlier in
30770         file.
30771         (struct wctype_table): Move type earlier in file.
30772         (add_locale_wctype_table): New static prototype.
30773         (struct locale_ctype_t): Use logical types instead of struct iovec
30774         pointers for members.
30775         (ctype_output): Use new locale_file interface.
30776         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
30777         new locale_file interface.
30778         (allocate_arrays): Update for use of new locale_file interface.
30779         * locale/programs/ld-identification.c (identification_output): Use
30780         new locale_file interface.
30781         * locale/programs/ld-measurement.c (measurement_output): Likewise.
30782         * locale/programs/ld-messages.c (messages_output): Likewise.
30783         * locale/programs/ld-monetary.c (monetary_output): Likewise.
30784         * locale/programs/ld-name.c (name_output): Likewise.
30785         * locale/programs/ld-numeric.c (numeric_output): Likewise.
30786         * locale/programs/ld-paper.c (paper_output): Likewise.
30787         * locale/programs/ld-telephone.c (telephone_output): Likewise.
30788         * locale/programs/ld-time.c (time_output): Likewise.
30790 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30792         * benchtests/Makefile: Add memrchr benchmark.
30793         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
30794         benchmark as memrchr.
30795         * benchtests/bench-memrchr-ifunc.c: New file.
30796         * benchtests/bench-memrchr.c: New file.
30798 2013-09-06   Will Newton  <will.newton@linaro.org>
30800         * benchtests/Makefile (string-bench): Add memcpy.
30802 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
30803             Cong Wang  <amwang@redhat.com>
30805         [BZ #15850]
30806         * sysdeps/unix/sysv/linux/bits/in.h
30807         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
30808         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
30809         before __USE_KERNEL_IPV6_DEFS uses.
30810         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
30811         IPPROTO_BEETPH.
30812         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
30813         sockaddr_in6, or ipv6_mreq.
30815 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30817         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
30818         memory access for final bytes in some large inputs.
30819         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
30821 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30823         * string/test-memrchr.c: New file.
30824         * string/test-memrchr-ifunc.c: New file.
30825         * string/Makefile: Add new memrchr testcase.
30827 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
30829         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30830         fanotify_init returns EPERM.
30832 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30834         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30835         errors.
30836         (top level): Treat second token from macro or constant entries for
30837         allowed headers as allowed.
30838         * include/complex.h: Condition internal declarations on
30839         [!_ISOMAC].
30840         * include/fenv.h: Condition include of <stdbool.h> and internal
30841         declarations on [!_ISOMAC].
30843 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
30845         [BZ #15923]
30846         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30848 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
30850         * configure.in (--enable-versioning): Remove configure option.
30851         (libc_cv_asm_symver_directive): Remove configure test.
30852         (libc_cv_ld_version_script_option): Likewise.
30853         (VERSIONING): Remove variable and AC_SUBST.
30854         (DO_VERSIONING): Remove AC_DEFINE.
30855         * configure: Regenerated.
30856         * config.h.in (DO_VERSIONING): Remove macro.
30857         * Makerules [$(versioning) = yes]: Change conditionals to
30858         [$(build-shared) = yes].
30859         * config.make.in (versioning): Remove variable.
30860         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30861         [$(build-shared) = yes].
30862         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30863         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30864         * elf/Makefile [$(versioning) = yes]: Change conditionals to
30865         [$(build-shared) = yes].
30866         * extra-lib.mk [$(versioning) = yes]: Likewise.
30867         * hurd/Makefile [$(versioning) = yes]: Likewise.
30868         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30869         [SHARED].
30870         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30871         [SHARED].
30872         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30873         [SHARED && !NO_HIDDEN].
30874         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30875         [SHARED].
30876         [SHARED && DO_VERSIONING]: Likewise..
30877         * libio/Makefile [$(versioning) = yes]: Change conditionals to
30878         [$(build-shared) = yes].
30879         * manual/install.texi (--disable-versioning): Remove
30880         documentation.
30881         * INSTALL: Regenerated.
30882         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30883         to [SHARED].
30884         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30885         [$(build-shared) = yes].
30886         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30887         * sysdeps/i386/i686/multiarch/strstr-c.c
30888         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30889         [SHARED && !NO_HIDDEN].
30890         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30891         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30892         * sysdeps/powerpc/powerpc32/dl-machine.c
30893         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30894         * sysdeps/powerpc/powerpc32/sysdep.h
30895         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30896         to [SHARED && PIC && !NO_HIDDEN].
30897         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30898         conditional to [SHARED].
30900 2013-09-04   Will Newton  <will.newton@linaro.org>
30902         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30903         * benchtests/bench-string.h: Include bench-timing.h instead
30904         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30905         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30906         call to HP_TIMING_DIFF_INIT.
30907         * benchtests/bench-memccpy.c: Use bench-timing.h macros
30908         instead of hp-timing.h macros.
30909         * benchtests/bench-memchr.c: Likewise.
30910         * benchtests/bench-memcmp.c: Likewise.
30911         * benchtests/bench-memcpy.c: Likewise.
30912         * benchtests/bench-memmem.c: Likewise.
30913         * benchtests/bench-memmove.c: Likewise.
30914         * benchtests/bench-memset.c: Likewise.
30915         * benchtests/bench-rawmemchr.c: Likewise.
30916         * benchtests/bench-strcasecmp.c: Likewise.
30917         * benchtests/bench-strcasestr.c: Likewise.
30918         * benchtests/bench-strcat.c: Likewise.
30919         * benchtests/bench-strchr.c: Likewise.
30920         * benchtests/bench-strcmp.c: Likewise.
30921         * benchtests/bench-strcpy.c: Likewise.
30922         * benchtests/bench-strcpy_chk.c: Likewise.
30923         * benchtests/bench-strlen.c: Likewise.
30924         * benchtests/bench-strncasecmp.c: Likewise.
30925         * benchtests/bench-strncat.c: Likewise.
30926         * benchtests/bench-strncmp.c: Likewise.
30927         * benchtests/bench-strncpy.c: Likewise.
30928         * benchtests/bench-strnlen.c: Likewise.
30929         * benchtests/bench-strpbrk.c: Likewise.
30930         * benchtests/bench-strrchr.c: Likewise.
30931         * benchtests/bench-strspn.c: Likewise.
30932         * benchtests/bench-strstr.c: Likewise.
30934 2013-09-04  Will Newton  <will.newton@linaro.org>
30936         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30938 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
30940         [BZ #15427]
30941         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30942         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30943         * math/libm-test.inc (lgamma_test_data): Add more tests.
30944         * sysdeps/i386/fpu/libm-test-ulps: Update.
30945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30947 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
30949         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30950         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30951         Add ifunc.
30952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30953         Add strcmp-sse2-unaligned
30954         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30956 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30958         * Versions.def (libc): Add GLIBC_2.19.
30960 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
30962         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30963         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30965 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30967         [BZ #14155]
30968         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30969         intermediate calculations in recurrence.
30970         (__ieee754_ynf): Likewise.
30971         * math/libm-test.inc (jn_test_data): Do not allow spurious
30972         underflow exception.  Add more tests.
30973         (yn_test_data): Add more tests.
30974         * sysdeps/i386/fpu/libm-test-ulps: Update.
30975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30977 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30979         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30981 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30983         * csu/init-first.c: Fix then/than typos.
30984         * locale/programs/ld-collate.c: Likewise.
30985         * locale/programs/linereader.h: Likewise.
30986         * manual/charset.texi: Likewise.
30987         * manual/filesys.texi: Likewise.
30988         * manual/stdio.texi: Likewise.
30989         * manual/string.texi: Likewise.
30990         * stdlib/fmtmsg.c: Likewise.
30991         * sysdeps/i386/stpncpy.S: Likewise.
30992         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30993         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30994         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30995         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30997 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30999         * elf/dl-open.c: Fix typos.
31000         * iconvdata/gbbig5.c: Likewise.
31001         * iconvdata/iso-2022-jp.c: Likewise.
31002         * iconv/gconv_int.h: Likewise.
31003         * iconv/loop.c: Likewise.
31004         * nis/rpcsvc/nis.h: Likewise.
31005         * resolv/ns_name.c: Likewise.
31006         * stdio-common/vfscanf.c: Likewise.
31007         * streams/stropts.h: Likewise.
31008         * sunrpc/rpc_thread.c: Likewise.
31009         * sysdeps/i386/strpbrk.S: Likewise.
31010         * sysdeps/ieee754/k_standard.c: Likewise.
31011         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31012         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31013         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31014         * sysdeps/mach/hurd/profil.c: Likewise.
31015         * sysdeps/s390/dl-procinfo.h: Likewise.
31016         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31017         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31018         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31019         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31020         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31022 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31024         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31025         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31027 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31029         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31030         aix specific files.
31031         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31032         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31033         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31034         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31035         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31036         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31037         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31038         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31040 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31041             Roland McGrath  <roland@hack.frob.com>
31043         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31044         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31046 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31048         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31049         __executable_start symbol instead of _start.
31051 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31053         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31054         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31055         Move macros to...
31056         * sysdeps/gnu/ldsodefs.h: ... this new file.
31058         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31059         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31060         instead of ELFOSABI_LINUX.
31062         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31063         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31064         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31065         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31066         Likewise.
31067         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31068         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31069         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31070         Likewise.
31071         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31072         (ibm_extended_long_double): Add ieee_nan member.
31073         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31074         (do_test): New function.
31076         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31077         TEST_TRUNC.
31078         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31079         functions, renamed from truncdfsf_test, trunctfsf_test,
31080         trunctfdf_test.
31081         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31082         functions.
31083         (do_test): Run all these.
31085 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31087         * argp/argp-help.c: Fix typos.
31088         * argp/argp-parse.c: Likewise.
31089         * debug/backtracesyms.c: Likewise.
31090         * elf/elf.h: Likewise.
31091         * malloc/malloc.c: Likewise.
31092         * nis/nis_print.c: Likewise.
31093         * resolv/res_comp.c: Likewise.
31094         * stdlib/stdlib.h: Likewise.
31095         * sunrpc/clnt_tcp.c: Likewise.
31096         * sunrpc/clnt_udp.c: Likewise.
31097         * sunrpc/clnt_unix.c: Likewise.
31098         * sysdeps/unix/bsd/ptsname.c: Likewise.
31099         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31100         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31102         Likewise.
31103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31104         Likewise.
31105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31106         Likewise.
31107         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31109 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31111         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31112         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31114 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31116         [BZ #15897]
31117         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31118         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31119         ($(objpfx)bug-dl-leaf): New rule.
31120         ($(objpfx)bug-dl-leaf.so): Likewise.
31121         ($(objpfx)bug-dl-leaf.out): Likewise.
31122         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31123         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31124         * dlfcn/bug-dl-leaf.c: New test.
31125         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31126         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31127         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31128         (dlclose): Likewise.
31129         (dlmopen): Likewise.
31131 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31133         * include/netdb.h [!_ISOMAC]:
31134         Don't include <tls.h>.
31135         (h_errno, __libc_h_errno): Move declaration and macros out of
31136         [_LIBC_REENTRANT].
31138         * include/resolv.h [_RESOLV_H_]:
31139         Don't include <tls.h>.
31140         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31141         * resolv/res_libc.c: Don't include <tls.h>.
31142         (_res): Use __attribute__ ((nocommon)) in place of
31143         __attribute__ ((section (".bss"))).
31145         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31146         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31148         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31150         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31151         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31153         * resolv/res_mkquery.c: Include <sys/time.h>.
31155         * inet/ifreq.c: Moved to ...
31156         * sysdeps/unix/ifreq.c: ... here.
31157         * inet/ifreq.c: New file, true stub version.
31159         * socket/sa_len.c: New file.
31160         * socket/Makefile (aux): Add it.
31161         * sysdeps/unix/sysv/linux/Makefile
31162         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31163         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31164         and #include <socket/sa_len.c>.
31165         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31166         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31168         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31169         * bits/socket.h: ... here.
31171         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31172         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31173         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31175 2013-08-27  Andreas Schwab  <schwab@suse.de>
31177         [BZ #15736]
31178         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31179         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31180         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31181         * string/test-strcasecmp.c (test_main): Run tests in several
31182         locales.
31183         * string/test-strncasecmp.c (test_main): Likewise.
31185         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31186         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31187         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31188         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31189         (__strncasecmp_ssse3) [PIC]: Likewise.
31191 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31193         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31195         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31196         instead of explicitly declaring xdecrypt.
31197         * nis/nss_nis/nis-publickey.c: Likewise.
31199 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31201         [BZ #15890]
31202         * nscd/aicache.c: Include res_hconf.h.
31203         (addhstaiX): Initialize res_hconf.
31205 2013-08-26  Andreas Schwab  <schwab@suse.de>
31207         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31208         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31210 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31212         * nscd/aicache.c (addhstaiX): Fix indentation.
31214 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31216         * configure.ac: Quote $build_pt_chown test.
31217         * configure: Regenerated.
31219 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31221         [BZ #15532]
31222         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31223         * math/s_cexpf.c (__cexpf): Likewise.
31224         * math/s_cexpl.c (__cexpl): Likewise.
31225         * math/libm-test.inc (cexp_test_data): Correct expected return
31226         value for NaN + i0.  Add another test.
31228 2013-08-22  David S. Miller  <davem@davemloft.net>
31230         * po/ca.po: Update Catalan translation from translation project.
31231         * po/uk.po: Add Ukrainian translations from translation project.
31233 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31235         [BZ #15797]
31236         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31237         is infinite, not alongside NaN test.
31238         * math/s_fdimf.c (__fdimf): Likewise.
31239         * math/s_fdiml.c (__fdiml): Likewise.
31240         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31241         errno is unchanged.
31243 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31245         * argp/argp-help.c: Fix typos.
31246         * crypt/speeds.c: Likewise.
31247         * csu/check_fds.c: Likewise.
31248         * elf/dl-load.c: Likewise.
31249         * elf/dl-open.c: Likewise.
31250         * elf/reldep3.c: Likewise.
31251         * elf/reldep.c: Likewise.
31252         * elf/sprof.c: Likewise.
31253         * iconv/iconv_charmap.c: Likewise.
31254         * iconv/skeleton.c: Likewise.
31255         * iconv/strtab.c: Likewise.
31256         * io/lockf64.c: Likewise.
31257         * libio/libioP.h: Likewise.
31258         * resolv/gai_notify.c: Likewise.
31259         * resolv/ns_name.c: Likewise.
31260         * resolv/ns_samedomain.c: Likewise.
31261         * resolv/res_send.c: Likewise.
31262         * stdlib/random.c: Likewise.
31263         * sunrpc/rpc/xdr.h: Likewise.
31264         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31265         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31266         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31267         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31268         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31269         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31270         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31271         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31272         * sysdeps/mach/hurd/check_fds.c: Likewise.
31273         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31274         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31275         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31276         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31277         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31278         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31279         * sysdeps/pthread/aio_notify.c: Likewise.
31280         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31281         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31282         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31283         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31284         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31286 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31288         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31289         version if bit_Slow_SSE4_2 is set.
31290         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31291         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31293 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31295         [BZ #15867]
31296         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31297         trampoline stack frame information.
31298         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31299         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31300         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31301         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31302         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31303         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31304         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31305         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31306         sa_flags value.
31307         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31308         interrupting a syscall and set with option SA_SIGINFO.
31310 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31312         [BZ #15531]
31313         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31314         argument is infinite.
31315         * math/s_cprojf.c (__cprojf): Likewise.
31316         * math/s_cprojl.c (__cprojl): Likewise.
31317         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31318         * math/libm-test.inc (cproj_test_data): Add more tests.
31320         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31322         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31323         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31324         size.  Use __ffs to determine corresponding shift.
31326 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31327             Roland McGrath  <roland@hack.frob.com>
31329         * Makefile (INSTALL): Remove trailing blank lines from output of
31330         makeinfo.
31332 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31334         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31335         Align 32 bit compat elf_greg to 8 bytes.
31337 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31339         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31341 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31343         * string/strcoll_l.c (coll_seq): New structure.
31344         (get_next_seq_cached): New function.
31345         (get_next_seq): New function.
31346         (do_compare): New function.
31347         (STRCOLL): Use GNU style definition.  Simplify implementation
31348         by using get_next_seq, get_next_seq_cached and do_compare.
31350 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31352         [BZ #14699]
31353         CVE-2013-4237
31354         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31355         member.
31356         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31357         member.
31358         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31359         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31360         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31361         conditional.
31362         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31363         GETDENTS_64BIT_ALIGNED.
31364         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31365         * manual/filesys.texi (Reading/Closing Directory): Document
31366         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31367         strongly.
31368         * manual/conf.texi (Limits for Files): Add portability note to
31369         NAME_MAX, PATH_MAX.
31370         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31372 2013-08-13  Andreas Schwab  <schwab@suse.de>
31374         [BZ #15749]
31375         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31376         of fabs.
31377         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31378         LDBL_MAX_EXP >= 16384]: Add tests for it.
31380 2013-08-12  David S. Miller  <davem@davemloft.net>
31382         * version.h (RELEASE): Set to "development".
31383         (VERSION): Set to "2.18.90".
31384         * NEWS: Add 2.19 section.
31386 2013-08-03  David S. Miller  <davem@davemloft.net>
31388         * po/ko.po: Update Korean translation from translation project.
31390 2013-08-01  David S. Miller  <davem@davemloft.net>
31392         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31393         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31394         Bilka.
31396 2013-07-30  David S. Miller  <davem@davemloft.net>
31398         * po/fr.po: Update French translation from translation project.
31400 2013-07-28  David S. Miller  <davem@davemloft.net>
31402         * po/cs.po: Update Czech translation from translation project.
31404         * po/sv.po: Update Swedish translation from translation project.
31406 2013-07-27  David S. Miller  <davem@davemloft.net>
31408         * po/eo.po: Update Esperanto translation from translation project.
31410         * po/vi.po: Update Vietnamese translation from translation project.
31412         * po/de.po: Update German translation from translation project.
31414 2013-07-26  David S. Miller  <davem@davemloft.net>
31416         * po/bg.po: Update Bulgarian translation from translation project.
31418         * po/nl.po: Update Dutch translation from translation project.
31419         * po/pl.po: Update Polish translation from translation project.
31420         * po/ru.po: Update Russian translation from translation project.
31422 2013-07-24  David S. Miller  <davem@davemloft.net>
31424         * po/libc.pot: Update.
31426 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31428         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31429         variable page size.
31430         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31431         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31432         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31434 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31436         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31438 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31439             Andreas Schwab  <schwab@suse.de>
31440             Roland McGrath  <roland@hack.frob.com>
31441             Joseph Myers  <joseph@codesourcery.com>
31442             Carlos O'Donell  <carlos@redhat.com>
31444         [BZ #15755]
31445         * config.h.in: Define HAVE_PT_CHOWN.
31446         * config.make.in (build-pt-chown): New variable.
31447         * configure.in (--enable-pt_chown): New configure option.
31448         * configure: Regenerate.
31449         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31450         build-pt-chown is enabled.
31451         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31452         pt_chown to fix pty ownership.
31453         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31454         CLOSE_ALL_FDS.
31455         * manual/install.texi (Configuring and compiling): Mention
31456         --enable-pt_chown. Add @findex for grantpt.
31457         * INSTALL: Regenerate.
31459 2013-07-20  David S. Miller  <davem@davemloft.net>
31461         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31462         difference between 32-bit and 64-bit.
31464 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31466         [BZ #15711]
31467         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31468         Avoid system header dependency with -ffreestanding.
31469         ($(objpfx)bits/syscall%d): Likewise.
31471 2013-07-13  David S. Miller  <davem@davemloft.net>
31473         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31474         underflows from atanl/atan2l due to bug 15319.
31475         (casinh_test_data): Likewise.
31477 2013-07-07  David S. Miller  <davem@davemloft.net>
31479         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31481 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31483         * sysdeps/i386/fpu/libm-test-ulps: Update.
31484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31486 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31488         * configure.in (--enable-lock-elision): Fix message text.
31489         * INSTALL: Regenerate.
31490         * configure: Regenerate.
31492 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31496 2013-07-03  Andreas Jaeger  <aj@suse.de>
31498         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
31499         define.
31500         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
31501         (ptrace_peeksiginfo_args): Add.
31502         (__ptrace_peeksiginfo_flags): Add.
31503         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31504         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31505         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31507 2013-07-03  Allan McRae  <allan@archlinux.org>
31509         * sysdeps/i386/fpu/libm-test-ulps: Update.
31511 2013-07-02  David S. Miller  <davem@davemloft.net>
31513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31515 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
31517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31519 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31521         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31524 2013-07-02  Andi Kleen <ak@linux.intel.com>
31526         * config.h.in (ENABLE_LOCK_ELISION): Add.
31527         * configure.in (--enable-lock-elision): Add option.
31528         * manual/install.texi: Document --enable lock elision.
31529         * configure: Regenerate
31530         * INSTALL: Regenerate.
31532 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
31534         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
31535         SSE4.2 strcasecmp for libc.a.
31536         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31538 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
31540         [BZ #13304]
31541         * soft-fp/op-common.h (_FP_FMA): New macro.
31542         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
31543         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
31544         (_FP_MUL_MEAT_1_imm): ... here.
31545         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
31546         (_FP_MUL_MEAT_1_wide): ... here.
31547         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
31548         (_FP_MUL_MEAT_1_hard): ... here.
31549         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
31550         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
31551         (_FP_MUL_MEAT_2_wide): ... here.
31552         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
31553         (_FP_MUL_MEAT_2_wide_3mul): ... here.
31554         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
31555         (_FP_MUL_MEAT_2_gmp): ... here.
31556         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
31557         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
31558         (_FP_MUL_MEAT_4_wide): ... here.
31559         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
31560         (_FP_MUL_MEAT_4_gmp): ... here.
31561         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
31562         (_FP_WFRACBITS_DW_S): Likewise.
31563         (_FP_WFRACXBITS_DW_S): Likewise.
31564         (_FP_HIGHBIT_DW_S): Likewise.
31565         (FP_FMA_S): Likewise.
31566         (_FP_FRAC_HIGH_DW_S): Likewise.
31567         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
31568         (_FP_WFRACBITS_DW_D): Likewise.
31569         (_FP_WFRACXBITS_DW_D): Likewise.
31570         (_FP_HIGHBIT_DW_D): Likewise.
31571         (FP_FMA_D): Likewise.
31572         (_FP_FRAC_HIGH_DW_D): Likewise.
31573         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
31574         (_FP_WFRACBITS_DW_E): Likewise.
31575         (_FP_WFRACXBITS_DW_E): Likewise.
31576         (_FP_HIGHBIT_DW_E): Likewise.
31577         (FP_FMA_E): Likewise.
31578         (_FP_FRAC_HIGH_DW_E): Likewise.
31579         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
31580         (_FP_WFRACBITS_DW_Q): Likewise.
31581         (_FP_WFRACXBITS_DW_Q): Likewise.
31582         (_FP_HIGHBIT_DW_Q): Likewise.
31583         (FP_FMA_Q): Likewise.
31584         (_FP_FRAC_HIGH_DW_Q): Likewise.
31585         * soft-fp/fmasf4.c: New file.
31586         * soft-fp/fmadf4.c: Likewise.
31587         * soft-fp/fmatf4.c: Likewise.
31589 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31591         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31592         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
31593         Silvermont.
31594         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
31595         macro.
31596         (index_Slow_SSE4_2): Likewise.
31597         (index_Prefer_PMINUB_for_stringop): Likewise.
31598         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
31599         bit_Slow_SSE4_2 is set.
31600         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31601         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31603 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31605         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
31606         rtld_global._dl_hwcap2.
31607         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
31608         POWER8.
31609         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
31610         POWER8 feature descriptions defined in _dl_hwcap2.
31611         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
31612         string handling for POWER8 feature bits.
31613         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
31614         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
31615         _dl_powerpc_cap_flags.
31616         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
31617         * sysdeps/powerpc/rtld-global-offsets.sym
31618         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
31619         _dl_hwcap2 in the rtld_global_ro structure.
31621 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31623         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
31624         hardware capabilities in support of AT_HWCAP2.
31625         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
31626         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
31627         GLRO(dl_hwcap2).
31628         (_dl_show_auxv): Add support for calling _dl_procinfo to display
31629         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
31630         explicitly the unknown a_type display mechanism is used.
31631         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
31632         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
31633         struct member.
31634         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
31635         to macro prototype for AT_HWCAP2 support.
31636         * sysdeps/i386/dl-procinfo.h: Likewise.
31637         * sysdeps/s390/dl-procinfo.h: Likewise.
31638         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
31639         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
31640         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
31641         return -1 for unknown a_type display fallback.
31642         * sysdeps/sparc/dl-procinfo.h: Likewise.
31643         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
31644         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
31646 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
31648         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
31649         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31651 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
31653         [BZ #12492]
31654         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
31655         mprotect making __stack_prot writable.
31657 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
31658             Joseph Myers  <joseph@codesourcery.com>
31660         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
31661         as being properly aligned.
31663 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
31665         * dlfcn/modstatic5.c: New file.
31666         * dlfcn/tststatic5.c: New file.
31667         * dlfcn/Makefile (tests): Add tststatic5.
31668         (tests-static): Likewise.
31669         (modules-names): Add modstatic5.
31670         (tststatic5-ENV): New variable.
31671         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
31673         [BZ #15022]
31674         * elf/dl-support.c (_dl_main_map): New variable.
31675         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
31676         (_dl_nns, _dl_load_adds): Set to 1.
31677         (_dl_initial_searchlist): Refer to _dl_main_map.
31678         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
31679         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
31680         call to _dl_get_origin.
31681         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
31682         around call_map.
31683         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
31684         * dlfcn/modstatic3.c: New file.
31685         * dlfcn/tststatic3.c: New file.
31686         * dlfcn/tststatic4.c: New file.
31687         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
31688         (tests-static): Likewise.
31689         (modules-names): Add modstatic3.
31690         (tststatic3-ENV, tststatic4-ENV): New variables.
31691         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
31692         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
31694 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
31696         * configure.in (CC): Require GCC version 4.4 or later.
31697         * configure: Regenerated.
31698         * manual/install.texi (Tools for Compilation): Update GCC version
31699         requirement.
31700         * INSTALL: Regenerated.
31702 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31704         [BZ #15674]
31705         * string/test-memcmp.c (check2): New.
31706         (main): Call check2.
31708         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
31710 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
31712         [BZ #15022]
31713         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
31714         over to...
31715         (dl_open_worker) [!SHARED]: ... here.
31717 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31719         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
31721 2013-06-25  Richard Henderson  <rth@redhat.com>
31723         * locale/programs/locarchive.c: Include <libc-internal.h>
31725 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
31727         * manual/texinfo.tex: Update to version 2013-06-21.17, with
31728         trailing whitespace removed.
31730 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31732         [BZ #10283]
31733         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
31734         * locale/programs/locarchive.c: Include libc-mmap.h.
31735         (prepare_address_space): Take two new outputs (the mmap base and len).
31736         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
31737         values.
31738         (create_archive): Declare new mmap base and len values for
31739         prepare_address_space, and store the result in ah.
31740         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
31741         (enlarge_archive): If ah->mmap_base is not NULL, use that and
31742         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31743         Declare new mmap base and len values for
31744         prepare_address_space, and store the result in new_ah.
31745         (open_archive): Declare new mmap base and len values for
31746         prepare_address_space, and store the result in ah.
31747         (close_archive): If ah->mmap_base is not NULL, use that and
31748         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
31749         * sysdeps/generic/libc-mmap.h: New file.
31751 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
31753         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
31754         (ALIGN_UP): Likewise.
31755         (PTR_ALIGN_DOWN): Likewise.
31756         (PTR_ALIGN_UP): Likewise.
31758 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31760         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
31761         entry mapped to PPC_PLATFORM_POWER8.
31762         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
31763         POWER8.
31764         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
31765         (_dl_string_platform): Add case for exporting platform position for
31766         POWER8.
31767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
31768         search path to sysdeps/powerpc/powerpc32/power8 directory.
31769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
31770         search path to sysdeps/powerpc/powerpc64/power8 directory.
31771         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
31772         power7 directories.
31773         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
31774         power7 directories.
31776 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31778         * INSTALL: Regenerate.
31780         * nscd/connections.c (nscd_init): Fix comment.
31782 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
31784         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
31786         [BZ #15667]
31787         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
31788         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
31790 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31792         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
31793         DL_DST_REQ_STATIC.
31794         (DL_DST_REQ_STATIC): Remove macro.
31796 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
31798         [BZ #7006]
31799         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
31800         with a shift of 0 bits.
31802 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
31804         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
31805         $(tststatic-ENV).
31807 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31809         [BZ #15655]
31810         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31812 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31814         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
31815         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
31816         accepts -fno-tree-loop-distribute-patterns.
31817         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
31818         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
31819         recursive call.
31820         * string/memset.c (memset): Likewise.
31821         * string/test-memmove.c (simple_memmove): Disable loop transformation
31822         to library calls.
31823         * string/test-memset.c (simple_memset): Likewise.
31824         * benchtests/bench-memmove.c (simple_memmove): Likewise.
31825         * benchtests/bench-memset.c (simple_memset): Likewise.
31826         * configure: Regenerated.
31828 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
31830         * math/test-misc.c (main): Ignore fesetround failure when failures
31831         of subsequent rounding tests would be ignored.
31833         [BZ #15654]
31834         * math/fedisblxcpt.c (fedisableexcept): Return 0.
31835         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31836         * math/fegetenv.c (__fegetenv): Return 0.
31837         * math/fegetexcept.c (fegetexcept): Return 0.
31838         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31839         FE_TONEAREST.
31840         * math/feholdexcpt.c (feholdexcept): Return 0.
31841         * math/fesetenv.c (__fesetenv): Return 0.
31842         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31843         argument FE_TONEAREST.
31844         * math/feupdateenv.c (__feupdateenv): Return 0.
31845         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31847 2013-06-18  Roland McGrath  <roland@hack.frob.com>
31849         * elf/rtld-Rules (rtld-compile-command.S): New variable.
31850         (rtld-compile-command.s, rtld-compile-command.c): New variables.
31851         ($(objpfx)rtld-%.os rules): Use them.
31853 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31855         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31856         fields.
31858 2013-06-17  Roland McGrath  <roland@hack.frob.com>
31860         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31861         length of target pattern, then descending length of dependency pattern.
31862         * configure.in (AWK): Require gawk 3.1.2 or newer.
31863         * manual/install.texi (Tools for Compilation): Say that we do.
31864         * configure: Regenerated.
31866         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31867         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31868         * scripts/sysd-rules.awk: ... this new script.
31869         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31870         than a glob-style pattern.
31872 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
31874         * math/test-misc.c (main): Do not treat incorrectly rounded
31875         conversions as failure unless ROUNDING_TESTS passes.
31877 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
31879         [BZ #15631]
31880         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31881         restore exception state around main square root computation, then
31882         check for inexactness explicitly.
31884         * math/libm-test.inc (fma_test_data): Add another test.
31886 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31888         * manual/threads.texi (Non-POSIX Extensions): New document
31889         node.  Document pthread_getattr_default_np and
31890         pthread_setattr_default_np.
31892         * Versions.def (libpthread): Add GLIBC_2.18.
31893         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31895         Likewise.
31896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31897         Likewise.
31898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31899         Likewise.
31900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31901         Likewise.
31902         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31903         Likewise.
31904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31905         Likewise.
31906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31907         Likewise.
31908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31909         Likewise.
31910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31911         Likewise.
31913 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31916         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31918 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31919             H.J. Lu  <hjl.tools@gmail.com>
31921         [BZ #15627]
31922         * sysdeps/x86_64/rtld-memset.c: Remove file.
31923         * sysdeps/x86_64/rtld-memset.S: New file.
31925 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
31927         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31928         (test_in_one_mode): Take arguments for whether the rounding mode
31929         is supported for each floating-point type.
31930         (do_test): Pass new arguments to test_in_one_mode using
31931         ROUNDING_TESTS.
31933 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31935         * posix/tst-waitid.c (do_test): Distinguish different instances of
31936         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
31937         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31938         before entering the kernel for waitpid.
31940 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31942         * NEWS: Fix note on clock function precision.  Text by Roland
31943         McGrath.
31945 2013-06-13  Roland McGrath  <roland@hack.frob.com>
31947         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31948         it into place only when and if the sanity check passes.
31950 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
31952         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31953         output for whether conversion result is exact.  Take argument
31954         indicating whether type is IBM long double.
31955         (round_for_all): Change need_exact field to ibm_ld.
31956         * stdlib/tst-strtod-round.c (struct exactness): New type.
31957         (struct test): Change bool ld_ok field to struct exactness exact.
31958         (TEST): Update all definitions for change to field.
31959         (tests): Regenerate array contents.
31960         (test_in_one_mode): Take pointer to new field instead of old ld_ok
31961         field value.  Check for IBM long double here.
31962         (do_test): Update calls to test_in_one_mode.
31964 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31966         [BZ #12515]
31967         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31968         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31970 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31972         [BZ #15605]
31973         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31974         generated by the compiler on loop optimizations.
31975         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31976         general definitions.
31978 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31980         * math/bug-nextafter.c: Include <math-tests.h>.
31981         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31982         the relevant type.
31983         * math/bug-nexttoward.c: Include <math-tests.h>.
31984         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31985         the relevant type.
31986         * math/test-misc.c: Include <math-tests.h>.
31987         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31988         the relevant type.
31990 2013-06-12  Andreas Jaeger  <aj@suse.de>
31992         * po/ia.po: Update Interlingua translation from translation
31993         project.
31995 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31997         * include/fenv.h: Include stdbool.h.
31998         (struct rm_ctx): New structure.
31999         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32000         Define macro.
32001         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32002         (SET_RESTORE_ROUNDF): Likewise.
32003         (SET_RESTORE_ROUNDL): Likewise.
32004         (SET_RESTORE_ROUND_NOEX): Likewise.
32005         (SET_RESTORE_ROUND_NOEXF): Likewise.
32006         (SET_RESTORE_ROUND_NOEXL): Likewise.
32007         (SET_RESTORE_ROUND_53BIT): Likewise.
32008         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32009         (libc_feresetround_noexf_ctx): Likewise.
32010         (libc_feresetround_noexl_ctx): Likewise.
32011         (libc_feholdsetround_53bit_ctx): Likewise.
32012         (libc_feresetround_53bit_ctx): Likewise.
32013         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32014         (libc_feholdexcept_setround_sse_ctx): New function.
32015         (libc_fesetenv_sse_ctx): Likewise.
32016         (libc_feupdateenv_sse_ctx): Likewise.
32017         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32018         (libc_feholdexcept_setround_387_ctx): Likewise.
32019         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32020         (libc_feholdsetround_387_prec_ctx): Likewise.
32021         (libc_feholdsetround_387_ctx): Likewise.
32022         (libc_feholdsetround_387_53bit_ctx): Likewise.
32023         (libc_feholdsetround_sse_ctx): Likewise.
32024         (libc_feresetround_sse_ctx): Likewise.
32025         (libc_feresetround_387_ctx): Likewise.
32026         (libc_feupdateenv_387_ctx): Likewise.
32027         (libc_feholdexcept_setroundf_ctx): Define macro.
32028         (libc_fesetenvf_ctx): Likewise.
32029         (libc_feupdateenvf_ctx): Likewise.
32030         (libc_feholdsetroundf_ctx): Likewise.
32031         (libc_feresetroundf_ctx): Likewise.
32032         (libc_feholdexcept_setround_ctx): Likewise.
32033         (libc_fesetenv_ctx): Likewise.
32034         (libc_feupdateenv_ctx): Likewise.
32035         (libc_feholdsetround_ctx): Likewise.
32036         (libc_feresetround_ctx): Likewise.
32037         (libc_feholdexcept_setroundl_ctx): Likewise.
32038         (libc_feupdateenvl_ctx): Likewise.
32039         (libc_feholdsetroundl_ctx): Likewise.
32040         (libc_feresetroundl_ctx): Likewise.
32041         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32042         (libc_feresetround_53bit_ctx): Likewise.
32044 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32046         * locale/iso-639.def: Convert to UTF-8.
32048 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32050         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32051         (EXCEPTION_TESTS_double): Likewise.
32052         (EXCEPTION_TESTS_long_double): Likewise.
32053         (EXCEPTION_TESTS): Likewise.
32054         * math/libm-test.inc (test_exceptions): Only test exceptions if
32055         EXCEPTION_TESTS (FLOAT).
32057 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32059         * benchtests/Makefile (string-bench): Add strcpy_chk and
32060         stpcpy_chk.
32061         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32062         * benchtests/bench-stpcpy_chk.c: New file.
32063         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32064         * benchtests/bench-strcpy_chk.c: New file.
32065         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32066         code.
32067         (do_test): Likewise.
32069 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32071         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32072         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32073         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32074         with tabs where appropriate.
32075         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32076         dl-procinfo.h.
32077         [PPC_PLATFORM_PPC440]: Likewise.
32078         [PPC_PLATFORM_PPC464]: Likewise.
32079         [PPC_PLATFORM_PPC476]: Likewise.
32080         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32081         ppc464, and ppc476 platform strings merging from ports/
32082         dl-procinfo.h.
32084 2013-06-11  Andreas Schwab  <schwab@suse.de>
32086         [BZ #14991]
32087         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32088         (from_ucs4_idx): Regenerate.
32089         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32090         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32091         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32092         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32093         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32094         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32095         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32096         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32097         from FROM_LOOP and TO_LOOP specific macros.
32098         (BODY): Handle combining characters.
32099         * iconvdata/BIG5HKSCS.irreversible: Update.
32100         * iconvdata/BIG5HKSCS.precomposed: New file.
32101         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32102         characters.
32103         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32105 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32107         * include/sys/time.h: Fix indentation and add copyright header.
32109         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32110         (do_test): Likewise.
32111         * string/test-memchr.c (do_one_test): Likewise.
32112         (do_test): Likewise.
32113         * string/test-memcmp.c (do_one_test): Likewise.
32114         (do_test): Likewise.
32115         * string/test-memcpy.c (do_one_test): Likewise.
32116         (do_test): Likewise.
32117         * string/test-memmem.c (do_one_test): Likewise.
32118         (do_test): Likewise.
32119         (do_random_tests): Likewise.
32120         * string/test-memmove.c (do_one_test): Likewise.
32121         (do_test): Likewise.
32122         * string/test-memset.c (do_one_test): Likewise.
32123         (do_test): Likewise.
32124         * string/test-rawmemchr.c (do_one_test): Likewise.
32125         (do_test): Likewise.
32126         * string/test-strcasecmp.c (do_one_test): Likewise.
32127         (do_test): Likewise.
32128         * string/test-strcasestr.c (do_one_test): Likewise.
32129         (do_test): Likewise.
32130         * string/test-strcat.c (do_one_test): Likewise.
32131         (do_test): Likewise.
32132         * string/test-strchr.c (do_one_test): Likewise.
32133         (do_test): Likewise.
32134         * string/test-strcmp.c (do_one_test): Likewise.
32135         (do_test): Likewise.
32136         * string/test-strcpy.c (do_one_test): Likewise.
32137         (do_test): Likewise.
32138         * string/test-string.h: Likewise.
32139         (test_init): Likewise.
32140         * string/test-strlen.c (do_one_test): Likewise.
32141         (do_test): Likewise.
32142         * string/test-strncasecmp.c (do_one_test): Likewise.
32143         (do_test): Likewise.
32144         * string/test-strncat.c (do_one_test): Likewise.
32145         (do_test): Likewise.
32146         * string/test-strncmp.c (do_one_test): Likewise.
32147         (do_test_limit): Likewise.
32148         (do_test): Likewise.
32149         * string/test-strncpy.c (do_one_test): Likewise.
32150         (do_test): Likewise.
32151         * string/test-strnlen.c (do_one_test): Likewise.
32152         (do_test): Likewise.
32153         * string/test-strpbrk.c (do_one_test): Likewise.
32154         (do_test): Likewise.
32155         * string/test-strrchr.c (do_one_test): Likewise.
32156         (do_test): Likewise.
32157         * string/test-strspn.c (do_one_test): Likewise.
32158         (do_test): Likewise.
32159         * string/test-strstr.c (do_one_test): Likewise.
32160         (do_test): Likewise.
32162         * benchtests/Makefile (string-bench): Add string benchmarks.
32163         * benchtests/bench-bcopy-ifunc.c: New file.
32164         * benchtests/bench-bcopy.c: New file.
32165         * benchtests/bench-bzero-ifunc.c: New file.
32166         * benchtests/bench-bzero.c: New file.
32167         * benchtests/bench-memccpy-ifunc.c: New file.
32168         * benchtests/bench-memccpy.c: New file.
32169         * benchtests/bench-memchr-ifunc.c: New file.
32170         * benchtests/bench-memchr.c: New file.
32171         * benchtests/bench-memcmp-ifunc.c: New file.
32172         * benchtests/bench-memcmp.c: New file.
32173         * benchtests/bench-memmem-ifunc.c: New file.
32174         * benchtests/bench-memmem.c: New file.
32175         * benchtests/bench-memmove-ifunc.c: New file.
32176         * benchtests/bench-memmove.c: New file.
32177         * benchtests/bench-mempcpy-ifunc.c: New file.
32178         * benchtests/bench-mempcpy.c: New file.
32179         * benchtests/bench-memset-ifunc.c: New file.
32180         * benchtests/bench-memset.c: New file.
32181         * benchtests/bench-rawmemchr-ifunc.c: New file.
32182         * benchtests/bench-rawmemchr.c: New file.
32183         * benchtests/bench-stpcpy-ifunc.c: New file.
32184         * benchtests/bench-stpcpy.c: New file.
32185         * benchtests/bench-stpncpy-ifunc.c: New file.
32186         * benchtests/bench-stpncpy.c: New file.
32187         * benchtests/bench-strcasecmp-ifunc.c: New file.
32188         * benchtests/bench-strcasecmp.c: New file.
32189         * benchtests/bench-strcasestr-ifunc.c: New file.
32190         * benchtests/bench-strcasestr.c: New file.
32191         * benchtests/bench-strcat-ifunc.c: New file.
32192         * benchtests/bench-strcat.c: New file.
32193         * benchtests/bench-strchr-ifunc.c: New file.
32194         * benchtests/bench-strchr.c: New file.
32195         * benchtests/bench-strchrnul-ifunc.c: New file.
32196         * benchtests/bench-strchrnul.c: New file.
32197         * benchtests/bench-strcmp-ifunc.c: New file.
32198         * benchtests/bench-strcmp.c: New file.
32199         * benchtests/bench-strcpy-ifunc.c: New file.
32200         * benchtests/bench-strcpy.c: New file.
32201         * benchtests/bench-strcspn-ifunc.c: New file.
32202         * benchtests/bench-strcspn.c: New file.
32203         * benchtests/bench-strlen-ifunc.c: New file.
32204         * benchtests/bench-strlen.c: New file.
32205         * benchtests/bench-strncasecmp-ifunc.c: New file.
32206         * benchtests/bench-strncasecmp.c: New file.
32207         * benchtests/bench-strncat-ifunc.c: New file.
32208         * benchtests/bench-strncat.c: New file.
32209         * benchtests/bench-strncmp-ifunc.c: New file.
32210         * benchtests/bench-strncmp.c: New file.
32211         * benchtests/bench-strncpy-ifunc.c: New file.
32212         * benchtests/bench-strncpy.c: New file.
32213         * benchtests/bench-strnlen-ifunc.c: New file.
32214         * benchtests/bench-strnlen.c: New file.
32215         * benchtests/bench-strpbrk-ifunc.c: New file.
32216         * benchtests/bench-strpbrk.c: New file.
32217         * benchtests/bench-strrchr-ifunc.c: New file.
32218         * benchtests/bench-strrchr.c: New file.
32219         * benchtests/bench-strspn-ifunc.c: New file.
32220         * benchtests/bench-strspn.c: New file.
32221         * benchtests/bench-strstr-ifunc.c: New file.
32222         * benchtests/bench-strstr.c: New file.
32224         * benchtests/Makefile: Disable parallel execution of targets.
32225         (string-bench): Add memcpy.
32226         (benchset): New variable to store a list of benchmark sets.
32227         (bench-func): Renamed from bench.
32228         (bench-set): New target.
32229         (bench): Depend on bench-func and bench-set.
32230         * benchtests/README: Add section on benchmark sets.
32231         * benchtests/bench-memcpy-ifunc.c: New file.
32232         * benchtests/bench-memcpy.c: New file.
32233         * benchtests/bench-string.h: New file.
32235 2013-06-11  Andreas Schwab  <schwab@suse.de>
32237         [BZ #15577]
32238         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32239         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32240         values in the triple.
32241         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32242         terminator in the group key.
32244 2013-06-11  Andreas Jaeger  <aj@suse.de>
32246         * po/zh_TW.po: Update Chinese (traditional) translation from
32247         translation project.
32249 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32251         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32252         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32253         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32254         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32255         (clock_getcpuclockid): Likewise.
32256         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32257         Add weak_alias and libc_hidden_def.
32258         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32259         * rt/clock_gettime.c (clock_gettime): Rename to
32260         __clock_gettime.  Add weak_alias and libc_hidden_def.
32261         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32262         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32263         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32264         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32265         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32266         Likewise.
32267         * rt/clock_settime.c (clock_settime): Rename to
32268         __clock_settime.  Add weak_alias and libc_hidden_def.
32269         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32271 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32273         * mach/err_boot.sub: Remove trailing whitespace.
32274         * mach/err_ipc.sub: Likewise.
32275         * mach/err_mach.sub: Likewise.
32277         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32278         (ROUNDING_TESTS_double): Likewise.
32279         (ROUNDING_TESTS_long_double): Likewise.
32280         (ROUNDING_TESTS): Likewise.
32281         * math/libm-test.inc: Include <math-tests.h>.
32282         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32283         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32284         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32285         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32287 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32289         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32290         of assigning.
32292 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32294         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32295         otherwise empty TRANS lines.
32296         * sysdeps/gnu/errlist.c: Regenerated.
32298         * catgets/gencat.c (error_print): Use (void) in function
32299         definition.
32300         * crypt/crypt_util.c (__init_des): Likewise.
32301         * crypt/speeds.c (Stop): Likewise.
32302         (main): Likewise.
32303         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32304         * inet/ruserpass.c (token): Likewise.
32305         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32306         * intl/localealias.c (extend_alias_table): Likewise.
32307         * intl/plural-exp.c (init_germanic_plural): Likewise.
32308         * libio/fcloseall.c (__fcloseall): Likewise.
32309         * libio/genops.c (_IO_flush_all): Likewise.
32310         (_IO_flush_all_linebuffered): Likewise.
32311         (_IO_cleanup): Likewise.
32312         (_IO_iter_begin): Likewise.
32313         (_IO_iter_end): Likewise.
32314         (_IO_list_lock): Likewise.
32315         (_IO_list_unlock): Likewise.
32316         (_IO_list_resetlock): Likewise.
32317         * libio/getchar.c (getchar): Likewise.
32318         * libio/getchar_u.c (getchar_unlocked): Likewise.
32319         * libio/getwchar.c (getwchar): Likewise.
32320         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32321         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32322         * login/getpt.c (__getpt): Likewise.
32323         * login/tst-utmp.c (main): Likewise.
32324         * malloc/hooks.c (__malloc_check_init): Likewise.
32325         * malloc/malloc.c (__malloc_stats): Likewise.
32326         * malloc/mtrace.c (tr_break): Likewise.
32327         (mtrace): Likewise.
32328         (muntrace): Likewise.
32329         * misc/fstab.c (endfsent): Likewise.
32330         * misc/getclktck.c (__getclktck): Likewise.
32331         * misc/getdtsz.c (__getdtablesize): Likewise.
32332         * misc/gethostid.c (gethostid): Likewise.
32333         * misc/getpagesize.c (__getpagesize): Likewise.
32334         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32335         (__get_nprocs): Likewise.
32336         (__get_phys_pages): Likewise.
32337         (__get_avphys_pages): Likewise.
32338         * misc/getttyent.c (getttyent): Likewise.
32339         (setttyent): Likewise.
32340         (endttyent): Likewise.
32341         * misc/getusershell.c (getusershell): Likewise.
32342         (endusershell): Likewise.
32343         (setusershell): Likewise.
32344         (initshells): Likewise.
32345         * misc/hsearch.c (__hdestroy): Likewise.
32346         * misc/sync.c (sync): Likewise.
32347         * misc/syslog.c (closelog_internal): Likewise.
32348         (closelog): Likewise.
32349         * misc/ttyslot.c (ttyslot): Likewise.
32350         * misc/vhangup.c (vhangup): Likewise.
32351         * posix/fork.c (__fork): Likewise.
32352         * posix/getegid.c (__getegid): Likewise.
32353         * posix/geteuid.c (__geteuid): Likewise.
32354         * posix/getgid.c (__getgid): Likewise.
32355         * posix/getpid.c (__getpid): Likewise.
32356         * posix/getppid.c (__getppid): Likewise.
32357         * posix/getuid.c (__getuid): Likewise.
32358         * posix/pause.c (pause): Likewise.
32359         * posix/setpgrp.c (setpgrp): Likewise.
32360         * posix/setsid.c (__setsid): Likewise.
32361         * posix/test-vfork.c (noop): Likewise.
32362         * resolv/gethnamaddr.c (_endhtent): Likewise.
32363         (_gethtent): Likewise.
32364         (ht_endhostent): Likewise.
32365         (gethostent): Likewise.
32366         (dns_service): Likewise.
32367         * stdlib/drand48.c (drand48): Likewise.
32368         * stdlib/lrand48.c (lrand48): Likewise.
32369         * stdlib/mrand48.c (mrand48): Likewise.
32370         * stdlib/rand.c (rand): Likewise.
32371         * stdlib/random.c (__random): Likewise.
32372         * stdlib/setenv.c (clearenv): Likewise.
32373         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32374         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32375         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32376         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32377         (__get_nprocs): Likewise.
32378         (__get_phys_pages): Likewise.
32379         (__get_avphys_pages): Likewise.
32380         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32381         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32382         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32383         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32384         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32385         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32386         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32387         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32388         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32389         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32390         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32391         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32392         * sysdeps/posix/clock.c (clock): Likewise.
32393         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32394         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32395         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32396         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32397         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32398         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32399         (__get_nprocs_conf): Likewise.
32400         (__get_phys_pages): Likewise.
32401         (__get_avphys_pages): Likewise.
32402         * time/clock.c (clock): Likewise.
32403         * time/tzset.c (__tzname_max): Likewise.
32405 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32407         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32408         (__bswap_32): Do not use "register".
32409         * crypt/crypt.c (_ufc_doit_r): Likewise.
32410         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32411         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32412         * gmon/gmon.c (__monstartup): Likewise.
32413         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32414         * hurd/hurdmalloc.c (more_memory): Likewise.
32415         (malloc): Likewise.
32416         (free): Likewise.
32417         (realloc): Likewise.
32418         (malloc_fork_prepare): Likewise.
32419         (malloc_fork_parent): Likewise.
32420         (malloc_fork_child): Likewise.
32421         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32422         (_svcauth_des): Likewise.
32423         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32424         * inet/inet_net.c (inet_network): Likewise.
32425         * inet/inet_netof.c (inet_netof): Likewise.
32426         * inet/rcmd.c (__validuser2_sa): Likewise.
32427         * io/fts.c (fts_open): Likewise.
32428         (fts_load): Likewise.
32429         (fts_close): Likewise.
32430         (fts_read): Likewise.
32431         (fts_children): Likewise.
32432         (fts_build): Likewise.
32433         (fts_stat): Likewise.
32434         (fts_sort): Likewise.
32435         (fts_alloc): Likewise.
32436         (fts_lfree): Likewise.
32437         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32438         (_IO_file_xsgetn): Likewise.
32439         (_IO_file_xsgetn_mmap): Likewise.
32440         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32441         (_IO_cookie_write): Likewise.
32442         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32443         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32444         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32445         * malloc/obstack.c (_obstack_begin): Likewise.
32446         (_obstack_begin_1): Likewise.
32447         (_obstack_newchunk): Likewise.
32448         (_obstack_allocated_p): Likewise.
32449         (obstack_free): Likewise.
32450         (_obstack_memory_used): Likewise.
32451         * misc/getttyent.c (getttynam): Likewise.
32452         (getttyent): Likewise.
32453         (skip): Likewise.
32454         (value): Likewise.
32455         * misc/getusershell.c (initshells): Likewise.
32456         * misc/syslog.c (__vsyslog_chk): Likewise.
32457         * misc/ttyslot.c (ttyslot): Likewise.
32458         * nis/nis_hash.c (__nis_hash): Likewise.
32459         * posix/fnmatch_loop.c (FCT): Likewise.
32460         * posix/getconf.c (print_all): Likewise.
32461         (main): Likewise.
32462         * posix/getopt.c (exchange): Likewise.
32463         * posix/glob.c (globfree): Likewise.
32464         (prefix_array): Likewise.
32465         (__glob_pattern_type): Likewise.
32466         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32467         (NS_GET32): Likewise.
32468         (NS_PUT16): Likewise.
32469         (NS_PUT32): Likewise.
32470         * resolv/gethnamaddr.c (getanswer): Likewise.
32471         (gethostbyname2): Likewise.
32472         (gethostbyaddr): Likewise.
32473         (_gethtent): Likewise.
32474         (_gethtbyname2): Likewise.
32475         (_gethtbyaddr): Likewise.
32476         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32477         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32478         * resolv/res_init.c (__res_vinit): Likewise.
32479         (net_mask): Likewise.
32480         * resolv/res_mkquery.c (outchar): Likewise.
32481         (PRINT): Likewise.
32482         * stdio-common/printf_fp.c (outchar): Likewise.
32483         (PRINT): Likewise.
32484         * stdio-common/printf_fphex.c (outchar): Likewise.
32485         (PRINT): Likewise.
32486         * stdio-common/printf_size.c (outchar): Likewise.
32487         (PRINT): Likewise.
32488         * stdio-common/test_rdwr.c (main): Likewise.
32489         * stdio-common/tfformat.c (matches): Likewise.
32490         * stdio-common/vfprintf.c (outchar): Likewise.
32491         (printf_unknown): Likewise.
32492         (buffered_vfprintf): Likewise.
32493         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32494         * stdio-common/xbug.c (AppendToBuffer): Likewise.
32495         (ReadFile): Likewise.
32496         * stdlib/qsort.c (SWAP): Likewise.
32497         (_quicksort): Likewise.
32498         * stdlib/setenv.c (__add_to_environ): Likewise.
32499         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32500         * stdlib/strtol_l.c (__strtol_l): Likewise.
32501         * stdlib/tst-strtod.c (main): Likewise.
32502         * stdlib/tst-strtol.c (main): Likewise.
32503         * stdlib/tst-strtoll.c (main): Likewise.
32504         * string/bits/string2.h (__strcmp_cc): Likewise.
32505         (__strcmp_cg): Likewise.
32506         (__strcspn_c1): Likewise.
32507         (__strcspn_c2): Likewise.
32508         (__strcspn_c3): Likewise.
32509         (__strspn_c1): Likewise.
32510         (__strspn_c2): Likewise.
32511         (__strspn_c3): Likewise.
32512         (__strsep_1c): Likewise.
32513         (__strsep_2c): Likewise.
32514         (__strsep_3c): Likewise.
32515         * string/memccpy.c (__memccpy): Likewise.
32516         * string/stpcpy.c (__stpcpy): Likewise.
32517         * string/strcmp.c (strcmp): Likewise.
32518         * string/strrchr.c (strrchr): Likewise.
32519         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
32520         Likewise.
32521         * sysdeps/mach/hurd/getcwd.c
32522         (_hurd_canonicalize_directory_name_internal): Likewise.
32523         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
32524         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
32525         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
32526         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
32527         Likewise, in both definitions.
32528         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
32529         definitions.
32530         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
32531         64] (__bswap_64): Likewise.
32532         * time/test_time.c (main): Likewise.
32533         * time/tzfile.c (__tzfile_read): Likewise.
32534         (__tzfile_compute): Likewise.
32535         * time/tzset.c (__tzset_parse_tz): Likewise.
32536         (tzset_internal): Likewise.
32537         (compute_change): Likewise.
32538         * wcsmbs/wcscat.c (__wcscat): Likewise.
32539         * wcsmbs/wcschr.c (wcschr): Likewise.
32540         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
32541         * wcsmbs/wcscspn.c (wcscspn): Likewise.
32542         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
32543         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
32544         * wcsmbs/wcsspn.c (wcsspn): Likewise.
32545         * wcsmbs/wcsstr.c (wcsstr): Likewise.
32546         * wcsmbs/wmemchr.c (wmemchr): Likewise.
32547         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32548         * wcsmbs/wmemset.c (wmemset): Likewise.
32550 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
32552         * scripts/config.guess: Update to version 2013-05-16.
32553         * scripts/config.sub: Update to version 2013-04-24.
32554         * scripts/install-sh: Update to version 2011-11-20.07.
32555         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
32556         * scripts/move-if-change: Update to version 2012-01-06 07:23.
32558 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
32560         * debug/fgetws_u_chk.c: Fix leading whitespaces.
32561         * elf/sln.c: Likewise.
32562         * hurd/hurd/ioctl.h: Likewise.
32563         * hurd/hurdmalloc.c: Likewise.
32564         * hurd/xattr.c: Likewise.
32565         * include/shlib-compat.h: Likewise.
32566         * inet/ruserpass.c: Likewise.
32567         * libio/iofgets_u.c: Likewise.
32568         * libio/iofgetws_u.c: Likewise.
32569         * locale/programs/ld-identification.c: Likewise.
32570         * locale/programs/ld-time.c: Likewise.
32571         * mach/msg-destroy.c: Likewise.
32572         * nss/nss_files/files-netgrp.c: Likewise.
32573         * resolv/res_data.c: Likewise.
32574         * soft-fp/op-1.h: Likewise.
32575         * soft-fp/op-2.h: Likewise.
32576         * soft-fp/op-4.h: Likewise.
32577         * soft-fp/op-common.h: Likewise.
32578         * stdio-common/printf_fphex.c: Likewise.
32579         * stdlib/strtod_l.c: Likewise.
32580         * sunrpc/rpc/clnt.h: Likewise.
32581         * sysdeps/generic/framestate.c: Likewise.
32582         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32583         * sysdeps/i386/bsd-setjmp.S: Likewise.
32584         * sysdeps/i386/__longjmp.S: Likewise.
32585         * sysdeps/i386/setjmp.S: Likewise.
32586         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32587         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32588         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32589         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32590         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32591         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32592         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32593         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32594         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32595         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32596         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32597         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32598         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32599         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32600         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32601         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32602         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32603         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
32604         * sysdeps/ieee754/support.c: Likewise.
32605         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32606         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
32607         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
32608         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
32609         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
32610         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
32611         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
32612         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
32613         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
32614         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
32615         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
32616         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
32617         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
32618         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
32619         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
32620         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
32621         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32624 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
32626         * posix/transbug.c: Remove executable mode.
32628 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
32630         * crypt/speeds.c: Remove trailing whitespace.
32631         * dlfcn/default.c: Likewise.
32632         * elf/ifuncdep2.c: Likewise.
32633         * elf/ifuncmain1.c: Likewise.
32634         * elf/ifuncmain1vis.c: Likewise.
32635         * elf/testobj.h: Likewise.
32636         * elf/tst-stackguard1.c: Likewise.
32637         * gmon/sys/gmon.h: Likewise.
32638         * hurd/hurdmsg.c: Likewise.
32639         * hurd/new-fd.c: Likewise.
32640         * hurd/ports-get.c: Likewise.
32641         * iconvdata/ibm1008_420.c: Likewise.
32642         * inet/tst-getni1.c: Likewise.
32643         * inet/tst-getni2.c: Likewise.
32644         * libio/ioungetc.c: Likewise.
32645         * libio/wfiledoalloc.c: Likewise.
32646         * manual/libm-err-tab.pl: Likewise.
32647         * math/w_dremf.c: Likewise.
32648         * misc/ftruncate.c: Likewise.
32649         * posix/bug-glob2.c: Likewise.
32650         * posix/tst-pcre.c: Likewise.
32651         * posix/wait4.c: Likewise.
32652         * resolv/README: Likewise.
32653         * resolv/res_debug.h: Likewise.
32654         * resolv/tst-inet_ntop.c: Likewise.
32655         * setjmp/bug269-setjmp.c: Likewise.
32656         * soft-fp/extended.h: Likewise.
32657         * soft-fp/op-1.h: Likewise.
32658         * soft-fp/op-2.h: Likewise.
32659         * soft-fp/op-4.h: Likewise.
32660         * soft-fp/op-8.h: Likewise.
32661         * soft-fp/testit.c: Likewise.
32662         * stdio-common/bug16.c: Likewise.
32663         * stdlib/random.c: Likewise.
32664         * sunrpc/rpcsvc/rquota.x: Likewise.
32665         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
32666         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32667         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32668         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32669         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32670         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32671         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32672         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32673         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32674         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32675         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32676         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32677         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32678         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32679         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32680         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32681         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32682         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32683         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32684         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32685         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32686         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32687         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
32688         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32689         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32690         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32691         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32692         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32693         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32694         * sysdeps/ieee754/s_lib_version.c: Likewise.
32695         * sysdeps/mach/hurd/check_fds.c: Likewise.
32696         * sysdeps/mach/hurd/getsockname.c: Likewise.
32697         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
32698         * sysdeps/mach/hurd/recvfrom.c: Likewise.
32699         * sysdeps/powerpc/bits/link.h: Likewise.
32700         * sysdeps/powerpc/dl-procinfo.c: Likewise.
32701         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
32702         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
32703         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
32704         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32705         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32706         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
32707         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32708         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
32709         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32710         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32711         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
32712         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
32713         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32714         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32715         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32716         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
32717         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
32718         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32719         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32720         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32721         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
32722         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32723         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
32724         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
32725         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
32726         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
32727         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32728         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32729         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
32730         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
32731         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
32732         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32733         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32734         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
32735         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32736         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
32737         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
32738         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32739         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
32740         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
32741         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
32742         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
32743         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
32744         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
32745         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
32746         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
32747         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
32748         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
32749         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
32750         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32751         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32752         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32753         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32754         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
32755         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32756         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32757         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32758         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
32759         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32760         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
32761         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
32762         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
32763         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32764         * sysdeps/powerpc/sysdep.h: Likewise.
32765         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32766         * sysdeps/s390/s390-64/sub_n.S: Likewise.
32767         * sysdeps/sh/dl-trampoline.S: Likewise.
32768         * sysdeps/sh/memset.S: Likewise.
32769         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
32770         * sysdeps/sh/strlen.S: Likewise.
32771         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
32772         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
32773         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
32774         * sysdeps/sparc/sparc32/rem.S: Likewise.
32775         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
32776         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
32777         * sysdeps/sparc/sparc32/strchr.S: Likewise.
32778         * sysdeps/sparc/sparc32/udiv.S: Likewise.
32779         * sysdeps/sparc/sparc32/urem.S: Likewise.
32780         * sysdeps/sparc/sparc64/add_n.S: Likewise.
32781         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32782         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
32783         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
32784         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
32785         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
32786         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32787         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
32788         * sysdeps/unix/bsd/times.c: Likewise.
32789         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
32790         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
32791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
32794         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
32795         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
32796         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
32797         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
32798         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
32799         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
32800         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32801         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
32802         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32803         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32804         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
32805         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32806         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
32807         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
32808         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
32809         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
32810         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
32811         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32812         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
32813         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
32814         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32815         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
32816         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32817         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
32818         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
32819         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
32820         * sysdeps/x86_64/strcspn.S: Likewise.
32822 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32824         * locale/C-translit.h: Revert #include <stdint.h> because this is a
32825         generated file.  Regenerate properly from gen-translit.pl.
32826         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
32827         locale/C-translit.h.
32829 2013-06-05  Andreas Schwab  <schwab@suse.de>
32831         [BZ #15100]
32832         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32833         week as 6 instead of -1.
32834         * time/tst-strptime.c (day_tests): Add test case.
32836 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32838         * sysdeps/generic/math_private.h
32839         (libc_feholdexcept_setround_53bit): Replace with
32840         libc_feholdsetround_53bit.
32841         (libc_feupdateenv_53bit): Replace with
32842         libc_feresetround_53bit.
32843         (SET_RESTORE_ROUND_53BIT): Adjust.
32845 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32847         * string/test-strchrnul.c: Add copyright header.
32849         * posix/tst-getaddrinfo4.c: Increase test timeout.
32851 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
32853         [BZ #15536]
32854         * math/libm-test.inc (MAX_EXP): Remove
32855         (MIN_EXP): Define.
32856         (ulp): Use MIN_EXP - MANT_DIG.
32857         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32859 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
32861         * po/be.po: Revert last change.
32862         * po/zh_CN.po: Likewise.
32863         * po/header.pot: Likewise.
32865 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
32867         * Makefile ($(common-objpfx)linkobj/libc.so): Define
32868         link-libc-deps to empty as target-specific variable.
32869         * Makerules (link-libc-args): New variable.
32870         (libc-for-link): Likewise.
32871         (link-libc-deps): Likewise.
32872         (lib%.so): Depend on $(link-libc-deps).  Link with
32873         $(link-libc-args).
32874         (build-module): Link with $(link-libc-args).
32875         (build-module-asneeded): Likewise.
32876         (build-module-helper-objlist): Filter out $(link-libc-deps) from
32877         list of objects.
32878         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32879         target-specific variable.
32880         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32881         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32882         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32883         libc.
32884         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32885         libc and ld.so.
32886         ($(objpfx)libpcprofile.so): Likewise.
32887         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32888         libc_nonshared.a.
32889         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32890         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32891         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32892         $(link-libc-deps).
32893         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32894         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32895         * login/Makefile ($(objpfx)libutil.so): Likewise.
32896         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32897         * math/Makefile ($(objpfx)libm.so): Likewise.
32898         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32899         $(objpfx)libnsl.so): Define libc-for-link as target-specific
32900         variable instead of depending directly on libc.
32901         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32902         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32903         $(link-libc-deps).
32904         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32905         libc.
32906         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32907         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32908         ($(objpfx)libanl.so): Likewise.
32909         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32910         ld.so.
32911         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32912         $(link-libc-deps).
32913         * sysdeps/i386/fpu/Makefile: Remove file.
32914         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32915         ($(objpfx)libm.so): Remove dependency on ld.so.
32917 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
32919         [BZ # 15553]
32920         * nis/yp_xdr.c (XDRMAXNAME): Define.
32921         (XDRMAXRECORD): Define.
32922         (xdr_domainname): Use XDRMAXNAME.
32923         (xdr_mapname): Likewise.
32924         (xdr_peername): Likewise.
32925         (xdr_keydat): Use XDRMAXRECORD.
32926         (xdr_valdat): Likewise.
32928 2013-05-30  Jeff Law  <law@redhat.com>
32930         [BZ #14256]
32931         * manual/errno.texi (ESTALE): Update to account for more than
32932         just NFS file systems.
32933         * sysdeps/gnu/errlist.c: Regenerated.
32935 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32937         [BZ #15465]
32938         * elf/Makefile (tests): Add tst-null-argv.
32939         (modules-names):  Add tst-null-argv-lib.
32940         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32941         (tst-null-argv-ENV): Set environment for tst-null-argv.
32942         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32943         (RTLD_PROGNAME): New macro.
32944         * elf/tst-null-argv.c: New test case.
32945         * elf/tst-null-argv-lib.c: Library for test case.
32946         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32947         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32948         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32949         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32950         * elf/dl-init.c (call_init): Likewise.
32951         (_dl_init): Likewise.
32952         * elf/dl-load.c (print_search_path): Likewise.
32953         (_dl_map_object): Likewise.
32954         * elf/dl-lookup.c (do_lookup_x): Likewise.
32955         (add_dependency): Likewise.
32956         (_dl_lookup_symbol_x): Likewise.
32957         (_dl_debug_bindings): Likewise.
32958         * elf/dl-open.c (_dl_show_scope): Likewise.
32959         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32960         * elf/dl-version.c (match_symbol): Likewise.
32961         (_dl_check_map_versions): Likewise.
32962         * elf/rtld.c (dl_main): Likewise.
32963         (print_unresolved): Use RTLD_PROGNAME.
32964         (print_missing_version): Likewise.
32965         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32966         (elf_machine_rela): Likewise.
32967         * sysdeps/powerpc/powerpc32/dl-machine.c
32968         (__process_machine_rela): Likewise.
32969         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32970         Likewise.
32971         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32972         Likewise.
32973         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32974         Likewise.
32975         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32976         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32977         Likewise.
32978         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32979         Likewise.
32980         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32982 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32984         * po/be.po: Add descriptive title.
32985         * po/zh_CN.po: Likewise.
32986         * po/header.pot: Likewise.
32988 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32990         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32991         error message.
32992         (enlarge_archive): Likewise.
32994 2013-05-28  Ben North  <ben@redfrontdoor.org>
32996         * manual/arith.texi (frexp): It is the magnitude of the return
32997         value which lies in [0.5, 1), not the return value itself.
32999 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33003 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33005         * stdio-common/bug26.c (main): Correct fscanf template.
33007         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33008         declare _dl_skip_args.
33010         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33011         Don't declare.
33013         * manual/platform.texi: Add missing @end deftypefun.
33015 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33017         [BZ #15529]
33018         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33019         bit of mantissa of 2^16382.
33020         * math/libm-test.inc (hypot_test_data): Add more tests.
33022         * math/libm-test.inc: Add drem and pow10 to list of tested
33023         functions.
33024         (pow10_test): New function.
33025         (drem_test): Likewise.
33026         (drem_test_tonearest): Likewise.
33027         (drem_test_towardzero): Likewise.
33028         (drem_test_downward): Likewise.
33029         (drem_test_upward): Likewise.
33030         (main): Call the new functions.
33032         * math/libm-test.inc (finite_test_data): Remove.
33033         (finite_test): Run tests from isfinite_test_data.
33034         (gamma_test_data): Remove.
33035         (gamma_test): Run tests from lgamma_test_data.
33036         * sysdeps/i386/fpu/libm-test-ulps: Update.
33037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33039 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33041         * manual/platform.texi: Add PowerPC PPR function set documentation.
33042         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33043         implementation.
33045 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33047         * math/libm-test.inc (MAX_EXP): Define.
33048         (ULPDIFF): Define.
33049         (ulp): New function.
33050         (check_float_internal): Use ULPDIFF.
33051         (cpow_test): Disable failing test.
33052         (check_ulp): Test ulp() implemetnation.
33053         (main): Call check_ulp before starting tests.
33055 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33057         * math/gen-libm-test.pl (generate_testfile): Do not handle
33058         START_DATA and END_DATA.
33059         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33060         END_DATA.
33061         (acos_tonearest_test_data): Likewise.
33062         (acos_towardzero_test_data): Likewise.
33063         (acos_downward_test_data): Likewise.
33064         (acos_upward_test_data): Likewise.
33065         (acosh_test_data): Likewise.
33066         (asin_test_data): Likewise.
33067         (asin_tonearest_test_data): Likewise.
33068         (asin_towardzero_test_data): Likewise.
33069         (asin_downward_test_data): Likewise.
33070         (asin_upward_test_data): Likewise.
33071         (asinh_test_data): Likewise.
33072         (atan_test_data): Likewise.
33073         (atanh_test_data): Likewise.
33074         (atan2_test_data): Likewise.
33075         (cabs_test_data): Likewise.
33076         (cacos_test_data): Likewise.
33077         (cacosh_test_data): Likewise.
33078         (carg_test_data): Likewise.
33079         (casin_test_data): Likewise.
33080         (casinh_test_data): Likewise.
33081         (catan_test_data): Likewise.
33082         (catanh_test_data): Likewise.
33083         (cbrt_test_data): Likewise.
33084         (ccos_test_data): Likewise.
33085         (ccosh_test_data): Likewise.
33086         (ceil_test_data): Likewise.
33087         (cexp_test_data): Likewise.
33088         (cimag_test_data): Likewise.
33089         (clog_test_data): Likewise.
33090         (clog10_test_data): Likewise.
33091         (conj_test_data): Likewise.
33092         (copysign_test_data): Likewise.
33093         (cos_test_data): Likewise.
33094         (cos_tonearest_test_data): Likewise.
33095         (cos_towardzero_test_data): Likewise.
33096         (cos_downward_test_data): Likewise.
33097         (cos_upward_test_data): Likewise.
33098         (cosh_test_data): Likewise.
33099         (cosh_tonearest_test_data): Likewise.
33100         (cosh_towardzero_test_data): Likewise.
33101         (cosh_downward_test_data): Likewise.
33102         (cosh_upward_test_data): Likewise.
33103         (cpow_test_data): Likewise.
33104         (cproj_test_data): Likewise.
33105         (creal_test_data): Likewise.
33106         (csin_test_data): Likewise.
33107         (csinh_test_data): Likewise.
33108         (csqrt_test_data): Likewise.
33109         (ctan_test_data): Likewise.
33110         (ctan_tonearest_test_data): Likewise.
33111         (ctan_towardzero_test_data): Likewise.
33112         (ctan_downward_test_data): Likewise.
33113         (ctan_upward_test_data): Likewise.
33114         (ctanh_test_data): Likewise.
33115         (ctanh_tonearest_test_data): Likewise.
33116         (ctanh_towardzero_test_data): Likewise.
33117         (ctanh_downward_test_data): Likewise.
33118         (ctanh_upward_test_data): Likewise.
33119         (erf_test_data): Likewise.
33120         (erfc_test_data): Likewise.
33121         (exp_test_data): Likewise.
33122         (exp_tonearest_test_data): Likewise.
33123         (exp_towardzero_test_data): Likewise.
33124         (exp_downward_test_data): Likewise.
33125         (exp_upward_test_data): Likewise.
33126         (exp10_test_data): Likewise.
33127         (exp2_test_data): Likewise.
33128         (expm1_test_data): Likewise.
33129         (fabs_test_data): Likewise.
33130         (fdim_test_data): Likewise.
33131         (finite_test_data): Likewise.
33132         (floor_test_data): Likewise.
33133         (fma_test_data): Likewise.
33134         (fma_towardzero_test_data): Likewise.
33135         (fma_downward_test_data): Likewise.
33136         (fma_upward_test_data): Likewise.
33137         (fmax_test_data): Likewise.
33138         (fmin_test_data): Likewise.
33139         (fmod_test_data): Likewise.
33140         (fpclassify_test_data): Likewise.
33141         (frexp_test_data): Likewise.
33142         (gamma_test_data): Likewise.
33143         (hypot_test_data): Likewise.
33144         (ilogb_test_data): Likewise.
33145         (isfinite_test_data): Likewise.
33146         (isgreater_test_data): Likewise.
33147         (isgreaterequal_test_data): Likewise.
33148         (isinf_test_data): Likewise.
33149         (isless_test_data): Likewise.
33150         (islessequal_test_data): Likewise.
33151         (islessgreater_test_data): Likewise.
33152         (isnan_test_data): Likewise.
33153         (isnormal_test_data): Likewise.
33154         (issignaling_test_data): Likewise.
33155         (isunordered_test_data): Likewise.
33156         (j0_test_data): Likewise.
33157         (j1_test_data): Likewise.
33158         (jn_test_data): Likewise.
33159         (ldexp_test_data): Likewise.
33160         (lgamma_test_data): Likewise.
33161         (lrint_test_data): Likewise.
33162         (lrint_tonearest_test_data): Likewise.
33163         (lrint_towardzero_test_data): Likewise.
33164         (lrint_downward_test_data): Likewise.
33165         (lrint_upward_test_data): Likewise.
33166         (llrint_test_data): Likewise.
33167         (llrint_tonearest_test_data): Likewise.
33168         (llrint_towardzero_test_data): Likewise.
33169         (llrint_downward_test_data): Likewise.
33170         (llrint_upward_test_data): Likewise.
33171         (log_test_data): Likewise.
33172         (log10_test_data): Likewise.
33173         (log1p_test_data): Likewise.
33174         (log2_test_data): Likewise.
33175         (logb_test_data): Likewise.
33176         (logb_downward_test_data): Likewise.
33177         (lround_test_data): Likewise.
33178         (llround_test_data): Likewise.
33179         (modf_test_data): Likewise.
33180         (nearbyint_test_data): Likewise.
33181         (nextafter_test_data): Likewise.
33182         (nexttoward_test_data): Likewise.
33183         (pow_test_data): Likewise.
33184         (pow_tonearest_test_data): Likewise.
33185         (pow_towardzero_test_data): Likewise.
33186         (pow_downward_test_data): Likewise.
33187         (pow_upward_test_data): Likewise.
33188         (remainder_test_data): Likewise.
33189         (remainder_tonearest_test_data): Likewise.
33190         (remainder_towardzero_test_data): Likewise.
33191         (remainder_downward_test_data): Likewise.
33192         (remainder_upward_test_data): Likewise.
33193         (remquo_test_data): Likewise.
33194         (rint_test_data): Likewise.
33195         (rint_tonearest_test_data): Likewise.
33196         (rint_towardzero_test_data): Likewise.
33197         (rint_downward_test_data): Likewise.
33198         (rint_upward_test_data): Likewise.
33199         (round_test_data): Likewise.
33200         (scalb_test_data): Likewise.
33201         (scalbn_test_data): Likewise.
33202         (scalbln_test_data): Likewise.
33203         (signbit_test_data): Likewise.
33204         (sin_test_data): Likewise.
33205         (sin_tonearest_test_data): Likewise.
33206         (sin_towardzero_test_data): Likewise.
33207         (sin_downward_test_data): Likewise.
33208         (sin_upward_test_data): Likewise.
33209         (sincos_test_data): Likewise.
33210         (sinh_test_data): Likewise.
33211         (sinh_tonearest_test_data): Likewise.
33212         (sinh_towardzero_test_data): Likewise.
33213         (sinh_downward_test_data): Likewise.
33214         (sinh_upward_test_data): Likewise.
33215         (sqrt_test_data): Likewise.
33216         (tan_test_data): Likewise.
33217         (tan_tonearest_test_data): Likewise.
33218         (tan_towardzero_test_data): Likewise.
33219         (tan_downward_test_data): Likewise.
33220         (tan_upward_test_data): Likewise.
33221         (tanh_test_data): Likewise.
33222         (tgamma_test_data): Likewise.
33223         (trunc_test_data): Likewise.
33224         (y0_test_data): Likewise.
33225         (y1_test_data): Likewise.
33226         (yn_test_data): Likewise.
33227         (significand_test_data): Likewise.
33229         * math/gen-libm-test.pl (@functions): Remove variable.
33230         (generate_testfile): Don't handle START and END lines.
33231         * math/libm-test.inc (START): New macro.
33232         (END): Likewise.
33233         (END_COMPLEX): Likewise.
33234         (acos_test): Use END macro without arguments.
33235         (acos_test_tonearest): Likewise.
33236         (acos_test_towardzero): Likewise.
33237         (acos_test_downward): Likewise.
33238         (acos_test_upward): Likewise.
33239         (acosh_test): Likewise.
33240         (asin_test): Likewise.
33241         (asin_test_tonearest): Likewise.
33242         (asin_test_towardzero): Likewise.
33243         (asin_test_downward): Likewise.
33244         (asin_test_upward): Likewise.
33245         (asinh_test): Likewise.
33246         (atan_test): Likewise.
33247         (atanh_test): Likewise.
33248         (atan2_test): Likewise.
33249         (cabs_test): Likewise.
33250         (cacos_test): Use END_COMPLEX macro without arguments.
33251         (cacosh_test): Likewise.
33252         (carg_test): Use END macro without arguments.
33253         (casin_test): Use END_COMPLEX macro without arguments.
33254         (casinh_test): Likewise.
33255         (catan_test): Likewise.
33256         (catanh_test): Likewise.
33257         (cbrt_test): Use END macro without arguments.
33258         (ccos_test): Use END_COMPLEX macro without arguments.
33259         (ccosh_test): Likewise.
33260         (ceil_test): Use END macro without arguments.
33261         (cexp_test): Use END_COMPLEX macro without arguments.
33262         (cimag_test): Use END macro without arguments.
33263         (clog_test): Use END_COMPLEX macro without arguments.
33264         (clog10_test): Likewise.
33265         (conj_test): Likewise.
33266         (copysign_test): Use END macro without arguments.
33267         (cos_test): Likewise.
33268         (cos_test_tonearest): Likewise.
33269         (cos_test_towardzero): Likewise.
33270         (cos_test_downward): Likewise.
33271         (cos_test_upward): Likewise.
33272         (cosh_test): Likewise.
33273         (cosh_test_tonearest): Likewise.
33274         (cosh_test_towardzero): Likewise.
33275         (cosh_test_downward): Likewise.
33276         (cosh_test_upward): Likewise.
33277         (cpow_test): Use END_COMPLEX macro without arguments.
33278         (cproj_test): Likewise.
33279         (creal_test): Use END macro without arguments.
33280         (csin_test): Use END_COMPLEX macro without arguments.
33281         (csinh_test): Likewise.
33282         (csqrt_test): Likewise.
33283         (ctan_test): Likewise.
33284         (ctan_test_tonearest): Likewise.
33285         (ctan_test_towardzero): Likewise.
33286         (ctan_test_downward): Likewise.
33287         (ctan_test_upward): Likewise.
33288         (ctanh_test): Likewise.
33289         (ctanh_test_tonearest): Likewise.
33290         (ctanh_test_towardzero): Likewise.
33291         (ctanh_test_downward): Likewise.
33292         (ctanh_test_upward): Likewise.
33293         (erf_test): Use END macro without arguments.
33294         (erfc_test): Likewise.
33295         (exp_test): Likewise.
33296         (exp_test_tonearest): Likewise.
33297         (exp_test_towardzero): Likewise.
33298         (exp_test_downward): Likewise.
33299         (exp_test_upward): Likewise.
33300         (exp10_test): Likewise.
33301         (exp2_test): Likewise.
33302         (expm1_test): Likewise.
33303         (fabs_test): Likewise.
33304         (fdim_test): Likewise.
33305         (finite_test): Likewise.
33306         (floor_test): Likewise.
33307         (fma_test): Likewise.
33308         (fma_test_towardzero): Likewise.
33309         (fma_test_downward): Likewise.
33310         (fma_test_upward): Likewise.
33311         (fmax_test): Likewise.
33312         (fmin_test): Likewise.
33313         (fmod_test): Likewise.
33314         (fpclassify_test): Likewise.
33315         (frexp_test): Likewise.
33316         (gamma_test): Likewise.
33317         (hypot_test): Likewise.
33318         (ilogb_test): Likewise.
33319         (isfinite_test): Likewise.
33320         (isgreater_test): Likewise.
33321         (isgreaterequal_test): Likewise.
33322         (isinf_test): Likewise.
33323         (isless_test): Likewise.
33324         (islessequal_test): Likewise.
33325         (islessgreater_test): Likewise.
33326         (isnan_test): Likewise.
33327         (isnormal_test): Likewise.
33328         (issignaling_test): Likewise.
33329         (isunordered_test): Likewise.
33330         (j0_test): Likewise.
33331         (j1_test): Likewise.
33332         (jn_test): Likewise.
33333         (ldexp_test): Likewise.
33334         (lgamma_test): Likewise.
33335         (lrint_test): Likewise.
33336         (lrint_test_tonearest): Likewise.
33337         (lrint_test_towardzero): Likewise.
33338         (lrint_test_downward): Likewise.
33339         (lrint_test_upward): Likewise.
33340         (llrint_test): Likewise.
33341         (llrint_test_tonearest): Likewise.
33342         (llrint_test_towardzero): Likewise.
33343         (llrint_test_downward): Likewise.
33344         (llrint_test_upward): Likewise.
33345         (log_test): Likewise.
33346         (log10_test): Likewise.
33347         (log1p_test): Likewise.
33348         (log2_test): Likewise.
33349         (logb_test): Likewise.
33350         (logb_test_downward): Likewise.
33351         (lround_test): Likewise.
33352         (llround_test): Likewise.
33353         (modf_test): Likewise.
33354         (nearbyint_test): Likewise.
33355         (nextafter_test): Likewise.
33356         (nexttoward_test): Likewise.
33357         (pow_test): Likewise.
33358         (pow_test_tonearest): Likewise.
33359         (pow_test_towardzero): Likewise.
33360         (pow_test_downward): Likewise.
33361         (pow_test_upward): Likewise.
33362         (remainder_test): Likewise.
33363         (remainder_test_tonearest): Likewise.
33364         (remainder_test_towardzero): Likewise.
33365         (remainder_test_downward): Likewise.
33366         (remainder_test_upward): Likewise.
33367         (remquo_test): Likewise.
33368         (rint_test): Likewise.
33369         (rint_test_tonearest): Likewise.
33370         (rint_test_towardzero): Likewise.
33371         (rint_test_downward): Likewise.
33372         (rint_test_upward): Likewise.
33373         (round_test): Likewise.
33374         (scalb_test): Likewise.
33375         (scalbn_test): Likewise.
33376         (scalbln_test): Likewise.
33377         (signbit_test): Likewise.
33378         (sin_test): Likewise.
33379         (sin_test_tonearest): Likewise.
33380         (sin_test_towardzero): Likewise.
33381         (sin_test_downward): Likewise.
33382         (sin_test_upward): Likewise.
33383         (sincos_test): Likewise.
33384         (sinh_test): Likewise.
33385         (sinh_test_tonearest): Likewise.
33386         (sinh_test_towardzero): Likewise.
33387         (sinh_test_downward): Likewise.
33388         (sinh_test_upward): Likewise.
33389         (sqrt_test): Likewise.
33390         (tan_test): Likewise.
33391         (tan_test_tonearest): Likewise.
33392         (tan_test_towardzero): Likewise.
33393         (tan_test_downward): Likewise.
33394         (tan_test_upward): Likewise.
33395         (tanh_test): Likewise.
33396         (tgamma_test): Likewise.
33397         (trunc_test): Likewise.
33398         (y0_test): Likewise.
33399         (y1_test): Likewise.
33400         (yn_test): Likewise.
33401         (significand_test): Likewise.
33403 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33405         [BZ #15381]
33406         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33408 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33410         [BZ #14894]
33411         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33412         __ppc_mdoio and __ppc_mdoom.
33413         * manual/platform.texi: Document new functions __ppc_yield,
33414         __ppc_mdoio and __ppc_mdoom.
33416 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33418         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33419         (main): Mention "tls" pseudo-hwcap is legacy.
33420         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33422 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33424         * math/gen-libm-test.pl (parse_args): Output only string of
33425         arguments as text for test name, not full call or descriptions of
33426         tests for extra outputs.
33427         (generate_testfile): Do not pass function name to parse_args.
33428         Generate this_func variable from START.
33429         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33430         field to arg_str.
33431         (struct test_ff_f_data): Likewise.
33432         (test_ff_f_data_nexttoward): Likewise.
33433         (struct test_fi_f_data): Likewise.
33434         (struct test_fl_f_data): Likewise.
33435         (struct test_if_f_data): Likewise.
33436         (struct test_fff_f_data): Likewise.
33437         (struct test_c_f_data): Likewise.
33438         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33439         (struct test_fF_f1_data): Likewise.
33440         (struct test_ffI_f1_data): Likewise.
33441         (struct test_c_c_data): Rename test_name field to arg_str.
33442         (struct test_cc_c_data): Likewise.
33443         (struct test_f_i_data): Likewise.
33444         (struct test_ff_i_data): Likewise.
33445         (struct test_f_l_data): Likewise.
33446         (struct test_f_L_data): Likewise.
33447         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33448         and extra2_name.
33449         (COMMON_TEST_SETUP): New macro.
33450         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33451         (COMMON_TEST_CLEANUP): Likewise.
33452         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33453         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33454         macros.
33455         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33456         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33457         macros.
33458         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33459         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33460         cleanup macros.
33461         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33462         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33463         macros.
33464         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33465         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33466         macros.
33467         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33468         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33469         cleanup macros.
33470         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33471         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33472         cleanup macros.
33473         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33474         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33475         cleanup macros.
33476         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33477         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33478         macros.
33479         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33480         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33481         macros.
33482         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33483         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33484         macros.
33485         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33486         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33487         cleanup macros.
33488         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33489         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33490         cleanup macros.
33491         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33492         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
33493         macros.
33494         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
33495         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
33496         cleanup macros.
33497         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
33498         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
33499         macros.
33500         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
33501         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
33502         macros.
33503         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
33504         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
33505         cleanup macros.
33506         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
33508 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
33510         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
33511         to _sifields.sigfault.
33512         (si_addr_lsb): Define new macro.
33513         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33514         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33515         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
33517 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
33519         [BZ #15441]
33520         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
33521         returns -1.
33522         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
33523         null return -1.
33524         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
33525         loading the domain.
33527 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33529         * math/gen-libm-test.pl (parse_args): Do not include expected
33530         result in test name.
33531         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
33532         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33533         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33534         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33535         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33538 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33540         * benchtests/Makefile: Sort function entries.
33542         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
33543         tanh, asinh, acosh, atanh.
33544         * benchtests/acos-inputs: New file.
33545         * benchtests/acosh-inputs: New file.
33546         * benchtests/asin-inputs: New file.
33547         * benchtests/asinh-inputs: New file.
33548         * benchtests/atanh-inputs: New file.
33549         * benchtests/cosh-inputs: New file.
33550         * benchtests/log-inputs: New file.
33551         * benchtests/sinh-inputs: New file.
33552         * benchtests/tanh-inputs: New file.
33554 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
33556         [BZ #15339]
33557         * posix/tst-getaddrinfo4.c: New test.
33558         * posix/Makefile (tests): Add it.
33560 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33562         [BZ #15339]
33563         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
33564         when no services were used.
33565         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
33566         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
33568 2013-05-21  Andreas Schwab  <schwab@suse.de>
33570         [BZ #15014]
33571         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
33572         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
33573         successful.
33574         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
33575         redundant variable declarations and reallocation of buffer when
33576         parsing as IPv6 address.  Always set NSS status when called from
33577         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
33578         buffer too small.  Correct computation of needed size.
33579         * nss/Makefile (tests): Add test-digits-dots.
33580         * nss/test-digits-dots.c: New test.
33582 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33584         * benchtests/Makefile: Remove instructions for adding
33585         benchmark tests.
33586         * benchtests/README: New file to explain how to execute and
33587         enhance the benchmark tests.
33589 2013-05-21  Andreas Schwab  <schwab@suse.de>
33591         [BZ #15493]
33592         * setjmp/Makefile (tests): Add tst-sigsetjmp.
33593         * setjmp/tst-sigsetjmp.c: New test.
33595 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33597         * sysdeps/x86_64/memset.S (memset): New implementation.
33598         (__bzero): Likewise.
33599         (__memset_tail): New function.
33601 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
33603         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
33604         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
33605         __memcpy_sse2_unaligned ifunc selection.
33606         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33607         Add memcpy-sse2-unaligned.S.
33608         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33609         Add: __memcpy_sse2_unaligned.
33611 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
33613         [BZ #15490]
33614         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33615         math_force_eval before restoring floating-point envrionment.
33616         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
33617         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
33618         Likewise.
33619         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
33620         <math_private.h>.
33621         (__nearbyintl): Use math_force_eval before restoring
33622         floating-point environment.
33623         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
33625         * math/gen-libm-test.pl (special_functions): Remove.
33626         (parse_args): Don't handle TEST_extra.  Handle functions with no
33627         return value.
33628         * math/libm-test.inc (struct test_sincos_data): Replace with
33629         struct test_fFF_11_data.
33630         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
33631         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
33632         (sincos_test_data): Change element type to struct
33633         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
33634         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
33635         RUN_TEST_LOOP_sincos.
33636         * math/README.libm-test: Don't mention special handling of
33637         individual functions.
33638         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
33639         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33640         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33641         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33642         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33645         * math/gen-libm-test.pl (get_variable): Remove function.
33646         (parse_args): Don't show pointer parameters to call in test
33647         names.  Use "extra output N" in test names for extra outputs
33648         rather than naming variables.
33650 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
33652         [BZ #15488]
33653         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
33654         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
33655         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
33656         double tests.
33657         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
33658         disable.
33659         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
33660         check_long_double.
33662         * math/gen-libm-test.pl (@tests): Remove variable.
33663         ($count): Likewise.
33664         (new_test): Remove function.
33665         (show_exceptions): New function.
33666         (special_functions): Use show_exceptions instead of new_test.
33667         (parse_args): Likewise.
33668         (generate_testfile): Pass only function name in generated call to
33669         print_max_error or print_complex_max_error.
33670         (get_ulps): Do not handle complex tests specially.
33671         (output_test): Rename to ...
33672         (get_all_ulps_for_test): ... this.  Return a string rather than
33673         printing to a file.  Require ulps to be present.
33674         (output_ulps): Generate arrays rather than #defines.
33675         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
33676         (struct ulp_data): New type.
33677         (BUILD_COMPLEX_ULP): Remove macro.
33678         (compare_ulp_data): New function.
33679         (find_ulps): Likewise.
33680         (find_test_ulps): Likewise.
33681         (find_function_ulps): Likewise.
33682         (find_complex_function_ulps): Likewise.
33683         (print_max_error): Determine allowed ulps using
33684         find_function_ulps.
33685         (print_complex_max_error): Determine allowed ulps using
33686         find_complex_function_ulps.
33687         (check_float_internal): Determine max ulps using find_test_ulps.
33688         (check_float): Do not take max_ulp parameter.  Update call to
33689         check_float_internal.
33690         (check_complex): Likewise.
33691         (check_int): Do not take max_ulp parameter.
33692         (check_long): Likewise.
33693         (check_bool): Likewise.
33694         (check_longlong): Likewise.
33695         (struct test_f_f_data): Remove max_ulp field.
33696         (struct test_ff_f_data): Likewise.
33697         (struct test_ff_f_data_nexttoward): Likewise.
33698         (struct test_fi_f_data): Likewise.
33699         (struct test_fl_f_data): Likewise.
33700         (struct test_if_f_data): Likewise.
33701         (struct test_fff_f_data): Likewise.
33702         (struct test_c_f_data): Likewise.
33703         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
33704         (struct test_fF_f1_data): Likewise.
33705         (struct test_ffI_f1_data): Likewise.
33706         (struct test_c_c_data): Remove max_ulp field.
33707         (struct test_cc_c_data): Likewise.
33708         (struct test_f_i_data): Likewise.
33709         (struct test_ff_i_data): Likewise.
33710         (struct test_f_l_data): Likewise.
33711         (struct test_f_L_data): Likewise.
33712         (struct test_sincos_data): Likewise.
33713         (RUN_TEST_f_f): Do not handle ulps.
33714         (RUN_TEST_LOOP_f_f): Likewise.
33715         (RUN_TEST_2_f): Likewise.
33716         (RUN_TEST_LOOP_2_f): Likewise.
33717         (RUN_TEST_fff_f): Likewise.
33718         (RUN_TEST_LOOP_fff_f): Likewise.
33719         (RUN_TEST_c_f): Likewise.
33720         (RUN_TEST_LOOP_c_f): Likewise.
33721         (RUN_TEST_f_f1): Likewise.
33722         (RUN_TEST_LOOP_f_f1): Likewise.
33723         (RUN_TEST_fF_f1): Likewise.
33724         (RUN_TEST_LOOP_fF_f1): Likewise.
33725         (RUN_TEST_fI_f1): Likewise.
33726         (RUN_TEST_LOOP_fI_f1): Likewise.
33727         (RUN_TEST_ffI_f1): Likewise.
33728         (RUN_TEST_LOOP_ffI_f1): Likewise.
33729         (RUN_TEST_c_c): Likewise.
33730         (RUN_TEST_LOOP_c_c): Likewise.
33731         (RUN_TEST_cc_c): Likewise.
33732         (RUN_TEST_LOOP_cc_c): Likewise.
33733         (RUN_TEST_f_i): Likewise.
33734         (RUN_TEST_LOOP_f_i): Likewise.
33735         (RUN_TEST_f_i_tg): Likewise.
33736         (RUN_TEST_LOOP_f_i_tg): Likewise.
33737         (RUN_TEST_ff_i_tg): Likewise.
33738         (RUN_TEST_LOOP_ff_i_tg): Likewise.
33739         (RUN_TEST_f_b): Likewise.
33740         (RUN_TEST_LOOP_f_b): Likewise.
33741         (RUN_TEST_f_b_tg): Likewise.
33742         (RUN_TEST_LOOP_f_b_tg): Likewise.
33743         (RUN_TEST_f_l): Likewise.
33744         (RUN_TEST_LOOP_f_l): Likewise.
33745         (RUN_TEST_f_L): Likewise.
33746         (RUN_TEST_LOOP_f_L): Likewise.
33747         (RUN_TEST_sincos): Likewise.
33748         (RUN_TEST_LOOP_sincos): Likewise.
33750 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
33752         [BZ #15480]
33753         [BZ #15485]
33754         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
33755         main case of finite arguments, set rounding mode to FE_TONEAREST
33756         and discard exceptions.
33757         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
33758         exceptions.
33759         (remainder_tonearest_test_data): New variable.
33760         (remainder_test_tonearest): New function.
33761         (remainder_towardzero_test_data): New variable.
33762         (remainder_test_towardzero): New function.
33763         (remainder_downward_test_data): New variable.
33764         (remainder_test_downward): New function.
33765         (remainder_upward_test_data): New variable.
33766         (remainder_test_upward): New function.
33767         (main): Call the new test functions.
33769         * math/libm-test.inc (struct test_f_f1_data): Remove field
33770         extra_init.
33771         (struct test_fF_f1_data): Likewise.
33772         (struct test_ffI_f1_data): Likewise.
33773         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
33774         based on value of EXTRA_EXPECTED.
33775         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33776         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
33777         EXTRA_VAR based on value of EXTRA_EXPECTED.
33778         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33779         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
33780         EXTRA_VAR based on value of EXTRA_EXPECTED.
33781         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33782         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
33783         EXTRA_VAR based on value of EXTRA_EXPECTED.
33784         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33785         * math/gen-libm-test.pl (parse_args): Don't output initializers
33786         for extra output values.
33788         * math/libm-test.inc (check_int): Expect result to be exactly
33789         equal to expected value and do not handle ulps.
33790         (check_long): Likewise.
33791         (check_longlong): Likewise.
33793         * math/libm-test.inc (ceil_test_data): Test for "inexact"
33794         exceptions.
33795         (cimag_test_data): Likewise.
33796         (conj_test_data): Likewise.
33797         (copysign_test_data): Likewise.
33798         (cproj_test_data): Likewise.
33799         (creal_test_data): Likewise.
33800         (fabs_test_data): Likewise.
33801         (fdim_test_data): Likewise.
33802         (finite_test_data): Likewise.
33803         (floor_test_data): Likewise.
33804         (fmax_test_data): Likewise.
33805         (fmin_test_data): Likewise.
33806         (fmod_test_data): Likewise.
33807         (fpclassify_test_data): Likewise.
33808         (frexp_test_data): Likewise.
33809         (ilogb_test_data): Likewise.
33810         (isfinite_test_data): Likewise.
33811         (isgreater_test_data): Likewise.
33812         (isgreaterequal_test_data): Likewise.
33813         (isinf_test_data): Likewise.
33814         (isless_test_data): Likewise.
33815         (islessequal_test_data): Likewise.
33816         (islessgreater_test_data): Likewise.
33817         (isnan_test_data): Likewise.
33818         (isnormal_test_data): Likewise.
33819         (issignaling_test_data): Likewise.
33820         (isunordered_test_data): Likewise.
33821         (ldexp_test_data): Likewise.
33822         (lrint_test_data): Likewise.
33823         (lrint_test_data) [TEST_FLOAT]: Disable one test.
33824         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33825         (lrint_tonearest_test_data): Test for "inexact" exceptions.
33826         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33827         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33828         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33829         test input.
33830         (lrint_towardzero_test_data): Test for "inexact" exceptions.
33831         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33832         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33833         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33834         that test input.
33835         (lrint_downward_test_data): Test for "inexact" exceptions.
33836         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33837         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33838         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33839         test input.
33840         (lrint_upward_test_data): Test for "inexact" exceptions.
33841         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33842         test input.
33843         (llrint_test_data): Test for "inexact" exceptions.
33844         (llrint_test_data) [TEST_FLOAT]: Disable one test.
33845         (llrint_tonearest_test_data): Test for "inexact" exceptions.
33846         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33847         (llrint_towardzero_test_data): Test for "inexact" exceptions.
33848         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33849         (llrint_downward_test_data): Test for "inexact" exceptions.
33850         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33851         (llrint_upward_test_data): Test for "inexact" exceptions.
33852         (logb_test_data): Likewise.
33853         (logb_downward_test_data): Likewise.
33854         (nextafter_test_data): Likewise.
33855         (nexttoward_test_data): Likewise.
33856         (remainder_test_data): Likewise.
33857         (remquo_test_data): Likewise.
33858         (scalbn_test_data): Likewise.
33859         (scalbln_test_data): Likewise.
33860         (signbit_test_data): Likewise.
33861         (sqrt_test_data): Likewise.
33862         (significand_test_data): Likewise.
33864 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33866         [BZ #15424]
33867         * benchtests/bench-modf.c (struct args): Mark arg0 as
33868         volatile.
33869         * scripts/bench.pl: Mark members of struct args as volatile.
33871 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33873         [BZ # 15497]
33874         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33875         negative infinity on POWER6 or lower.
33876         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33878 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33880         [BZ #15442]
33881         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33882         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33883         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33884         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33885         (_FP_SETQNAN): New macro.
33886         (_FP_SETQNAN_SEMIRAW): Likewise.
33887         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33888         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33889         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33890         (FP_EXTEND): Use _FP_FRAC_SNANP.
33891         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33892         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33893         into account.
33894         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33895         New macro.
33896         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33897         Likewise.
33899 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33901         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33902         with DIVIDE_BY_ZERO_EXCEPTION.
33903         (gamma_test_data): Likewise.
33904         (lgamma_test_data): Likewise.
33905         (log_test_data): Likewise.
33906         (log10_test_data): Likewise.
33907         (log2_test_data): Likewise.
33908         (tgamma_test_data): Likewise.
33910         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33911         (acos_test_tonearest): Likewise.
33912         (acos_test_towardzero): Likewise.
33913         (acos_test_downward): Likewise.
33914         (acos_test_upward): Likewise.
33915         (acosh_test): Likewise.
33916         (asin_test): Likewise.
33917         (asin_test_tonearest): Likewise.
33918         (asin_test_towardzero): Likewise.
33919         (asin_test_downward): Likewise.
33920         (asin_test_upward): Likewise.
33921         (asinh_test): Likewise.
33922         (atan_test): Likewise.
33923         (atanh_test): Likewise.
33924         (atan2_test): Likewise.
33925         (cabs_test): Likewise.
33926         (cacos_test): Likewise.
33927         (cacosh_test): Likewise.
33928         (casin_test): Likewise.
33929         (casinh_test): Likewise.
33930         (catan_test): Likewise.
33931         (catanh_test): Likewise.
33932         (cbrt_test): Likewise.
33933         (ccos_test): Likewise.
33934         (ccosh_test): Likewise.
33935         (cexp_test): Likewise.
33936         (clog_test): Likewise.
33937         (clog10_test): Likewise.
33938         (cos_test): Likewise.
33939         (cos_test_tonearest): Likewise.
33940         (cos_test_towardzero): Likewise.
33941         (cos_test_downward): Likewise.
33942         (cos_test_upward): Likewise.
33943         (cosh_test): Likewise.
33944         (cosh_test_tonearest): Likewise.
33945         (cosh_test_towardzero): Likewise.
33946         (cosh_test_downward): Likewise.
33947         (cosh_test_upward): Likewise.
33948         (cpow_test): Likewise.
33949         (csin_test): Likewise.
33950         (csinh_test): Likewise.
33951         (csqrt_test): Likewise.
33952         (ctan_test): Likewise.
33953         (ctan_test_tonearest): Likewise.
33954         (ctan_test_towardzero): Likewise.
33955         (ctan_test_downward): Likewise.
33956         (ctan_test_upward): Likewise.
33957         (ctanh_test): Likewise.
33958         (ctanh_test_tonearest): Likewise.
33959         (ctanh_test_towardzero): Likewise.
33960         (ctanh_test_downward): Likewise.
33961         (ctanh_test_upward): Likewise.
33962         (erf_test): Likewise.
33963         (erfc_test): Likewise.
33964         (exp_test): Likewise.
33965         (exp_test_tonearest): Likewise.
33966         (exp_test_towardzero): Likewise.
33967         (exp_test_downward): Likewise.
33968         (exp_test_upward): Likewise.
33969         (exp10_test): Likewise.
33970         (exp2_test): Likewise.
33971         (expm1_test): Likewise.
33972         (fmod_test): Likewise.
33973         (gamma_test): Likewise.
33974         (hypot_test): Likewise.
33975         (j0_test): Likewise.
33976         (j1_test): Likewise.
33977         (jn_test): Likewise.
33978         (lgamma_test): Likewise.
33979         (log_test): Likewise.
33980         (log10_test): Likewise.
33981         (log1p_test): Likewise.
33982         (log2_test): Likewise.
33983         (logb_test_downward): Likewise.
33984         (pow_test): Likewise.
33985         (pow_test_tonearest): Likewise.
33986         (pow_test_towardzero): Likewise.
33987         (pow_test_downward): Likewise.
33988         (pow_test_upward): Likewise.
33989         (remainder_test): Likewise.
33990         (remquo_test): Likewise.
33991         (sin_test): Likewise.
33992         (sin_test_tonearest): Likewise.
33993         (sin_test_towardzero): Likewise.
33994         (sin_test_downward): Likewise.
33995         (sin_test_upward): Likewise.
33996         (sincos_test): Likewise.
33997         (sinh_test): Likewise.
33998         (sinh_test_tonearest): Likewise.
33999         (sinh_test_towardzero): Likewise.
34000         (sinh_test_downward): Likewise.
34001         (sinh_test_upward): Likewise.
34002         (sqrt_test): Likewise.
34003         (tan_test): Likewise.
34004         (tan_test_tonearest): Likewise.
34005         (tan_test_towardzero): Likewise.
34006         (tan_test_downward): Likewise.
34007         (tan_test_upward): Likewise.
34008         (tanh_test): Likewise.
34009         (tgamma_test): Likewise.
34010         (y0_test): Likewise.
34011         (y1_test): Likewise.
34012         (yn_test): Likewise.
34014         * math/gen-libm-test.pl (adjust_arg): Remove function.
34015         (special_function): Remove argument $in_func.  Only handle
34016         generating output for tables of tests, not inside functions.
34017         (parse_args): Likewise.
34018         (generate_testfile): Remove variable $in_func.  Update call to
34019         parse_args.
34020         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34021         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34022         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34023         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34024         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34025         (MAX_VALUE_INIT): Rename macro to max_value.
34026         (MIN_VALUE_INIT): Rename macro to min_value.
34027         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34028         (plus_zero): Remove variable.
34029         (minus_zero): Likewise.
34030         (plus_infty): Likewise.
34031         (minus_infty): Likewise.
34032         (qnan_value): Likewise.
34033         (max_value): Likewise.
34034         (min_value): Likewise.
34035         (min_subnorm_value): Likewise.
34037 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34039         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34040         uint64_t or uint32_t usage.
34041         * crypt/sha256-block.c: Likewise.
34042         * crypt/sha256-crypt.c: Likewise.
34043         * crypt/sha256.c: Likewise.
34044         * crypt/sha512-block.c: Likewise.
34045         * crypt/sha512-crypt.c: Likewise.
34046         * crypt/sha512.c: Likewise.
34047         * debug/backtrace-tst.c: Likewise.
34048         * debug/pcprofiledump.c: Likewise.
34049         * elf/cache.c: Likewise.
34050         * elf/dl-cache.c: Likewise.
34051         * elf/dl-misc.c: Likewise.
34052         * elf/dl-profile.c: Likewise.
34053         * elf/dl-support.c: Likewise.
34054         * elf/ldconfig.c: Likewise.
34055         * elf/sprof.c: Likewise.
34056         * iconv/dummy-repertoire.c: Likewise.
34057         * iconv/iconv_charmap.c: Likewise.
34058         * iconv/skeleton.c: Likewise.
34059         * iconvdata/8bit-generic.c: Likewise.
34060         * iconvdata/cp737.h: Likewise.
34061         * iconvdata/cp775.h: Likewise.
34062         * iconvdata/ibm1008.h: Likewise.
34063         * iconvdata/ibm1025.h: Likewise.
34064         * iconvdata/ibm1046.h: Likewise.
34065         * iconvdata/ibm1097.h: Likewise.
34066         * iconvdata/ibm1112.h: Likewise.
34067         * iconvdata/ibm1122.h: Likewise.
34068         * iconvdata/ibm1123.h: Likewise.
34069         * iconvdata/ibm1124.h: Likewise.
34070         * iconvdata/ibm1129.h: Likewise.
34071         * iconvdata/ibm1130.h: Likewise.
34072         * iconvdata/ibm1132.h: Likewise.
34073         * iconvdata/ibm1133.h: Likewise.
34074         * iconvdata/ibm1137.h: Likewise.
34075         * iconvdata/ibm1140.h: Likewise.
34076         * iconvdata/ibm1141.h: Likewise.
34077         * iconvdata/ibm1142.h: Likewise.
34078         * iconvdata/ibm1143.h: Likewise.
34079         * iconvdata/ibm1144.h: Likewise.
34080         * iconvdata/ibm1145.h: Likewise.
34081         * iconvdata/ibm1146.h: Likewise.
34082         * iconvdata/ibm1147.h: Likewise.
34083         * iconvdata/ibm1148.h: Likewise.
34084         * iconvdata/ibm1149.h: Likewise.
34085         * iconvdata/ibm1153.h: Likewise.
34086         * iconvdata/ibm1154.h: Likewise.
34087         * iconvdata/ibm1155.h: Likewise.
34088         * iconvdata/ibm1156.h: Likewise.
34089         * iconvdata/ibm1157.h: Likewise.
34090         * iconvdata/ibm1158.h: Likewise.
34091         * iconvdata/ibm1160.h: Likewise.
34092         * iconvdata/ibm1161.h: Likewise.
34093         * iconvdata/ibm1162.h: Likewise.
34094         * iconvdata/ibm1163.h: Likewise.
34095         * iconvdata/ibm1164.h: Likewise.
34096         * iconvdata/ibm1166.h: Likewise.
34097         * iconvdata/ibm1167.h: Likewise.
34098         * iconvdata/ibm12712.h: Likewise.
34099         * iconvdata/ibm1390.h: Likewise.
34100         * iconvdata/ibm1399.h: Likewise.
34101         * iconvdata/ibm16804.h: Likewise.
34102         * iconvdata/ibm4517.h: Likewise.
34103         * iconvdata/ibm4899.h: Likewise.
34104         * iconvdata/ibm4909.h: Likewise.
34105         * iconvdata/ibm4971.h: Likewise.
34106         * iconvdata/ibm5347.h: Likewise.
34107         * iconvdata/ibm803.h: Likewise.
34108         * iconvdata/ibm856.h: Likewise.
34109         * iconvdata/ibm901.h: Likewise.
34110         * iconvdata/ibm902.h: Likewise.
34111         * iconvdata/ibm9030.h: Likewise.
34112         * iconvdata/ibm9066.h: Likewise.
34113         * iconvdata/ibm921.h: Likewise.
34114         * iconvdata/ibm922.h: Likewise.
34115         * iconvdata/ibm9448.h: Likewise.
34116         * iconvdata/isiri-3342.h: Likewise.
34117         * iconvdata/jis0201.h: Likewise.
34118         * include/link.h: Likewise.
34119         * include/netdb.h: Likewise.
34120         * inet/check_native.c: Likewise.
34121         * inet/check_pf.c: Likewise.
34122         * inet/getipv4sourcefilter.c: Likewise.
34123         * inet/getnameinfo.c: Likewise.
34124         * inet/getsourcefilter.c: Likewise.
34125         * inet/htonl.c: Likewise.
34126         * inet/setipv4sourcefilter.c: Likewise.
34127         * inet/setsourcefilter.c: Likewise.
34128         * inet/test-inet6_opt.c: Likewise.
34129         * inet/tst-network.c: Likewise.
34130         * locale/C-collate.c: Likewise.
34131         * locale/C-ctype.c: Likewise.
34132         * locale/C-time.c: Likewise.
34133         * locale/C-translit.h: Likewise.
34134         * locale/loadarchive.c: Likewise.
34135         * locale/programs/3level.h: Likewise.
34136         * locale/programs/charmap.c: Likewise.
34137         * locale/programs/charmap.h: Likewise.
34138         * locale/programs/ld-address.c: Likewise.
34139         * locale/programs/ld-collate.c: Likewise.
34140         * locale/programs/ld-ctype.c: Likewise.
34141         * locale/programs/ld-identification.c: Likewise.
34142         * locale/programs/ld-measurement.c: Likewise.
34143         * locale/programs/ld-messages.c: Likewise.
34144         * locale/programs/ld-monetary.c: Likewise.
34145         * locale/programs/ld-name.c: Likewise.
34146         * locale/programs/ld-numeric.c: Likewise.
34147         * locale/programs/ld-paper.c: Likewise.
34148         * locale/programs/ld-telephone.c: Likewise.
34149         * locale/programs/ld-time.c: Likewise.
34150         * locale/programs/linereader.c: Likewise.
34151         * locale/programs/locale.c: Likewise.
34152         * locale/programs/locarchive.c: Likewise.
34153         * locale/programs/locfile.h: Likewise.
34154         * locale/programs/repertoire.c: Likewise.
34155         * locale/programs/simple-hash.c: Likewise.
34156         * locale/programs/simple-hash.h: Likewise.
34157         * malloc/memusage.c: Likewise.
34158         * malloc/memusagestat.c: Likewise.
34159         * nis/nis_defaults.c: Likewise.
34160         * nis/nis_hash.c: Likewise.
34161         * nis/nis_print.c: Likewise.
34162         * nis/nis_xdr.c: Likewise.
34163         * nscd/connections.c: Likewise.
34164         * nscd/hstcache.c: Likewise.
34165         * nscd/nscd_gethst_r.c: Likewise.
34166         * nscd/nscd_getserv_r.c: Likewise.
34167         * nscd/nscd_helper.c: Likewise.
34168         * nscd/servicescache.c: Likewise.
34169         * nss/makedb.c: Likewise.
34170         * nss/nss_db/db-XXX.c: Likewise.
34171         * nss/nss_db/db-initgroups.c: Likewise.
34172         * nss/nss_db/db-netgrp.c: Likewise.
34173         * nss/nss_files/files-network.c: Likewise.
34174         * nss/nss_files/files-parse.c: Likewise.
34175         * posix/bug-regex5.c: Likewise.
34176         * posix/fnmatch_loop.c: Likewise.
34177         * posix/regcomp.c: Likewise.
34178         * posix/regexec.c: Likewise.
34179         * posix/tst-rfc3484-2.c: Likewise.
34180         * posix/tst-rfc3484-3.c: Likewise.
34181         * posix/tst-rfc3484.c: Likewise.
34182         * resolv/nss_dns/dns-canon.c: Likewise.
34183         * resolv/nss_dns/dns-network.c: Likewise.
34184         * resolv/res_init.c: Likewise.
34185         * resolv/res_mkquery.c: Likewise.
34186         * resolv/tst-aton.c: Likewise.
34187         * stdlib/cxa_atexit.c: Likewise.
34188         * stdlib/cxa_finalize.c: Likewise.
34189         * stdlib/gen-fpioconst.c: Likewise.
34190         * stdlib/strtol_l.c: Likewise.
34191         * string/tst-endian.c: Likewise.
34192         * sunrpc/auth_des.c: Likewise.
34193         * sunrpc/clnt_udp.c: Likewise.
34194         * sunrpc/rtime.c: Likewise.
34195         * sunrpc/svcauth_des.c: Likewise.
34196         * sunrpc/xdr.c: Likewise.
34197         * sunrpc/xdr_intXX_t.c: Likewise.
34198         * sunrpc/xdr_rec.c: Likewise.
34199         * sysdeps/generic/ldconfig.h: Likewise.
34200         * sysdeps/generic/ldsodefs.h: Likewise.
34201         * sysdeps/generic/memusage.h: Likewise.
34202         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34203         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34204         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34205         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34206         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34207         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34208         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34209         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34210         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34211         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34212         * sysdeps/posix/getaddrinfo.c: Likewise.
34213         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34214         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34215         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34216         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34217         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34218         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34219         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34220         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34221         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34222         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34223         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34224         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34225         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34226         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34227         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34228         * sysdeps/x86_64/dl-tls.h: Likewise.
34229         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34230         * time/alt_digit.c: Likewise.
34231         * time/era.c: Likewise.
34232         * wcsmbs/tst-c16c32-1.c: Likewise.
34234 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34236         * math/libm-test.inc (struct test_sincos_data): New type.
34237         (RUN_TEST_LOOP_sincos): New macro.
34238         (sincos_test_data): New variable.
34239         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34241 2013-05-16  Richard Henderson  <rth@redhat.com>
34243         * math/atest-exp2.c (LIMB64): New macro.
34244         (CONSTSZ): New macro.
34245         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34246         (hexdig): Move ...
34247         (print_mpn_fp): ... to function scope.
34248         (read_mpn_hex): Remove.
34249         (get_log2): Remove.
34250         (exp2_mpn): Use mp_log2.
34251         (main): Use mp_exp1.
34253 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34255         * math/libm-test.inc: Remove comment about not testing "inexact"
34256         exceptions.
34257         (INEXACT_EXCEPTION): New macro.
34258         (NO_INEXACT_EXCEPTION): Likewise.
34259         (INVALID_EXCEPTION_OK): Update value.
34260         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34261         (OVERFLOW_EXCEPTION_OK): Likewise.
34262         (UNDERFLOW_EXCEPTION_OK): Likewise.
34263         (IGNORE_ZERO_INF_SIGN): Likewise.
34264         (ERRNO_UNCHANGED): Likewise.
34265         (ERRNO_EDOM): Likewise.
34266         (ERRNO_ERANGE): Likewise.
34267         (test_exceptions): Handle testing "inexact" exceptions.
34268         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34269         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34270         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34271         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34272         INEXACT_EXCEPTION.
34273         (rint_towardzero_test_data): Likewise.
34274         (rint_downward_test_data): Likewise.
34275         (rint_upward_test_data): Likewise.
34277         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34278         with OVERFLOW_EXCEPTION.
34279         (exp10_test_data): Likewise.
34280         (exp2_test_data): Likewise.
34281         (expm1_test_data): Likewise.
34282         (lgamma_test_data): Likewise.
34283         (pow_test_data): Likewise.
34284         (tgamma_test_data): Likewise.
34285         (yn_test_data): Remove duplicate test of overflow.
34287         * math/libm-test.inc (struct test_cc_c_data): New type.
34288         (RUN_TEST_LOOP_cc_c): New macro.
34289         (cpow_test_data): New variable.
34290         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34292         * math/libm-test.inc (struct test_f_L_data): New type.
34293         (RUN_TEST_LOOP_f_L): New macro.
34294         (llrint_test_data): New variable.
34295         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34296         (llrint_tonearest_test_data): New variable.
34297         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34298         (llrint_towardzero_test_data): New variable.
34299         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34300         (llrint_downward_test_data): New variable.
34301         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34302         (llrint_upward_test_data): New variable.
34303         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34304         (llround_test_data): New variable.
34305         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34307 2013-05-13  Peter Collingbourne  <pcc@google.com>
34309         * math/atest-exp2.c (get_log2): Remove const attribute.
34311 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34313         * math/libm-test.inc (struct test_f_l_data): New type.
34314         (RUN_TEST_LOOP_f_l): New macro.
34315         (lrint_test_data): New variable.
34316         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34317         (lrint_tonearest_test_data): New variable.
34318         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34319         (lrint_towardzero_test_data): New variable.
34320         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34321         (lrint_downward_test_data): New variable.
34322         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34323         (lrint_upward_test_data): New variable.
34324         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34325         (lround_test_data): New variable.
34326         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34328 2013-05-15  Peter Collingbourne  <pcc@google.com>
34330         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34331         (EXTRACT_WORDS64) Use where appropriate.
34332         (INSERT_WORDS64) Likewise.
34334         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34335         constraints with x constraints.
34336         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34338         * malloc/obstack.c (_obstack_compat): Add initializer.
34340 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34342         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34343         si_trapno and add si_addr_lsb to _sifields.sigfault.
34344         (si_trapno): Remove macro.
34345         (si_addr_lsb): Define new macro.
34346         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34348 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34350         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34351         instead of TEST_f_l.
34352         (llrint_test_tonearest): Likewise.
34353         (llrint_test_towardzero): Likewise.
34354         (llrint_test_downward): Likewise.
34355         (llrint_test_upward): Likewise.
34356         (llround_test): Likewise.
34358         * math/libm-test.inc (struct test_f_i_data): Add comment.
34359         (RUN_TEST_LOOP_f_b): New macro.
34360         (RUN_TEST_LOOP_f_b_tg): Likewise.
34361         (finite_test_data): New variable.
34362         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34363         (isfinite_test_data): New variable.
34364         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34365         (isinf_test_data): New variable.
34366         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34367         (isnan_test_data): New variable.
34368         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34369         (isnormal_test_data): New variable.
34370         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34371         (issignaling_test_data): New variable.
34372         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34373         (signbit_test_data): New variable.
34374         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34376         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34377         with INVALID_EXCEPTION.
34378         (acosh_test_data): Likewise.
34379         (asin_test_data): Likewise.
34380         (atanh_test_data): Likewise.
34381         (fmod_test_data): Likewise.
34382         (log_test_data): Likewise.
34383         (log10_test_data): Likewise.
34384         (log2_test_data): Likewise.
34385         (pow_test_data): Likewise.
34386         (sqrt_test_data): Likewise.
34387         (y0_test_data): Likewise.
34388         (y1_test_data): Likewise.
34389         (yn_test_data): Likewise.
34391         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34392         function contents.
34394         * math/libm-test.inc (struct test_ff_i_data): New type.
34395         (RUN_TEST_LOOP_ff_i_tg): New macro.
34396         (isgreater_test_data): New variable.
34397         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34398         (isgreaterequal_test_data): New variable.
34399         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34400         (isless_test_data): New variable.
34401         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34402         (islessequal_test_data): New variable.
34403         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34404         (islessgreater_test_data): New variable.
34405         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34406         (isunordered_test_data): New variable.
34407         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34409 2013-05-14  David S. Miller  <davem@davemloft.net>
34411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34413 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34415         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34417         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34418         extra_test to int.
34419         (struct test_f_i_data): Change type of max_ulp to int.
34421         * math/libm-test.inc (test_ffI_f1_data): New type.
34422         (RUN_TEST_LOOP_ffI_f1): New macro.
34423         (remquo_test_data): New variable.
34424         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34426         * setjmp/tst-setjmp-fp.c: New file.
34427         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34428         (link-libm): New variable.
34429         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34431         * math/libm-test.inc (struct test_f_i_data): New type.
34432         (RUN_TEST_LOOP_f_i): New macro.
34433         (RUN_TEST_LOOP_f_i_tg): Likewise.
34434         (fpclassify_test_data): New variable.
34435         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34436         (ilogb_test_data): New variable.
34437         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34439         * math/libm-test.inc (scalbln_test): Correct function name in END
34440         call.
34442         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34443         (RUN_TEST_LOOP_fI_f1): New macro.
34444         (frexp_test_data): New variable.
34445         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34447         * math/libm-test.inc (struct test_fF_f1_data): New type.
34448         (RUN_TEST_LOOP_fF_f1): New macro.
34449         (modf_test_data): New variable.
34450         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34452         * math/libm-test.inc (struct test_f_f1_data): New type.
34453         (RUN_TEST_LOOP_f_f1): New macro.
34454         (gamma_test_data): New variable.
34455         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34456         (lgamma_test_data): New variable.
34457         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34459 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34461         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34462         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34463         (main): Comment "tls" pseudo-hwcap.
34465 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34467         * math/libm-test.inc (struct test_fl_f_data): New type.
34468         (RUN_TEST_LOOP_fl_f): New variable.
34469         (scalbln_test_data): New variable.
34470         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34472         * math/libm-test.inc (struct test_fi_f_data): New type.
34473         (RUN_TEST_LOOP_fi_f): New macro.
34474         (ldexp_test_data): New variable.
34475         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34476         (scalbn_test_data): New variable.
34477         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34479         * math/libm-test.inc (struct test_c_f_data): New type.
34480         (RUN_TEST_LOOP_c_f): New macro.
34481         (cabs_test_data): New variable.
34482         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34483         (carg_test_data): New variable.
34484         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34485         (cimag_test_data): New variable.
34486         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34487         (creal_test_data): New variable.
34488         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34490         * math/libm-test.inc (struct test_if_f_data): New type.
34491         (RUN_TEST_LOOP_if_f): New macro.
34492         (jn_test_data): New variable.
34493         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
34494         (yn_test_data): New variable.
34495         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
34497         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
34499 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34501         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
34502         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
34504 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34506         * benchtests/Makefile (CPPFLAGS-nonlib): Add
34507         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
34508         (bench-deps): Add bench-timing.h.
34509         * benchtests-bench-skeleton.c: Include bench-timing.h.
34510         (main): Use TIMING_* macros instead of clock_gettime.
34511         * benchtests/bench-timing.h: New file.
34513         [BZ #14582]
34514         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
34515         Renamed from _LIB_VERSION.
34516         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
34518 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
34520         * math/libm-test.inc (struct test_fff_f_data): New type.
34521         (RUN_TEST_LOOP_fff_f): New macro.
34522         (fma_test_data): New variable.
34523         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
34524         (fma_towardzero_test_data): New variable.
34525         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
34526         (fma_downward_test_data): New variable.
34527         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
34528         (fma_upward_test_data): New variable.
34529         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
34531         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
34532         (struct test_c_c_data): New type.
34533         (RUN_TEST_LOOP_c_c): New macro.
34534         (cacos_test_data): New variable.
34535         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
34536         (cacosh_test_data): New variable.
34537         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
34538         (casin_test_data): New variable.
34539         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
34540         (casinh_test_data): New variable.
34541         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
34542         (catan_test_data): New variable.
34543         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34544         (catanh_test_data): New variable.
34545         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
34546         (ccos_test_data): New variable.
34547         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
34548         (ccosh_test_data): New variable.
34549         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
34550         (cexp_test_data): New variable.
34551         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
34552         (clog_test_data): New variable.
34553         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
34554         (clog10_test_data): New variable.
34555         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
34556         (conj_test_data): New variable.
34557         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
34558         (cproj_test_data): New variable.
34559         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
34560         (csin_test_data): New variable.
34561         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
34562         (csinh_test_data): New variable.
34563         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
34564         (csqrt_test_data): New variable.
34565         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
34566         (ctan_test_data): New variable.
34567         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
34568         (ctan_tonearest_test_data): New variable.
34569         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34570         (ctan_towardzero_test_data): New variable.
34571         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34572         (ctan_downward_test_data): New variable.
34573         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34574         (ctan_upward_test_data): New variable.
34575         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34576         (ctanh_test_data): New variable.
34577         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
34578         (ctanh_tonearest_test_data): New variable.
34579         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
34580         (ctanh_towardzero_test_data): New variable.
34581         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
34582         (ctanh_downward_test_data): New variable.
34583         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
34584         (ctanh_upward_test_data): New variable.
34585         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
34586         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
34587         of BUILD_COMPLEX.
34589         * math/libm-test.inc (struct test_ff_f_data): New type.
34590         (struct test_ff_f_data_nexttoward): Likewise.
34591         (RUN_TEST_LOOP_2_f): New macro.
34592         (RUN_TEST_LOOP_ff_f): Likewise.
34593         (atan2_test_data): New variable.
34594         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
34595         (copysign_test_data): New variable.
34596         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
34597         (fdim_test_data): New variable.
34598         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
34599         (fmax_test_data): New variable.
34600         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
34601         (fmin_test_data): New variable.
34602         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
34603         (fmod_test_data): New variable.
34604         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
34605         (hypot_test_data): New variable.
34606         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
34607         (nextafter_test_data): New variable.
34608         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
34609         (nexttoward_test_data): New variable.
34610         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
34611         (pow_test_data): New variable.
34612         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
34613         (pow_tonearest_test_data): New variable.
34614         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
34615         (pow_towardzero_test_data): New variable.
34616         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
34617         (pow_downward_test_data): New variable.
34618         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
34619         (pow_upward_test_data): New variable.
34620         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
34621         (remainder_test_data): New variable.
34622         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
34623         (scalb_test_data): New variable.
34624         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
34625         * sysdeps/i386/fpu/libm-test-ulps: Update.
34627 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
34629         * math/libm-test.inc (fma_test): Use max_value instead of local
34630         variable fltmax.
34631         (nextafter_test): Likewise.
34633         * math/libm-test.inc (acos_towardzero_test_data): New variable.
34634         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34635         (acos_downward_test_data): New variable.
34636         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34637         (acos_upward_test_data): New variable.
34638         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34639         (acosh_test_data): New variable.
34640         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
34641         (asin_test_data): New variable.
34642         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
34643         (asin_tonearest_test_data): New variable.
34644         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34645         (asin_towardzero_test_data): New variable.
34646         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34647         (asin_downward_test_data): New variable.
34648         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34649         (asin_upward_test_data): New variable.
34650         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34651         (asinh_test_data): New variable.
34652         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
34653         (atan_test_data): New variable.
34654         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
34655         (atanh_test_data): New variable.
34656         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
34657         (cbrt_test_data): New variable.
34658         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
34659         (ceil_test_data): New variable.
34660         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
34661         (cos_test_data): New variable.
34662         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
34663         (cos_tonearest_test_data): New variable.
34664         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34665         (cos_towardzero_test_data): New variable.
34666         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34667         (cos_downward_test_data): New variable.
34668         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34669         (cos_upward_test_data): New variable.
34670         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34671         (cosh_test_data): New variable.
34672         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
34673         (cosh_tonearest_test_data): New variable.
34674         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34675         (cosh_towardzero_test_data): New variable.
34676         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34677         (cosh_downward_test_data): New variable.
34678         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34679         (cosh_upward_test_data): New variable.
34680         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34681         (erf_test_data): New variable.
34682         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
34683         (erfc_test_data): New variable.
34684         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
34685         (exp_test_data): New variable.
34686         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
34687         (exp_tonearest_test_data): New variable.
34688         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34689         (exp_towardzero_test_data): New variable.
34690         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34691         (exp_downward_test_data): New variable.
34692         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34693         (exp_upward_test_data): New variable.
34694         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34695         (exp10_test_data): New variable.
34696         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
34697         (exp2_test_data): New variable.
34698         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
34699         (expm1_test_data): New variable.
34700         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
34701         (fabs_test_data): New variable.
34702         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
34703         (floor_test_data): New variable.
34704         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
34705         (j0_test_data): New variable.
34706         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
34707         (j1_test_data): New variable.
34708         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
34709         (log_test_data): New variable.
34710         (log_test): Run tests with RUN_TEST_LOOP_f_f.
34711         (log10_test_data): New variable.
34712         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
34713         (log1p_test_data): New variable.
34714         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
34715         (log2_test_data): New variable.
34716         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
34717         (logb_test_data): New variable.
34718         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
34719         (logb_downward_test_data): New variable.
34720         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34721         (nearbyint_test_data): New variable.
34722         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
34723         (rint_test_data): New variable.
34724         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
34725         (rint_tonearest_test_data): New variable.
34726         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34727         (rint_towardzero_test_data): New variable.
34728         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34729         (rint_downward_test_data): New variable.
34730         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34731         (rint_upward_test_data): New variable.
34732         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34733         (round_test_data): New variable.
34734         (round_test): Run tests with RUN_TEST_LOOP_f_f.
34735         (sin_test_data): New variable.
34736         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
34737         (sin_tonearest_test_data): New variable.
34738         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34739         (sin_towardzero_test_data): New variable.
34740         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34741         (sin_downward_test_data): New variable.
34742         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34743         (sin_upward_test_data): New variable.
34744         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34745         (sinh_test_data): New variable.
34746         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
34747         (sinh_tonearest_test_data): New variable.
34748         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34749         (sinh_towardzero_test_data): New variable.
34750         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34751         (sinh_downward_test_data): New variable.
34752         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34753         (sinh_upward_test_data): New variable.
34754         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34755         (sqrt_test_data): New variable.
34756         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
34757         (tan_test_data): New variable.
34758         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
34759         (tan_tonearest_test_data): New variable.
34760         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34761         (tan_towardzero_test_data): New variable.
34762         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
34763         (tan_downward_test_data): New variable.
34764         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
34765         (tan_upward_test_data): New variable.
34766         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
34767         (tanh_test_data): New variable.
34768         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
34769         (tgamma_test_data): New variable.
34770         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
34771         (trunc_test_data): New variable.
34772         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
34773         (y0_test_data): New variable.
34774         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
34775         (y1_test_data): New variable.
34776         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
34777         (significand_test_data): New variable.
34778         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
34780 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
34782         [BZ #12387]
34783         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
34785 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34787         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
34789 2013-05-10  Andreas Jaeger  <aj@suse.de>
34791         [BZ #15448]
34792         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
34793         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
34795 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34797         * math/gen-libm-test.pl (adjust_arg): New function.
34798         (special_functions): Handle generating output in both functions
34799         and arrays.
34800         (parse_args): Likewise.
34801         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
34802         $in_func argument to parse_args.
34803         * math/libm-test.inc (struct test_f_f_data): New type.
34804         (IF_ROUND_INIT_): New macro.
34805         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
34806         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34807         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34808         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34809         (ROUND_RESTORE_): Likewise.
34810         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
34811         (ROUND_RESTORE_FE_TONEAREST): Likewise.
34812         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
34813         (ROUND_RESTORE_FE_UPWARD): Likewise.
34814         (RUN_TEST_LOOP_f_f): New macro.
34815         (acos_test_data): New variable.
34816         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
34817         (acos_tonearest_test_data): New variable.
34818         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
34820 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34822         * benchtests/bench-skeleton.c (startup): Fix coding style.
34824 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
34826         [BZ #6809]
34827         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34828         negative infinity argument.
34829         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34830         negative infinity argument.
34831         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34832         negative infinity argument.
34833         * math/libm-test.inc (tgamma_test): Expect errno to be set for
34834         domain errors.
34836 2013-05-10  Florian Weimer  <fweimer@redhat.com>
34838         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34839         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34840         * iconv/iconv_prog.c (main): Likewise.
34841         * locale/programs/charmap-dir.c (charmap_readdir)
34842         (fopen_uncompressed): Likewise.
34843         * locale/programs/locfile.c (siblings_uncached)
34844         (write_locale_data): Use lstat64 instead of lstat.
34845         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34846         stat.
34848 2013-05-10  Andreas Jaeger  <aj@suse.de>
34850         [BZ #15395]
34851         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34852         localization.
34853         Include <locale.h>.
34855 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
34857         * elf/dl-close.c (_dl_close_worker): Add comments.
34859 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
34861         [BZ #15359]
34862         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34863         high part of pi/2.
34864         (__ieee754_rem_pio2l): Update comments.
34866         [BZ #15429]
34867         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34868         high part of pi/2.
34869         (__ieee754_rem_pio2l): Update comments.
34871         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34872         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34874         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34875         M_PI_4l.
34877         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34878         (M_PI_34_LOG10El): Likewise.
34879         (M_PI2_LOG10El): Likewise.
34880         (M_PI4_LOG10El): Likewise.
34881         (M_PI_LOG10El): Likewise.
34883 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34887 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
34889         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34890         (MINUS_ZERO_INIT): Likewise.
34891         (PLUS_INFTY_INIT): Likewise.
34892         (MINUS_INFTY_INIT): Likewise.
34893         (QNAN_VALUE_INIT): Likewise.
34894         (MAX_VALUE_INIT): Likewise.
34895         (MIN_VALUE_INIT): Likewise.
34896         (MIN_SUBNORM_VALUE_INIT): Likewise.
34897         (plus_zero): Initialize with PLUS_ZERO_INIT.
34898         (minus_zero): Initialize with MINUS_ZERO_INIT.
34899         (plus_infty): Initialize with PLUS_INFTY_INIT.
34900         (minus_infty): Initialize with MINUS_INFTY_INIT.
34901         (qnan_value): Initialize with QNAN_VALUE_INIT.
34902         (max_value): Initialize with MAX_VALUE_INIT.
34903         (min_value): Initialize with MIN_VALUE_INIT.
34904         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34906         * math/libm-test.inc (RUN_TEST_if_f): New macro.
34907         (jn_test): Use TEST_if_f instead of TEST_ff_f.
34908         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34909         (yn_test): Use TEST_if_f instead of TEST_ff_f.
34911         * math/libm-test.inc (RUN_TEST_f_f): New macro.
34912         (RUN_TEST_2_f): Likewise.
34913         (RUN_TEST_ff_f): Likewise.
34914         (RUN_TEST_fi_f): Likewise.
34915         (RUN_TEST_fl_f): Likewise.
34916         (RUN_TEST_fff_f): Likewise.
34917         (RUN_TEST_c_f): Likewise.
34918         (RUN_TEST_f_f1): Likewise.
34919         (RUN_TEST_fF_f1): Likewise.
34920         (RUN_TEST_fI_f1): Likewise.
34921         (RUN_TEST_ffI_f1): Likewise.
34922         (RUN_TEST_c_c): Likewise.
34923         (RUN_TEST_cc_c): Likewise.
34924         (RUN_TEST_f_i): Likewise.
34925         (RUN_TEST_f_i_tg): Likewise.
34926         (RUN_TEST_ff_i_tg): Likewise.
34927         (RUN_TEST_f_b): Likewise.
34928         (RUN_TEST_f_b_tg): Likewise.
34929         (RUN_TEST_f_l): Likewise.
34930         (RUN_TEST_f_L): Likewise.
34931         (RUN_TEST_sincos): Likewise.
34932         * math/gen-libm-test.pl (new_test): Take new argument to indicate
34933         whether to show exceptions.  Do not include ");\n" in return
34934         value.
34935         (special_functions): Output call to RUN_TEST_sincos instead of
34936         check_float calls.  Update calls to new_test.
34937         (parse_args): Output call to single RUN_TEST_* macro instead of
34938         check_* calls and other assignments.  Update calls to new_test.
34940         [BZ #2546]
34941         [BZ #2560]
34942         [BZ #5159]
34943         [BZ #15426]
34944         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34945         input to result for tgamma overflow.
34946         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34947         (gamma_coeff): New variable.
34948         (NCOEFF): New macro.
34949         (gamma_positive): New function.
34950         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34951         underflow here.  Use gamma_positive instead of exp (lgamma) for
34952         other arguments.
34953         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34954         (gamma_coeff): New variable.
34955         (NCOEFF): New macro.
34956         (gammaf_positive): New function.
34957         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34958         underflow here.  Use gamma_positive instead of exp (lgamma) for
34959         other arguments.
34960         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34961         (gamma_coeff): New variable.
34962         (NCOEFF): New macro.
34963         (gammal_positive): New function.
34964         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34965         underflow here.  Use gamma_positive instead of exp (lgamma) for
34966         other arguments.
34967         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34968         (gamma_coeff): New variable.
34969         (NCOEFF): New macro.
34970         (gammal_positive): New function.
34971         (__ieee754_gammal_r): Handle positive infinity, overflow and
34972         underflow here.  Handle NaN the same as positive infinity.  Remove
34973         check x < 0xffffffff for negative integers.  Use gamma_positive
34974         instead of exp (lgamma) for other arguments.
34975         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34976         (gamma_coeff): New variable.
34977         (NCOEFF): New macro.
34978         (gammal_positive): New function.
34979         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34980         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34981         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34982         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34983         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34984         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34985         * sysdeps/generic/math_private.h (__gamma_productf): New
34986         prototype.
34987         (__gamma_product): Likewise.
34988         (__gamma_productl): Likewise.
34989         * math/Makefile (libm-calls): Add gamma_product.
34990         * math/libm-test.inc (tgamma_test): Add more tests.
34991         * sysdeps/i386/fpu/libm-test-ulps: Update.
34992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34994 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34996         * benchtests/bench-skeleton.c (main): Preheat CPU.
34998 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35000         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35002 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35004         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35005         and _dl_skip_args_internal.
35007 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35009         * manual/message.texi (Message Translation): Talk about users.
35010         Message to key mapping impacts design.
35012 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35014         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35016         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35018         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35019         * sysdeps/wordsize-64/glob64.c: ... here.
35021         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35022         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35023         New macros.
35025         * debug/getlogin_r_chk.c: Moved to ...
35026         * login/getlogin_r_chk.c: ... here.
35027         * debug/Makefile (routines): Move getlogin_r_chk to ...
35028         * login/Makefile (routines): ... here.
35029         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35030         * login/Versions (libc: GLIBC_2.4): ... here.
35032         * io/poll.c (__poll): Renamed from poll.
35033         Add libc_hidden_def.
35034         (poll): Define as weak alias.
35036         * debug/ptsname_r_chk.c: Moved to ...
35037         * login/ptsname_r_chk.c: ... here.
35038         * debug/Makefile (routines): Move ptsname_r_chk to ...
35039         * login/Makefile (routines): ... here.
35040         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35041         * login/Versions (libc: GLIBC_2.4): ... here.
35043         * posix/getlogin.c: Moved to ...
35044         * login/getlogin.c: ... here.
35045         * posix/getlogin_r.c: Moved to ...
35046         * login/getlogin_r.c: ... here.
35047         * posix/getlogin_r.c: Moved to ...
35048         * login/getlogin_r.c: ... here.
35049         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35050         * login/Makefile (routines): ... here.
35051         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35052         * login/Versions (libc: GLIBC_2.0): ... here.
35054         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35055         (setrlimit): Define as weak alias.
35057         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35058         Call __ names for open, ftruncate, and close.
35059         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35060         (truncate): Define as weak alias.
35062 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35064         * math/gen-libm-test.pl (parse_args): Initialize x before each
35065         test of frexp, modf and remquo.
35067         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35068         test signgam value.
35070 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35072         [BZ #15418]
35073         [BZ #15419]
35074         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35075         internal tests.
35076         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35078 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35080         * elf/dl-writev.h: New file.
35081         * elf/dl-misc.c: Include it.
35082         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35083         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35085 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35087         * math/libm-test.inc (noXFails): Remove variable.
35088         (noXPasses): Likewise.
35089         (BUILD_COMPLEX_INT): Remove macro.
35090         (print_screen): Remove xfail argument.
35091         (print_screen_max_error): Likewise.
35092         (update_stats): Likewise.
35093         (print_max_error): Likewise.  Update calls to other affected
35094         functions.
35095         (print_complex_max_error): Likewise.
35096         (test_single_exception): Update calls to print_screen.
35097         (test_single_errno): Likewise.
35098         (check_float_internal): Remove xfail argument.  Update calls to
35099         other affected functions.
35100         (check_float): Likewise.
35101         (check_complex): Likewise.
35102         (check_int): Likewise.
35103         (check_long): Likewise.
35104         (check_bool): Likewise.
35105         (check_longlong): Likewise.
35106         (main): Don't print noXFails and noXPasses.
35107         * math/gen-libm-test.pl (top level): Don't mention expected
35108         failure handling in comment.
35109         (new_test): Don't handle expected failures.
35110         (parse_args): Don't mention expected failure handling in comment.
35111         (generate_testfile): Don't handle expected failures.
35112         (parse_ulps): Likewise.
35113         (print_ulps_file): Likewise.
35114         (get_failure): Remove function.
35115         (output_test): Don't handle expected failures.
35116         * make/README.libm-test: Don't mention expected failure handling.
35118         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35119         (minus_zero): Likewise.
35120         (plus_infty): Likewise.
35121         (minus_infty): Likewise.
35122         (qnan_value): Likewise.
35123         (max_value): Likewise.
35124         (min_value): Likewise.
35125         (min_subnorm_value): Likewise.
35126         (initialize): Do not initialize those variables dynamically.
35128 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35130         * io/open.c (__open_2): Moved to ...
35131         * io/open_2.c: ... this new file.
35132         * io/open64.c (__open64_2): Moved to ...
35133         * io/open64_2.c: ... this new file.
35134         * io/openat.c (__openat_2): Moved to ...
35135         * io/openat_2.c: ... this new file.
35136         * io/openat64.c (__openat64_2): Moved to ...
35137         * io/openat64_2.c: ... this new file.
35138         * io/Makefile (routines): Add them.
35139         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35140         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35141         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35142         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35143         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35144         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35145         (__openat64): Add hidden_ver.
35146         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35147         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35149         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35150         Separately conditionalize setting of GLRO(dl_sysinfo) so
35151         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35152         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35154 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35156         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35157         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35158         definition.
35159         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35160         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35161         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35162         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35163         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35165 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35167         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35168         test signgam value.
35170         * math/libm-test.inc (hypot_test): Do not use
35171         IGNORE_ZERO_INF_SIGN.
35173 2013-05-03  Andreas Jaeger  <aj@suse.de>
35175         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35176         Linux 3.9.
35177         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35178         (PF_MAX): Adjust for VSOCK change.
35180 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35184 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35186         [BZ #15264]
35187         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35188         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35189         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35191 2013-05-02  David S. Miller  <davem@davemloft.net>
35193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35195 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35197         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35199 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35201         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35203 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35205         [BZ #14952]
35206         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35207         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35208         Use __attribute__ ((__gnu_inline__)).
35209         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35210         Don't use __attribute__ ((__gnu_inline__)).
35212 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35214         [BZ #15423]
35215         * math/s_catan.c (__catan): Handle small real or imaginary part of
35216         input specially to avoid spurious underflow.
35217         * math/s_catanf.c (__catanf): Likewise.
35218         * math/s_catanh.c (__catanh): Likewise.
35219         * math/s_catanhf.c (__catanhf): Likewise.
35220         * math/s_catanhl.c (__catanhl): Likewise.
35221         * math/s_catanl.c (__catanl): Likewise.
35222         * math/libm-test.inc (catan_test): Add more tests.
35223         (catanh_test): Likewise.
35224         * sysdeps/i386/fpu/libm-test-ulps: Update.
35225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35227 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35231 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35233         [BZ #15416]
35234         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35235         accurately for denominator in atan2.
35236         * math/s_catanf.c (__catanf): Likewise.
35237         * math/s_catanh.c (__catanh): Likewise.
35238         * math/s_catanhf.c (__catanhf): Likewise.
35239         * math/s_catanhl.c (__catanhl): Likewise.
35240         * math/s_catanl.c (__catanl): Likewise.
35241         * math/libm-test.inc (catan_test): Add more tests.
35242         (catanh_test): Likewise.
35243         * sysdeps/i386/fpu/libm-test-ulps: Update.
35244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35246 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35248         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35250         * benchtests/Makefile (bench): Remove slow benchmarks.
35251         * benchtests/atan-inputs: Add slow benchmark inputs.
35252         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35253         (BENCH_FUNC): Accept variant offset.
35254         (VARIANT): Define.
35255         * benchtests/bench-skeleton.c (main): Run benchmark for each
35256         variant.
35257         * benchtests/cos-inputs: Add slow benchmark inputs.
35258         * benchtests/exp-inputs: Likewise.
35259         * benchtests/pow-inputs: Likewise.
35260         * benchtests/sin-inputs: Likewise.
35261         * benchtests/slowatan-inputs: Remove.
35262         * benchtests/slowatan.c: Remove.
35263         * benchtests/slowcos-inputs: Remove.
35264         * benchtests/slowcos.c: Remove.
35265         * benchtests/slowexp-inputs: Remove.
35266         * benchtests/slowexp.c: Remove.
35267         * benchtests/slowpow-inputs: Remove.
35268         * benchtests/slowpow.c: Remove.
35269         * benchtests/slowsin-inputs: Remove.
35270         * benchtests/slowsin.c: Remove.
35271         * benchtests/slowtan-inputs: Remove.
35272         * benchtests/slowtan.c: Remove.
35273         * benchtests/tan-inputs: Add slow benchmark inputs.
35274         * scripts/bench.pl: Parse comments and directives.
35276         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35277         in CPPFLAGS.
35278         ($(objpfx)bench-%.c): Remove *-ITER.
35279         * benchtests/bench-modf.c: Remove definition of ITER.
35280         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35281         (main): Loop for DURATION seconds instead of fixed number of
35282         iterations.
35283         * scripts/bench.pl: Don't expect iterations in parameters.
35285 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35287         * io/fchdir.c (__fchdir): Renamed from fchdir.
35288         (fchdir): Define as weak alias.
35290 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35292         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35293         (ERRNO_EDOM): Likewise.
35294         (ERRNO_ERANGE): Likewise.
35295         (noErrnoTests): New variable.
35296         (init_max_error): Set errno to 0.
35297         (test_single_errno): New function.
35298         (test_errno): Likewise.
35299         (check_float_internal): Call test_errno.  Set errno to 0.
35300         (check_complex): Refer to errno tests in comment.
35301         (check_int): Call test_errno.  Set errno to 0.
35302         (check_long): Likewise.
35303         (check_bool): Likewise.
35304         (check_longlong): Likewise.
35305         (cos_test): Use ERRNO_* flags for errno tests instead of
35306         check_int.
35307         (expm1_test): Likewise.
35308         (fmod_test): Likewise.
35309         (ilogb_test): Likewise.
35310         (lgamma_test): Likewise.
35311         (pow_test): Likewise.
35312         (remainder_test): Likewise.
35313         (sin_test): Likewise.
35314         (tan_test): Likewise.
35315         (yn_test): Likewise.
35316         (initialize): Set errno to 0.
35317         (main): Print number of errno tests.
35318         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35320 2013-04-29  Andreas Jaeger  <aj@suse.de>
35322         [BZ #15084]
35323         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35324         and RES_USEVC.
35326         [BZ #15085]
35327         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35328         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35329         unimplemented.
35331         [BZ #15380]
35332         * stdlib/random.c (__initstate): Return NULL if
35333         __initstate fails.
35335         [BZ #15086]
35336         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35337         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35338         RES_SNGLKUPREOP.
35340 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35344 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35346         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35347         of individual tests.
35348         (casin_test): Likewise.
35349         (casinh_test): Likewise.
35351 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35353         [BZ #15409]
35354         * math/s_catan.c (__catan): Handle arguments with large real or
35355         imaginary part separately without squaring.
35356         * math/s_catanf.c (__catanf): Likewise.
35357         * math/s_catanh.c (__catanh): Likewise.
35358         * math/s_catanhf.c (__catanhf): Likewise.
35359         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35360         and redefine.
35361         (__catanhl): Handle arguments with large real or imaginary part
35362         separately without squaring.
35363         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35364         and redefine.
35365         (__catanl): Handle arguments with large real or imaginary part
35366         separately without squaring.
35367         * math/libm-test.inc (catan_test): Add more tests.
35368         (catanh_test): Likewise.
35369         * sysdeps/i386/fpu/libm-test-ulps: Update.
35370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35372 2013-04-27  Andreas Jaeger  <aj@suse.de>
35374         [BZ #15007]
35375         * stdlib/stdlib.h: Update guards for qecvt.
35376         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35377         <stdlib.h>.
35379 2013-04-27  Allan McRae  <allan@archlinux.org>
35381         * sysdeps/i386/fpu/libm-test-ulps: Update.
35383 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35385         [BZ #15406]
35386         * math/s_catan.c: Include <float.h>.
35387         (__catan): Ensure underflow exception occurs for underflowed
35388         result.
35389         * math/s_catanf.c: Include <float.h>.
35390         (__catanf): Ensure underflow exception occurs for underflowed
35391         result.
35392         * math/s_catanh.c: Include <float.h>.
35393         (__catanh): Ensure underflow exception occurs for underflowed
35394         result.
35395         * math/s_catanhf.c: Include <float.h>.
35396         (__catanhf): Ensure underflow exception occurs for underflowed
35397         result.
35398         * math/s_catanhl.c: Include <float.h>.
35399         (__catanhl): Ensure underflow exception occurs for underflowed
35400         result.
35401         * math/s_catanl.c: Include <float.h>.
35402         (__catanl): Ensure underflow exception occurs for underflowed
35403         result.
35404         * math/libm-test.inc (catan_test): Add more tests.
35405         (catanh_test): Likewise.
35407         [BZ #15405]
35408         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35409         underflowed result.
35410         * math/s_ccoshf.c (__ccoshf): Likewise.
35411         * math/s_ccoshl.c (__ccoshl): Likewise.
35412         * math/s_csin.c (__csin): Likewise.
35413         * math/s_csinf.c (__csinf): Likewise.
35414         * math/s_csinh.c (__csinh): Likewise.
35415         * math/s_csinhf.c (__csinhf): Likewise.
35416         * math/s_csinhl.c (__csinhl): Likewise.
35417         * math/s_csinl.c (__csinl): Likewise.
35418         * math/libm-test.inc (ccos_test): Add more tests.
35419         (ccosh_test): Likewise.
35420         (csin_test): Likewise.
35421         (csinh_test): Likewise.
35423 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35425         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35426         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35427         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35428         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35429         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35430         powerpc/power5+/fpu folders.
35431         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35434 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35438 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35440         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35441         additions to variable.
35442         [$(config-machine) = x86_64] (modules-names): Likewise.
35443         ($(objpfx)tst-audit3): Remove dependency.
35444         ($(objpfx)tst-audit3.out): Likewise.
35445         ($(objpfx)tst-audit4): Likewise.
35446         ($(objpfx)tst-audit4.out): Likewise.
35447         ($(objpfx)tst-audit5): Likewise.
35448         ($(objpfx)tst-audit5.out): Likewise.
35449         ($(objpfx)tst-audit6): Likewise.
35450         ($(objpfx)tst-audit6.out): Likewise.
35451         ($(objpfx)tst-audit7): Likewise.
35452         ($(objpfx)tst-audit7.out): Likewise.
35453         (tst-audit3-ENV): Remove variable.
35454         (tst-audit4-ENV): Likewise.
35455         (tst-audit5-ENV): Likewise.
35456         (tst-audit6-ENV): Likewise.
35457         (tst-audit7-ENV): Likewise.
35458         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35459         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35460         addition to variable.
35461         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35462         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35463         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35464         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35465         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35466         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35467         tst-audit3, tst-audit4 and tst-audit5.
35468         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35469         tst-audit6 and tst-audit7.
35470         [$(subdir) = elf] (modules-names): Add audit modules for those
35471         tests.
35472         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35473         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35474         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35475         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35476         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35477         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35478         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35479         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35480         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35481         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35482         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35483         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35484         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35485         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35486         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35487         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35488         Likewise.
35489         [$(subdir) = elf && $(config-cflags-avx) = yes]
35490         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35491         [$(subdir) = elf && $(config-cflags-avx) = yes]
35492         (CFLAGS-tst-auditmod4a.c): Likewise.
35493         [$(subdir) = elf && $(config-cflags-avx) = yes]
35494         (CFLAGS-tst-auditmod4b.c): Likewise.
35495         [$(subdir) = elf && $(config-cflags-avx) = yes]
35496         (CFLAGS-tst-auditmod6b.c): Likewise.
35497         [$(subdir) = elf && $(config-cflags-avx) = yes]
35498         (CFLAGS-tst-auditmod6c.c): Likewise.
35499         [$(subdir) = elf && $(config-cflags-avx) = yes]
35500         (CFLAGS-tst-auditmod7b.c): Likewise.
35501         * elf/tst-audit3.c: Move to ...
35502         * sysdeps/x86_64/tst-audit3.c: ... here.
35503         * elf/tst-audit4.c: Move to ...
35504         * sysdeps/x86_64/tst-audit4.c: ... here.
35505         * elf/tst-audit5.c: Move to ...
35506         * sysdeps/x86_64/tst-audit5.c: ... here.
35507         * elf/tst-audit6.c: Move to ...
35508         * sysdeps/x86_64/tst-audit6.c: ... here.
35509         * elf/tst-audit7.c: Move to ...
35510         * sysdeps/x86_64/tst-audit7.c: ... here.
35511         * elf/tst-auditmod3a.c: Move to ...
35512         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
35513         * elf/tst-auditmod3b.c: Move to ...
35514         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
35515         * elf/tst-auditmod4a.c: Move to ...
35516         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
35517         * elf/tst-auditmod4b.c: Move to ...
35518         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
35519         * elf/tst-auditmod5a.c: Move to ...
35520         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
35521         * elf/tst-auditmod5b.c: Move to ...
35522         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
35523         * elf/tst-auditmod6a.c: Move to ...
35524         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
35525         * elf/tst-auditmod6b.c: Move to ...
35526         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
35527         * elf/tst-auditmod6c.c: Move to ...
35528         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
35529         * elf/tst-auditmod7a.c: Move to ...
35530         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
35531         * elf/tst-auditmod7b.c: Move to ...
35532         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
35534 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
35536         [BZ #15366]
35537         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
35538         define unconditionally.
35539         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
35540         define unconditionally.
35541         (INT8_C, INT16_C, etc.): Likewise.
35543 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
35545         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
35546         __ehdr_start with hidden visibility.
35548         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
35550 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
35552         * math/libm-test.inc (cos_test): Use accurate hex constants.
35553         (sincost_test): Likewise.
35555 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
35557         * math/libm-test.inc (catan_test): Add more tests.
35558         (catanh_test): Likewise.
35560         * math/s_catanf.c (__catanf): Use suffixed floating-point
35561         constants.
35562         * math/s_catanhf.c (__catanhf): Likewise.
35563         * math/s_catanhl.c (__catanhl): Likewise.
35564         * math/s_catanl.c (__catanl): Likewise.
35566         [BZ #15394]
35567         * math/s_catan.c (__catan): Calculate imaginary part of result
35568         with log1p not log unless computing log of number close to 0.
35569         * math/s_catanf.c (__catanf): Likewise.
35570         * math/s_catanl.c (__catanl): Likewise.
35571         * math/s_catanh.c (__catanh): Calculate real part of result with
35572         log1p not log unless computing log of number close to 0.
35573         * math/s_catanhf.c (__catanhf): Likewise.
35574         * math/s_catanhl.c (__catanhl): Likewise.
35575         * math/libm-test.inc (catan_test): Add more tests.
35576         (catanh_test): Likewise.
35577         * sysdeps/i386/fpu/libm-test-ulps: Update.
35578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35580 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35582         * benchtests/Makefile: Mention files in which fast and slow
35583         paths of math functions are implemented.
35585 2013-04-23  Roland McGrath  <roland@hack.frob.com>
35587         * sysdeps/posix/timespec_get.c: New file.
35589 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35591         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
35592         POWER.
35593         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
35594         for POWER.
35595         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
35596         powerpc/power5/fpu folders.
35597         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
35598         * benchtests/Makefile: Add modf testcase.
35599         * benchtests/bench-modf.c: New file: Benchmark test for mo
35601 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35603         [BZ #14888]
35604         * time/Makefile (tests): Add tst-strptime-whitespace.
35605         * time/strptime_l.c (get_number): Use ISSPACE.
35606         (__strptime_internal): Likewise.
35607         * time/tst-strptime-whitespace.c: New test case.
35609 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
35611         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
35612         member.
35613         (_nss_files_init): Set it here.
35615 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
35617         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
35618         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35619         unsigned.
35621 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
35623         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
35625 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35627         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
35628         size just once.
35630 2013-04-21  David S. Miller  <davem@davemloft.net>
35632         * po/ru.po: Update Russion translation from translation project.
35634 2013-04-17  Adam Conrad  <adconrad@0c3.net>
35636         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
35637         and setfsgid.
35639 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
35641         * configure.in: Remove i386 configure warning. Remove i386 case.
35642         * configure: Regenerate.
35643         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
35644         Add example to error message.
35645         * sysdeps/i386/configure: Regenerate.
35647 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35649         * benchtests/Makefile (bench): Add cos, tan, slowcos and
35650         slowtan.
35651         * benchtests/cos-inputs: New file.
35652         * benchtests/slowcos-inputs: New file.
35653         * benchtests/slowcos.c: New file.
35654         * benchtests/slowtan-inputs: New file.
35655         * benchtests/slowtan.c: New file.
35656         * benchtests/tan-inputs: New file.
35658 2013-04-16  Roland McGrath  <roland@hack.frob.com>
35660         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
35661         considered kosher.
35663 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35665         * benchtests/Makefile: Include cppflags-iterator.mk to add
35666         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
35668         * Makefile.in (bench-clean): New target.
35669         * benchtests/Makefile (bench-clean): Likewise.
35671 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
35673         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
35675 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
35677         * stdio-common/tstdiomisc.c: Fix coding-style violation.
35679 2013-04-15  Andreas Schwab  <schwab@suse.de>
35681         * nscd/grpcache.c (cache_addgr): Properly check for short write.
35682         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35683         * nscd/pwdcache.c (cache_addpw): Likewise.
35684         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
35685         more than recsize.
35687 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35689         * benchtests/Makefile (bench): Write all output to
35690         bench-out.tmp together.
35692 2013-04-15  Andreas Schwab  <schwab@suse.de>
35694         * nscd/nscd.c (main): Don't fork again after closing files.
35696 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35698         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
35700         * benchtests/Rules (bench-deps): Collect dependencies into a
35701         single variable.  Add Makefile to dependencies.
35702         ($(objpfx)bench-%.c): Depend on bench-deps.
35704 2013-04-12  Roland McGrath  <roland@hack.frob.com>
35705             Xavier Roche  <roche+kml2@exalead.com>
35707         [BZ #15361]
35708         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
35709         just that it's a file descriptor.
35710         * manual/llio.texi (Synchronizing AIO Operations): Update description
35711         for EBADF error from aio_fsync.
35713 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35715         * Rules (bench): Move target definition...
35716         * benchtests/Makefile: ... here.
35718 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
35720         * math/libm-test.inc (cos_test): Fix PI/2 test.
35721         (sincos_test): Likewise.
35722         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35723         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
35725 2013-04-11  Andreas Schwab  <schwab@suse.de>
35727         [BZ #13988]
35728         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
35729         accept exponent character only when digits were seen.
35730         * stdio-common/Makefile (tests): Add bug26.
35731         * stdio-common/bug26.c: New file.
35733         [BZ #14293]
35734         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
35735         non-freeable.
35737 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35739         * Makeconfig (rtld-prefix): Define built linker prefix.
35740         * Rules (run-bench): Use it.
35741         * math/Makefile (run-regen-ulps): Likewise.
35743         * Rules (bench): Remove eval.
35745 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35746             Roland McGrath  <roland@hack.frob.com>
35747             Ondrej Bilka  <neleai@seznam.cz>
35749         [BZ #15346]
35750         * time/getdate.c: Include ctype.h and alloca.h.
35751         (__getdate_r): Trim leading and trailing spaces of input.
35752         * time/tst-getdate.c (tests): Add tests with leading and
35753         trailing spaces.
35755 2013-04-08  Roland McGrath  <roland@hack.frob.com>
35757         [BZ #14280]
35758         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
35759         when computing value.
35761 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35763         * math/README.libm-test (How can I generate "libm-test-ulps"?):
35764         Use testrun.sh to run libm tests.
35766         [BZ #15309]
35767         * elf/dl-open.c (dl_open_worker): memset all of seen array.
35769 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
35771         [BZ #15264]
35772         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
35774 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35776         * Makefile.in (regen-ulps): New target.
35777         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
35778         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
35779         [ifneq (no,$(PERL)] (regen-ulps): New target.
35780         [ifeq (no,$(PERL)] (regen-ulps): New target.
35781         * math/libm-test.inc (ulps_file_name): Define.
35782         (output_dir): New variable.
35783         (options): Add "output-dir" option.
35784         (parse_opt): Handle 'o' case.
35785         (main): If output_dir is non-NULL use it as a prefix
35786         otherwise use "".
35787         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
35789 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35791         [BZ #10060, #10062]
35792         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
35793         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
35794         fail configure if __sync_val_compare_and_swap is not inlined.
35795         * sysdeps/i386/configure: Regenerate.
35796         * configure.in: Build for i686 when configured for i386.
35797         * configure: Regenerate.
35798         * README: Remove i386 reference.
35800 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
35802         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
35803         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35805 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35807         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35808         (lmsnanval): New variables.
35809         (F): Add conversion tests.
35810         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
35811         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
35813         * stdio-common/tstdiomisc.c (F): Properly collect individual
35814         tests' results.
35816         [BZ #14686, #15336]
35817         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
35818         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
35819         Instead, use input NaN values or generate a qNaN by arithmetic
35820         operation.  Also fix bugs to comply with the standard.
35821         * math/libm-test.inc (remainder_test): Add more tests.
35823         [BZ #15335, #15342]
35824         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35825         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35826         input NaN values or generate a qNaN by arithmetic operation.
35828         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35829         unreachable code.
35831         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35832         definitions.
35834 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
35836         [BZ #14478]
35837         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35838         underflowed result.
35839         * math/s_cexpf.c (__cexpf): Likewise.
35840         * math/s_cexpl.c (__cexpl): Likewise.
35841         * math/libm-test.inc (cexp_test): Add more tests.
35843 2013-04-03  Andreas Schwab  <schwab@suse.de>
35845         [BZ #15330]
35846         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35847         order arrays from heap if bigger than alloca cutoff.
35849 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
35851         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35852         (SNAN_TESTS_double): Refer to GCC PR56831.
35853         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35854         GCC PR56828.
35856 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35858         * Rules (bench): Move bench.out after the run is complete.
35860         * Rules (bench): Echo currently running benchmark.
35862         * benchtests/Makefile (bench): Add atan and slowatan.
35863         * benchtests/atan-inputs: New file.
35864         * benchtests/slowatan-inputs: New file.
35865         * benchtests/slowatan.c: New file.
35867         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35868         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35869         its value.
35871         [BZ #15305]
35872         * sysdeps/unix/sysv/linux/kernel-features.h
35873         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35874         __ASSUME_XFS_RESTRICTED_CHOWN.
35875         * sysdeps/unix/sysv/linux/pathconf.c
35876         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35877         Save and restore errno.
35879 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
35881         [BZ #15327]
35882         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35883         arguments using __kernel_casinh.
35884         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35885         arguments using __kernel_casinhf.
35886         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35887         arguments using __kernel_casinhl.
35888         * math/libm-test.inc (cacosh_test): Add more tests.
35889         * sysdeps/i386/fpu/libm-test-ulps: Update.
35890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35892 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35894         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35895         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35897         * bench/Makefile (bench): Add sin and slowsin.
35898         * benchtests/sin-inputs: New file.
35899         * benchtests/slowsin-inputs: New file.
35900         * benchtests/slowsin.c: New file.
35902         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35903         (bench): Add slowexp and slowpow.
35904         (exp-ITER): Increase iterations.
35905         (pow-ITER): Likewise.
35906         * benchtests/exp-inputs: Change input.
35907         * benchtests/pow-inputs: Likewise.
35908         * benchtests/slowexp-inputs: New file.
35909         * benchtests/slowexp.c: New file.
35910         * benchtests/slowpow-inputs: New file.
35911         * benchtests/slowpow.c: New file.
35913 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35915         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35916         instructions.
35917         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35918         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35919         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35920         * benchtests/Makefile: Add rint benchtest.
35921         * benchtests/rint-inputs: Input for rint benchtest.
35923 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35925         * Versions.def (libm): Add GLIBC_2.18.
35926         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35927         hidden libm prototypes.
35928         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35929         * math/Makefile (libm-calls): Add s_issignaling.
35930         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35931         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
35932         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35933         declaration.
35934         * math/math.h [__USE_GNU] (issignaling): New macro.
35935         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35936         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35937         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35938         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35939         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35940         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35941         * manual/arith.texi (issignaling): New section.
35942         * manual/libm-err-tab.pl (@all_functions): Update comment.
35943         * math/gen-libm-test.pl (parse_args): Apply special handling for
35944         issignaling.
35945         * math/libm-test.inc (print_float, issignaling_test): New
35946         functions.
35947         (check_float_internal): Add issignaling checks.
35948         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35949         default definition.
35950         * sysdeps/powerpc/math-tests.h: New file.
35951         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35952         tests.
35953         * math/test-snan.c (TEST_FUNC): Likewise.
35955 2013-03-30  David S. Miller  <davem@davemloft.net>
35957         * po/de.po: Update from translation team.
35959 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
35961         [BZ #10357]
35962         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35963         imaginary part less than 1.0 and real part less than 0.5
35964         specially.
35965         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35966         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35967         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35968         (cacos_test): Add more tests.
35969         (casin_test): Likewise.
35970         (casinh_test): Likewise.
35971         * sysdeps/i386/fpu/libm-test-ulps: Update.
35972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35974 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35976         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35977         ONE with its value.
35979         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35980         (__pow_mp): Replace ONE and MONE with their values.
35981         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35982         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35983         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35984         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35985         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35986         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35988         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35990         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35991         (__pow_mp): Replace ZERO and MZERO with their values.
35992         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35993         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35994         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35995         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35996         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35997         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35998         (__sqr): Likewise.
36000         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36002         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36004 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36006         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36007         Declare with __attribute__ ((weak)).
36008         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36009         Call __call_tls_dtors only if it's not NULL.
36011 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36013         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36014         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36015         magic __ehdr_start linker symbol if it's defined.
36016         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36017         them up here if it was already done.
36019         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36020         (_dl_aux_init): Use const in cast when setting it.
36021         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36022         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36023         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36025         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36026         Declare them here.
36027         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36028         * csu/libc-tls.c: Nor here.
36029         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36031         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36032         (__libc_message): Never call vsyslog.
36034 2013-03-28  Alan Modra  <amodra@gmail.com>
36036         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36037         Define as empty.
36038         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36039         Likewise.
36041 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36043         [BZ #15214]
36044         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36045         underflow.
36046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36048 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36050         [BZ #15304]
36051         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36052         Don't add gid passed as argument.
36054         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36056 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36058         [BZ #15307]
36059         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36060         imaginary part between 1.0 and 1.5 and real part less than 0.5
36061         specially.
36062         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36063         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36064         * math/libm-test.inc (cacos_test): Add more tests.
36065         (casin_test): Likewise.
36066         (casinh_test): Likewise.
36067         * sysdeps/i386/fpu/libm-test-ulps: Update.
36068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36070 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36072         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36073         constants.
36074         (norm): Likewise.
36075         (denorm): Likewise.
36076         (__dbl_mp): Likewise.
36077         (add_magnitudes): Likewise.
36078         (sub_magnitudes): Likewise.
36079         (__add): Likewise.
36080         (__sub): Likewise.
36081         (__mul): Likewise.
36082         (__sqr): Likewise.
36083         (__inv): Likewise.
36084         (__dvd): Likewise.
36086         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36087         commented code.
36088         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36089         (__dubcos): Likewise.
36090         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36091         (__ieee754_acos): Likewise.
36092         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36093         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36094         (__exp1): Likewise.
36095         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36096         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36097         (log1): Likewise.
36098         (my_log2): Likewise.
36099         (checkint): Likewise.
36100         * sysdeps/ieee754/dbl-64/e_remainder.c
36101         (__ieee754_remainder): Likewise.
36102         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36103         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36104         (bsloww): Likewise.
36105         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36107         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36108         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36109         MANTISSA_STORE_T to store computations on mantissa.  Use
36110         macros for rounding and division.
36111         (denorm): Likewise.
36112         (__dbl_mp): Likewise.
36113         (add_magnitudes): Likewise.
36114         (sub_magnitudes): Likewise.
36115         (__mul): Likewise.
36116         (__sqr): Likewise.
36117         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36118         powers of two in terms of TWOPOW macro.
36119         (mp_no): Make type of mantissa as MANTISSA_T.
36120         [!RADIXI]: Define RADIXI.
36121         [!TWO52]: Define TWO52.
36122         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36124 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36126         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36127         llroundl symbol when building for PPC32.
36129 2013-03-24  Mark H Weaver  <mhw@netris.org>
36131         * manual/arith.texi (Normalization Functions): Fix prototypes for
36132         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36134 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36136         [BZ #13889]
36137         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36138         high value to check if expl overflow.
36139         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36140         to check for underflow and overflow.
36141         * math/libm-test.inc: Add exp test.
36143 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36145         [BZ #11120]
36146         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36147         with NOT_IN_libc.
36149 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36151         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36152         symbol.
36154 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36156         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36157         wrap blocks consisting of several statements.
36159         * sysdeps/generic/math-tests.h: New file.
36160         * sysdeps/i386/fpu/math-tests.h: Likewise.
36161         * math/test-snan.c: Include it.
36162         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36164 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36166         [BZ #15285]
36167         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36168         (__ieee754_j0l): Do not improve calculations using cos of twice
36169         input for inputs above LDBL_MAX / 2.0L.
36170         (__ieee754_y0l): Likewise.
36171         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36172         (__ieee754_j1l): Do not improve calculations using cos of twice
36173         input for inputs above LDBL_MAX / 2.0L.
36174         (__ieee754_y1l): Likewise.
36175         * math/libm-test.inc (j0_test): Add another test.
36176         (j1_test): Likewise.
36177         (y0_test): Likewise.
36178         (y1_test): Likewise.
36179         * sysdeps/i386/fpu/libm-test-ulps: Update.
36181 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36183         * Rules ($(objpfx)bench-%.c): Include code from a C source
36184         file.
36186 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36188         [BZ #15287]
36189         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36190         imaginary part 1.0 and real part less than 0.5 specially.
36191         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36192         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36193         * math/libm-test.inc (cacos_test): Add more tests.
36194         (casin_test): Likewise.
36195         (casinh_test): Likewise.
36196         * sysdeps/i386/fpu/libm-test-ulps: Update.
36197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36199 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36201         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36202         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36204 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36206         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36207         * config.make.in (config-cflags-sse4): Remove variable.
36208         (config-cflags-avx): Likewise.
36209         (config-cflags-sse2avx): Likewise.
36210         (config-cflags-novzeroupper): Likewise.
36211         (config-asflags-i686): Likewise.
36212         (have-mfma4): Likewise.
36213         (have-as-vis3): Likewise.
36214         (MIG): Likewise.
36215         * configure.in (MIG): Do not AC_SUBST.
36216         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36217         (libc_cv_cc_sse4): Do not AC_SUBST.
36218         (libc_cv_cc_avx): Likewise.
36219         (libc_cv_cc_sse2avx): Likewise.
36220         (libc_cv_cc_novzeroupper): Likewise.
36221         (libc_cv_cc_fma4): Likewise.
36222         (libc_cv_as_i686): Likewise.
36223         (libc_cv_sparc_as_vis3): Likewise.
36224         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36225         LIBC_CONFIG_VAR.
36226         (config-asflags-i686): Likewise.
36227         (config-cflags-avx): Likewise.
36228         (config-cflags-sse2avx): Likewise.
36229         (have-mfma4): Likewise.
36230         (config-cflags-novzeroupper): Likewise.
36231         * sysdeps/mach/configure.in (MIG): Likewise.
36232         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36233         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36234         LIBC_CONFIG_VAR.
36235         (config-cflags-avx): Likewise.
36236         (config-cflags-sse2avx): Likewise.
36237         (have-mfma4): Likewise.
36238         (config-cflags-novzeroupper): Likewise.
36239         * configure: Regenerated.
36240         * sysdeps/i386/configure: Likewise.
36241         * sysdeps/mach/configure: Likewise.
36242         * sysdeps/sparc/configure: Likewise.
36243         * sysdeps/x86_64/configure: Likewise.
36245 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36247         [BZ #14812]
36248         * locale/programs/localedef.c (options): Put N_ translation marker
36249         on argument names, not just descriptions.
36251 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36253         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36255 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36257         [BZ #14176]
36258         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36260 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36262         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36263         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36264         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36265         [!BEFORE_ABORT] (before_abort): New function.
36266         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36267         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36268         (writev_for_fatal): New function.
36269         (WRITEV_FOR_FATAL): New macro; call that.
36270         (backtrace_and_maps): New function.
36271         (BEFORE_ABORT): New macro; call that.
36272         (struct str_list): Type removed.
36273         (__libc_message, __libc_fatal): Functions removed.
36274         Include <sysdeps/posix/libc_fatal.c> instead.
36276 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36278         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36279         constants.
36280         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36281         double constants.
36283 2013-03-19  Andreas Schwab  <schwab@suse.de>
36285         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36286         * sysdeps/gnu/configure: Regenerate.
36288         * configure.in: Substitute libc_cv_rtlddir.
36289         * configure: Regenerate.
36290         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36291         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36292         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36293         * elf/Makefile (install-others, CFLAGS-interp.c)
36294         (ldso_install, common-ldd-rewrite): Likewise.
36295         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36296         $(inst_slibdir)/$(rtld-installed-name).
36297         * scripts/rellns-sh: Add -p option.
36298         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36299         for source.
36301 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36303         * manual/nptl.texi: Renamed to ...
36304         * manual/threads.texi: ... this.
36305         * manual/Makefile (chapters): Update.
36307 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36309         [BZ #14812]
36310         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36311         on argument names, not just descriptions.
36312         * malloc/memusagestat.c (options): Likewise.
36313         * nss/getent.c (options): Likewise.
36315 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36317         [BZ #14812]
36318         * iconv/iconv_prog.c (options): Put N_ translation marker
36319         on argument names, not just descriptions.
36320         * iconv/iconvconfig.c (options): Likewise.
36322 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36324         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36325         implementation which is faster on all x86_64 architectures.
36326         Tested on AMD, Intel Nehalem, SNB, IVB.
36327         * sysdeps/x86_64/strnlen.S: Likewise.
36329         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36330         Remove all multiarch strlen and strnlen versions.
36331         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36332         Remove strlen and strnlen related parts.
36334         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36335         Inline strlen part.
36336         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36338         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36339         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36340         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36341         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36342         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36343         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36345 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36347         * manual/memory.texi (Malloc Tunable Parameters):
36348         Sort parameters alphabetically. Add comments for missing entries.
36350 2013-03-17  David S. Miller  <davem@davemloft.net>
36352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36354 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36356         [BZ #15283]
36357         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36358         for arguments at most half maximum finite value.
36359         * math/libm-test.inc (j0_test): Add more tests.
36360         (j1_test): Likewise.
36361         (y0_test): Likewise.
36362         (y1_test): Likewise.
36363         * sysdeps/i386/fpu/libm-test-ulps: Update.
36364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36366         [BZ #14155]
36367         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36368         1 / x and functions P and Q for arguments above 0x1p256L.
36369         (__ieee754_y0l): Likewise.
36370         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36371         (__ieee754_y1l): Likewise.
36372         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36373         (j1_test): Likewise.
36374         (y0_test): Likewise.
36375         (y1_test): Likewise.
36377 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36379         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36380         variable.
36382 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36384         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36385         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36386         zero since it's initialized to EXEC_PAGESIZE.
36388         * sysdeps/unix/sysv/linux/ldsodefs.h
36389         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36390         * sysdeps/generic/ldsodefs.h: ... here.
36392 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36394         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36396         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36397         math/test-snan.c.
36398         * math/test-snan.c: Renamed from
36399         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36400         * math/Makefile (tests): Add test-snan.
36401         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36402         test-powerpc-snan.
36404         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36405         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36406         functions.
36407         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36408         __builtin_nan family of functions.
36409         * math/libm-test.inc (initialize): Initialize qnan_value with
36410         __builtin_nan family of functions.
36411         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36412         Remove variables.
36413         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36414         Remove functions.
36415         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36416         storage class.  Initialize qNaN_var and sNaN_var with
36417         __builtin_nan and __builtin_nans families of functions,
36418         respectively.
36420         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36421         (sqrt_test): Remove duplicate test with qNaN input.
36422         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36423         (round_test, signbit_test, significand_test): Note missing +/-Inf
36424         as well as qNaN tests.
36426         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36427         qNaN_var.  Fix a few strings, too.
36428         * math/libm-test.inc (nan_value): Rename to qnan_value.
36429         * math/gen-libm-test.pl (%beautify): Adjust to that.
36430         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36431         * math/test-misc.c (main): Likewise.
36432         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36433         to __qnan_bytes, and __qnan_union, respectively.
36434         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36435         Likewise.
36436         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36437         and lqnanval, respectively.
36438         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36439         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36440         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36441         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36443         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36444         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36445         doubles.
36447         * math/test-misc.c (main): Fix copy'n'pastos.
36448         * misc/tst-efgcvt.c (special): Likewise.
36450         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36451         Remove declarations.
36453 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36455         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36456         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36457         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36458         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36460 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36462         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36463         macro to return vdso values correctly in IFUNC implementations.
36464         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36465         Optimization by using IFUNC.
36467 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36468             Richard Henderson  <rth@redhat.com>
36469             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36471         * Makefile.in (bench): New target.
36472         * NEWS: Mention the benchmark framework.
36473         * Rules (bench): Likewise.
36474         (binaries-bench): Generate binaries for functions to
36475         benchmark.
36476         * benchtests/Makefile: New makefile for benchmark tests.
36477         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36478         programs.
36479         * benchtests/exp-inputs: New input file for EXP function.
36480         * benchtests/pow-inputs: New input file for POW function.
36481         * scripts/bench.pl: New script to generate source files for
36482         benchmark programs.
36484 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36486         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36487         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36488         computations on mantissa.  Use macros for rounding and
36489         division.
36490         (denorm): Likewise.
36491         (__dbl_mp): Likewise.
36492         (add_magnitudes): Likewise.
36493         (sub_magnitudes): Likewise.
36494         (__mul): Likewise.
36495         (__sqr): Likewise.
36496         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36497         powers of two in terms of TWOPOW macro.
36498         (mp_no): Make type of mantissa as MANTISSA_T.
36499         [!RADIXI]: Define RADIXI.
36500         [!TWO52]: Define TWO52.
36501         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36503         * manual/nptl.texi (cindex): Modify threads to pthreads.
36505 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
36507         * sysdeps/x86_64/preconfigure: Regenerated.
36509 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
36511         [BZ #14155]
36512         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
36513         0x1p28 and above.
36514         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
36515         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
36516         0x1p28 and above.
36517         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
36518         * math/libm-test.inc (j0_test): Do not allow one spurious
36519         underflow exception.
36520         (y1_test): Likewise.
36522 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36524         * manual/Makefile (chapters): Add nptl.
36525         * manual/debug.texi (Debugging Support): Add link to Threads
36526         chapter.
36527         * manual/nptl.texi: New file.
36529         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
36531 2013-03-14  Petr Baudis  <pasky@ucw.cz>
36533         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
36534         for non-NULL pointer before the memory validity test. Pointed
36535         out by Holger Brunck <holger.brunck@keymile.com>.
36537 2013-03-13  Andreas Schwab  <schwab@suse.de>
36539         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
36540         instead of .os.
36542 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
36544         * timezone/zic.c: Update from tzcode 2013b.
36546 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
36548         * manual/install.texi (Configuring and compiling):
36549         Mention i686 and i586.
36550         * INSTALL: Regenerate.
36552 2013-03-12  Roland McGrath  <roland@hack.frob.com>
36554         * sysdeps/init_array/elf-init.c: New file.
36555         * csu/elf-init.c
36556         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
36557         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
36559         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
36560         __gmon_start__ as global, but as static with a .preinit_array pointer.
36561         * sysdeps/init_array/gmon-start.c: New file.  Use that.
36562         * sysdeps/init_array/crti.S: New file, empty except for comments.
36563         * sysdeps/init_array/crtn.S: Likewise.
36565 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
36567         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
36568         definining bcopy.
36569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36570         Remove Prefer_SSE_for_memop.
36571         * sysdeps/x86_64/multiarch/init-arch.h: Remove
36572         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
36573         HAS_PREFER_SSE_FOR_MEMOP.
36574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
36575         memset-x86-64.
36576         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36577         Remove bzero, memset ifunc support.
36578         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
36579         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
36580         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36581         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36583 2013-03-11  Andreas Schwab  <schwab@suse.de>
36585         [BZ #15234]
36586         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
36587         by SHLIB_COMPAT.
36588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
36589         (GLIBC_2.16): Remove pthread_atfork.
36591 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
36593         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
36594         (ptestcases.h): Likewise.
36596 2013-03-08  Roland McGrath  <roland@hack.frob.com>
36598         * Makeconfig ($(common-objpfx)config.status): Depend on
36599         sysdeps/*/preconfigure{,.in} too.
36601 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
36603         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
36604         (__free_hook): Use void * instead of __malloc_ptr_t.
36605         (__malloc_hook): Likewise.
36606         (__realloc_hook): Likewise.
36607         (__memalign_hook): Likewise.
36608         (__after_morecore_hook): Likewise.
36609         * malloc/arena.c (save_malloc_hook): Likewise.
36610         (save_free_hook): Likewise.
36611         * malloc/hooks.c (malloc_hook_ini): Likewise.
36612         (realloc_hook_ini): Likewise.
36613         (memalign_hook_ini): Likewise.
36614         * malloc/malloc.c (malloc_hook_ini): Likewise.
36615         (realloc_hook_ini): Likewise.
36616         (memalign_hook_ini): Likewise.
36617         (__free_hook): Likewise.
36618         (__malloc_hook): Likewise.
36619         (__realloc_hook): Likewise.
36620         (__memalign_hook): Likewise.
36621         (__libc_malloc): Likewise.
36622         (__libc_free): Likewise.
36623         (__libc_realloc): Likewise.
36624         (__libc_memalign): Likewise.
36625         (__libc_valloc): Likewise.
36626         (__libc_pvalloc): Likewise.
36627         (__libc_calloc): Likewise.
36628         (__posix_memalign): Likewise.
36629         * malloc/morecore.c (__sbrk): Likewise.
36630         (__default_morecore): Likewise.
36632         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
36634         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
36635         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
36636         __malloc_ptrdiff_t.
36638         * malloc/malloc.h (__malloc_size_t): Remove macro.
36639         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
36640         __malloc_size_t.
36641         (old_memalign_hook): Likewise.
36642         (old_realloc_hook): Likewise.
36643         (struct hdr): Likewise.
36644         (flood): Likewise.
36645         (mallochook): Likewise.
36646         (memalignhook): Likewise.
36647         (reallochook): Likewise.
36648         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
36649         (tr_old_realloc_hook): Likewise.
36650         (tr_old_memalign_hook): Likewise.
36651         (tr_mallochook): Likewise.
36652         (tr_reallochook): Likewise.
36653         (tr_memalignhook): Likewise.
36655 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36657         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
36658         default_ldbl_pack and using as default implementation.
36659         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
36660         implementation.
36661         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
36662         redundant definition.
36663         (ldbl_insert_mantissa): Likewise.
36664         (ldbl_canonicalize): Likewise.
36665         (ldbl_nearbyint): Likewise.
36666         (ldbl_pack): Rename to ldbl_pack_ppc.
36667         (ldbl_unpack): Rename to ldbl_unpack_ppc.
36668         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
36669         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
36671 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36673         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
36674         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
36675         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
36676         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
36677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
36678         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
36679         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
36680         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
36682 2013-03-07  Andreas Jaeger  <aj@suse.de>
36684         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36685         bits/mman-linux.h.
36687 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36689         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
36690         Include mpa.h and declare __MPEXP.
36691         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
36692         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36693         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36694         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
36695         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36696         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
36697         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
36699         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
36700         (__slowpow): Use long double EXPL and LOGL functions to
36701         compute POW.
36702         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
36703         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36704         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
36705         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36706         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
36707         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
36709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
36710         intermediate variable to calculate exponent.
36711         (__sqr): Likewise.
36712         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36713         Likewise.
36714         (__sqr): Likewise.
36716         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
36717         [!NO__SQR]: Define __sqr.
36718         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
36719         and NO__SQR.  Remove all code except __mul and __sqr.  Include
36720         sysdeps/ieee754/dbl-64/mpa.c.
36721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36723         [BZ #12723]
36724         * posix/Makefile (tests): Add tst-pathconf.
36725         * posix/tst-pathconf.c: New test case.
36726         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
36727         _PC_PIPE_BUF.
36728         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
36730 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
36732         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
36734 2013-03-06  Andreas Jaeger  <aj@suse.de>
36736         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
36737         definition via __MAP_ANONYMOUS.
36739         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
36740         it's not part of Linux headers.
36742         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
36743         (MAP_HUGE_MASK): Define.
36745         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36746         Define.
36747         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36748         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36749         Define.
36750         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36751         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
36752         Define.
36753         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36754         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
36755         Define.
36756         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
36758         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
36759         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
36760         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
36761         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
36762         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
36763         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
36765         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36766         Handle f2fs.
36768         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36769         Handle f2fs and efivarfs.
36771         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
36772         f2fs.
36774         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
36775         (EFIVARFS_MAGIC): Add.
36776         (F2FS_LINK_MAX): Add.
36778 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36780         * stdio-common/vfprintf.c: Replace __builtin_expect with
36781         __glibc_unlikely.
36783 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
36785         [BZ #13550]
36786         * sysdeps/generic/bp-sym.h: Remove file.
36787         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
36788         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
36789         <bp-sym.h> and <bp-asm.h>.
36790         (__longjmp): Don't use BP_SYM.
36791         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
36792         and <bp-asm.h>.
36793         (memcpy): Don't use BP_SYM.
36794         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
36795         <bp-sym.h> and <bp-asm.h>.
36796         (memcpy): Don't use BP_SYM.
36797         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
36798         <bp-asm.h>.
36799         (memcpy): Don't use BP_SYM.
36800         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
36801         <bp-asm.h>.
36802         (memset): Don't use BP_SYM.
36803         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36804         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36805         (__bzero): Don't use BP_SYM.
36806         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36807         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36808         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
36809         <bp-sym.h> and <bp-asm.h>.
36810         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36811         pointers.
36812         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
36813         <bp-sym.h> and <bp-asm.h>.
36814         (memcpy): Don't use BP_SYM.
36815         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
36816         <bp-sym.h> and <bp-asm.h>.
36817         (memset): Don't use BP_SYM.
36818         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36819         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36820         (__bzero): Don't use BP_SYM.
36821         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36822         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36823         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36824         <bp-sym.h> and <bp-asm.h>.
36825         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36826         pointers.
36827         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36828         <bp-sym.h> and <bp-asm.h>.
36829         (memcpy): Don't use BP_SYM.
36830         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36831         <bp-sym.h> and <bp-asm.h>.
36832         (memset): Don't use BP_SYM.
36833         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36834         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36835         (__bzero): Don't use BP_SYM.
36836         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36837         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36838         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36839         <bp-sym.h> and <bp-asm.h>.
36840         (__memchr): Don't use BP_SYM.
36841         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36842         <bp-sym.h> and <bp-asm.h>.
36843         (memcmp): Don't use BP_SYM.  Remove comment about bounded
36844         pointers.
36845         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36846         <bp-sym.h> and <bp-asm.h>.
36847         (memcpy): Don't use BP_SYM.
36848         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36849         <bp-sym.h> and <bp-asm.h>.
36850         (__mempcpy): Don't use BP_SYM.
36851         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36852         <bp-sym.h> and <bp-asm.h>.
36853         (__memrchr): Don't use BP_SYM.
36854         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36855         <bp-sym.h> and <bp-asm.h>.
36856         (memset): Don't use BP_SYM.
36857         (__bzero): Likewise.
36858         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36859         <bp-sym.h> and <bp-asm.h>.
36860         (__rawmemchr): Don't use BP_SYM.
36861         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36862         <bp-sym.h> and <bp-asm.h>.
36863         (__STRCMP): Don't use BP_SYM.
36864         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36865         <bp-sym.h> and <bp-asm.h>.
36866         (strchr): Don't use BP_SYM.
36867         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36868         <bp-sym.h> and <bp-asm.h>.
36869         (__strchrnul): Don't use BP_SYM.
36870         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36871         <bp-sym.h> and <bp-asm.h>.
36872         (strlen): Don't use BP_SYM.
36873         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36874         <bp-sym.h> and <bp-asm.h>.
36875         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36876         pointers.
36877         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36878         <bp-sym.h> and <bp-asm.h>.
36879         (__strnlen): Don't use BP_SYM.
36880         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36881         <bp-sym.h> and <bp-asm.h>.
36882         (__GI__setjmp): Don't use BP_SYM.
36883         (_setjmp): Likewise.
36884         (__sigsetjmp): Likewise.
36885         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36886         (L(start_addresses)): Don't use BP_SYM.
36887         (_start): Likewise.
36888         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36889         <bp-asm.h>.
36890         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36891         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36892         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36893         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36894         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36895         <bp-asm.h>.
36896         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36897         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
36898         about bounded pointers.
36899         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36900         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36901         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36902         <bp-asm.h>.
36903         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36904         about bounded pointers.  Remove GKM FIXME comments.
36905         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36906         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36907         <bp-asm.h>.
36908         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36909         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
36910         Remove GKM FIXME comments.
36911         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36912         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36913         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36914         <bp-asm.h>.
36915         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
36916         about bounded pointers.  Remove GKM FIXME comment.
36917         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36918         and <bp-asm.h>.
36919         (strncmp): Don't use BP_SYM.  Remove comment about bounded
36920         pointers.
36921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36922         <bp-sym.h> and <bp-asm.h>.
36923         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36925         <bp-sym.h> and <bp-asm.h>.
36926         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36927         comment.
36929 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36931         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36932         call free(NULL).
36934 2013-03-05  David S. Miller  <davem@davemloft.net>
36936         * po/es.po: Update from translation team.
36938 2013-03-05  Andreas Jaeger  <aj@suse.de>
36940         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36941         <bits/mman-linux.h>.
36942         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36943         is fine.
36944         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36945         <bits/mman-linux.h> to end of file.
36946         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36947         is fine.
36948         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36949         <bits/mman-linux.h> to end of file.
36950         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36951         is fine.
36952         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36953         <bits/mman-linux.h> to end of file.
36955         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36956         (MCL_CURRENT, MCL_FUTURE): Define here.
36958 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36960         [BZ #15232]
36961         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36962         attribute_hidden.
36963         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36965 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36967         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36968         fourth parameter needed for rt_sigprocmask syscall.
36969         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36970         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36971         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36972         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36973         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36974         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36976 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36978         [BZ #13550]
36979         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36980         comment about bounded pointers.
36981         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36982         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36984 2013-03-04  Andreas Jaeger  <aj@suse.de>
36986         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36987         common definitions.
36989         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36990         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36991         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36992         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36993         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36994         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36996 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36998         [BZ #15055]
36999         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37000         __ieee754_sqrl instead of __sqrl.
37002 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37004         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37005         * sysdeps/powerpc/fpu_control.h: ... here.
37006         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37007         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37008         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37009         * sysdeps/powerpc/bits/mathinline.h: ... here.
37011 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37013         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37014         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37015         to just [NEED_DL_SYSINFO_DSO].
37016         * elf/dl-support.c: Likewise.
37017         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37018         * elf/rtld.c (dl_main): Likewise.
37019         * elf/setup-vdso.h (setup_vdso): Likewise.
37020         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37021         * sysdeps/unix/sysv/linux/dl-sysdep.c
37022         (_dl_discover_osversion): Likewise.
37024 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37026         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37027         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37029 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37031         * NEWS: Mention libm performance improvements and non-x86 PI
37032         futex support.
37034         * csu/libc-start.c (__pthread_initialize_minimal): Change
37035         function arguments.
37036         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37038 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37040         [BZ #13550]
37041         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37042         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37043         <bp-sym.h> and <bp-asm.h>.
37044         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37045         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37046         and <bp-asm.h>.
37047         (memcpy): Don't use BP_SYM.
37048         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37049         <bp-asm.h>.
37050         (__mpn_add_n): Don't use BP_SYM.
37051         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37052         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37053         and <bp-asm.h>.
37054         (__mpn_addmul_1): Don't use BP_SYM.
37055         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37056         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37057         <bp-sym.h>.
37058         (_setjmp): Don't use BP_SYM.
37059         (__novmx_setjmp): Likewise.
37060         (__GI__setjmp): Likewise.
37061         (__vmx_setjmp): Likewise.
37062         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37063         <bp-sym.h>.
37064         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37065         (__bzero): Don't use BP_SYM.
37066         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37067         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37068         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37069         <bp-sym.h> and <bp-asm.h>.
37070         (memcpy): Don't use BP_SYM.
37071         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37072         <bp-sym.h> and <bp-asm.h>.
37073         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37074         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37075         <bp-sym.h> and <bp-asm.h>.
37076         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37077         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37078         <bp-asm.h>.
37079         (__mpn_lshift): Don't use BP_SYM.
37080         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37081         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37082         <bp-asm.h>.
37083         (memset): Don't use BP_SYM.
37084         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37085         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37086         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37087         <bp-asm.h>.
37088         (__mpn_mul_1): Don't use BP_SYM.
37089         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37090         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37091         <bp-sym.h> and <bp-asm.h>.
37092         (memcmp): Don't use BP_SYM.
37093         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37094         <bp-sym.h> and <bp-asm.h>.
37095         (memcpy): Don't use BP_SYM.
37096         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37097         <bp-sym.h> and <bp-asm.h>.
37098         (memset): Don't use BP_SYM.
37099         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37100         <bp-sym.h> and <bp-asm.h>.
37101         (strncmp): Don't use BP_SYM.
37102         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37103         <bp-sym.h> and <bp-asm.h>.
37104         (memcpy): Don't use BP_SYM.
37105         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37106         <bp-sym.h> and <bp-asm.h>.
37107         (memset): Don't use BP_SYM.
37108         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37109         <bp-sym.h> and <bp-asm.h>.
37110         (__memchr): Don't use BP_SYM.
37111         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37112         <bp-sym.h> and <bp-asm.h>.
37113         (memcmp): Don't use BP_SYM.
37114         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37115         <bp-sym.h> and <bp-asm.h>.
37116         (memcpy): Don't use BP_SYM.
37117         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37118         <bp-sym.h> and <bp-asm.h>.
37119         (__mempcpy): Don't use BP_SYM.
37120         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37121         <bp-sym.h> and <bp-asm.h>.
37122         (__memrchr): Don't use BP_SYM.
37123         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37124         <bp-sym.h> and <bp-asm.h>.
37125         (memset): Don't use BP_SYM.
37126         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37127         <bp-sym.h> and <bp-asm.h>.
37128         (__rawmemchr): Don't use BP_SYM.
37129         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37130         <bp-sym.h> and <bp-asm.h>.
37131         (__STRCMP): Don't use BP_SYM.
37132         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37133         <bp-sym.h> and <bp-asm.h>.
37134         (strchr): Don't use BP_SYM.
37135         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37136         <bp-sym.h> and <bp-asm.h>.
37137         (__strchrnul): Don't use BP_SYM.
37138         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37139         <bp-sym.h> and <bp-asm.h>.
37140         (strlen): Don't use BP_SYM.
37141         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37142         <bp-sym.h> and <bp-asm.h>.
37143         (strncmp): Don't use BP_SYM.
37144         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37145         <bp-sym.h> and <bp-asm.h>.
37146         (__strnlen): Don't use BP_SYM.
37147         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37148         <bp-asm.h>.
37149         (__mpn_rshift): Don't use BP_SYM.
37150         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37151         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37152         <bp-sym.h> and <bp-asm.h>.
37153         (__sigsetjmp): Don't use BP_SYM.
37154         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37155         (L(start_addresses)): Don't use BP_SYM.
37156         (_start): Likewise.
37157         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37158         <bp-asm.h>.
37159         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37160         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37161         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37162         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37163         <bp-asm.h>.
37164         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37165         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37166         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37167         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37168         <bp-asm.h>.
37169         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37170         comments.
37171         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37172         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37173         <bp-asm.h>.
37174         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37175         FIXME comments.
37176         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37177         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37178         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37179         <bp-asm.h>.
37180         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37181         comment.
37182         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37183         and <bp-asm.h>.
37184         (strncmp): Don't use BP_SYM,
37185         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37186         <bp-asm.h>.
37187         (__mpn_sub_n): Don't use BP_SYM.
37188         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37189         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37190         and <bp-asm.h>.
37191         (__mpn_submul_1): Don't use BP_SYM.
37192         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37194         <bp-sym.h> and <bp-asm.h>.
37195         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37197         <bp-sym.h> and <bp-asm.h>.
37198         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37199         comment.
37201 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37204         Use ZK to minimize writes to Z.
37205         (sub_magnitudes): Simplify code a bit.
37206         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37207         Use ZK to minimize writes to Z.
37208         (sub_magnitudes): Simplify code a bit.
37210 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37212         * csu/gmon-start.c: Add special exception to license text.
37214 2013-02-27  Richard Henderson  <rth@redhat.com>
37216         * scripts/config.guess: Update from config.git.
37217         * scripts/config.sub: Likewise.
37219 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37221         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37223         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37225         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37227         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37229         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37231 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37233         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37234         [$(build-shared = yes].
37236 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37238         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37239         (__mul): Reduce iterations for calculating mantissa.
37241         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37242         MPTWO.
37243         (__mpranred): Likewise.
37245         [BZ #15160]
37246         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37247         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37249 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37251         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37252         Define __attribute__.
37254 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37256         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37257         unused.
37258         * posix/regex_internal.h (__attribute): Remove.
37259         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37260         (re_string_context_at): Likewise.
37261         (bitset_not): Use __attribute__ and mark function as possibly
37262         unused.
37263         (bitset_merge): Likewise.
37264         (bitset_mask): Likewise.
37265         (re_string_char_size_at): Likewise.
37266         (re_string_wchar_at): Likewise.
37267         (re_string_elem_size_at): Likewise.
37269 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37271         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37272         code.
37273         (cc32): Likewise.
37275         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37276         (__acr): Likewise.
37277         (__cpy): Likewise.
37278         (norm): Likewise.
37279         (denorm): Likewise.
37280         (__dbl_mp): Likewise.
37281         (add_magnitudes): Likewise.
37282         (sub_magnitudes): Likewise.
37283         (__mul): Likewise.
37284         (__inv): Likewise.
37286         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37287         style.
37289         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37290         style.
37292         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37293         code.
37295         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37296         up changes with default code.
37297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37298         Likewise.
37300 2013-02-24  Allan McRae  <allan@archlinux.org>
37302         * manual/socket.texi (The Internet Namespace): Order menu items
37303         to match that in the file.
37305         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37306         node listing of the info page menu.
37308 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37310         [BZ #13550]
37311         * sysdeps/i386/bp-asm.h: Remove file.
37312         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37313         (PARMS): Do not use macros from bp-asm.h.
37314         (S1): Likewise.
37315         (S2): Likewise.
37316         (SIZE): Likewise.
37317         (__mpn_add_n): Do not use BP_SYM
37318         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37319         "bp-asm.h".
37320         (PARMS): Do not use macros from bp-asm.h.
37321         (S1): Likewise.
37322         (SIZE): Likewise.
37323         (__mpn_addmul_1): Do not use BP_SYM
37324         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37325         "bp-asm.h".
37326         (PARMS): Do not use macros from bp-asm.h.
37327         (SIGMSK): Likewise.
37328         (_setjmp): Likewise.  Do not use BP_SYM.
37329         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37330         "bp-asm.h".
37331         (PARMS): Do not use macros from bp-asm.h.
37332         (SIGMSK): Likewise.
37333         (setjmp): Likewise.  Do not use BP_SYM.
37334         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37335         "bp-asm.h".
37336         (PARMS): Do not use macros from bp-asm.h.
37337         (__frexp): Do not use BP_SYM.
37338         (frexp): Likewise.
37339         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37340         "bp-asm.h".
37341         (PARMS): Do not use macros from bp-asm.h.
37342         (__frexpf): Do not use BP_SYM.
37343         (frexpf): Likewise.
37344         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37345         "bp-asm.h".
37346         (PARMS): Do not use macros from bp-asm.h.
37347         (__frexpl): Do not use BP_SYM.
37348         (frexpl): Likewise.
37349         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37350         "bp-asm.h".
37351         (PARMS): Do not use macros from bp-asm.h.
37352         (__remquo): Do not use BP_SYM.
37353         (remquo): Likewise.
37354         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37355         "bp-asm.h".
37356         (PARMS): Do not use macros from bp-asm.h.
37357         (__remquof): Do not use BP_SYM.
37358         (remquof): Likewise.
37359         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37360         "bp-asm.h".
37361         (PARMS): Do not use macros from bp-asm.h.
37362         (__remquol): Do not use BP_SYM.
37363         (remquol): Likewise.
37364         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37365         "bp-asm.h".
37366         (PARMS): Do not use macros from bp-asm.h.
37367         (DEST): Likewise.
37368         (SRC): Likewise.
37369         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37370         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37371         "bp-asm.h".
37372         (PARMS): Do not use macros from bp-asm.h.
37373         (strlen): Do not use BP_SYM.
37374         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37375         "bp-asm.h".
37376         (PARMS): Do not use macros from bp-asm.h.
37377         (S1): Likewise.
37378         (S2): Likewise.
37379         (SIZE): Likewise.
37380         (__mpn_add_n): Do not use BP_SYM.
37381         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37382         "bp-asm.h".
37383         (PARMS): Do not use macros from bp-asm.h.
37384         (S1): Likewise.
37385         (SIZE): Likewise.
37386         (__mpn_addmul_1): Do not use BP_SYM.
37387         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37388         weak_alias.
37389         (bzero): Likewise.
37390         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37391         "bp-asm.h".
37392         (PARMS): Do not use macros from bp-asm.h.
37393         (S): Likewise.
37394         (SIZE): Likewise.
37395         (__mpn_lshift): Do not use BP_SYM.
37396         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37397         "bp-asm.h".
37398         (PARMS): Do not use macros from bp-asm.h.
37399         (DEST): Likewise.
37400         (SRC): Likewise.
37401         (LEN): Likewise.
37402         (memcpy): Likewise.  Do not use BP_SYM.
37403         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37404         libc_hidden_def and weak_alias.
37405         (mempcpy): Do not use BP_SYM in weak_alias.
37406         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37407         "bp-asm.h".
37408         (PARMS): Do not use macros from bp-asm.h.
37409         (DEST): Likewise.
37410         (LEN): Likewise.
37411         [!BZERO_P] (CHR): Likewise.
37412         (memset): Likewise.  Do not use BP_SYM.
37413         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37414         "bp-asm.h".
37415         (PARMS): Do not use macros from bp-asm.h.
37416         (S1): Likewise.
37417         (SIZE): Likewise.
37418         (__mpn_mul_1): Do not use BP_SYM.
37419         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37420         "bp-asm.h".
37421         (PARMS): Do not use macros from bp-asm.h.
37422         (S): Likewise.
37423         (SIZE): Likewise.
37424         (__mpn_rshift): Do not use BP_SYM.
37425         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37426         "bp-asm.h".
37427         (PARMS): Do not use macros from bp-asm.h.
37428         (STR): Likewise.
37429         (CHR): Likewise.
37430         (strchr): Likewise.  Do not use BP_SYM.
37431         (index): Do not use BP_SYM in weak_alias.
37432         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37433         "bp-asm.h".
37434         (PARMS): Do not use macros from bp-asm.h.
37435         (DEST): Likewise.
37436         (SRC): Likewise.
37437         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37438         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37439         "bp-asm.h".
37440         (PARMS): Do not use macros from bp-asm.h.
37441         (strlen): Do not use BP_SYM.
37442         * sysdeps/i386/i586/sub_n.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         (S2): Likewise.
37447         (SIZE): Likewise.
37448         (__mpn_sub_n): Do not use BP_SYM.
37449         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37450         "bp-asm.h".
37451         (PARMS): Do not use macros from bp-asm.h.
37452         (S1): Likewise.
37453         (SIZE): Likewise.
37454         (__mpn_submul_1): Do not use BP_SYM.
37455         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37456         "bp-asm.h".
37457         (PARMS): Do not use macros from bp-asm.h.
37458         (S1): Likewise.
37459         (S2): Likewise.
37460         (SIZE): Likewise.
37461         (__mpn_add_n): Do not use BP_SYM.
37462         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37463         weak_alias.
37464         (bzero): Likewise.
37465         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37466         "bp-asm.h".
37467         (PARMS): Do not use macros from bp-asm.h.
37468         (BLK2): Likewise.
37469         (LEN): Likewise.
37470         (memcmp): Do not use BP_SYM.
37471         (bcmp): Do not use BP_SYM in weak_alias.
37472         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37473         "bp-asm.h".
37474         (PARMS): Do not use macros from bp-asm.h.
37475         (DEST): Likewise.
37476         (SRC): Likewise.
37477         (LEN): Likewise.
37478         (memcpy): Likewise.  Do not use BP_SYM.
37479         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37480         "bp-asm.h".
37481         (PARMS): Do not use macros from bp-asm.h.
37482         (DEST): Likewise.
37483         (SRC): Likewise.
37484         (LEN): Likewise.
37485         (memmove): Likewise.  Do not use BP_SYM.
37486         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37487         "bp-asm.h".
37488         (PARMS): Do not use macros from bp-asm.h.
37489         (DEST): Likewise.
37490         (SRC): Likewise.
37491         (LEN): Likewise.
37492         (__mempcpy): Likewise.  Do not use BP_SYM.
37493         (mempcpy): Do not use BP_SYM in weak_alias.
37494         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
37495         "bp-asm.h".
37496         (PARMS): Do not use macros from bp-asm.h.
37497         (DEST): Likewise.
37498         (LEN): Likewise.
37499         [!BZERO_P] (CHR): Likewise.
37500         (memset): Likewise.  Do not use BP_SYM.
37501         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
37502         "bp-asm.h".
37503         (PARMS): Do not use macros from bp-asm.h.
37504         (STR2): Likewise.
37505         (strcmp): Do not use BP_SYM.
37506         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
37507         "bp-asm.h".
37508         (PARMS): Do not use macros from bp-asm.h.
37509         (STR): Likewise.
37510         (DELIM): Likewise.
37511         [USE_AS_STRTOK_R] (SAVE): Likewise.
37512         (FUNCTION): Likewise.  Do not use BP_SYM.
37513         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
37514         aliases.
37515         (strtok_r): Likewise.
37516         (__GI___strtok_r): Likewise.
37517         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37518         (PARMS): Do not use macros from bp-asm.h.
37519         (S): Likewise.
37520         (SIZE): Likewise.
37521         (__mpn_lshift): Do not use BP_SYM.
37522         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37523         (PARMS): Do not use macros from bp-asm.h.
37524         (STR): Likewise.
37525         (CHR): Likewise.
37526         (__memchr): Do not use BP_SYM.
37527         (memchr): Do not use BP_SYM in weak_alias.
37528         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37529         (PARMS): Do not use macros from bp-asm.h.
37530         (BLK2): Likewise.
37531         (LEN): Likewise.
37532         (memcmp): Do not use BP_SYM.
37533         (bcmp): Do not use BP_SYM in weak_alias.
37534         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
37535         (PARMS): Do not use macros from bp-asm.h.
37536         (S1): Likewise.
37537         (SIZE): Likewise.
37538         (__mpn_mul_1): Do not use BP_SYM.
37539         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
37540         "bp-asm.h".
37541         (PARMS): Do not use macros from bp-asm.h.
37542         (STR): Likewise.
37543         (CHR): Likewise.
37544         (__rawmemchr): Do not use BP_SYM.
37545         (rawmemchr): Do not use BP_SYM in weak_alias.
37546         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
37547         (PARMS): Do not use macros from bp-asm.h.
37548         (S): Likewise.
37549         (SIZE): Likewise.
37550         (__mpn_rshift): Do not use BP_SYM.
37551         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
37552         (PARMS): Do not use macros from bp-asm.h.
37553         (SIGMSK): Likewise.
37554         (__sigsetjmp): Likewise.  Do not use BP_SYM.
37555         * sysdeps/i386/start.S: Do not include "bp-sym.h".
37556         (_start): Do not use BP_SYM.
37557         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
37558         (PARMS): Do not use macros from bp-asm.h.
37559         (DEST): Likewise.
37560         (SRC): Likewise.
37561         (__stpcpy): Likewise.  Do not use BP_SYM.
37562         (stpcpy): Do not use BP_SYM in weak_alias.
37563         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
37564         "bp-asm.h".
37565         (PARMS): Do not use macros from bp-asm.h.
37566         (DEST): Likewise.
37567         (SRC): Likewise.
37568         (LEN): Likewise.
37569         (__stpncpy): Likewise.  Do not use BP_SYM.
37570         (stpncpy): Do not use BP_SYM in weak_alias.
37571         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
37572         (PARMS): Do not use macros from bp-asm.h.
37573         (STR): Likewise.
37574         (CHR): Likewise.
37575         (strchr): Likewise.  Do not use BP_SYM.
37576         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
37577         "bp-asm.h".
37578         (PARMS): Do not use macros from bp-asm.h.
37579         (STR): Likewise.
37580         (CHR): Likewise.
37581         (__strchrnul): Likewise.  Do not use BP_SYM.
37582         (strchrnul): Do not use BP_SYM in weak_alias.
37583         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
37584         "bp-asm.h".
37585         (PARMS): Do not use macros from bp-asm.h.
37586         (STOP): Likewise.
37587         (strcspn): Do not use BP_SYM.
37588         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
37589         "bp-asm.h".
37590         (PARMS): Do not use macros from bp-asm.h.
37591         (STR): Likewise.
37592         (STOP): Likewise.
37593         (strpbrk): Likewise.  Do not use BP_SYM.
37594         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
37595         "bp-asm.h".
37596         (PARMS): Do not use macros from bp-asm.h.
37597         (STR): Likewise.
37598         (CHR): Likewise.
37599         (strrchr): Likewise.  Do not use BP_SYM.
37600         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
37601         (PARMS): Do not use macros from bp-asm.h.
37602         (SKIP): Likewise.
37603         (strspn): Do not use BP_SYM.
37604         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
37605         (PARMS): Do not use macros from bp-asm.h.
37606         (STR): Likewise.
37607         (DELIM): Likewise.
37608         (SAVE): Likewise.
37609         (FUNCTION): Likewise.  Do not use BP_SYM.
37610         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
37611         aliases.
37612         (strtok_r): Likewise.
37613         (__GI___strtok_r): Likewise.
37614         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37615         (PARMS): Do not use macros from bp-asm.h.
37616         (S1): Likewise.
37617         (S2): Likewise.
37618         (SIZE): Likewise.
37619         (__mpn_sub_n): Do not use BP_SYM.
37620         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
37621         "bp-asm.h".
37622         (PARMS): Do not use macros from bp-asm.h.
37623         (S1): Likewise.
37624         (SIZE): Likewise.
37625         (__mpn_submul_1): Do not use BP_SYM.
37626         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
37627         <bp-sym.h>.
37628         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
37629         and <bp-asm.h>.
37630         (PARMS): Do not use macros from bp-asm.h.
37631         (FLAGS): Likewise.
37632         (PTID): Likewise.
37633         (TLS): Likewise.
37634         (CTID): Likewise.
37635         (__clone): Do not use BP_SYM.
37636         (clone): Do not use BP_SYM in weak_alias.
37637         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
37638         and <bp-asm.h>.
37639         (PARMS): Do not use macros from bp-asm.h.
37640         (LEN): Likewise.
37641         (__mmap64): Do not use BP_SYM.
37642         (mmap64): Do not use BP_SYM in weak_alias.
37643         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37644         <bp-sym.h> and <bp-asm.h>.
37645         (PARMS): Do not use macros from bp-asm.h.
37646         (__posix_fadvise64_l64): Do not use BP_SYM.
37647         * sysdeps/unix/sysv/linux/i386/semtimedop.S
37648         (PARMS): Do not use macros from bp-asm.h.
37649         (NSOPS): Likewise.
37650         (semtimedop): Do not use BP_SYM.
37651         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
37652         and <bp-asm.h>.
37654 2013-02-21  Allan McRae  <allan@archlinux.org>
37656         * manual/message.texi (Charset conversion in gettext):
37657         Move @end statement to beginning of line.
37659 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37661         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
37662         static.
37663         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37664         Likewise.
37666         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
37667         (denorm): Likewise.
37668         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
37669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
37671 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37673         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
37674         tail-call to the resolved function if pltexit isn't needed.
37676 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37678         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
37679         or Y being zero as being unlikely.
37680         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37681         Likewise.
37683 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
37685         * manual/nss.texi (System Databases and Name Service Switch):
37686         Remove frobnicate @pxref.
37688 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37690         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37691         __attribute__ ((unused)) to __attribute__ ((__unused__)).
37693 2013-02-20  Petr Machata  <pmachata@redhat.com>
37695         * elf/elf.h (R_ARM_TARGET1): New macro.
37696         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
37697         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
37698         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
37699         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
37700         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
37701         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
37702         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
37703         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
37704         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
37705         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
37706         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
37707         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
37708         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
37709         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
37710         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
37711         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
37712         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
37713         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
37714         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
37715         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
37716         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
37717         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
37718         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
37719         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
37720         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
37721         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
37722         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
37723         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
37724         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
37725         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
37726         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
37727         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
37728         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
37729         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
37730         (R_ARM_THM_GOT_BREL12): Likewise.
37731         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
37732         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
37733         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
37734         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
37735         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
37736         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
37737         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
37738         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
37739         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
37741 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
37743         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
37744         __attribute_used__ to __attribute__ ((unused)).
37746 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37748         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
37749         powerpc mpa.c.
37750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
37751         comment formatting.
37752         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
37754 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
37756         [BZ #13550]
37757         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
37758         Remove macro.
37759         (ENTER): Remove both macro definitions.
37760         (LEAVE): Likewise.
37761         (CHECK_BOUNDS_LOW): Likewise.
37762         (CHECK_BOUNDS_HIGH): Likewise.
37763         (CHECK_BOUNDS_BOTH): Likewise.
37764         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
37765         (RETURN_BOUNDED_POINTER): Likewise.
37766         (RETURN_NULL_BOUNDED_POINTER): Likewise.
37767         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
37768         (POP_ERRNO_LOCATION_RETURN): Likewise.
37769         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
37770         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37771         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
37772         macros.
37773         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37774         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
37775         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
37776         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
37777         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
37778         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
37779         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
37780         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
37781         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
37782         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
37783         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
37784         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
37785         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37786         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
37787         removed macros.
37788         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37789         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
37790         macros.
37791         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37792         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
37793         * sysdeps/i386/i586/memset.S (memset): Likewise.
37794         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
37795         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37796         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
37797         macros.
37798         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37799         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
37800         Change uses of L(2) to L(out).
37801         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
37802         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
37803         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
37804         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37805         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
37806         removed macros.
37807         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37808         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
37809         macros.
37810         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37811         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
37812         (RETURN): Do not use macro LEAVE.
37813         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
37814         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
37815         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
37816         * sysdeps/i386/i686/memset.S (memset): Likewise.
37817         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
37818         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
37819         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37820         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
37821         Likewise.
37822         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37823         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
37824         L(1_2) and L(1_3) into L(1).
37825         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37826         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37827         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37828         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37829         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37830         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37831         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37832         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37833         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37834         macros.
37835         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37836         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37837         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37838         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37839         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37840         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37841         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37842         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37843         * sysdeps/i386/strcspn.S (strcspn): Likewise.
37844         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37845         * sysdeps/i386/strrchr.S (strrchr): Likewise.
37846         * sysdeps/i386/strspn.S (strspn): Likewise.
37847         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37848         conditional code.
37849         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37850         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37851         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37852         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
37853         L(1_3) into L(1_1).
37854         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37855         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37856         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37857         macros.
37858         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37860 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
37862         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37863         macro.
37865 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37867         * math/atest-exp.c (exp_mpn): Remove ROUND.
37868         * math/atest-exp2.c (exp_mpn): Likewise.
37869         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37871         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37872         * stdlib/tst-tls-atexit-lib.c: Likewise.
37873         * stdlib/tst-tls-atexit.c: Likewise.
37875 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37877         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37878         and __attribute_alloc_size__.
37880 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37882         * include/programs/xmalloc.h: Change __attribute_alloc_size to
37883         __attribute_alloc_size__.
37884         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37885         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37887 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
37889         * include/programs/xmalloc.h: New file.
37890         * catgets/gencat.c: Include it.
37891         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37892         * elf/pldd.c: Likewise.
37893         * iconv/iconv_charmap.c: Likewise.
37894         * iconv/iconvconfig.c: Likewise.
37895         * iconv/strtab.c: Likewise.
37896         * locale/programs/locale.c: Likewise.
37897         * locale/programs/localedef.h: Likewise.
37898         * locale/programs/simple-hash.c: Likewise.
37899         * nscd/nscd.h: Likewise.
37900         * nss/makedb.c: Likewise.
37901         * sysdeps/generic/ldconfig.h: Likewise.
37903 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37905         * Versions.def: Add GLIBC_2.18.
37906         * include/link.h (struct link_map): New member l_tls_dtor_count.
37907         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37908         (__call_tls_dtors): Likewise.
37909         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37910         __cxa_thread_atexit_impl.
37911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37912         Likewise.
37913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37914         Likewise.
37915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37916         Likewise.
37917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37918         Likewise.
37919         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37921         Likewise.
37922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37923         Likewise.
37924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37926         Likewise.
37927         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37928         (tests): Add test case tst-tls-atexit.
37929         (modules-names): Add shared library for tst-tls-atexit.
37930         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37931         (GLIBC_PRIVATE): Add __call_tls_dtors.
37932         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37933         for libstdc++.
37934         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37935         * stdlib/tst-tls-atexit.c: New test case.
37936         * stdlib/tst-tls-atexit-lib.c: New test case.
37938         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37940         * elf/Versions (ld): Add _dl_find_dso_for_object.
37941         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37942         * elf/dl-open.c (_dl_find_dso_for_object): New function.
37943         (dl_open_worker): Use _dl_find_dso_for_object.
37944         * elf/dl-sym.c (do_sym): Likewise.
37945         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37947 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37949         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37950         Syntactic changes only.
37951         (_dl_runtime_profile): Do a tail-call to the resolved function.
37953 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
37955         [BZ #13550]
37956         * sysdeps/x86_64/bp-asm.h: Remove file.
37957         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37958         <bp-sym.h> and <bp-asm.h>.
37959         (__clone): Do not use BP_SYM.
37960         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37961         <bp-sym.h> and <bp-asm.h>.
37962         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37963         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37964         "bp-asm.h".
37965         (_setjmp): Do not use BP_SYM.
37966         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37967         "bp-asm.h".
37968         (setjmp): Do not use BP_SYM.
37969         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37970         libc_hidden_def.
37971         (mempcpy): Do not use BP_SYM in weak_alias.
37972         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37973         "bp-asm.h".
37974         (strchr): Do not use BP_SYM.
37975         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37976         "bp-asm.h".
37977         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37978         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37979         (_start): Do not use BP_SYM.
37980         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37981         "bp-asm.h".
37982         (strcat): Do not use BP_SYM.
37983         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37984         "bp-asm.h".
37985         (STRCMP): Do not use BP_SYM.
37986         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37987         "bp-asm.h".
37988         (STRCPY): Do not use BP_SYM.
37989         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37990         "bp-asm.h".
37991         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37992         "bp-asm.h".
37993         (FUNCTION): Do not use BP_SYM.
37994         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37995         weak_alias.
37996         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37998 2013-02-17  Andreas Jaeger  <aj@suse.de>
38000         * time/Versions: Sort entries.
38001         * string/Versions: Likewise.
38002         * resolv/Versions: Likewise.
38003         * posix/Versions: Likewise.
38004         * iconv/Versions: Likewise.
38005         * elf/Versions: Likewise.
38006         * wcsmbs/Versions: Likewise.
38008 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38010         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38011         loop termination condition.
38013         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38014         variable to calculate EZ.
38015         (__sqr): Likewise.
38017         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38018         the lower precision input.
38020 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38022         [BZ #13550]
38023         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38024         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38025         (run-via-rtld-prefix): Do not handle %-bp tests.
38026         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38027         (all-object-suffixes): Remove .ob.
38028         (bppfx): Remove variable.
38029         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38030         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38031         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38032         [$(build-bounded) = yes] (libtype.ob): Likewise.
38033         * Makerules (elide-routines.ob): Remove variable.
38034         (do-tests-clean): Do not handle *-bp.out.
38035         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38036         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38037         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38038         (tests): Do not include $(tests-bp.out).
38039         (xtests): Do not include $(xtests-bp.out).
38040         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38041         [$(build-bounded) = yes] ($(addprefix
38042         $(objpfx),$(binaries-bounded))): Remove rule.
38043         ($(objpfx)%-bp.out): Remove rule.
38044         * config.make.in (build-bounded): Remove variable.
38045         * crypt/Makefile [$(build-bounded) = yes]
38046         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38047         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38048         append to variable.
38049         [$(build-bounded) = yes] (install-lib): Likewise.
38050         [$(build-bounded) = yes] (generated): Likewise.
38051         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38052         Remove rule.
38053         * intl/Makefile [$(build-bounded) = yes]
38054         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38055         * math/Makefile [$(build-bounded) = yes]
38056         ($(tests:%=$(objpfx)%-bp): Likewise.
38057         * misc/Makefile [$(build-bounded) = yes]
38058         ($(objpfx)tst-tsearch-bp): Likewise.
38059         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38060         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38061         Remove dependency.
38062         * string/Makefile (o-objects.ob): Remove variable.
38063         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38064         (CFLAGS-.ob): Remove variable.
38065         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38066         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38067         both definitions of variable.
38068         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38069         (ASFLAGS-.ob): Remove variable.
38071 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38073         [BZ #13550]
38074         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38075         Remove __BOUNDED_POINTERS__ from condition.
38076         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38077         * string/bits/string2.h [!__NO_STRING_INLINES &&
38078         !__BOUNDED_POINTERS__]: Likewise.
38079         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38080         Likewise.
38081         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38082         Remove conditional code.
38083         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38084         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38085         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38086         condition.
38088         [BZ #13550]
38089         * csu/libc-start.c: Do not include <bp-sym.h>.
38090         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38091         * elf/dl-open.c: Do not include <bp-sym.h>.
38092         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38093         * math/fegetenv.c: Do not include <bp-sym.h>.
38094         (fegetenv): Do not use BP_SYM in versioned symbols.
38095         * nptl/sysdeps/pthread/bits/libc-lockP.h
38096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38097         <bp-sym.h>.
38098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38099         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38101         (__pthread_mutex_destroy): Likewise.
38102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38103         (__pthread_mutex_lock): Likewise.
38104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38105         (__pthread_mutex_trylock): Likewise.
38106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38107         (__pthread_mutex_unlock): Likewise.
38108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38109         (__pthread_mutexattr_init): Likewise.
38110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38111         (__pthread_mutexattr_destroy): Likewise.
38112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38113         (__pthread_mutexattr_settype): Likewise.
38114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38115         (__pthread_rwlock_init): Likewise.
38116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38117         (__pthread_rwlock_destroy): Likewise.
38118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38119         (__pthread_rwlock_rdlock): Likewise.
38120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38121         (__pthread_rwlock_tryrdlock): Likewise.
38122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38123         (__pthread_rwlock_wrlock): Likewise.
38124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38125         (__pthread_rwlock_trywrlock): Likewise.
38126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38127         (__pthread_rwlock_unlock): Likewise.
38128         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38129         (__pthread_key_create): Likewise.
38130         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38131         (__pthread_setspecific): Likewise.
38132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38133         (__pthread_getspecific): Likewise.
38134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38135         Likewise.
38136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38137         (_pthread_cleanup_push_defer): Likewise.
38138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38139         (_pthread_cleanup_pop_restore): Likewise.
38140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38141         (pthread_setcancelstate): Likewise.
38142         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38143         <bp-sym.h>.
38144         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38145         (memchr): Do not use BP_SYM in weak_alias.
38146         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38147         (fegetenv): Do not use BP_SYM in versioned symbols.
38148         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38149         (fesetenv): Do not use BP_SYM in versioned symbols.
38150         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38151         (feupdateenv): Do not use BP_SYM in versioned symbols.
38152         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38153         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38154         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38155         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38156         (open64): Do not use BP_SYM in weak_alias.
38157         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38158         (fegetenv): Do not use BP_SYM in versioned symbols.
38159         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38160         (fesetenv): Do not use BP_SYM in versioned symbols.
38161         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38162         (feupdateenv): Do not use BP_SYM in versioned symbols.
38163         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38164         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38165         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38166         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38167         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38168         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38169         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38170         <bp-sym.h>.
38171         (__libc_start_main): Do not use BP_SYM.
38173 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38175         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38176         redundant return line.
38177         (norm): Likewise.
38178         (denorm): Likewise.
38179         (dbl_mp): Likewise.
38180         (sub_magnitudes): Likewise.
38181         (__add): Likewise.
38182         (__sub): Likewise.
38183         (__mul): Likewise.
38184         (__inv): Likewise.
38185         (__dvd): Likewise.
38186         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38187         (norm): Likewise.
38188         (denorm): Likewise.
38189         (dbl_mp): Likewise.
38190         (sub_magnitudes): Likewise.
38191         (__add): Likewise.
38192         (__sub): Likewise.
38193         (__mul): Likewise.
38194         (__inv): Likewise.
38195         (__dvd): Likewise.
38197         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38198         instead of __mul.
38199         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38200         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38201         (cc32): Likewise.
38203         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38204         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38205         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38206         of __mul for squares.
38207         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38208         function
38209         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38210         Likewise.
38211         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38212         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38214 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38216         [BZ #13550]
38217         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38218         code.
38219         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38220         prototype or function definition.  Rename ubp_* variables and
38221         parameters.  Remove argv definitions conditional on
38222         [__BOUNDED_POINTERS__].
38223         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38224         * elf/dl-runtime.c (_dl_fixup): Likewise.
38225         * include/set-hooks.h (RUN_HOOK): Likewise.
38226         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38227         definition.
38228         * string/strcpy.c (strcpy): Do not use __unbounded.
38229         * sysdeps/generic/frame.h (struct layout): Likewise.
38230         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38231         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38232         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38233         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38234         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38235         (__backtrace): Likewise.
38236         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38237         use __ptrvalue.
38238         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38239         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38240         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38241         Likewise.
38242         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38243         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38244         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38245         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38246         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38247         Do not use __unbounded.
38248         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38249         Rename __unboundedrlimits parameter to rlimits in prototype.
38250         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38251         Do not use __unbounded.
38252         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38253         not use __ptrvalue.
38254         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38255         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38256         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38257         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38258         __ptrvalue or __unbounded.
38259         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38260         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38261         use __unbounded.
38262         (__new_msgctl): Do not use __ptrvalue.
38263         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38264         __unbounded.
38265         (__libc_msgrcv): Do not use __ptrvalue.
38266         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38267         startup_info): Do not use __unbounded.
38268         (__libc_start_main): Likewise.  Rename ubp_* variables and
38269         parameters.  Remove argv definitions conditional on
38270         [__BOUNDED_POINTERS__].
38271         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38272         __ptrvalue.
38273         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38274         use __unbounded.
38275         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38276         or __ptrvalue.
38277         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38278         use __unbounded.
38279         (__new_shmctl): Do not use __ptrvalue.
38280         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38281         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38282         Likewise.
38283         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38284         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38285         (__libc_sigaction): Likewise.
38286         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38287         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38288         Likewise.
38289         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38291 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38293         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38295         * string/mempcpy.c: Implement by calling memcpy.
38297 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38299         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38301         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38302         evaluation.
38304         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38305         values in the mantissa.
38307         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38308         minimize writes to Z.
38309         (sub_magnitudes): Simplify code a bit.
38311 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38313         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38314         from the message.  The linker prefixes all warnings with that already.
38316 2013-02-12  Andreas Schwab  <schwab@suse.de>
38318         [BZ #15078]
38319         * posix/regexec.c (extend_buffers): Add parameter min_len.
38320         (check_matching): Pass minimum needed length.
38321         (clean_state_log_if_needed): Likewise.
38322         (get_subexp): Likewise.
38323         * posix/Makefile (tests): Add bug-regex34.
38324         (bug-regex34-ENV): Define.
38325         * posix/bug-regex34.c: New file.
38327         [BZ #11561]
38328         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38329         elements compare against the byte sequence of it, not its name.
38330         * posix/Makefile (tests): Add bug-regex35.
38331         (bug-regex35-ENV): Define.
38332         * posix/bug-regex35.c: New file.
38334 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38336         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38337         comment.
38338         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38339         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38340         (CHECK_EOL): Add undef.
38342 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38344         * bits/stdlib-bsearch.h: New file.
38345         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38346         * stdlib/stdlib.h: Likewise.
38348 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38350         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38351         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38352         declaration.
38353         * manual/search.texi (Array Search Function): Add missing const in
38354         lfind prototype.
38355         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38356         declaration to use rlim_t.
38357         (Basic Scheduling Functions): Remove erroneous const from
38358         sched_getparam prototype.  Remove erroneous * from
38359         sched_get_priority_max and sched_get_priority_min prototypes.
38360         (Resource Usage): Fix summary @comment on vtimes to refer to
38361         sys/vtimes.h rather than vtimes.h.
38362         Add missing *s in vtimes prototype.
38363         (Limits on Resources): Fix ulimit prototype to return long int.
38364         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38365         prototypes to use long int rather than double.
38366         (BSD Random): Fix initstate and setstate to use char *, not void *.
38367         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38368         prototype to make second argument 'struct aiocb64 *const[]'.
38369         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38370         (Status of AIO Operations): Remove erroneous const in aio_return and
38371         aio_return64 prototypes.
38372         (Synchronizing I/O): Fix sync prototype to return void.
38373         * manual/startup.texi (Suboptions): Remove an erroneous const in
38374         getsubopt prototype.
38375         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38376         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38377         use size_t rather than int.
38378         (Scanning All Users): Likewise for getpwent_r.
38379         (Setting Groups): Add missing const to setgroups prototype.
38380         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38381         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38382         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38383         'const void *' rather than 'const char *'.
38384         (Host Address Functions): Likewise for inet_ntop.
38385         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38386         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38387         ssize_t for return value.
38388         (Sending Data): Likewise for send, sendto, sendmsg.
38389         (Socket Option Functions): Add a missing const in setsockopt prototype.
38390         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38391         use wchar_t for the argument.
38392         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38393         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38394         take no arguments.
38395         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38396         double/float/long double for second argument.
38397         Fix return types of significand, significandf, significandl.
38398         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38399         argument in fchmod prototype.
38400         (File Owner): Use uid_t and gid_t in fchown prototype.
38401         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38402         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38403         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38404         use 'const struct dirent **' as argument types to CMP function pointer
38405         argument.
38406         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38407         (File Times): Fix summary magic @comment for struct utimbuf and utime
38408         to refer to utime.h, not time.h.
38409         * manual/string.texi (Argz Functions): Add missing const in
38410         argz_extract and argz_next prototypes.
38411         (Finding Tokens in a String): Likewise for basename.
38412         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38413         (Copying and Concatenation): Fix typo in wmemmove prototype.
38414         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38415         (Signal Stack): Remove erroneous const in sigstack prototype.
38416         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38417         prototype.
38418         (Simple Calendar Time): Likewise for stime.
38419         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38420         prototype.
38421         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38422         say sys/sysctl.h instead.
38423         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38424         and vsyslog prototypes.
38426 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38428         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38429         Remove.
38431 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38433         * misc/sys/mman.h: Fix typo in mremap comment.
38435 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38437         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38438         the '\0' terminator.
38440 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38442         [BZ #13550]
38443         * debug/segfault.c: Don't include <bp-checks.h>.
38444         * sysdeps/generic/bp-checks.h: Remove file.
38445         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38446         (__GETDENTS): Don't use CHECK_N.
38447         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38448         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38449         (__getgroups): Don't use CHECK_N.
38450         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38451         (setgroups): Don't use CHECK_N.
38452         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38453         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38454         (__libc_msgrcv): Don't use CHECK_N.
38455         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38456         (__libc_msgsnd): Don't use CHECK_N.
38457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38458         <bp-checks.h>.
38459         (__libc_pread): Don't use CHECK_N.
38460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38461         include <bp-checks.h>.
38462         (__libc_pread64): Don't use CHECK_N.
38463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38464         include <bp-checks.h>.
38465         (__libc_pwrite): Don't use CHECK_N.
38466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38467         include <bp-checks.h>.
38468         (__libc_pwrite64): Don't use CHECK_N.
38469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38470         <bp-checks.h>.
38471         (__libc_pread): Don't use CHECK_N.
38472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38473         include <bp-checks.h>.
38474         (__libc_pread64): Don't use CHECK_N.
38475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38476         include <bp-checks.h>.
38477         (__libc_pwrite): Don't use CHECK_N.
38478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38479         include <bp-checks.h>.
38480         (__libc_pwrite64): Don't use CHECK_N.
38481         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38482         (do_pread): Don't use CHECK_N.
38483         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38484         (do_pread64): Don't use CHECK_N.
38485         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38486         (do_pwrite): Don't use CHECK_N.
38487         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38488         (do_pwrite64): Don't use CHECK_N.
38489         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38490         (__libc_readv): Don't use CHECK_N.
38491         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38492         (semop): Don't use CHECK_N.
38493         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
38494         <bp-checks.h>.
38495         (semtimedop): Don't use CHECK_N.
38496         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
38497         (__libc_pread): Don't use CHECK_N.
38498         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
38499         <bp-checks.h>.
38500         (__libc_pread64): Don't use CHECK_N.
38501         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
38502         <bp-checks.h>.
38503         (__libc_pwrite): Don't use CHECK_N.
38504         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
38505         <bp-checks.h>.
38506         (__libc_pwrite64): Don't use CHECK_N.
38507         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
38508         <bp-checks.h>.
38509         (__libc_msgrcv): Don't use CHECK_N.
38510         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
38511         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
38512         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
38513         (__libc_writev): Don't use CHECK_N.
38515 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38517         * string/strcpy.c: Removed unused variable.
38519         * Makeconfig (+sysdep-includes): Define with := rather than =.
38520         Use an existing include/ subdir of each sysdeps dir before it.
38522 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38524         * nscd/connection.c (register_traced_file): Comment function.
38525         [HAVE_INOTIFY] (union __inev): Define.
38526         [HAVE_INOTIFY] (inotify_check_files): New function.
38527         [HAVE_INOTIFY] (clear_db_cache): Likewise.
38528         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
38529         clear_db_cache.
38530         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
38532 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38534         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
38535         loaded if not already and that a failure is permanent.
38537 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
38539         [BZ #15006]
38540         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
38541         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
38543 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38545         [BZ #13550]
38546         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
38547         (CHECK_1_NULL_OK): Likewise.
38548         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
38549         (__fxstat): Do not use CHECK_1.
38550         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
38551         <bp-checks.h>.
38552         (___fxstat64): Do not use CHECK_1.
38553         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38554         <bp-checks.h>.
38555         (__fxstatat): Do not use CHECK_1.
38556         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38557         <bp-checks.h>.
38558         (__fxstatat64): Do not use CHECK_1.
38559         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
38560         <bp-checks.h>.
38561         (__fxstat): Do not use CHECK_1.
38562         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38563         <bp-checks.h>.
38564         (__fxstatat): Do not use CHECK_1.
38565         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38566         <bp-checks.h>.
38567         (__getresgid): Do not use CHECK_1.
38568         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38569         <bp-checks.h>.
38570         (__getresuid): Do not use CHECK_1.
38571         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
38572         <bp-checks.h>.
38573         (__lxstat): Do not use CHECK_1.
38574         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38575         <bp-checks.h>.
38576         (__old_msgctl): Do not use CHECK_1.
38577         (__new_msgctl): Likewise.
38578         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
38579         <bp-checks.h>.
38580         (__new_setrlimit): Do not use CHECK_1.
38581         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38582         <bp-checks.h>.
38583         (__old_shmctl): Do not use CHECK_1.
38584         (__new_shmctl): Likewise.
38585         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
38586         <bp-checks.h>.
38587         (__xstat): Do not use CHECK_1.
38588         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
38589         (__lxstat): Do not use CHECK_1.
38590         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
38591         <bp-checks.h>.
38592         (___lxstat64): Do not use CHECK_1.
38593         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
38594         (__old_msgctl): Do not use CHECK_1.
38595         (__new_msgctl): Likewise.
38596         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
38597         <bp-checks.h>.
38598         (__gettimeofday): Do not use CHECK_1.
38599         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
38600         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
38601         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
38602         <bp-checks.h>.
38603         (__gettimeofday): Do not use CHECK_1.
38604         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
38605         (__old_shmctl): Do not use CHECK_1_NULL_OK.
38606         (__new_shmctl): Do not use CHECK_1.
38607         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
38608         <bp-checks.h>.
38609         (do_sigtimedwait): Do not use CHECK_1.
38610         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
38611         <bp-checks.h>.
38612         (do_sigwaitinfo): Do not use CHECK_1.
38613         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
38614         <bp-checks.h>.
38615         (msgctl): Do not use CHECK_1.
38616         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
38617         <bp-checks.h>.
38618         (shmctl): Do not use CHECK_1.
38619         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
38620         (ustat): Do not use CHECK_1.
38621         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
38622         <bp-checks.h>.
38623         (__fxstat): Do not use CHECK_1.
38624         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38625         <bp-checks.h>.
38626         (__fxstatat): Do not use CHECK_1.
38627         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
38628         <bp-checks.h>.
38629         (__lxstat): Do not use CHECK_1.
38630         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
38631         <bp-checks.h>.
38632         (__xstat): Do not use CHECK_1.
38633         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
38634         (__xstat): Do not use CHECK_1.
38635         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
38636         (___xstat64): Do not use CHECK_1.
38638         [BZ #13550]
38639         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
38640         definitions.
38641         (CHECK_BOUNDS_HIGH): Likewise.
38642         * string/strcpy.c: Do not include <bp-checks.h>.
38643         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
38645 2013-02-07  Roland McGrath  <roland@hack.frob.com>
38647         * nscd/nscd-client.h (__nscd_drop_map_ref):
38648         Add __attribute__ ((unused)).
38649         * nis/nss-nisplus.h (niserr2nss): Likewise.
38651         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
38652         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
38654         * csu/libc-tls.c (init_static_tls, init_slotinfo):
38655         Remove inline keyword.
38656         * include/rounding-mode.h (round_away): Likewise.
38657         * libio/wfileops.c (adjust_wide_data): Likewise.
38658         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
38659         (__m128i_strloadu_tolower): Likewise.
38660         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
38661         (__m128i_strloadu_tolower): Likewise.
38662         * time/mktime.c (ydhms_diff): Likewise.
38663         * locale/elem-hash.h (elem_hash): Likewise.
38664         * locale/setlocale.c (setdata): Likewise.
38665         * posix/regex_internal.h (re_string_char_size_at): Likewise.
38666         (re_string_wchar_at): Likewise.
38667         (bitset_not, bitset_merge, bitset_mask): Likewise.
38668         [!(__GNUC__ > 3)] (inline): Remove macro.
38669         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
38670         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
38671         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
38672         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
38673         * string/memcmp.c (memcmp_bytes): Likewise.
38674         * locale/programs/locarchive.c (compute_hashval): Likewise.
38675         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
38676         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
38677         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
38678         * nss/getent.c (print_rpc, print_protocols): Likewise.
38679         (print_passwd, print_group, print_aliases): Likewise.
38680         * nis/nss-nisplus.h (niserr2nss): Likewise.
38681         * nscd/connections.c (restart_p): Likewise.
38682         Change return type to bool.
38684 2013-02-05  Roland McGrath  <roland@hack.frob.com>
38686         * Makeconfig (all-Depend-files): Add existing
38687         $(sorted-subdirs:=/Depend) files.
38688         (all-subdirs): Remove nss.
38689         * sysdeps/unix/inet/Subdirs: Add it here instead.
38690         * hesiod/Depend: New file.
38692         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
38693         instead of calling alloca.
38695         * io/lseek.c (__lseek): Rename to __libc_lseek.
38696         Define __lseek as an alias.
38698         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
38700 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
38702         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
38703         else clause and remove check for non-standard endianness.
38705 2013-02-04  David S. Miller  <davem@davemloft.net>
38707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38709 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
38711         [BZ #13550]
38712         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
38713         (__ubp_memchr): Remove prototype.
38714         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
38715         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38716         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
38717         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
38718         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
38719         Remove alias.
38720         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
38721         (__ubp_memchr): Likewise.
38722         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
38723         (__ubp_memchr): Likewise.
38724         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
38725         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
38726         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
38727         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
38728         CHECK_STRING.
38729         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
38730         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
38731         (__getcwd): Do not use CHECK_STRING.
38732         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38733         <bp-checks.h>.
38734         (__real_chown): Do not use CHECK_STRING.
38735         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
38736         <bp-checks.h>.
38737         (fchownat): Do not use CHECK_STRING.
38738         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
38739         CHECK_STRING.
38740         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38741         <bp-checks.h>.
38742         (__lchown): Do not use CHECK_STRING.
38743         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38744         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38745         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38746         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
38747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38748         include <bp-checks.h>.
38749         (truncate64): Do not use CHECK_STRING.
38750         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38751         <bp-checks.h>.
38752         (__real_chown): Do not use CHECK_STRING.
38753         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38754         <bp-checks.h>.
38755         (__lchown): Do not use CHECK_STRING.
38756         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38757         <bp-checks.h>.
38758         (__chown): Do not use CHECK_STRING.
38759         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
38760         <bp-checks.h>.
38761         (truncate64): Do not use CHECK_STRING.
38762         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
38763         Likewise.
38764         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
38765         (__xmknod): Do not use CHECK_STRING.
38766         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38767         <bp-checks.h>.
38768         (__xmknodat): Do not use CHECK_STRING.
38769         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38770         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
38772 2013-02-04  Andreas Schwab  <schwab@suse.de>
38774         [BZ #14142]
38775         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
38776         * include/netdb.h: Likewise for h_errno.
38777         * elf/tst-stackguard1.c: Include <tls.h>.
38779 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
38781         * elf/link.h (struct link_map): Extend the l_addr comment.
38782         * include/link.h (struct link_map): Likewise.
38784 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
38786         [BZ #13550]
38787         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
38788         (BOUNDED_1): Remove macro.
38789         * debug/backtrace.c: Don't include <bp-checks.h>.
38790         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
38791         (__backtrace): Likewise.
38792         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
38793         <bp-checks.h>.
38794         (__backtrace): Don't use BOUNDED_1.
38795         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
38796         <bp-checks.h>.
38797         (__backtrace): Don't use BOUNDED_1.
38798         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
38799         (__backtrace): Don't use BOUNDED_1.
38800         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
38801         (shmat): Don't use BOUNDED_N.
38803 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
38805         [BZ #13550]
38806         * sysdeps/generic/bp-start.h: Remove file.
38807         * csu/libc-start.c: Don't include <bp-start.h>.
38808         (LIBC_START_MAIN): Set up __environ directly instead of using
38809         INIT_ARGV_and_ENVIRON.
38810         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
38811         <bp-start.h>.
38813         [BZ #13550]
38814         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
38815         definitions.
38816         (CHECK_FCNTL): Likewise.
38817         (CHECK_N_PAGES): Likewise.
38819         [BZ #13550]
38820         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38821         definitions.
38822         (CHECK_SIGSET_NULL_OK): Likewise.
38823         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38824         <bp-checks.h>.
38825         (sigpending): Don't use CHECK_SIGSET.
38826         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38827         <bp-checks.h>.
38828         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38829         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38830         <bp-checks.h>.
38831         (do_sigsuspend): Don't use CHECK_SIGSET.
38832         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38833         use CHECK_SIGSET.
38834         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38835         (do_sigwait): Don't use CHECK_SIGSET.
38836         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38837         use CHECK_SIGSET.
38838         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38839         include <bp-checks.h>.
38840         (sigpending): Don't use CHECK_SIGSET.
38841         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38842         include <bp-checks.h>.
38843         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38844         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38845         <bp-checks.h>.
38846         (sigpending): Don't use CHECK_SIGSET.
38847         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38848         <bp-checks.h>.
38849         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38851         [BZ #13550]
38852         * sysdeps/generic/bp-semctl.h: Remove file.
38853         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38854         <bp-checks.h> and <bp-semctl.h>.
38855         (__old_semctl): Don't use CHECK_SEMCTL.
38856         (__new_semctl): Likewise.
38857         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38858         and <bp-semctl.h>.
38859         (__old_semctl): Don't use CHECK_SEMCTL.
38860         (__new_semctl): Likewise.
38861         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38862         <bp-checks.h> and <bp-semctl.h>.
38863         (__old_semctl): Don't use CHECK_SEMCTL.
38864         (__new_semctl): Likewise.
38865         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38866         <bp-checks.h> and <bp-semctl.h>.
38867         (semctl): Don't use CHECK_SEMCTL.
38869         [BZ #13550]
38870         * Makerules (elide-bp-thunks): Remove variable.
38871         (elide-routines.oS): Don't use $(elide-bp-thunks).
38872         (elide-routines.os): Likewise.
38873         (elide-routines.o): Likewise.
38874         (elide-routines.op): Likewise.
38875         (elide-routines.og): Likewise.
38876         (objects): Don't use $(bp-thunks).
38877         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38878         include.
38879         (common-generated): Do not add s-proto-bp.d.
38880         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38881         (int): Likewise.
38882         (typ): Likewise.
38883         Do not generate makefile rules for bounded-pointer thunks.
38884         * sysdeps/generic/bp-thunks.h: Remove file.
38885         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38886         * sysdeps/unix/s-proto-bp.S: Likewise.
38888         [BZ #15062]
38889         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38890         parts of result separately when argument is not close to line from
38891         -i to i and one part of argument is small.
38892         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38893         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38894         * math/libm-test.inc (cacos_test): Add more tests.
38895         (casin_test): Likewise.
38896         (casinh_test): Likewise.
38897         * sysdeps/i386/fpu/libm-test-ulps: Update.
38898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38900 2013-01-31  David S. Miller  <davem@davemloft.net>
38902         * po/de.po: Update from translation team.
38904 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
38906         * time/tzfile.c: Include stdint.h for SIZE_MAX.
38908 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
38910         * configure.in (_AC_PROG_CC_C89): New definition.
38911         * configure: Regenerate.
38913         * configure.in (AC_PROG_CPP): New definition.
38914         * configure: Regenerate.
38916 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38918         * debug/tst-backtrace.h: New file.
38919         * debug/tst-backtrace2.c: Include tst-backtrace.h.
38920         (ret): Remove variable.
38921         (x): Likewise.
38922         (FAIL): Remove macro.
38923         (NO_INLINE): Likewise.
38924         (fn1): Use match function instead of strstr.
38925         * debug/tst-backtrace3.c: Include tst-backtrace.h.
38926         (ret): Remove variable.
38927         (x): Likewise.
38928         (FAIL): Remove macro.
38929         (NO_INLINE): Likewise.
38930         (fn): Use match function instead of strstr.
38931         * debug/tst-backtrace4.c: Include tst-backtrace.h.
38932         (ret): Remove variable.
38933         (x): Likewise.
38934         (FAIL): Remove macro.
38935         (NO_INLINE): Likewise.
38936         (handle_signal): Use match function instead of strstr.
38937         * debug/tst-backtrace5.c: Include tst-backtrace.h.
38938         (ret): Remove variable.
38939         (x): Likewise.
38940         (FAIL): Remove macro.
38941         (NO_INLINE): Likewise.
38942         (handle_signal): Use match function instead of strstr.
38944 2013-01-23  Roland McGrath  <roland@hack.frob.com>
38946         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38948 2013-01-23  David S. Miller  <davem@davemloft.net>
38950         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38951         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38952         argument of CAS if possible.
38953         * sysdeps/sparc/sparc64/bits/atomic.h
38954         (__arch_compare_and_exchange_val_32_acq): Likewise.
38955         (__arch_compare_and_exchange_val_64_acq): Likewise.
38957 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
38959         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38960         * sysdeps/posix/ulimit.c: ... this.
38961         Include <limits.h>.
38962         * sysdeps/unix/bsd/ulimit.c: Remove file.
38964 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38966         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38967         (LDFLAGS-tst-array5): Likewise.
38969 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38971         [BZ #15036]
38972         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38973         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38974         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38975         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38977 2013-01-21  David S. Miller  <davem@davemloft.net>
38979         * sysdeps/sparc/backtrace.c: New file.
38980         * sysdeps/sparc/sparc32/backtrace.h: New file.
38981         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38982         * sysdeps/sparc/sparc64/backtrace.h: New file.
38983         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38984         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38985         -funwind-tables.
38987 2013-01-21  Andreas Schwab  <schwab@suse.de>
38989         [BZ #15020]
38990         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38991         closed its stdout.
38993 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38995         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38996         "mpa2.h".
38997         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38999 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39000             Mark Mitchell  <mark@codesourcery.com>
39001             Tom de Vries  <tom@codesourcery.com>
39002             Paul Pluzhnikov  <ppluzhnikov@google.com>
39004         * debug/tst-backtrace2.c: New file.
39005         * debug/tst-backtrace3.c: Likewise.
39006         * debug/tst-backtrace4.c: Likewise.
39007         * debug/tst-backtrace5.c: Likewise.
39008         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39009         (CFLAGS-tst-backtrace3.c): Likewise.
39010         (CFLAGS-tst-backtrace4.c): Likewise.
39011         (CFLAGS-tst-backtrace5.c): Likewise.
39012         (LDFLAGS-tst-backtrace2): Likewise.
39013         (LDFLAGS-tst-backtrace3): Likewise.
39014         (LDFLAGS-tst-backtrace4): Likewise.
39015         (LDFLAGS-tst-backtrace5): Likewise.
39016         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39017         tst-backtrace4 and tst-backtrace5.
39019 2013-01-18  Anton Blanchard  <anton@samba.org>
39020             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39022         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39023         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39024         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39025         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39027         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39028         "+r" and remove output regs list as redundant.  Add explicit inline
39029         asm to specify register of return val to work around compiler codegen
39030         bug.  Remove (int) cast on return value.  Add return type parameter to
39031         use in macro so that this macro does not truncate return value for
39032         64-bit values.
39033         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39034         pass to INTERNAL_VSYSCALL_NCS.
39035         (INLINE_VSYSCALL): Add 'long int' as return type to
39036         INTERNAL_VSYSCALL_NCS macro invocation.
39037         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39038         INTERNAL_VSYSCALL_NCS macro invocation.
39039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39041 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39043         [BZ #14496]
39044         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39045         Fix application of SIMD FP exception mask.
39047         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39048         mp_no from a power of two.
39049         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39050         __mpexp_twomm1.  Use __pow_mp.
39052         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39053         multiplication.
39055 2013-01-17  David S. Miller  <davem@davemloft.net>
39057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39059 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39061         [BZ #15023]
39062         * include/complex.h: Condition contents on [!_COMPLEX_H].
39063         (__kernel_casinhf): New prototype.
39064         (__kernel_casinh): Likewise.
39065         (__kernel_casinhl): Likewise.
39066         * math/Makefile (libm_calls): Add k_casinh.
39067         * math/k_casinh.c: New file.
39068         * math/k_casinhf.c: Likewise.
39069         * math/k_casinhl.c: Likewise.
39070         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39071         finite nonzero arguments.
39072         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39073         finite nonzero arguments.
39074         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39075         finite nonzero arguments.
39076         * math/s_casinh.c: Do not include <float.h>.
39077         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39078         * math/s_casinhf.c: Do not include <float.h>.
39079         (__casinhf): Move code for finite nonzero arguments to
39080         k_casinhf.c.
39081         * math/s_casinhl.c: Do not include <float.h>.
39082         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39083         redefine.
39084         (__casinhl): Move code for finite nonzero arguments to
39085         k_casinhl.c.
39086         * math/libm-test.inc (cacos_test): Add more tests.
39087         * sysdeps/i386/fpu/libm-test-ulps: Update.
39088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39090 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39092         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39093         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39094         [!HAVE_MREMAP]: Remove [defined linux] case.
39095         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39097 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39099         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39101 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39103         * elf/elf.h (R_386_SIZE32): New relocation.
39104         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39105         R_386_SIZE32.
39106         (elf_machine_rela): Likewise.
39107         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39108         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39110 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39112         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39113         (FP_FAST_FMA): Do not define.
39114         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39115         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39116         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39117         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39118         !_SOFT_FLOAT]: Likewise.
39119         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39120         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39121         value.
39122         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39123         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39124         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39125         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39126         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39127         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39128         file.
39130 2013-01-16  Andreas Schwab  <schwab@suse.de>
39132         [BZ #14327]
39133         * include/stdlib.h (__mktemp): Add declaration.
39134         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39135         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39137 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39139         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39140         definitions.
39141         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39142         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39143         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39144         definitions here.
39145         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39146         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39147         definitions.
39148         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39149         and ONE.
39150         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39151         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39152         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39153         definitions.
39154         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39155         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39156         definitions.
39157         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39159         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39161 2013-01-15  David S. Miller  <davem@davemloft.net>
39163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39164         trunc{,f} to libm-sysdep_routes.
39165         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39167         file.
39168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39170         file.
39171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39172         file.
39173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39175         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39176         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39177         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39178         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39179         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39180         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39183         nearbyint{,f} to libm-sysdep_routes.
39184         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39186         New file.
39187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39188         file.
39189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39190         New file.
39191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39192         file.
39193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39195         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39196         file.
39197         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39198         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39199         file.
39200         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39201         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39202         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39204         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39205         libc_feholdexcept and libc_fesetenv.
39207 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39209         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39211 2013-01-14  David S. Miller  <davem@davemloft.net>
39213         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39214         (SPARC_ASM_VIS2_IFUNC): Likewise.
39215         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39217         use of 'siam' instruction.
39218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39219         Likewise.
39220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39221         Likewise.
39222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39223         Likewise.
39224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39226         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39227         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39229         file.
39230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39231         file.
39232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39233         file.
39234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39235         file.
39236         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39237         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39238         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39241         new VIS2 routines.
39242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39245         Likewise.
39246         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39247         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39248         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39249         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39251         routines to libm-sysdep_routines.
39252         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39255         fdim/fdimf to libm-sysdep_routines.
39256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39257         file.
39258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39260         file.
39261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39264         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39265         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39266         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39267         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39269 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39271         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39272         to optimize copies.
39274         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39276         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39279         local variable MPTWO.
39280         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39281         Likewise.
39283 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39285         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39286         GLOB_NOESCAPE.
39288 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39290         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39292 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39294         * manual/pattern.texi (glob_t): Document gl_flags.
39295         (glob64_t): Likewise.
39297 2013-01-11  David S. Miller  <davem@davemloft.net>
39299         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39300         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39301         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39302         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39303         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39304         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39305         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39306         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39307         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39308         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39309         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39310         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39311         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39313         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39314         sparc V9 rather than using V8 code.
39315         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39316         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39318         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39319         Move to...
39320         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39321         Here.
39323 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39325         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39326         not in the main loop.
39327         * configure: Regenerated.
39329 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39331         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39332         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39333         to just #else.
39334         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39335         [!__GLIBC_HAVE_LONG_LONG] case.
39336         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39337         condition to just #else.
39338         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39339         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39340         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39341         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39342         unconditional.
39343         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39344         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39345         #elif condition to just #else.
39346         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39347         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39348         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39349         #elif condition to just #else.
39351 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39353         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39354         (EF_MIPS_ARCH_64): Fix value.
39355         (EF_MIPS_ARCH_32R2): New.
39356         (EF_MIPS_ARCH_64R2): New.
39358 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39360         * Makeconfig (+link-pie-before-libc): New.
39361         (+link-pie-after-libc): Likewise.
39362         (+link-pie-tests): Likewise.
39363         (+link-pie): Rewritten.
39364         (link-before-libc): Remove $(config-LDFLAGS).
39365         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39366         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39367         (config-LDFLAGS): Renamed to ...
39368         (rtld-LDFLAGS): This.
39369         (rtld-tests-LDFLAGS): New macro.
39370         (link-libc-rpath-link): Likewise.
39371         (link-libc-tests-rpath-link): Likewise.
39372         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39373         (link-libc): Prepand $(link-libc-rpath-link).
39374         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39375         (test-program-prefix): New macro.
39376         (test-via-rtld-prefix): Likewise.
39377         (test-program-cmd): Likewise.
39378         (host-test-program-cmd): Likewise.
39379         * Makefile ($(common-objpfx)testrun.sh): Replace
39380         $(run-program-prefix) with $(test-program-prefix).
39381         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39382         $(rtld-LDFLAGS).
39383         ($(common-objpfx)shlib.lds): Likewise.
39384         (build-module-helper): Likewise.
39385         ($(common-objpfx)format.lds): Likewise.
39386         * Rules (binaries-pie-tests): New.
39387         (binaries-pie-notests): Likewise.
39388         (binaries-pie): Rewritten.
39389         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39390         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39391         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39392         (make-test-out): Replace $(host-built-program-cmd) with
39393         $(host-test-program-cmd).
39394         * config.make.in (build-hardcoded-path-in-tests): New variable.
39395         * configure.in (--enable-hardcoded-path-in-tests): New configure
39396         option.
39397         (hardcoded_path_in_tests): New AC_SUBST.
39398         * configure: Regenerated.
39399         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39400         $(built-program-cmd) with $(test-program-cmd).
39401         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39402         (test_program_cmd): This.
39403         * elf/Makefile ($(objpfx)order.out): Run test with
39404         $(test-program-prefix).
39405         ($(objpfx)order2.out): Likewise.
39406         ($(objpfx)tst-initorder.out): Likewise.
39407         ($(objpfx)tst-initorder2.out): Likewise.
39408         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39409         $(test-program-cmd).
39410         ($(objpfx)tst-array1-static.out): Likewise.
39411         ($(objpfx)tst-array2.out): Likewise.
39412         ($(objpfx)tst-array3.out): Likewise.
39413         ($(objpfx)tst-array4.out): Likewise.
39414         ($(objpfx)tst-array5.out): Likewise.
39415         ($(objpfx)tst-array5-static.out): Likewise.
39416         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39417         $(test-program-cmd).
39418         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39419         $(run-program-prefix) with $(test-program-prefix).
39420         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39421         (test_program_prefix): This.
39422         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39423         $(run-program-prefix) with $(test-program-prefix).
39424         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39425         (test_program_prefix): This.
39426         * iconvdata/tst-tables.sh: Likewise.
39427         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39428         $(run-program-prefix) with $(test-program-prefix).
39429         ($(objpfx)tst-translit.out): Likewise.
39430         ($(objpfx)tst-gettext2.out): Likewise.
39431         ($(objpfx)tst-gettext4.out): Likewise.
39432         ($(objpfx)tst-gettext6.out): Likewise.
39433         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39434         (test_program_prefix): This.
39435         * intl/tst-gettext2.sh: Likewise.
39436         * intl/tst-gettext4.sh  Likewise.
39437         * intl/tst-gettext6.sh: Likewise.
39438         * intl/tst-translit.sh: Likewise.
39439         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39440         with $(test-program-cmd).
39441         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39442         $(run-program-prefix) with $(test-program-prefix).
39443         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39444         (test_program_prefix): This.
39445         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39446         $(run-program-prefix) with $(test-program-prefix).
39447         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39448         (test_program_prefix): This.
39449         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39450         * posix/Makefile ($(objpfx)globtest.out): Replace
39451         $(run-via-rtld-prefix) and $(test-wrapper) with
39452         $(test-program-prefix) and $(test-via-rtld-prefix).
39453         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39454         $(test-program-prefix).
39455         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39456         $(host-test-program-cmd).
39457         (tst-spawn-ARGS): Likewise.
39458         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39459         $(test-program-prefix).
39460         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39461         (test_via_rtld_prefix): This.
39462         (test_wrapper): Renamed to ...
39463         (test_program_prefix): This.
39464         (run_program_prefix): Replaced by test_program_prefix.
39465         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39466         (test_program_prefix): This.
39467         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39468         with $(host-test-program-cmd).
39469         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39470         $(run-program-prefix) with $(test-program-prefix).
39471         ($(objpfx)tst-printf.out): Likewise.
39472         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39473         $(test-program-cmd).
39474         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39475         (test_program_prefix): This.
39476         * stdio-common/tst-unbputc.sh: Likewise.
39477         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39478         $(run-program-prefix) with $(test-program-prefix).
39479         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39480         (test_program_prefix): This.
39481         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39482         $(built-program-cmd) with $(test-program-cmd).
39484 2013-01-11  Andreas Jaeger  <aj@suse.de>
39486         [BZ #15003]
39487         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39488         value. Sync with Linux 3.7.
39490 2013-01-10  David S. Miller  <davem@davemloft.net>
39492         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
39493         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39494         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39496 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39498         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
39499         never set.
39500         * configure: Regenerated.
39502 2013-01-10  David S. Miller  <davem@davemloft.net>
39504         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39505         sparc V9 rather than using V8 code.
39506         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39507         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39509 2013-01-10  Roland McGrath  <roland@hack.frob.com>
39511         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
39512         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
39513         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
39514         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
39515         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
39516         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
39517         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
39518         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
39519         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
39520         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
39521         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
39522         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
39523         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
39524         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
39525         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
39526         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
39527         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
39528         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
39529         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
39530         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
39531         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
39532         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
39533         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
39534         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
39535         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
39536         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
39537         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
39539 2013-01-10  David S. Miller  <davem@davemloft.net>
39541         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39543 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39545         * posix/Makefile (tests-static): New variable.
39546         (tests): Add $(tests-static).
39547         (tst-exec-static-ARGS): New variable.
39548         (tst-spawn-static-ARGS): Likewise.
39549         * posix/tst-exec-static.c: New file.
39550         * posix/tst-spawn-static.c: Likewise.
39551         * posix/tst-exec.c: Support run directly.
39552         * posix/tst-spawn.c: Likewise.
39554 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
39556         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
39557         long.
39558         * math/bits/mathcalls.h (llrint): Likewise.
39559         (llround): Likewise.
39560         * stdlib/stdlib.h (struct drand48_data): Likewise.
39561         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
39562         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
39563         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
39564         Likewise.
39565         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
39566         Likewise.
39567         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
39568         (elf_greg_t): Likewise.
39569         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
39570         (__jmp_buf): Likewise.
39571         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
39572         definitions.
39573         (llrint): Likewise, for all definitions.
39574         (llrintl): Likewise.
39576         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
39577         Remove [__GNUC__] condition.
39578         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
39579         condition to just [__USE_ISOC99].
39580         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
39582 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
39584         [BZ #14200]
39585         * sysdeps/unix/sysv/linux/x86/bits/environments.h
39586         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
39587         defined.
39588         (_POSIX_V6_ILP32_OFF32): Likewise.
39589         (_XBS5_ILP32_OFF32): Likewise.
39590         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
39591         (__ILP32_OFFBIG_LDFLAGS): Likewise.
39593 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39595         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
39597         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
39598         doubles __mpexp_twomm1.  Adjust usage.
39599         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
39600         Remove.
39602 2013-01-10  Andreas Schwab  <schwab@suse.de>
39604         [BZ #14964]
39605         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
39606         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
39608 2013-01-09  David S. Miller  <davem@davemloft.net>
39610         [BZ #15003]
39611         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
39612         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
39613         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
39614         (TCP_FASTOPEN): Define.
39615         (tcp_repair_opt): New structure.
39616         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
39617         enum values.
39618         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
39619         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
39620         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
39621         (tcp_cookie_transactions): New structure.
39623 2013-01-09  Anton Blanchard  <anton@samba.org>
39625         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
39626         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
39627         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
39628         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
39630 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
39632         * include/features.h (__USE_ANSI): Remove.
39634 2013-01-09  Roland McGrath  <roland@hack.frob.com>
39636         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
39638         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
39640 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39642         * sysdeps/s390/fpu/libm-test-ulps: Update.
39644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39646         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
39647         (__acr): Likewise.
39648         (__cpy): Likewise.
39649         (norm): Likewise.
39650         (denorm): Likewise.
39651         (__mp_dbl): Likewise.
39652         (__dbl_mp): Likewise.
39653         (add_magnitudes): Likewise.
39654         (sub_magnitudes): Likewise.
39655         (__add): Likewise.
39656         (__sub): Likewise.
39657         (__mul): Likewise.
39658         (__inv): Likewise.
39659         (__dvd): Likewise.
39660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
39661         (__acr): Likewise.
39662         (__cpy): Likewise.
39663         (norm): Likewise.
39664         (denorm): Likewise.
39665         (__mp_dbl): Likewise.
39666         (__dbl_mp): Likewise.
39667         (add_magnitudes): Likewise.
39668         (sub_magnitudes): Likewise.
39669         (__add): Likewise.
39670         (__sub): Likewise.
39671         (__mul): Likewise.
39672         (__inv): Likewise.
39673         (__dvd): Likewise.
39674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
39675         (__acr): Likewise.
39676         (__cpy): Likewise.
39677         (norm): Likewise.
39678         (denorm): Likewise.
39679         (__mp_dbl): Likewise.
39680         (__dbl_mp): Likewise.
39681         (add_magnitudes): Likewise.
39682         (sub_magnitudes): Likewise.
39683         (__add): Likewise.
39684         (__sub): Likewise.
39685         (__mul): Likewise.
39686         (__inv): Likewise.
39687         (__dvd): Likewise.
39689 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
39691         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
39692         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
39693         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
39694         2 && __USE_EXTERN_INLINES]: Likewise.
39696 2013-01-08  Andreas Jaeger  <aj@suse.de>
39698         [BZ# 14985]
39699         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
39700         Remove.
39701         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39702         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
39704 2013-01-07  Anton Blanchard  <anton@samba.org>
39706         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
39707         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39708         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
39709         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39710         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39711         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39712         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
39713         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39714         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39715         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39716         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39717         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39718         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39719         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39720         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39721         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39722         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39723         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39724         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39725         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39726         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39727         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
39728         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39729         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39730         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
39731         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39732         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39733         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39734         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
39735         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39736         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39737         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39738         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39739         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39740         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39741         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39742         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39743         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39744         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
39745         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
39746         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
39747         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39748         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39750 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
39752         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
39753         (__MALLOC_PMT): Likewise.
39754         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
39755         [__GNUC__], only on [_LIBC].
39756         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39757         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
39758         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
39759         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
39760         forward declaration.
39761         (realloc_hook_ini): Likewise.
39762         (memalign_hook_ini): Likewise.
39763         (__libc_memalign): Do not use __MALLOC_PMT in variable
39764         declaration.
39765         (__libc_valloc): Likewise.
39766         (__libc_pvalloc): Likewise.
39767         (__libc_calloc): Likewise.
39768         (__posix_memalign): Likewise.
39770         [BZ #14996]
39771         * math/s_casinh.c: Include <float.h>.
39772         (__casinh): Do not do computation with squaring and square root
39773         for large arguments.
39774         * math/s_casinhf.c: Include <float.h>.
39775         (__casinhf): Do not do computation with squaring and square root
39776         for large arguments.
39777         * math/s_casinhl.c: Include <float.h>.
39778         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
39779         (__casinhl): Do not do computation with squaring and square root
39780         for large arguments.
39781         * math/libm-test.inc (casin_test): Add more tests.
39782         (casinh_test): Likewise.
39783         * sysdeps/i386/fpu/libm-test-ulps: Update.
39784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39786 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
39788         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
39789         (__x86_64_raw_data_cache_size): Likewise.
39790         (__x86_64_data_cache_size_half): Likewise.
39791         (__x86_64_raw_data_cache_size_half): Likewise.
39792         (__x86_64_shared_cache_size): Likewise.
39793         (__x86_64_raw_shared_cache_size): Likewise.
39794         (__x86_64_shared_cache_size_half): Likewise.
39795         (__x86_64_raw_shared_cache_size_half): Likewise.
39796         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
39797         to ...
39798         (__x86_data_cache_size): This.
39799         (__x86_64_raw_data_cache_size): Renamed to ...
39800         (__x86_raw_data_cache_size): This.
39801         (__x86_64_data_cache_size_half): Renamed to ...
39802         (__x86_data_cache_size_half): This.
39803         (__x86_64_raw_data_cache_size_half): Renamed to ...
39804         (__x86_raw_data_cache_size_half): This.
39805         (__x86_64_shared_cache_size): Renamed to ...
39806         (__x86_shared_cache_size): This.
39807         (__x86_64_raw_shared_cache_size): Renamed to ...
39808         (__x86_raw_shared_cache_size): This.
39809         (__x86_64_shared_cache_size_half): Renamed to ...
39810         (__x86_shared_cache_size_half): This.
39811         (__x86_64_raw_shared_cache_size_half): Renamed to ...
39812         (__x86_raw_shared_cache_size_half): This.
39813         * sysdeps/x86_64/memcpy.S: Updated.
39814         * sysdeps/x86_64/memset.S: Likewise.
39815         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39816         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39817         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39819 2013-01-04  David S. Miller  <davem@davemloft.net>
39821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39823 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
39825         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39826         1 to avoid redefinition warning.
39827         (__USE_GNU): Don't define.
39828         (init_signaling_nan): Protoize.
39830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39832 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39834         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39835         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39836         (__cpymn): Likewise.
39837         (norm): Remove commented code.
39838         (denorm): Likewise.
39839         (__mp_dbl): Likewise.
39840         (__inv): Likewise.
39841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39842         (__cpymn): Likewise.
39843         (norm): Remove commented code.
39844         (denorm): Likewise.
39845         (__mp_dbl): Likewise.
39846         (__inv): Likewise.
39848         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39849         mp_no value for 1.0 and 2.0.
39850         (norm): Use RADIXI instead of radixi.d.
39851         (denorm): Likewise.
39852         (__mul): Use 0.0 instead of zero.d.
39853         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39854         mp_no value for 1.0 and 2.0.
39855         (norm): Use RADIXI instead of radixi.d.
39856         (denorm): Likewise.
39857         (__mul): Use 0.0 instead of zero.d.
39859 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
39861         [BZ #14994]
39862         * math/s_casinh.c (__casinh): Reduce finite argument to first
39863         quadrant then set signs of results at the end.
39864         * math/s_casinhf.c (__casinhf): Likewise.
39865         * math/s_casinhl.c (__casinhl): Likewise.
39866         * math/libm-test.inc (casin_test): Add more tests.
39867         (casinh_test): Likewise.
39868         * sysdeps/i386/fpu/libm-test-ulps: Update.
39869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39871 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39873         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39875         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39877         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39878         declarations.
39879         (denorm): Likewise.
39880         (__mp_dbl): Likewise.
39881         (__inv): Likewise.
39883         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39884         and adjust the header comment.
39886         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39887         variable name from declaration.
39889 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
39891         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39892         Initialize COMMON_CPUID_INDEX_7 element.
39893         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39894         (CPUID_RTM): Likewise.
39895         (HAS_RTM): Likewise.
39896         (COMMON_CPUID_INDEX_7): New enum.
39898 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
39900         [BZ #14981]
39901         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39902         size is zero, record memory as freed.
39904 2013-01-03  Andreas Jaeger  <aj@suse.de>
39906         * po/ia.po: Add new Interlingua translation.
39908 2012-01-03  Allan McRae  <allan@archlinux.org>
39910         * locale/programs/localedef.c: Fix description of '--posix' flag.
39912 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
39914         * NEWS: Update dates in second copyright notice.
39915         * README: Update copyright dates in example.
39916         * manual/libc.texinfo: Update copyright dates.
39917         * scripts/test-installation.pl: Update copyright date in --version
39918         output.
39920         * hurd/ctty-input.c: Fix copyright notice formatting.
39921         * hurd/ctty-output.c: Likewise.
39922         * hurd/dtable.c: Likewise.
39923         * hurd/hurd-raise.c: Likewise.
39924         * hurd/hurdprio.c: Likewise.
39925         * hurd/msgportdemux.c: Likewise.
39926         * misc/sys/file.h: Likewise.
39927         * misc/sys/ioctl.h: Likewise.
39928         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39929         * sysdeps/mach/hurd/chdir.c: Likewise.
39930         * sysdeps/mach/hurd/fchdir.c: Likewise.
39931         * sysdeps/mach/hurd/rename.c: Likewise.
39932         * sysdeps/mach/hurd/rmdir.c: Likewise.
39933         * sysdeps/mach/hurd/seekdir.c: Likewise.
39934         * sysdeps/mach/hurd/setsid.c: Likewise.
39935         * sysdeps/posix/wait3.c: Likewise.
39937         * All files with FSF copyright notices: Update copyright dates
39938         using scripts/update-copyrights.
39939         * intl/plural.c: Regenerated.
39940         * locale/programs/charmap-kw.h: Likewise.
39941         * locale/programs/locfile-kw.h: Likewise.
39943 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39945         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39946         four values.
39948         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39949         calculation loop and add branch prediction.
39951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39952         check access beyond bounds of m1np.
39954         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39955         MPTWO.
39956         (__inv): Remove local variable MPTWO to use the global
39957         constant.
39958         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39959         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39960         variable MPTWO.
39961         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39962         MP3HALFS static const.
39964 2013-01-01  David S. Miller  <davem@davemloft.net>
39966         * po/ca.po: Update from translation team.
39968 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39970         * scripts/update-copyrights: New file.
39971         * Makeconfig: Reformat copyright notice.
39972         * ctype/ctype.h: Likewise.
39973         * debug/swprintf_chk.c: Likewise.
39974         * elf/dl-cache.c: Likewise.
39975         * elf/dl-debug.c: Likewise.
39976         * elf/dl-object.c: Likewise.
39977         * grp/initgroups.c: Likewise.
39978         * hurd/Makefile: Likewise.
39979         * hurd/hurd/signal.h: Likewise.
39980         * hurd/hurdfault.c: Likewise.
39981         * hurd/hurdioctl.c: Likewise.
39982         * hurd/hurdlookup.c: Likewise.
39983         * hurd/intr-msg.c: Likewise.
39984         * iconv/gconv_open.c: Likewise.
39985         * libio/swprintf.c: Likewise.
39986         * locale/lc-ctype.c: Likewise.
39987         * locale/nl_langinfo.c: Likewise.
39988         * mach/Machrules: Likewise.
39989         * mach/Makefile: Likewise.
39990         * malloc/obstack.h: Likewise.
39991         * manual/Makefile: Likewise.
39992         * manual/tsort.awk: Likewise.
39993         * misc/bits/stab.def: Likewise.
39994         * nis/nis_print_group_entry.c: Likewise.
39995         * nis/nis_table.c: Likewise.
39996         * nis/nss_compat/compat-pwd.c: Likewise.
39997         * nis/nss_compat/compat-spwd.c: Likewise.
39998         * po/Makefile: Likewise.
39999         * posix/fnmatch.c: Likewise.
40000         * posix/regex.h: Likewise.
40001         * resolv/Makefile: Likewise.
40002         * resolv/nss_dns/dns-network.c: Likewise.
40003         * resolv/res_hconf.c: Likewise.
40004         * scripts/gen-sorted.awk: Likewise.
40005         * soft-fp/soft-fp.h: Likewise.
40006         * stdio-common/printf.h: Likewise.
40007         * stdlib/monetary.h: Likewise.
40008         * stdlib/random.c: Likewise.
40009         * stdlib/random_r.c: Likewise.
40010         * sysdeps/generic/Makefile: Likewise.
40011         * sysdeps/gnu/Makefile: Likewise.
40012         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40013         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40014         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40015         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40016         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40017         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40018         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40019         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40020         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40021         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40022         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40023         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40024         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40025         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40026         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40027         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40028         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40029         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40030         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40031         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40032         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40033         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40034         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40035         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40036         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40037         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40038         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40039         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40040         * sysdeps/mach/hurd/errnos.awk: Likewise.
40041         * sysdeps/mach/hurd/fork.c: Likewise.
40042         * sysdeps/mach/hurd/getcwd.c: Likewise.
40043         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40044         * sysdeps/mach/hurd/mmap.c: Likewise.
40045         * sysdeps/mach/hurd/utimes.c: Likewise.
40046         * sysdeps/mach/hurd/xmknod.c: Likewise.
40047         * sysdeps/posix/profil.c: Likewise.
40048         * sysdeps/posix/readdir_r.c: Likewise.
40049         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40050         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40051         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40052         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40053         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40054         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40055         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40056         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40058         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40059         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40060         * sysdeps/pthread/lio_listio.c: Likewise.
40061         * sysdeps/sparc/dl-procinfo.h: Likewise.
40062         * sysdeps/unix/i386/sysdep.S: Likewise.
40063         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40064         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40065         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40066         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40068         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40069         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40070         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40071         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40072         * sysdeps/wordsize-32/divdi3.c: Likewise.
40073         * time/sys/time.h: Likewise.
40074         * wcsmbs/Makefile: Likewise.
40076 2013-01-01  David S. Miller  <davem@davemloft.net>
40078         * po/fr.po: Update from translation team.
40080         * catgets/gencat.c: Update copyright year.
40081         * csu/version.c: Likewise.
40082         * debug/catchsegv.sh: Likewise.
40083         * debug/pcprofiledump.c: Likewise.
40084         * debug/xtrace.sh: Likewise.
40085         * elf/ldconfig.c: Likewise.
40086         * elf/ldd.bash.in: Likewise.
40087         * elf/pldd.c: Likewise.
40088         * elf/sotruss.ksh: Likewise.
40089         * elf/sprof.c: Likewise.
40090         * iconv/iconv_prog.c: Likewise.
40091         * iconv/iconvconfig.c: Likewise.
40092         * locale/programs/locale.c: Likewise.
40093         * locale/programs/localedef.c: Likewise.
40094         * login/programs/pt_chown.c: Likewise.
40095         * malloc/memusage.sh: Likewise.
40096         * malloc/memusagestat.c: Likewise.
40097         * malloc/mtrace.pl: Likewise.
40098         * nscd/nscd.c: Likewise.
40099         * nss/getent.c: Likewise.
40100         * nss/makedb.c: Likewise.
40101         * posix/getconf.c: Likewise.
40103 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40105         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40106         numbers.
40108 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40110         * math/bits/mathcalls.h (modf): Use __nonnull.
40112 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40114         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40115         (split): Use macro CN instead of the bare value.
40116         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40117         could be used.
40118         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40119         instead of the bare value.
40120         (power1): Likewise.
40122 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40124         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40125         __ATAN_TWOM.
40126         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40128         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40129         their values.
40130         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40131         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40132         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40133         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40135 2012-12-28  Andreas Jaeger  <aj@suse.de>
40137         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40138         values are from Linux 3.7.
40140         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40141         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40143 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40145         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40146         TRUE case.
40148         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40149         (norm): Likewise.
40150         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40151         variables with preprocessor constants.
40152         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40153         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40154         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40156 2012-12-27  Bruno Haible  <bruno@clisp.org>
40158         [BZ #14317]
40159         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40160         only if needed.
40162 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40164         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40165         and use variable directly.
40166         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40168         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40169         MPONE.
40170         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40171         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40172         variable MPONE.
40173         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40174         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40175         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40176         include directive.  Remove local variable MPONE.
40177         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40178         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40179         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40181 2012-12-25  David S. Miller  <davem@davemloft.net>
40183         * version.h (RELEASE): Set to "development".
40184         (VERSION): Set to "2.17.90".
40185         * NEWS: Add 2.18 section.
40187 2012-12-21  David S. Miller  <davem@davemloft.net>
40189         * po/hr.po: Update from translation team.
40191 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40193         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40195 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40197         * NEWS:  Mention new memcpy for MIPS.
40199 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40201         * manual/contrib.texi (Contributors): Spelling correction.
40203 2012-12-15  David S. Miller  <davem@davemloft.net>
40205         * po/ru.po: Update from translation team.
40207 2012-12-13  David S. Miller  <davem@davemloft.net>
40209         * NEWS: Mention IFUNC testsuite enhancements.
40211         * po/pl.po: Update from translation team.
40212         * po/bg.po: Likewise.
40214         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40215         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40217 2012-12-11  David S. Miller  <davem@davemloft.net>
40219         * po/sv.po: Update from translation team.
40221         * po/vi.po: Update from translation team.
40223         * po/cs.po: Update from translation team.
40225         * po/de.po: Update from translation team.
40226         * po/eo.po: Likewise.
40227         * po/nl.po: Likewise.
40229 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40231         [BZ #14246]
40232         * manual/argp.texi (Argp Helper Functions): Move node to follow
40233         Argp Parsing State.
40235         [BZ #14872]
40236         * manual/conf.texi (Limits on File System Capacity): Mention if
40237         terminating null is included in the max size.
40239 2012-12-10  Andreas Jaeger  <aj@suse.de>
40241         * po/cs.po: Update from translation team.
40243 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40245         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40246         void pointer and cast to uintptr_t.
40247         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40248         path.
40249         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40250         * sysdeps/s390/s390-64/memset.S: Likewise.
40252 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40254         [BZ #14833]
40255         * menual/message.texi (Message Translation): Fix typos.
40256         (Helper programs for gettext): Likewise.
40258 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40260         [BZ #14898]
40261         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40262         Change to -1.
40264 2012-12-07  David S. Miller  <davem@davemloft.net>
40266         * po/libc.pot: Update.
40268 2012-12-07  Richard Henderson  <rth@redhat.com>
40270         [BZ #10114]
40271         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40272         normal/normal case to before the switch.
40273         (_FP_DIV): Likewise.
40275 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40276             Mike Frysinger  <vapier@gentoo.org>
40278         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40279         check for __NR_fadvise64_64.
40281 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40283         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40284         0, not just to plain "0" as a statement.
40285         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40286         with cw.
40288 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40290         * NEWS: Use sourceware.org in Bugzilla URL.
40292 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40295         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40297         * stdio-common/tst-put-error.c (do_test): Add newline to the
40298         padded test to ensure flush.
40300 2012-12-05  Jeff Law  <law@redhat.com>
40302         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40304 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40306         * README: Don't refer to ports add-on as distributed separately.
40307         Mention AArch64 in list of systems supported in the ports add-on.
40309         * LICENSES: Add more non-FSF copyright and license notices.
40311         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40312         ((unused)).
40314         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40316         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40317         10000 as width of padded output.
40319 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40321         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40323         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40324         variable LX with __attribute__ ((unused)).
40325         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40326         Likewise.
40327         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40328         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40329         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40330         with __attribute__ ((unused)).
40332 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40334         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40336 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40338         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40339         (CFLAGS-nldbl-acos.c): New variable.
40340         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40341         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40342         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40343         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40344         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40345         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40346         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40347         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40348         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40349         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40350         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40351         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40352         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40353         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40354         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40355         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40356         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40357         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40358         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40359         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40360         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40361         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40362         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40363         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40364         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40365         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40366         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40367         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40368         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40369         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40370         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40371         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40372         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40373         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40374         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40375         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40376         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40377         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40378         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40379         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40380         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40381         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40382         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40383         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40384         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40385         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40386         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40387         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40388         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40389         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40390         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40391         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40392         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40393         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40394         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40395         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40396         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40397         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40398         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40399         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40400         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40401         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40402         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40403         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40404         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40405         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40406         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40407         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40408         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40409         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40410         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40411         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40412         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40413         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40414         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40415         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40416         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40417         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40418         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40419         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40420         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40421         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40422         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40423         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40424         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40425         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40426         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40427         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40428         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40429         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40430         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40431         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40432         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40433         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40434         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40435         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40436         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40439         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40441         [BZ #14914]
40442         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40443         whole low double instead of just low 47 bits when splitting values
40444         into two parts.
40446 2012-12-03  Allan McRae  <allan@archlinux.org>
40448         * manual/stdio.texi (Predefined Printf Handlers): Remove
40449         @hsep and @vsep usage.
40451 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40453         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40454         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40456 2012-12-03  Jeff Law  <law@redhat.com>
40458         * time/sys/time.h (settimeofday): Do not mark TV argument
40459         as __nonnull.
40461 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40463         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40464         when currently writing and seek to current position when not.
40465         * libio/Makefile (tests): Remove bug-fclose1.
40466         * libio/bug-fclose1.c: Delete.
40468 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40470         * manual/arith.texi (feenableexcept): Fix typo.
40471         (fedisableexcept): Likewise.
40473 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40475         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40476         second, differently-typed declaration, rather than a cast.
40478 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40480         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40481         * include/rpc/svc.h: ... here.
40483 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40485         [BZ #13013]
40486         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40487         depending n and resplen2 to catch cases where answer
40488         equals answerp2.
40490 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40492         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
40493         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
40495 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
40497         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
40499 2012-11-29  Roland McGrath  <roland@hack.frob.com>
40501         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
40503 2012-11-28  Jeff Law  <law@redhat.com>
40505         [BZ #13761]
40506         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
40507         dataset_temporary.  Track alloca usage into alloca_used.
40508         If dataset is large allocate and release it via malloc/free.
40510 2012-06-04  Florian Weimer  <fweimer@redhat.com>
40512         [BZ #14197]
40513         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
40515 2012-11-28  David S. Miller  <davem@davemloft.net>
40517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40519 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40521         [BZ #14803]
40522         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
40523         of pi/2 rounded to nearest to 64 bits.
40524         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
40525         nearest to 64 bits.
40526         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
40527         bits.
40529 2012-11-28  Jeff Law <law@redhat.com>
40530             Martin Osvald <mosvald@redhat.com>
40532         [BZ #14889]
40533         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40534         * sunrpc/svc.c: Include time.h.
40535         (__svc_accept_failed): New function.
40536         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
40537         any reason other than EINTR, call __svc_accept_failed.
40538         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
40539         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
40541 2012-11-28  Andreas Schwab  <schwab@suse.de>
40543         * scripts/abilist.awk: Also handle indirect functions in .opd
40544         section.
40546 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
40548         [BZ #13881]
40549         * sysdeps/x86/fpu/powl_helper.c: New file.
40550         * sysdeps/x86/fpu/Makefile: Likewise.
40551         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
40552         (p3): New object.
40553         (__ieee754_powl): Use __powl_helper for finite arguments except
40554         integer exponents below 8.
40555         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
40556         (p3): New object.
40557         (__ieee754_powl): Use __powl_helper for finite arguments except
40558         integer exponents below 8.
40559         * math/libm-test.inc (pow_test): Add more tests and enable some
40560         previously disabled tests.
40561         * sysdeps/i386/fpu/libm-test-ulps: Update.
40562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40564 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40565             Carlos O'Donell  <carlos_odonell@mentor.com>
40567         * nss/makedb.c (is_prime): Assert that input is odd and greater
40568         than 4.  Note that fact in a comment too.
40569         (next_prime): Add 4 to input.
40571 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40573         [BZ #11741]
40574         * libio/Makefile (tests): Add test case tst-fwrite-error.
40575         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
40576         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
40577         * libio/tst-fwrite-error.c: New test case.
40579 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
40581         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
40582         before casting to void *.
40583         * include/libc-internal.h (__pointer_type): New macro.
40584         (__integer_if_pointer_type_sub): Likewise.
40585         (__integer_if_pointer_type): Likewise.
40586         (cast_to_integer): Likewise.
40587         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
40588         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
40589         before casting to atomic64_t.
40590         (atomic_exchange_acq): Likewise.
40591         (__arch_exchange_and_add_body): Likewise.
40592         (__arch_add_body): Likewise.
40593         (atomic_add_negative): Likewise.
40594         (atomic_add_zero): Likewise.
40596 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
40598         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
40599         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
40600         (add_fdes): Likewise.
40601         (linear_search_fdes): Likewise.
40602         (binary_search_unencoded_fdes): Likewise.
40604 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
40606         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
40608 2012-11-24  Adam Conrad  <adconrad@0c3.net>
40610         * configure.in: Autodetect C++ header directories.
40611         * configure: Regenerated.
40613 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
40615         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
40617 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
40619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40621 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
40623         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
40624         LDBL_MANT_DIG == 106]: Disable some tests.
40625         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40626         Likewise.
40627         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
40628         Likewise.
40630         [BZ #14871]
40631         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
40632         input for small inputs.  Return +/- pi/2 for large inputs.
40633         * math/libm-test.inc (atan_test): Add more tests.
40635         * sysdeps/generic/unwind-dw2-fde-glibc.c
40636         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
40637         __attribute__ ((unused)).
40639         [BZ #14645]
40640         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
40641         x * y if x and y are nonzero and z is zero.
40643         [BZ #14811]
40644         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
40645         nonzero exponents with absolute value below 0x1p-117 to +/-
40646         0x1p-117.
40648         [BZ #14869]
40649         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
40650         up arguments below 2**-450, not just those below 2**-500.
40651         * math/libm-test.inc (hypot_test): Add another test.
40653         [BZ #14868]
40654         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
40655         Return a+b for ratio over 2**120, not 2**60.
40656         * math/libm-test.inc (hypot_test): Add another test.
40658         * math/libm-test.inc (clog_test): Use
40659         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
40660         (clog10_test): Likewise.
40662         [BZ #6778]
40663         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
40665 2012-11-22  Andreas Schwab  <schwab@suse.de>
40667         * sysdeps/i386/fpu/libm-test-ulps: Update.
40669 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
40671         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
40672         printf output with newline.
40674 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
40676         [BZ #14865]
40677         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
40678         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
40679         -z nodlopen, -z initfirst and -z execstack support.
40680         * configure: Regenerated.
40682         * elf/elf.h (DF_1_NODIRECT): New macro.
40683         (DF_1_IGNMULDEF): Likewise.
40684         (DF_1_NOKSYMS): Likewise.
40685         (DF_1_NOHDR): Likewise.
40686         (DF_1_EDITED): Likewise.
40687         (DF_1_NORELOC): Likewise.
40688         (DF_1_SYMINTPOSE): Likewise.
40689         (DF_1_GLOBAUDIT): Likewise.
40690         (DF_1_SINGLETON): Likewise.
40691         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
40692         DT_1_SUPPORTED_MASK bits.
40693         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
40695 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
40697         * sysdeps/unix/make-syscalls.sh: Document prefixes.
40699 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
40701         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
40702         macro.
40704         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
40705         (sendmmsg): Move declarations...
40706         * socket/sys/socket.h: ... here.
40707         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
40708         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
40709         include it from...
40710         * socket/recvmmsg.c: ... this new file.
40711         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
40712         (sendmmsg): Rename to __sendmmsg, create weak alias and make
40713         definition of __sendmmsg hidden.
40714         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
40715         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
40716         Move ENOSYS stub into and include it from...
40717         * socket/sendmmsg.c: ... this new file.
40718         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
40719         (sysdep_routines): Move recvmmsg and sendmmsg...
40720         * socket/Makefile (routines): ... here.
40721         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
40722         (GLIBC_PRIVATE): Add __sendmmsg.
40723         * include/sys/socket.h (__sendmmsg): Add declarations.
40724         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
40725         sendmmsg.
40727 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
40729         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
40730         variable I1 with __attribute__ ((unused)).
40731         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40733 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40735         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
40736         DUMMY variables with __attribute__ ((unused)).
40738         * bits/byteswap.h: Include <bits/types.h>.
40739         (__bswap_64): Use __uint64_t instead of unsigned long long int.
40741 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40743         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
40744         string_t.  Do not manually set errno.
40745         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
40746         length with __strnlen.  Make sure to both set errno and return it on
40747         failure.
40749 2012-11-19  David S. Miller  <davem@davemloft.net>
40751         With help from Joseph Myers.
40752         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
40753         very large arguments properly.
40754         * math/libm-test.inc (atan_test): New tests.
40755         (atan2_test): New tests.
40756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40759 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
40761         [BZ #14856]
40762         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
40763         Define to 3.
40765         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
40766         [POSIX] (EADDRNOTAVAIL): Likewise.
40767         [POSIX] (EAFNOSUPPORT): Likewise.
40768         [POSIX] (EALREADY): Likewise.
40769         [POSIX] (ECONNABORTED): Likewise.
40770         [POSIX] (ECONNREFUSED): Likewise.
40771         [POSIX] (ECONNRESET): Likewise.
40772         [POSIX] (EDESTADDRREQ): Likewise.
40773         [POSIX] (EDQUOT): Likewise.
40774         [POSIX] (EHOSTUNREACH): Likewise.
40775         [POSIX] (EIDRM): Likewise.
40776         [POSIX] (EISCONN): Likewise.
40777         [POSIX] (ELOOP): Likewise.
40778         [POSIX] (EMULTIHOP): Likewise.
40779         [POSIX] (ENETDOWN): Likewise.
40780         [POSIX] (ENETUNREACH): Likewise.
40781         [POSIX] (ENOBUFS): Likewise.
40782         [POSIX] (ENODATA): Likewise.
40783         [POSIX] (ENOLINK): Likewise.
40784         [POSIX] (ENOMSG): Likewise.
40785         [POSIX] (ENOPROTOOPT): Likewise.
40786         [POSIX] (ENOSR): Likewise.
40787         [POSIX] (ENOSTR): Likewise.
40788         [POSIX] (ENOTCONN): Likewise.
40789         [POSIX] (ENOTSOCK): Likewise.
40790         [POSIX] (EOPNOTSUPP): Likewise.
40791         [POSIX] (EOVERFLOW): Likewise.
40792         [POSIX] (EPROTO): Likewise.
40793         [POSIX] (EPROTONOSUPPORT): Likewise.
40794         [POSIX] (EPROTOTYPE): Likewise.
40795         [POSIX] (ESTALE): Likewise.
40796         [POSIX] (ETIME): Likewise.
40797         [POSIX] (ETXTBSY): Likewise.
40798         [POSIX] (EWOULDBLOCK): Likewise.
40799         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
40800         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
40801         [POSIX] (SEEK_CUR): Likewise.
40802         [POSIX] (SEEK_END): Likewise.
40803         [POSIX || UNIX98] (mode_t): Do not require.
40804         [POSIX] (off_t): Likewise.
40805         [POSIX] (pid_t): Likewise.
40806         [POSIX] (sys/stat.h): Do not allow header.
40807         [POSIX] (unistd.h): Likewise.
40808         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
40809         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
40810         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
40811         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
40812         require.
40813         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
40814         sigevent): Specify elements.
40815         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
40816         entry.
40817         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
40818         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
40820         * conform/data/cpio.h-data [POSIX]: Disable whole file.
40821         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
40822         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40823         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40824         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40825         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40826         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40827         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40828         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40829         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40830         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40831         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40832         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40833         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40834         Likewise.
40835         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40836         Likewise.
40837         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40838         Likewise.
40839         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40840         Likewise.
40841         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40842         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40843         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40844         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40845         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40846         Specify lower bound on value.
40847         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40848         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40849         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40850         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40851         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40852         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40853         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40854         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40855         value.
40856         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40857         as optional.
40858         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40859         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40860         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40861         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40862         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40863         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40864         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40865         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40866         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40867         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40868         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40869         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40870         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40871         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40872         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40873         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40874         entry.
40875         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40876         optional.
40877         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40878         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40879         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40880         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40881         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40882         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40883         Likewise.
40884         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40885         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40886         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40887         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40888         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
40889         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40890         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40891         as optional.
40892         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40893         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40894         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40895         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40896         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40897         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40898         specify as optional.
40899         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40900         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40901         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40902         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40903         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40904         [XPG3] (NL_LANGMAX): Likewise.
40905         [POSIX || XPG3] (NL_MSGMAX): Likewise.
40906         [POSIX || XPG3] (NL_NMAX): Likewise.
40907         [POSIX || XPG3] (NL_SETMAX): Likewise.
40908         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40909         [XPG3] (NZERO): Likewise.
40910         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40911         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40912         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40913         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40914         (REG_ERANGE): Expect.
40915         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40916         optional-constant.
40917         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40918         Use (void) in prototype.
40919         [POSIX] (*_t): Allow.
40920         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40921         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40922         (WRDE_BADVAL): Expect.
40924         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40925         expect.
40926         [XPG3 || XPG4] (O_RSYNC): Likewise.
40927         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40928         Likewise.
40929         [XPG3 || XPG4] (pthread_sigmask): Likewise.
40930         [XPG3 || XPG4] (sigqueue): Likewise.
40931         [XPG3 || XPG4] (sigtimedwait): Likewise.
40932         [XPG3 || XPG4] (sigwaitinfo): Likewise.
40933         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40934         [XPG3 || XPG4] (vsnprintf): Likewise.
40935         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40936         Likewise.
40937         [XPG3 || XPG4] (blksize_t): Likewise.
40938         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40939         Likewise.
40940         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40941         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40942         [XPG3 || XPG4] (struct itimerspec): Likewise.
40943         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40944         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40945         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40946         [XPG3 || XPG4] (clockid_t): Likewise.
40947         [XPG3 || XPG4] (timer_t): Likewise.
40948         [XPG3 || XPG4] (clock_getres): Likewise.
40949         [XPG3 || XPG4] (clock_gettime): Likewise.
40950         [XPG3 || XPG4] (clock_settime): Likewise.
40951         [XPG3 || XPG4] (nanosleep): Likewise.
40952         [XPG3 || XPG4] (timer_create): Likewise.
40953         [XPG3 || XPG4] (timer_delete): Likewise.
40954         [XPG3 || XPG4] (timer_gettime): Likewise.
40955         [XPG3 || XPG4] (timer_getoverrun): Likewise.
40956         [XPG3 || XPG4] (timer_settime): Likewise.
40957         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40958         [XPG3 || XPG4] (getlogin_r): Likewise.
40959         [XPG3 || XPG4] (pread): Likewise.
40960         [XPG3 || XPG4] (pthread_atfork): Likewise.
40961         [XPG3 || XPG4] (pwrite): Likewise.
40963         [BZ #14835]
40964         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40965         <bits/siginfo.h>.
40967 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40969         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40970         finalizing MALLSTREAM.
40972         * sysdeps/mach/hurd/syncfs.c: New file.
40974 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40976         [BZ #14719]
40977         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40978         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40979         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40980         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40981         (_nss_dns_gethostbyname4_r): Likewise.
40982         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40983         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40985 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40987         [BZ #13763]
40988         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40990 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40992         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40993         * elf/cache.c (print_entry): Print ",AArch64" for
40994         FLAG_AARCH64_LIB64
40996         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40997         * elf/cache.c (print_entry): Print ",hard-float" for
40998         FLAG_ARM_LIBHF.
41000 2012-11-18  David S. Miller  <davem@davemloft.net>
41002         With help from Joseph Myers.
41003         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41004         cutoff to 2**-13.
41005         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41006         cutoff to 2**-25.
41007         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41008         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41009         small.
41010         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41011         * math/libm-test.inc (y0_test): New tests.
41012         (y1_test): New tests.
41013         * sysdeps/i386/fpu/libm-test-ulps: Update.
41014         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41017 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41019         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41020         64-bit targets.
41021         * configure: Regenerated.
41023 2012-11-17  David S. Miller  <davem@davemloft.net>
41025         [BZ #14811]
41026         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41027         nonzero exponents with absolute value below 0x1p-128 to +/-
41028         0x1p-128.
41030 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41032         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41034         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41036         * posix/getconf-speclist.c: New file.
41037         * posix/posix-envs.def: Likewise.
41038         * posix/confstr.c (START_ENV_GROUP): New macro.
41039         (END_ENV_GROUP): Likewise.
41040         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41041         (KNOWN_PRESENT_ENV_STRING): Likewise.
41042         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41043         (UNKNOWN_ENVIRONMENT): Likewise.
41044         (confstr): Include posix-envs.def instead of handling
41045         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41046         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41047         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41048         (END_ENV_GROUP): Likewise.
41049         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41050         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41051         (UNKNOWN_ENVIRONMENT): Likewise.
41052         (__sysconf): Include posix-envs.def instead of handling associated
41053         cases directly here.
41054         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41055         preprocessing getconf-speclist.c rather than running getconf or
41056         generating empty file.
41058 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41060         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41062 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41064         [BZ #14672]
41065         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41067 2012-11-16  David S. Miller  <davem@davemloft.net>
41069         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41070         smaller than LDBL_EPSILON/2.0L, just return xm1.
41072 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41074         * elf/tst-array1.c (init): Set constructor priority to 1000.
41075         (fini): Set destructor priority to 1000.
41076         * elf/tst-array2dep.c: Likewise.
41078 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41080         [BZ #11741]
41081         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41082         (_IO_new_file_xsputn): Also return EOF if none of the input
41083         data was written when overflow failed.
41084         * libio/iopadn.c (_IO_padn): Likewise.
41085         * libio/iowpadn.c (_IO_wpadn): Likewise.
41086         * stdio-common/tst-put-error.c: Add copyright notice.
41087         (do_test): Add case for printing padded string.
41088         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41089         _IO_padn returned error.
41090         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41091         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41092         return EOF.
41094 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41096         * libio/libioP.h: Add comment note that the references to C++
41097         bits are now obsolete.
41099 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41101         * math/libm-test.inc (check_complex): Use asprintf.
41103 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41105         * debug/pcprofiledump.c (print_version): Update copyright year.
41106         * malloc/memusagestat.c (print_version): Likewise.
41108 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41110         [BZ #14831]
41111         * elf/Makefile (tests): Add tst-audit8.
41112         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41113         ($(objpfx)tst-audit8.out): New target.
41114         (tst-audit8-ENV): New variable.
41115         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41116         audit if l_reloc_result is NULL.
41117         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41118         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41119         * elf/tst-audit8.c: New file.
41121 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41123         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41124         * misc/Makefile (CFLAGS-select.c): Define.
41125         * posix/Makefile (CFLAGS-pause.c): Define.
41127 2012-11-13  David S. Miller  <davem@davemloft.net>
41129         * crypt/Makefile: Move test targets after toplevel Rules
41130         inclusion.  Grab any necessary sysdep routines when linking.
41131         * crypt/md5.c (md5_process_block): Remove define, we will always
41132         name it __md5_process_block.
41133         (md5_finish_ctx): Update md5_process_block call.
41134         (md5_stream): Likewise.
41135         (md5_process_bytes): Likewise.
41136         (md5_process_block): Rename to __md5_process_block and move to ...
41137         * crypt/md5-block.c: ... here.
41138         * crypt/sha256.c (sha256_process_block): Move to ...
41139         * crypt/sha256-block.c: ... here.
41140         * crypt/sha512.c (sha512_process_block): Move to ...
41141         * crypt/sha512-block.c: ... here.
41142         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41143         path.
41144         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41145         * sysdeps/sparc/sparc64/multiarch/Makefile
41146         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41147         crypt subdir.
41148         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41149         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41150         multiarch changes.
41151         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41152         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41153         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41154         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41155         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41156         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41157         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41158         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41159         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41160         file.
41161         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41162         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41163         file.
41164         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41166 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41168         * timezone/tzselect.ksh: Update from tzcode git revision
41169         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41170         * timezone/zdump.c: Likewise.
41171         * timezone/zic.c: Likewise.
41172         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41173         in TZVERSION setting, not $(PKGVERSION).
41174         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41175         REPORT_BUGS_TO settings.
41177         [BZ #14838]
41178         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41179         macro.
41181 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41183         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41184         detection to immediately after _FP_ROUND().
41185         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41186         bits are 0.
41188 2012-11-11  David S. Miller  <davem@davemloft.net>
41190         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41191         inttypes.h
41192         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41193         __close rather than their public counterparts.
41195 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41197         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41198         file.
41199         [UNIX98] (sem_timedwait): Do not expect.
41200         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41201         [XPG4 || UNIX98] (sockatmark): Do not expect.
41202         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41203         (clock_getcpuclockid): Do not expect.
41204         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41205         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41206         Do not expect.
41207         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41208         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41209         [UNIX98] (vwscanf): Likewise.
41210         [UNIX98] (vswscanf): Likewise.
41212 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41214         * timezone/version.h: Remove file.
41215         * timezone/README: Do not refer to version.h.
41216         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41217         $(objpfx)version.h.
41218         ($(objpfx)zdump.o): Likewise.
41219         ($(objpfx)version.h): New target.
41221         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41222         2012i.
41223         * timezone/README: Don't mention modification to tzselect.ksh.
41224         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41225         work on unmodified tzselect.ksh.  Substitute version numbers in
41226         tzselect.ksh.
41228         * Makefile (format-me): Remove.
41229         (INSTALL): Adjust indentation.  Use commands directly instead of
41230         using $(format-me).
41232         * aclocal.m4 (ACX_PKGVERSION): New macro.
41233         (ACX_BUGURL): Likewise.
41234         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41235         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41236         (REPORT_BUGS_TO): Likewise.
41237         * configure: Regenerated.
41238         * config.h.in (PKGVERSION): New macro.
41239         (REPORT_BUGS_TO): Likewise.
41240         * config.make.in (PKGVERSION): New variable.
41241         (PKGVERSION_TEXI): Likewise.
41242         (REPORT_BUGS_TO): Likewise.
41243         (REPORT_BUGS_TEXI): Likewise.
41244         * Makefile (format-me): Use -I$(common-objpfx)manual.
41245         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41246         ($(common-objpfx)manual/%): New target.
41247         (manual/%): Remove target.
41248         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41249         (print_version): Use PKGVERSION.
41250         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41251         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41252         and REPORT_BUGS_TO.
41253         ($(objpfx)xtrace): Likewise.
41254         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41255         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41256         (print_version): Use PKGVERSION.
41257         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41258         (do_version): Use PKGVERSION.
41259         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41260         REPORT_BUGS_TO.
41261         (common-ldd-rewrite): Likewise.
41262         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41263         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41264         (print_version): Use PKGVERSION.
41265         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41266         * elf/pldd.c (argp_program_bug_address): Remove variable.
41267         (more_help): New function.
41268         (argp): Use more_help.
41269         (print_version): Use PKGVERSION.
41270         * elf/sln.c (main): Use PKGVERSION.
41271         (usage): Use REPORT_BUGS_TO.
41272         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41273         (top level): Use PKGVERSION.
41274         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41275         (print_version): Use PKGVERSION.
41276         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41277         (print_version): Use PKGVERSION.
41278         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41279         (print_version): Use PKGVERSION.
41280         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41281         (print_version): Use PKGVERSION.
41282         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41283         (print_version): Use PKGVERSION.
41284         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41285         (print_version): Use PKGVERSION.
41286         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41287         and BUGURL.
41288         ($(objpfx)memusage): Likewise.
41289         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41290         (do_version): Use PKGVERSION.
41291         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41292         (print_version): Use PKGVERSION.
41293         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41294         ($PKGVERSION): New variable.
41295         ($REPORT_BUGS_TO): Likewise.
41296         (usage): Use $REPORT_BUGS_TO.
41297         (top level): Use $PKGVERSION.
41298         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41299         ($(objpfx)pkgvers.texi): New rule.
41300         ($(objpfx)stamp-pkgvers): Likewise.
41301         * manual/install.texi: Include pkgvers.texi.
41302         (--with-pkgversion): Document new configure option.
41303         (--with-bugurl): Likewise.
41304         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41305         than necessarily for this particular distribution.  Use
41306         REPORT_BUGS_TO for where to report bugs.
41307         * INSTALL: Regenerated.
41308         * manual/libc.texinfo: Include pkgvers.texi.
41309         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41310         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41311         (print_version): Use PKGVERSION.
41312         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41313         (print_version): Use PKGVERSION.
41314         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41315         (print_version): Use PKGVERSION.
41316         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41317         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41318         macro.
41319         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41320         (print_version): Use PKGVERSION.
41321         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41322         (print_version): Use PKGVERSION.
41323         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41324         and PKGVERSION.
41326         * timezone/checktab.awk: Update from tzcode 2012i.
41327         * timezone/ialloc.c: Likewise.
41328         * timezone/private.h: Likewise.
41329         * timezone/scheck.c: Likewise.
41330         * timezone/tzfile.h: Likewise.
41331         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41332         (TZVERSION): Hardcode tzcode version number.
41333         * timezone/zdump.c: Update from tzcode 2012i.
41334         * timezone/zic.c: Likewise.
41335         * timezone/version.h: New file.
41336         * timezone/README: Describe version.h.  Update upstream location.
41338         [BZ #14824]
41339         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41340         (mktemp): Enable declaration.
41341         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41342         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41343         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41344         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41345         Likewise.
41346         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41347         Likewise.
41348         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41349         Likewise.
41350         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41351         Likewise.
41352         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41353         Likewise.
41354         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41355         Likewise.
41357         [BZ #14821]
41358         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41359         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41360         for copies of such integer values.
41361         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41362         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41364 2012-11-09  Andreas Jaeger  <aj@suse.de>
41366         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41367         definitions and declarations that are provided by
41368         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41370 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41372         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41373         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41374         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41375         definition.
41377 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41379         * elf/elf.h: Update comment before AArch64 relocations.
41381 2012-11-07  David S. Miller  <davem@davemloft.net>
41383         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41384         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41385         (__start_context): Declare.
41386         (__makecontext_ret): Delete.
41387         (__makecontext): Hook up __start_context instead of
41388         __makecontext_ret.
41389         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41390         (sysdep_routines): Add __start_context when in stdlib.
41392 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41394         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41395         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41396         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41397         hardcoded "nm".
41398         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41399         (READELF): New variable.  Use it instead of hardcoded "readelf".
41401 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41403         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41404         * sysdeps/x86/Makefile: Here.
41405         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41406         * sysdeps/x86/tst-xmmymm.sh: This.
41408 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41410         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41411         expectations.
41412         [UNIX98] (pthread_barrier_t): Do not expect.
41413         [UNIX98] (pthread_barrierattr_t): Likewise.
41414         [UNIX98] (pthread_spinlock_t): Likewise.
41415         [UNIX98] (pthread_barrier_destroy): Likewise.
41416         [UNIX98] (pthread_barrier_init): Likewise.
41417         [UNIX98] (pthread_barrier_wait): Likewise.
41418         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41419         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41420         [UNIX98] (pthread_barrierattr_init): Likewise.
41421         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41422         [UNIX98] (pthread_getcpuclockid): Likewise.
41423         [UNIX98] (pthread_mutex_timedlock): Likewise.
41424         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41425         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41426         [UNIX98] (pthread_sigmask): Likewise.
41427         [UNIX98] (pthread_spin_destroy): Likewise.
41428         [UNIX98] (pthread_spin_init): Likewise.
41429         [UNIX98] (pthread_spin_lock): Likewise.
41430         [UNIX98] (pthread_spin_trylock): Likewise.
41431         [UNIX98] (pthread_spin_unlock): Likewise.
41432         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41433         Do not expect.
41434         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41435         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41436         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41437         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41438         [XPG3 || XPG4] (pthread_key_t): Likewise.
41439         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41440         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41441         [XPG3 || XPG4] (pthread_once_t): Likewise.
41442         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41443         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41444         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41445         [XPG3 || XPG4] (pthread_t): Likewise.
41447         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41448         not expect.
41449         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41451         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41452         Change function return type to int.
41454         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41455         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41456         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41457         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41458         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41459         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41460         [!POSIX] (posix_madvise): Likewise.
41461         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41462         && !UNIX98].
41463         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41464         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41465         (mode_t): Likewise.
41466         (posix_mem_offset): Likewise.
41467         (posix_typed_mem_get_info): Likewise.
41468         (posix_typed_mem_open): Likewise.
41470         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41471         Change condition to [XOPEN2K8].
41473         * conform/conformtest.pl: Preprocess allow-header data with -x c
41474         instead of from stdin.
41475         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41476         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41477         [C99-based standards] (cerfc): Likewise.
41478         [C99-based standards] (cexp2): Likewise.
41479         [C99-based standards] (cexpm1): Likewise.
41480         [C99-based standards] (clog10): Likewise.
41481         [C99-based standards] (clog1p): Likewise.
41482         [C99-based standards] (clog2): Likewise.
41483         [C99-based standards] (clgamma): Likewise.
41484         [C99-based standards] (ctgamma): Likewise.
41485         [C99-based standards] (cerff): Likewise.
41486         [C99-based standards] (cerfcf): Likewise.
41487         [C99-based standards] (cexp2f): Likewise.
41488         [C99-based standards] (cexpm1f): Likewise.
41489         [C99-based standards] (clog10f): Likewise.
41490         [C99-based standards] (clog1pf): Likewise.
41491         [C99-based standards] (clog2f): Likewise.
41492         [C99-based standards] (clgammaf): Likewise.
41493         [C99-based standards] (ctgammaf): Likewise.
41494         [C99-based standards] (cerfl): Likewise.
41495         [C99-based standards] (cerfcl): Likewise.
41496         [C99-based standards] (cexp2l): Likewise.
41497         [C99-based standards] (cexpm1l): Likewise.
41498         [C99-based standards] (clog10l): Likewise.
41499         [C99-based standards] (clog1pl): Likewise.
41500         [C99-based standards] (clog2l): Likewise.
41501         [C99-based standards] (clgammal): Likewise.
41502         [C99-based standards] (ctgammal): Likewise.
41503         * conform/data/inttypes.h-data [C99-based standards]: Include
41504         stdint.h-data.  Remove all expectations for stdint.h contents.
41505         [C99-based standards] (PRI*): Do not allow.
41506         [C99-based standards] (SCN*): Likewise.
41507         [C99-based standards] (*_t): Likewise.
41508         [C99-based-standards] (PRId8): Expect macro.
41509         [C99-based-standards] (PRIi8): Likewise.
41510         [C99-based-standards] (PRIo8): Likewise.
41511         [C99-based-standards] (PRIu8): Likewise.
41512         [C99-based-standards] (PRIx8): Likewise.
41513         [C99-based-standards] (PRIX8): Likewise.
41514         [C99-based-standards] (SCNd8): Likewise.
41515         [C99-based-standards] (SCNi8): Likewise.
41516         [C99-based-standards] (SCNo8): Likewise.
41517         [C99-based-standards] (SCNu8): Likewise.
41518         [C99-based-standards] (SCNx8): Likewise.
41519         [C99-based-standards] (PRIdLEAST8): Likewise.
41520         [C99-based-standards] (PRIiLEAST8): Likewise.
41521         [C99-based-standards] (PRIoLEAST8): Likewise.
41522         [C99-based-standards] (PRIuLEAST8): Likewise.
41523         [C99-based-standards] (PRIxLEAST8): Likewise.
41524         [C99-based-standards] (PRIXLEAST8): Likewise.
41525         [C99-based-standards] (SCNdLEAST8): Likewise.
41526         [C99-based-standards] (SCNiLEAST8): Likewise.
41527         [C99-based-standards] (SCNoLEAST8): Likewise.
41528         [C99-based-standards] (SCNuLEAST8): Likewise.
41529         [C99-based-standards] (SCNxLEAST8): Likewise.
41530         [C99-based-standards] (PRIdFAST8): Likewise.
41531         [C99-based-standards] (PRIiFAST8): Likewise.
41532         [C99-based-standards] (PRIoFAST8): Likewise.
41533         [C99-based-standards] (PRIuFAST8): Likewise.
41534         [C99-based-standards] (PRIxFAST8): Likewise.
41535         [C99-based-standards] (PRIXFAST8): Likewise.
41536         [C99-based-standards] (SCNdFAST8): Likewise.
41537         [C99-based-standards] (SCNiFAST8): Likewise.
41538         [C99-based-standards] (SCNoFAST8): Likewise.
41539         [C99-based-standards] (SCNuFAST8): Likewise.
41540         [C99-based-standards] (SCNxFAST8): Likewise.
41541         [C99-based-standards] (PRId16): Likewise.
41542         [C99-based-standards] (PRIi16): Likewise.
41543         [C99-based-standards] (PRIo16): Likewise.
41544         [C99-based-standards] (PRIu16): Likewise.
41545         [C99-based-standards] (PRIx16): Likewise.
41546         [C99-based-standards] (PRIX16): Likewise.
41547         [C99-based-standards] (SCNd16): Likewise.
41548         [C99-based-standards] (SCNi16): Likewise.
41549         [C99-based-standards] (SCNo16): Likewise.
41550         [C99-based-standards] (SCNu16): Likewise.
41551         [C99-based-standards] (SCNx16): Likewise.
41552         [C99-based-standards] (PRIdLEAST16): Likewise.
41553         [C99-based-standards] (PRIiLEAST16): Likewise.
41554         [C99-based-standards] (PRIoLEAST16): Likewise.
41555         [C99-based-standards] (PRIuLEAST16): Likewise.
41556         [C99-based-standards] (PRIxLEAST16): Likewise.
41557         [C99-based-standards] (PRIXLEAST16): Likewise.
41558         [C99-based-standards] (SCNdLEAST16): Likewise.
41559         [C99-based-standards] (SCNiLEAST16): Likewise.
41560         [C99-based-standards] (SCNoLEAST16): Likewise.
41561         [C99-based-standards] (SCNuLEAST16): Likewise.
41562         [C99-based-standards] (SCNxLEAST16): Likewise.
41563         [C99-based-standards] (PRIdFAST16): Likewise.
41564         [C99-based-standards] (PRIiFAST16): Likewise.
41565         [C99-based-standards] (PRIoFAST16): Likewise.
41566         [C99-based-standards] (PRIuFAST16): Likewise.
41567         [C99-based-standards] (PRIxFAST16): Likewise.
41568         [C99-based-standards] (PRIXFAST16): Likewise.
41569         [C99-based-standards] (SCNdFAST16): Likewise.
41570         [C99-based-standards] (SCNiFAST16): Likewise.
41571         [C99-based-standards] (SCNoFAST16): Likewise.
41572         [C99-based-standards] (SCNuFAST16): Likewise.
41573         [C99-based-standards] (SCNxFAST16): Likewise.
41574         [C99-based-standards] (PRId32): Likewise.
41575         [C99-based-standards] (PRIi32): Likewise.
41576         [C99-based-standards] (PRIo32): Likewise.
41577         [C99-based-standards] (PRIu32): Likewise.
41578         [C99-based-standards] (PRIx32): Likewise.
41579         [C99-based-standards] (PRIX32): Likewise.
41580         [C99-based-standards] (SCNd32): Likewise.
41581         [C99-based-standards] (SCNi32): Likewise.
41582         [C99-based-standards] (SCNo32): Likewise.
41583         [C99-based-standards] (SCNu32): Likewise.
41584         [C99-based-standards] (SCNx32): Likewise.
41585         [C99-based-standards] (PRIdLEAST32): Likewise.
41586         [C99-based-standards] (PRIiLEAST32): Likewise.
41587         [C99-based-standards] (PRIoLEAST32): Likewise.
41588         [C99-based-standards] (PRIuLEAST32): Likewise.
41589         [C99-based-standards] (PRIxLEAST32): Likewise.
41590         [C99-based-standards] (PRIXLEAST32): Likewise.
41591         [C99-based-standards] (SCNdLEAST32): Likewise.
41592         [C99-based-standards] (SCNiLEAST32): Likewise.
41593         [C99-based-standards] (SCNoLEAST32): Likewise.
41594         [C99-based-standards] (SCNuLEAST32): Likewise.
41595         [C99-based-standards] (SCNxLEAST32): Likewise.
41596         [C99-based-standards] (PRIdFAST32): Likewise.
41597         [C99-based-standards] (PRIiFAST32): Likewise.
41598         [C99-based-standards] (PRIoFAST32): Likewise.
41599         [C99-based-standards] (PRIuFAST32): Likewise.
41600         [C99-based-standards] (PRIxFAST32): Likewise.
41601         [C99-based-standards] (PRIXFAST32): Likewise.
41602         [C99-based-standards] (SCNdFAST32): Likewise.
41603         [C99-based-standards] (SCNiFAST32): Likewise.
41604         [C99-based-standards] (SCNoFAST32): Likewise.
41605         [C99-based-standards] (SCNuFAST32): Likewise.
41606         [C99-based-standards] (SCNxFAST32): Likewise.
41607         [C99-based-standards] (PRId64): Likewise.
41608         [C99-based-standards] (PRIi64): Likewise.
41609         [C99-based-standards] (PRIo64): Likewise.
41610         [C99-based-standards] (PRIu64): Likewise.
41611         [C99-based-standards] (PRIx64): Likewise.
41612         [C99-based-standards] (PRIX64): Likewise.
41613         [C99-based-standards] (SCNd64): Likewise.
41614         [C99-based-standards] (SCNi64): Likewise.
41615         [C99-based-standards] (SCNo64): Likewise.
41616         [C99-based-standards] (SCNu64): Likewise.
41617         [C99-based-standards] (SCNx64): Likewise.
41618         [C99-based-standards] (PRIdLEAST64): Likewise.
41619         [C99-based-standards] (PRIiLEAST64): Likewise.
41620         [C99-based-standards] (PRIoLEAST64): Likewise.
41621         [C99-based-standards] (PRIuLEAST64): Likewise.
41622         [C99-based-standards] (PRIxLEAST64): Likewise.
41623         [C99-based-standards] (PRIXLEAST64): Likewise.
41624         [C99-based-standards] (SCNdLEAST64): Likewise.
41625         [C99-based-standards] (SCNiLEAST64): Likewise.
41626         [C99-based-standards] (SCNoLEAST64): Likewise.
41627         [C99-based-standards] (SCNuLEAST64): Likewise.
41628         [C99-based-standards] (SCNxLEAST64): Likewise.
41629         [C99-based-standards] (PRIdFAST64): Likewise.
41630         [C99-based-standards] (PRIiFAST64): Likewise.
41631         [C99-based-standards] (PRIoFAST64): Likewise.
41632         [C99-based-standards] (PRIuFAST64): Likewise.
41633         [C99-based-standards] (PRIxFAST64): Likewise.
41634         [C99-based-standards] (PRIXFAST64): Likewise.
41635         [C99-based-standards] (SCNdFAST64): Likewise.
41636         [C99-based-standards] (SCNiFAST64): Likewise.
41637         [C99-based-standards] (SCNoFAST64): Likewise.
41638         [C99-based-standards] (SCNuFAST64): Likewise.
41639         [C99-based-standards] (SCNxFAST64): Likewise.
41640         [C99-based-standards] (PRIdMAX): Likewise.
41641         [C99-based-standards] (PRIiMAX): Likewise.
41642         [C99-based-standards] (PRIoMAX): Likewise.
41643         [C99-based-standards] (PRIuMAX): Likewise.
41644         [C99-based-standards] (PRIxMAX): Likewise.
41645         [C99-based-standards] (PRIXMAX): Likewise.
41646         [C99-based-standards] (SCNdMAX): Likewise.
41647         [C99-based-standards] (SCNiMAX): Likewise.
41648         [C99-based-standards] (SCNoMAX): Likewise.
41649         [C99-based-standards] (SCNuMAX): Likewise.
41650         [C99-based-standards] (SCNxMAX): Likewise.
41651         [C99-based-standards] (PRIdPTR): Likewise.
41652         [C99-based-standards] (PRIiPTR): Likewise.
41653         [C99-based-standards] (PRIoPTR): Likewise.
41654         [C99-based-standards] (PRIuPTR): Likewise.
41655         [C99-based-standards] (PRIxPTR): Likewise.
41656         [C99-based-standards] (PRIXPTR): Likewise.
41657         [C99-based-standards] (SCNdPTR): Likewise.
41658         [C99-based-standards] (SCNiPTR): Likewise.
41659         [C99-based-standards] (SCNoPTR): Likewise.
41660         [C99-based-standards] (SCNuPTR): Likewise.
41661         [C99-based-standards] (SCNxPTR): Likewise.
41662         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
41663         allow.
41664         * conform/data/stdint.h-data: Update comments to clarify
41665         requirements.
41666         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
41667         type.
41668         [C99-based standards] (INT8_MAX): Likewise.
41669         [C99-based standards] (INT16_MIN): Likewise.
41670         [C99-based standards] (INT16_MAX): Likewise.
41671         [C99-based standards] (INT32_MIN): Likewise.
41672         [C99-based standards] (INT32_MAX): Likewise.
41673         [C99-based standards] (INT64_MIN): Likewise.
41674         [C99-based standards] (INT64_MAX): Likewise.
41675         [C99-based standards] (UINT8_MAX): Likewise.
41676         [C99-based standards] (UINT16_MAX): Likewise.
41677         [C99-based standards] (UINT32_MAX): Likewise.
41678         [C99-based standards] (UINT64_MAX): Likewise.
41679         [C99-based standards] (INT_LEAST8_MIN): Likewise.
41680         [C99-based standards] (INT_LEAST8_MAX): Likewise.
41681         [C99-based standards] (INT_LEAST16_MIN): Likewise.
41682         [C99-based standards] (INT_LEAST16_MAX): Likewise.
41683         [C99-based standards] (INT_LEAST32_MIN): Likewise.
41684         [C99-based standards] (INT_LEAST32_MAX): Likewise.
41685         [C99-based standards] (INT_LEAST64_MIN): Likewise.
41686         [C99-based standards] (INT_LEAST64_MAX): Likewise.
41687         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
41688         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
41689         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
41690         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
41691         [C99-based standards] (INT_FAST8_MIN): Likewise.
41692         [C99-based standards] (INT_FAST8_MAX): Likewise.
41693         [C99-based standards] (INT_FAST16_MIN): Likewise.
41694         [C99-based standards] (INT_FAST16_MAX): Likewise.
41695         [C99-based standards] (INT_FAST32_MIN): Likewise.
41696         [C99-based standards] (INT_FAST32_MAX): Likewise.
41697         [C99-based standards] (INT_FAST64_MIN): Likewise.
41698         [C99-based standards] (INT_FAST64_MAX): Likewise.
41699         [C99-based standards] (UINT_FAST8_MAX): Likewise.
41700         [C99-based standards] (UINT_FAST16_MAX): Likewise.
41701         [C99-based standards] (UINT_FAST32_MAX): Likewise.
41702         [C99-based standards] (UINT_FAST64_MAX): Likewise.
41703         [C99-based standards] (INTPTR_MIN): Likewise.
41704         [C99-based standards] (INTPTR_MAX): Likewise.
41705         [C99-based standards] (UINTPTR_MAX): Likewise.
41706         [C99-based standards] (INTMAX_MIN): Likewise.
41707         [C99-based standards] (INTMAX_MAX): Likewise.
41708         [C99-based standards] (UINTMAX_MAX): Likewise.
41709         [C99-based standards] (PTRDIFF_MIN): Likewise.
41710         [C99-based standards] (PTRDIFF_MAX): Likewise.
41711         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
41712         [C99-based standards] (SIZE_MAX): Likewise.
41713         [C99-based standards] (WCHAR_MAX): Likewise.
41714         [C99-based standards] (WINT_MAX): Likewise.
41715         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
41716         constraint on value.
41717         [C99-based standards] (WCHAR_MIN): Likewise.
41718         [C99-based standards] (WINT_MIN): Likewise.
41719         [C99-based standards] (*_t): Allow.
41720         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
41721         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
41722         Include math.h-data and complex.h-data.  Remove all expectations
41723         of math.h and complex.h contents.
41724         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
41725         at end of line.
41726         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
41727         (struct tm): Expect tag.
41728         [C99-based-standards] (wcstof): Expect function.
41729         [C99-based-standards] (wcstold): Likewise.
41730         [C99-based-standards] (wcstoll): Likewise.
41731         [C99-based-standards] (wcstoull): Likewise.
41732         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
41733         macro-int-constant.  Specify type.
41734         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
41735         constraint on value.
41736         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41737         Specify type.
41738         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
41739         Specify value.
41740         [ISO C standards]: Do not allow headers.
41741         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
41742         wcs[abcdefghijklmnopqrstuvwxyz]*.
41743         [ISO C standards] (*_t): Do not allow.
41744         * conform/data/wctype.h-data [C99-based standards] (iswblank):
41745         Expect function.
41746         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
41747         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
41748         Specify type.
41749         [ISO C standards]: Do not allow headers.
41750         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
41751         is[abcdefghijklmnopqrstuvwxyz]*.
41752         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
41753         to[abcdefghijklmnopqrstuvwxyz]*.
41754         [ISO C standards] (*_t): Do not allow.
41755         * conform/data/stdalign.h-data: New file.
41756         * conform/data/stdbool.h-data: Likewise.
41757         * conform/data/stdnoreturn.h-data: Likewise.
41759 2012-11-07  Roland McGrath  <roland@hack.frob.com>
41761         [BZ #14815]
41762         * manual/filesys.texi (Directory Entries): Typo fix.
41763         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
41765 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41767         * elf/elf.h (EM_AARCH64): New macro.
41768         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
41769         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
41770         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
41771         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
41772         (R_AARCH64_TLSDESC): Likewise.
41773         (NT_ARM_TLS): Likewise.
41774         (NT_ARM_HW_BREAK): Likewise.
41775         (NT_ARM_HW_WATCH): Likewise.
41777 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41779         [BZ #14811]
41780         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
41781         (__ieee754_powl): Saturate nonzero exponents with absolute value
41782         below 0x1p-79 to +/- 0x1p-79.
41783         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
41784         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
41785         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
41786         nonzero exponents with absolute value below 0x1p-32 to +/-
41787         0x1p-32.
41788         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
41789         (__ieee754_powl): Saturate nonzero exponents with absolute value
41790         below 0x1p-79 to +/- 0x1p-79.
41791         * math/libm-test.inc (pow_test): Add more tests.
41793 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41795         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
41796         _dl_s390_cap_flags with kernel. Increase string length.
41797         (_dl_s390_platforms): Add z196 and zEC12.
41799 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41801         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
41802         Change XOPEN21K to XOPEN2K.
41804 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
41806         * string/memmove.c: Use memcpy when possible.
41808 2012-11-06  Andreas Jaeger  <aj@suse.de>
41810         * po/eo.po: Update from translation team.
41812 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
41814         [BZ #14793]
41815         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
41816         exponent and small x and y exponents, scale x or y up.  Increase
41817         by 2 the exponent used in scaling up.
41818         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41819         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41820         * math/libm-test.inc (fma_test): Add more tests.
41821         (fma_test_towardzero): Likewise.
41822         (fma_test_downward): Likewise.
41823         (fma_test_upward): Likewise.
41825 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
41827         [BZ #14805]
41828         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41829         fenv_t *.
41831         [BZ #14801]
41832         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41833         namespace for names of struct fields.
41834         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41835         fenv_t fields.
41836         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41837         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41839 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41841         [BZ #3665]
41842         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41844 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41846         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41847         PTR_DEMANGLE.
41849         [BZ #5246]
41850         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41851         PTR_DEMANGLE.
41853 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
41855         [BZ #14797]
41856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41857         definitely overflow as x * y not x * y + z.
41858         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41859         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41860         * math/libm-test.inc (fma_test): Add more tests.
41861         (fma_test_towardzero): Likewise.
41862         (fma_test_downward): Likewise.
41863         (fma_test_upward): Likewise.
41865 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
41867         [BZ #157]
41869         * include/stub-tag.h: Remove file.
41870         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41871         '#include' of it.
41872         * manual/maint.texi (Porting): Don't reference it.
41873         * Makerules ($(objpfx)stubs): Likewise.
41874         * dirent/closedir.c: Don't include <stub-tag.h>.
41875         * dirent/dirfd.c: Likewise.
41876         * dirent/fdopendir.c: Likewise.
41877         * dirent/getdents.c: Likewise.
41878         * dirent/getdents64.c: Likewise.
41879         * dirent/opendir.c: Likewise.
41880         * dirent/readdir.c: Likewise.
41881         * dirent/readdir64.c: Likewise.
41882         * dirent/readdir64_r.c: Likewise.
41883         * dirent/readdir_r.c: Likewise.
41884         * dirent/rewinddir.c: Likewise.
41885         * dirent/seekdir.c: Likewise.
41886         * dirent/telldir.c: Likewise.
41887         * gmon/profil.c: Likewise.
41888         * grp/setgroups.c: Likewise.
41889         * inet/if_index.c: Likewise.
41890         * io/access.c: Likewise.
41891         * io/chdir.c: Likewise.
41892         * io/chmod.c: Likewise.
41893         * io/chown.c: Likewise.
41894         * io/close.c: Likewise.
41895         * io/dup.c: Likewise.
41896         * io/dup2.c: Likewise.
41897         * io/dup3.c: Likewise.
41898         * io/euidaccess.c: Likewise.
41899         * io/faccessat.c: Likewise.
41900         * io/fchdir.c: Likewise.
41901         * io/fchmod.c: Likewise.
41902         * io/fchmodat.c: Likewise.
41903         * io/fchown.c: Likewise.
41904         * io/fchownat.c: Likewise.
41905         * io/fcntl.c: Likewise.
41906         * io/flock.c: Likewise.
41907         * io/fstatfs.c: Likewise.
41908         * io/fstatfs64.c: Likewise.
41909         * io/fstatvfs.c: Likewise.
41910         * io/fstatvfs64.c: Likewise.
41911         * io/futimens.c: Likewise.
41912         * io/fxstat.c: Likewise.
41913         * io/fxstat64.c: Likewise.
41914         * io/fxstatat.c: Likewise.
41915         * io/fxstatat64.c: Likewise.
41916         * io/getcwd.c: Likewise.
41917         * io/isatty.c: Likewise.
41918         * io/lchmod.c: Likewise.
41919         * io/lchown.c: Likewise.
41920         * io/link.c: Likewise.
41921         * io/linkat.c: Likewise.
41922         * io/lseek.c: Likewise.
41923         * io/lseek64.c: Likewise.
41924         * io/lxstat64.c: Likewise.
41925         * io/mkdir.c: Likewise.
41926         * io/mkdirat.c: Likewise.
41927         * io/mkfifo.c: Likewise.
41928         * io/mkfifoat.c: Likewise.
41929         * io/open.c: Likewise.
41930         * io/open64.c: Likewise.
41931         * io/openat.c: Likewise.
41932         * io/openat64.c: Likewise.
41933         * io/pipe.c: Likewise.
41934         * io/pipe2.c: Likewise.
41935         * io/poll.c: Likewise.
41936         * io/posix_fadvise.c: Likewise.
41937         * io/posix_fadvise64.c: Likewise.
41938         * io/posix_fallocate.c: Likewise.
41939         * io/posix_fallocate64.c: Likewise.
41940         * io/read.c: Likewise.
41941         * io/readlink.c: Likewise.
41942         * io/readlinkat.c: Likewise.
41943         * io/rmdir.c: Likewise.
41944         * io/sendfile.c: Likewise.
41945         * io/sendfile64.c: Likewise.
41946         * io/statfs.c: Likewise.
41947         * io/statfs64.c: Likewise.
41948         * io/statvfs.c: Likewise.
41949         * io/statvfs64.c: Likewise.
41950         * io/symlink.c: Likewise.
41951         * io/symlinkat.c: Likewise.
41952         * io/ttyname.c: Likewise.
41953         * io/ttyname_r.c: Likewise.
41954         * io/umask.c: Likewise.
41955         * io/unlink.c: Likewise.
41956         * io/unlinkat.c: Likewise.
41957         * io/utime.c: Likewise.
41958         * io/utimensat.c: Likewise.
41959         * io/write.c: Likewise.
41960         * io/xmknod.c: Likewise.
41961         * io/xmknodat.c: Likewise.
41962         * io/xstat.c: Likewise.
41963         * io/xstat64.c: Likewise.
41964         * login/getpt.c: Likewise.
41965         * login/grantpt.c: Likewise.
41966         * login/unlockpt.c: Likewise.
41967         * math/e_acoshl.c: Likewise.
41968         * math/e_acosl.c: Likewise.
41969         * math/e_asinl.c: Likewise.
41970         * math/e_atan2l.c: Likewise.
41971         * math/e_atanhl.c: Likewise.
41972         * math/e_coshl.c: Likewise.
41973         * math/e_expl.c: Likewise.
41974         * math/e_fmodl.c: Likewise.
41975         * math/e_gammal_r.c: Likewise.
41976         * math/e_hypotl.c: Likewise.
41977         * math/e_j0l.c: Likewise.
41978         * math/e_j1l.c: Likewise.
41979         * math/e_jnl.c: Likewise.
41980         * math/e_lgammal_r.c: Likewise.
41981         * math/e_log10l.c: Likewise.
41982         * math/e_log2l.c: Likewise.
41983         * math/e_logl.c: Likewise.
41984         * math/e_powl.c: Likewise.
41985         * math/e_rem_pio2l.c: Likewise.
41986         * math/e_sinhl.c: Likewise.
41987         * math/e_sqrtl.c: Likewise.
41988         * math/fclrexcpt.c: Likewise.
41989         * math/fedisblxcpt.c: Likewise.
41990         * math/feenablxcpt.c: Likewise.
41991         * math/fegetenv.c: Likewise.
41992         * math/fegetexcept.c: Likewise.
41993         * math/fegetround.c: Likewise.
41994         * math/feholdexcpt.c: Likewise.
41995         * math/fesetenv.c: Likewise.
41996         * math/fesetround.c: Likewise.
41997         * math/feupdateenv.c: Likewise.
41998         * math/fgetexcptflg.c: Likewise.
41999         * math/fraiseexcpt.c: Likewise.
42000         * math/fsetexcptflg.c: Likewise.
42001         * math/ftestexcept.c: Likewise.
42002         * math/k_cosl.c: Likewise.
42003         * math/k_rem_pio2l.c: Likewise.
42004         * math/k_sinl.c: Likewise.
42005         * math/k_tanl.c: Likewise.
42006         * math/s_asinhl.c: Likewise.
42007         * math/s_atanl.c: Likewise.
42008         * math/s_cbrtl.c: Likewise.
42009         * math/s_erfl.c: Likewise.
42010         * math/s_expm1l.c: Likewise.
42011         * math/s_log1pl.c: Likewise.
42012         * math/s_tanhl.c: Likewise.
42013         * misc/acct.c: Likewise.
42014         * misc/brk.c: Likewise.
42015         * misc/chflags.c: Likewise.
42016         * misc/chroot.c: Likewise.
42017         * misc/fchflags.c: Likewise.
42018         * misc/fgetxattr.c: Likewise.
42019         * misc/flistxattr.c: Likewise.
42020         * misc/fremovexattr.c: Likewise.
42021         * misc/fsetxattr.c: Likewise.
42022         * misc/fsync.c: Likewise.
42023         * misc/ftruncate.c: Likewise.
42024         * misc/futimes.c: Likewise.
42025         * misc/futimesat.c: Likewise.
42026         * misc/getdomain.c: Likewise.
42027         * misc/getdtsz.c: Likewise.
42028         * misc/gethostid.c: Likewise.
42029         * misc/gethostname.c: Likewise.
42030         * misc/getloadavg.c: Likewise.
42031         * misc/getpagesize.c: Likewise.
42032         * misc/getsysstats.c: Likewise.
42033         * misc/getxattr.c: Likewise.
42034         * misc/gtty.c: Likewise.
42035         * misc/ioctl.c: Likewise.
42036         * misc/lgetxattr.c: Likewise.
42037         * misc/listxattr.c: Likewise.
42038         * misc/llistxattr.c: Likewise.
42039         * misc/lremovexattr.c: Likewise.
42040         * misc/lsetxattr.c: Likewise.
42041         * misc/lutimes.c: Likewise.
42042         * misc/madvise.c: Likewise.
42043         * misc/mincore.c: Likewise.
42044         * misc/mlock.c: Likewise.
42045         * misc/mlockall.c: Likewise.
42046         * misc/mmap.c: Likewise.
42047         * misc/mprotect.c: Likewise.
42048         * misc/msync.c: Likewise.
42049         * misc/munlock.c: Likewise.
42050         * misc/munlockall.c: Likewise.
42051         * misc/munmap.c: Likewise.
42052         * misc/preadv.c: Likewise.
42053         * misc/preadv64.c: Likewise.
42054         * misc/ptrace.c: Likewise.
42055         * misc/pwritev.c: Likewise.
42056         * misc/pwritev64.c: Likewise.
42057         * misc/readv.c: Likewise.
42058         * misc/reboot.c: Likewise.
42059         * misc/remap_file_pages.c: Likewise.
42060         * misc/removexattr.c: Likewise.
42061         * misc/revoke.c: Likewise.
42062         * misc/select.c: Likewise.
42063         * misc/setdomain.c: Likewise.
42064         * misc/setegid.c: Likewise.
42065         * misc/seteuid.c: Likewise.
42066         * misc/sethostid.c: Likewise.
42067         * misc/sethostname.c: Likewise.
42068         * misc/setregid.c: Likewise.
42069         * misc/setreuid.c: Likewise.
42070         * misc/setxattr.c: Likewise.
42071         * misc/sstk.c: Likewise.
42072         * misc/stty.c: Likewise.
42073         * misc/swapoff.c: Likewise.
42074         * misc/swapon.c: Likewise.
42075         * misc/sync.c: Likewise.
42076         * misc/syncfs.c: Likewise.
42077         * misc/syscall.c: Likewise.
42078         * misc/truncate.c: Likewise.
42079         * misc/ualarm.c: Likewise.
42080         * misc/usleep.c: Likewise.
42081         * misc/ustat.c: Likewise.
42082         * misc/utimes.c: Likewise.
42083         * misc/vhangup.c: Likewise.
42084         * misc/writev.c: Likewise.
42085         * posix/_exit.c: Likewise.
42086         * posix/alarm.c: Likewise.
42087         * posix/execve.c: Likewise.
42088         * posix/fexecve.c: Likewise.
42089         * posix/fork.c: Likewise.
42090         * posix/fpathconf.c: Likewise.
42091         * posix/getaddrinfo.c: Likewise.
42092         * posix/getegid.c: Likewise.
42093         * posix/geteuid.c: Likewise.
42094         * posix/getgid.c: Likewise.
42095         * posix/getgroups.c: Likewise.
42096         * posix/getlogin.c: Likewise.
42097         * posix/getlogin_r.c: Likewise.
42098         * posix/getpgid.c: Likewise.
42099         * posix/getpid.c: Likewise.
42100         * posix/getppid.c: Likewise.
42101         * posix/getresgid.c: Likewise.
42102         * posix/getresuid.c: Likewise.
42103         * posix/getsid.c: Likewise.
42104         * posix/getuid.c: Likewise.
42105         * posix/glob64.c: Likewise.
42106         * posix/nanosleep.c: Likewise.
42107         * posix/pathconf.c: Likewise.
42108         * posix/pause.c: Likewise.
42109         * posix/posix_madvise.c: Likewise.
42110         * posix/pread.c: Likewise.
42111         * posix/pread64.c: Likewise.
42112         * posix/pwrite.c: Likewise.
42113         * posix/pwrite64.c: Likewise.
42114         * posix/sched_getaffinity.c: Likewise.
42115         * posix/sched_getp.c: Likewise.
42116         * posix/sched_gets.c: Likewise.
42117         * posix/sched_primax.c: Likewise.
42118         * posix/sched_primin.c: Likewise.
42119         * posix/sched_rr_gi.c: Likewise.
42120         * posix/sched_setaffinity.c: Likewise.
42121         * posix/sched_setp.c: Likewise.
42122         * posix/sched_sets.c: Likewise.
42123         * posix/sched_yield.c: Likewise.
42124         * posix/setgid.c: Likewise.
42125         * posix/setlogin.c: Likewise.
42126         * posix/setpgid.c: Likewise.
42127         * posix/setresgid.c: Likewise.
42128         * posix/setresuid.c: Likewise.
42129         * posix/setsid.c: Likewise.
42130         * posix/setuid.c: Likewise.
42131         * posix/sleep.c: Likewise.
42132         * posix/spawni.c: Likewise.
42133         * posix/sysconf.c: Likewise.
42134         * posix/times.c: Likewise.
42135         * posix/wait.c: Likewise.
42136         * posix/wait3.c: Likewise.
42137         * posix/wait4.c: Likewise.
42138         * posix/waitpid.c: Likewise.
42139         * resolv/gai_sigqueue.c: Likewise.
42140         * resource/getpriority.c: Likewise.
42141         * resource/getrlimit.c: Likewise.
42142         * resource/getrusage.c: Likewise.
42143         * resource/nice.c: Likewise.
42144         * resource/setpriority.c: Likewise.
42145         * resource/setrlimit.c: Likewise.
42146         * resource/ulimit.c: Likewise.
42147         * rt/aio_cancel.c: Likewise.
42148         * rt/aio_fsync.c: Likewise.
42149         * rt/aio_read.c: Likewise.
42150         * rt/aio_sigqueue.c: Likewise.
42151         * rt/aio_suspend.c: Likewise.
42152         * rt/aio_write.c: Likewise.
42153         * rt/clock_getres.c: Likewise.
42154         * rt/clock_gettime.c: Likewise.
42155         * rt/clock_nanosleep.c: Likewise.
42156         * rt/clock_settime.c: Likewise.
42157         * rt/lio_listio.c: Likewise.
42158         * rt/mq_close.c: Likewise.
42159         * rt/mq_getattr.c: Likewise.
42160         * rt/mq_notify.c: Likewise.
42161         * rt/mq_open.c: Likewise.
42162         * rt/mq_receive.c: Likewise.
42163         * rt/mq_send.c: Likewise.
42164         * rt/mq_setattr.c: Likewise.
42165         * rt/mq_timedreceive.c: Likewise.
42166         * rt/mq_timedsend.c: Likewise.
42167         * rt/mq_unlink.c: Likewise.
42168         * rt/shm_open.c: Likewise.
42169         * rt/shm_unlink.c: Likewise.
42170         * rt/timer_create.c: Likewise.
42171         * rt/timer_delete.c: Likewise.
42172         * rt/timer_getoverr.c: Likewise.
42173         * rt/timer_gettime.c: Likewise.
42174         * rt/timer_settime.c: Likewise.
42175         * setjmp/__longjmp.c: Likewise.
42176         * setjmp/setjmp.c: Likewise.
42177         * signal/kill.c: Likewise.
42178         * signal/killpg.c: Likewise.
42179         * signal/raise.c: Likewise.
42180         * signal/sigaction.c: Likewise.
42181         * signal/sigaltstack.c: Likewise.
42182         * signal/sigblock.c: Likewise.
42183         * signal/sigignore.c: Likewise.
42184         * signal/sigintr.c: Likewise.
42185         * signal/signal.c: Likewise.
42186         * signal/sigpause.c: Likewise.
42187         * signal/sigpending.c: Likewise.
42188         * signal/sigqueue.c: Likewise.
42189         * signal/sigreturn.c: Likewise.
42190         * signal/sigset.c: Likewise.
42191         * signal/sigsetmask.c: Likewise.
42192         * signal/sigstack.c: Likewise.
42193         * signal/sigsuspend.c: Likewise.
42194         * signal/sigtimedwait.c: Likewise.
42195         * signal/sigvec.c: Likewise.
42196         * signal/sigwait.c: Likewise.
42197         * signal/sigwaitinfo.c: Likewise.
42198         * signal/sysv_signal.c: Likewise.
42199         * socket/accept.c: Likewise.
42200         * socket/accept4.c: Likewise.
42201         * socket/bind.c: Likewise.
42202         * socket/connect.c: Likewise.
42203         * socket/getpeername.c: Likewise.
42204         * socket/getsockname.c: Likewise.
42205         * socket/getsockopt.c: Likewise.
42206         * socket/isfdtype.c: Likewise.
42207         * socket/listen.c: Likewise.
42208         * socket/recv.c: Likewise.
42209         * socket/recvfrom.c: Likewise.
42210         * socket/recvmsg.c: Likewise.
42211         * socket/send.c: Likewise.
42212         * socket/sendmsg.c: Likewise.
42213         * socket/sendto.c: Likewise.
42214         * socket/setsockopt.c: Likewise.
42215         * socket/shutdown.c: Likewise.
42216         * socket/sockatmark.c: Likewise.
42217         * socket/socket.c: Likewise.
42218         * socket/socketpair.c: Likewise.
42219         * stdio-common/ctermid.c: Likewise.
42220         * stdio-common/cuserid.c: Likewise.
42221         * stdio-common/remove.c: Likewise.
42222         * stdio-common/rename.c: Likewise.
42223         * stdio-common/renameat.c: Likewise.
42224         * stdio-common/tempname.c: Likewise.
42225         * stdlib/getcontext.c: Likewise.
42226         * stdlib/makecontext.c: Likewise.
42227         * stdlib/setcontext.c: Likewise.
42228         * stdlib/swapcontext.c: Likewise.
42229         * stdlib/system.c: Likewise.
42230         * streams/fattach.c: Likewise.
42231         * streams/fdetach.c: Likewise.
42232         * streams/getmsg.c: Likewise.
42233         * streams/getpmsg.c: Likewise.
42234         * streams/putmsg.c: Likewise.
42235         * streams/putpmsg.c: Likewise.
42236         * sysdeps/unix/bsd/getpt.c: Likewise.
42237         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42238         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42239         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42241         Likewise.
42242         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42243         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42244         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42245         * sysvipc/msgctl.c: Likewise.
42246         * sysvipc/msgget.c: Likewise.
42247         * sysvipc/msgrcv.c: Likewise.
42248         * sysvipc/msgsnd.c: Likewise.
42249         * sysvipc/semctl.c: Likewise.
42250         * sysvipc/semget.c: Likewise.
42251         * sysvipc/semop.c: Likewise.
42252         * sysvipc/semtimedop.c: Likewise.
42253         * sysvipc/shmat.c: Likewise.
42254         * sysvipc/shmctl.c: Likewise.
42255         * sysvipc/shmdt.c: Likewise.
42256         * sysvipc/shmget.c: Likewise.
42257         * termios/tcdrain.c: Likewise.
42258         * termios/tcflow.c: Likewise.
42259         * termios/tcflush.c: Likewise.
42260         * termios/tcgetattr.c: Likewise.
42261         * termios/tcgetpgrp.c: Likewise.
42262         * termios/tcsendbrk.c: Likewise.
42263         * termios/tcsetattr.c: Likewise.
42264         * termios/tcsetpgrp.c: Likewise.
42265         * time/adjtime.c: Likewise.
42266         * time/clock.c: Likewise.
42267         * time/getitimer.c: Likewise.
42268         * time/gettimeofday.c: Likewise.
42269         * time/setitimer.c: Likewise.
42270         * time/settimeofday.c: Likewise.
42271         * time/stime.c: Likewise.
42272         * time/time.c: Likewise.
42274 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42276         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42277         /usr/old/bin.
42279         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42280         instead of spaces.
42281         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42283 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42285         [BZ #14796]
42286         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42287         FE_TONEAREST before applying Dekker multiplication and Knuth
42288         addition.  Clear inexact exceptions and check for exact zero
42289         results afterwards.
42290         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42291         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42292         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42293         * math/libm-test.inc (fma_test): Add more tests.
42294         (fma_test_towardzero): Likewise.
42295         (fma_test_downward): Likewise.
42296         (fma_test_upward): Likewise.
42297         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42298         function.
42299         (libc_fesetround): New macro.
42300         (libc_fesetroundf): Likewise.
42301         (libc_fesetroundl): Likewise.
42302         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42303         function.
42304         (libc_fesetround_387): Likewise.
42305         (libc_fesetroundf): New macro.
42306         (libc_fesetround): Likewise.
42307         (libc_fesetroundl): Likewise.
42308         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42309         function.
42310         (libc_fesetroundf): New macro.
42311         (libc_fesetround): Likewise.
42312         (libc_fesetroundl): Likewise.
42313         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42314         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42315         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42316         libm_hidden_ver.
42317         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42318         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42319         libm_hidden_def.
42320         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42321         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42322         libm_hidden_ver.
42323         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42324         libm_hidden_def.
42326         [BZ #3439]
42327         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42328         integer constant usable in #if and use that to give value to enum
42329         constant.
42330         (FE_DIVBYZERO): Likewise.
42331         (FE_UNDERFLOW): Likewise.
42332         (FE_OVERFLOW): Likewise.
42333         (FE_INVALID): Likewise.
42334         (FE_INVALID_SNAN): Likewise.
42335         (FE_INVALID_ISI): Likewise.
42336         (FE_INVALID_IDI): Likewise.
42337         (FE_INVALID_ZDZ): Likewise.
42338         (FE_INVALID_IMZ): Likewise.
42339         (FE_INVALID_COMPARE): Likewise.
42340         (FE_INVALID_SOFTWARE): Likewise.
42341         (FE_INVALID_SQRT): Likewise.
42342         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42343         (FE_TONEAREST): Likewise.
42344         (FE_TOWARDZERO): Likewise.
42345         (FE_UPWARD): Likewise.
42346         (FE_DOWNWARD): Likewise.
42347         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42348         (FE_DIVBYZERO): Likewise.
42349         (FE_OVERFLOW): Likewise.
42350         (FE_UNDERFLOW): Likewise.
42351         (FE_INEXACT): Likewise.
42352         (FE_TONEAREST): Likewise.
42353         (FE_DOWNWARD): Likewise.
42354         (FE_UPWARD): Likewise.
42355         (FE_TOWARDZERO): Likewise.
42356         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42357         (FE_UNDERFLOW): Likewise.
42358         (FE_OVERFLOW): Likewise.
42359         (FE_DIVBYZERO): Likewise.
42360         (FE_INVALID): Likewise.
42361         (FE_TONEAREST): Likewise.
42362         (FE_TOWARDZERO): Likewise.
42363         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42364         (FE_OVERFLOW): Likewise.
42365         (FE_UNDERFLOW): Likewise.
42366         (FE_DIVBYZERO): Likewise.
42367         (FE_INEXACT): Likewise.
42368         (FE_TONEAREST): Likewise.
42369         (FE_TOWARDZERO): Likewise.
42370         (FE_UPWARD): Likewise.
42371         (FE_DOWNWARD): Likewise.
42372         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42373         (FE_DIVBYZERO): Likewise.
42374         (FE_OVERFLOW): Likewise.
42375         (FE_UNDERFLOW): Likewise.
42376         (FE_INEXACT): Likewise.
42377         (FE_TONEAREST): Likewise.
42378         (FE_DOWNWARD): Likewise.
42379         (FE_UPWARD): Likewise.
42380         (FE_TOWARDZERO): Likewise.
42382 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42384         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42386 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42388         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42389         commands.  Quote $PWD.
42390         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42391         -x" by "export".
42392         (remove_newlines): Remove.
42394 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42396         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42397         * stdlib/stdlib.h (atof): Moved to ...
42398         * include/bits/stdlib-float.h: Here.  New file.
42399         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42400         * stdlib/bits/stdlib-float.h: New file.
42401         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42402         -mno-sse -mno-mmx.
42403         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42404         <xmmintrin.h>.
42406 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42408         * conform/conformtest.pl (@headers): Add fenv.h.
42409         * conform/data/fenv.h-data: New file.
42410         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42411         include of <math/fenv.h>.
42413         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42414         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42415         && !UNIX98].  Enables tests for XOPEN2K8.
42416         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42417         POSIX2008]: Likewise.
42419         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42420         (struct rusage): Do not expect type or its members.
42422         [BZ #3439]
42423         * math/math.h (FP_NAN): Define macro to integer constant usable in
42424         #if and use that to give value to enum constant.
42425         (FP_INFINITE): Likewise.
42426         (FP_ZERO): Likewise.
42427         (FP_SUBNORMAL): Likewise.
42428         (FP_NORMAL): Likewise.
42430 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42432         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42433         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42434         arguments.
42436 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42438         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42439         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42440         autoconf-time if not.
42441         * configure.in: Remove AC_PREREQ.
42443 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42445         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42446         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42447         of the internal implementation.
42449 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42451         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42452         except include of <misc/sys/syslog.h>.
42454 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42457         function returns with a NULL context exit with zero.
42459 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42461         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42463 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42465         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42466         (run_program_cmd): This.
42467         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42468         (tst_langinfo): New variable.  Use it.
42470 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42472         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42473         floating point opcodes.
42475 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42477         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42478         variable.
42480         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42482         * sysdeps/mach/hurd/powerpc: Remove directory.
42483         * sysdeps/mach/powerpc: Likewise.
42485 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42487         * scripts/check-local-headers.sh: Ignore c++ headers.
42489 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42491         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42492         __libc_cleanup_region_start argument.
42494 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
42496         [BZ #14784]
42497         [BZ #14785]
42498         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
42499         x * y using scaling, not as x * y + z.
42500         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42501         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42502         * math/libm-test.inc (fma_test): Add more tests.
42503         (fma_test_towardzero): Likewise.
42504         (fma_test_downward): Likewise.
42505         (fma_test_upward): Likewise.
42507 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42509         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
42511 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42513         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
42514         New variable.
42516 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
42518         * rt/tst-shm.c (worker): Correct checking for mmap failure.
42520 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42523         Fix sort order.
42524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42525         Likewise.
42527 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42530         Fix the order of the list for glibc 2.17.
42531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42532         Likewise.
42534 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
42536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42538 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
42540         [BZ #14610]
42541         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
42542         for low part of x being zero before using __atanl (y).
42543         * math/libm-test.inc (atan2_test): Add another test.
42545         * manual/install.texi (Configuring and compiling): Document
42546         general use of test-wrapper and test-wrapper-env.
42547         * INSTALL: Regenerated.
42549         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
42550         (__fma): Do not extract and scale down low bits on after-rounding
42551         systems when result rounded to normal precision would have normal
42552         exponent.
42553         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
42554         (__fmal): Do not extract and scale down low bits on after-rounding
42555         systems when result rounded to normal precision would have normal
42556         exponent.
42557         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
42558         (__fmal): Do not extract and scale down low bits on after-rounding
42559         systems when result rounded to normal precision would have normal
42560         exponent.
42561         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
42562         macro.
42563         (fma_test): Add more tests.
42564         (fma_test_towardzero): Likewise.
42565         (fma_test_downward): Likewise.
42566         (fma_test_upward): Likewise.
42568 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
42570         * sysdeps/i386/tininess.h: Renamed to ...
42571         * sysdeps/x86/tininess.h: This.
42572         * sysdeps/x86_64/tininess.h: Removed.
42574 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42576         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
42577         input.  Use $(build-program-cmd).
42578         ($(objpfx)tst-array1-static.out): Likewise.
42579         ($(objpfx)tst-array2.out): Likewise.
42580         ($(objpfx)tst-array3.out): Likewise.
42581         ($(objpfx)tst-array4.out): Likewise.
42582         ($(objpfx)tst-array5.out): Likewise.
42583         ($(objpfx)tst-array5-static.out): Likewise.
42585 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
42587         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
42588         if defined.
42590         * nss/nsswitch.h (nss_interface_function): Provide new
42591         macro for use with NSS functions.
42592         * grp/initgroups.c: Use new macro.
42593         * nss/getXXbyYY.c: Likewise.
42594         * nss/getXXbyYY_r.c: Likewise.
42595         * nss/getXXent.c: Likewise.
42596         * nss/getXXent_r.c: Likewise.
42597         * sysdeps/posix/getaddrinfo.c: Likewise.
42599 2012-10-30  Andreas Jaeger  <aj@suse.de>
42601         * po/ru.po: Update Russion translation from translation project.
42603 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
42605         [BZ #14152]
42606         [BZ #14783]
42607         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
42608         result and shift together with sticky bit instead of replicating
42609         round-to-nearest rounding.
42610         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42611         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42612         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
42613         missing underflow exceptions.
42614         (fma_test_towardzero): Add more tests.
42615         (fma_test_downward): Likewise.
42616         (fma_test_upward): Likewise.
42618         [BZ #14047]
42619         * sysdeps/generic/tininess.h: New file.
42620         * sysdeps/i386/tininess.h: Likewise.
42621         * sysdeps/sh/tininess.h: Likewise.
42622         * sysdeps/x86_64/tininess.h: Likewise.
42623         * stdlib/tst-strtod-underflow.c: Likewise.
42624         * stdlib/tst-tininess.c: Likewise.
42625         * stdlib/strtod_l.c: Include <tininess.h>.
42626         (round_and_return): Do not set errno for exact underflow cases.
42627         Force an underflow exception when setting errno for underflow.
42628         Determine underflow based on rounding to normal precision if
42629         TININESS_AFTER_ROUNDING.
42630         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
42631         ERANGE for exact underflow cases.
42632         * stdlib/Makefile (tests): Add tst-tininess and
42633         tst-strtod-underflow.
42634         ($(objpfx)tst-tininess): Use $(link-libm).
42635         ($(objpfx)tst-strtod-underflow): Likewise.
42637 2012-10-30  Andreas Jaeger  <aj@suse.de>
42639         [BZ#14767]
42640         * elf/Makefile (tests): Remove conditional for have-initfini-array
42641         since this is now always required and the variable does not exist
42642         anymore.
42643         (tests-static): Likewise.
42644         (modules-names): Likewise.
42646         * po/eo.po: Add Esperanto translation from translation project.
42648         * elf/tst-array1.c (fini_array): Make writeable so that it can be
42649         merged with constructor/destructor.
42650         (init_array): Likewise.
42651         * elf/tst-array2dep.c (fini_array): Likewise.
42652         (init_array): Likewise.
42654 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
42656         * manual/message.texi: Delete @cartouche tags.
42658 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
42660         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
42661         EOPNOTSUPP.
42662         * sysdeps/mach/hurd/fsync.c: Likewise.
42664         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
42665         [_POSIX_REALTIME_SIGNALS]: Change condition to
42666         [_POSIX_REALTIME_SIGNALS > 0].
42668 2012-10-27  Andreas Jaeger  <aj@suse.de>
42670         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
42671         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
42672         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
42673         [__WORDSIZE != 64]: Likewise.
42675 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
42677         *  iconvdata/tst-table.sh: Remove ${SHELL}.
42678         *  iconvdata/tst-tables.sh: Likewise.
42680 2012-10-25  David S. Miller  <davem@davemloft.net>
42682         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42683         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
42684         of strtoull.
42686         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
42687         ifunc-impl-list.c
42688         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42689         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
42690         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
42691         file.
42693 2012-10-25  Roland McGrath  <roland@hack.frob.com>
42695         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42696         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
42697         __getdirentries.
42699 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42700             Jim Blandy  <jimb@codesourcery.com>
42702         * scripts/cross-test-ssh.sh: New file.
42703         * manual/install.texi (Configuring and compiling): Document use of
42704         cross-test-ssh.sh.
42705         * INSTALL: Regenerated.
42707 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
42709         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
42710         EOPNOTSUPP.
42712 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
42714         * Makeconfig (run-program-prefix): Fix comment.
42716 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42717             Jim Blandy  <jimb@codesourcery.com>
42719         * Makeconfig (test-wrapper): New variable,
42720         (test-wrapper-env): Likewise.
42721         [$(cross-compiling) = yes && $(test-wrapper) != ""]
42722         (run-built-tests): Define to yes.
42723         (run-program-prefix): Use $(test-wrapper).
42724         (built-program-cmd): Likewise.
42725         * Rules (make-test-out): Use $(test-wrapper-env) and
42726         $(host-built-program-cmd).
42727         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
42728         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
42729         tst-pathopt.sh.
42730         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
42731         $(test-wrapper-env) to tst-rtld-load-self.sh.
42732         ($(objpfx)order2.out): Use $(test-wrapper).
42733         ($(objpfx)tst-initorder.out): Likewise.
42734         ($(objpfx)tst-initorder2.out): Likewise.
42735         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
42736         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
42737         (test_wrapper_env): New variable.  Use it to run ld.so.
42738         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
42739         Use it to run ld.so.
42740         (test_wrapper_env): Likewise.
42741         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
42742         $(test-wrapper) to run-iconv-test.sh.
42743         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
42744         (ICONV): Use $test_wrapper.
42745         * posix/Makefile ($(objpfx)globtest.out): Pass
42746         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
42747         globtest.sh, not $(run-program-prefix).
42748         * posix/globtest.sh (run_via_rtld_prefix): New variable.
42749         (test_wrapper): Likewise.
42750         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
42751         set together with run_via_rtld_prefix.
42752         (run_program_prefix): Define in terms of test_wrapper and
42753         run_via_rtld_prefix.
42755 2012-10-24  Roland McGrath  <roland@hack.frob.com>
42757         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
42758         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
42759         Targets removed.
42761         [BZ #14743]
42762         * include/time.h: Remove librt_hidden_proto (clock_gettime).
42763         Declare __clock_getres, __clock_gettime, __clock_settime,
42764         __clock_nanosleep, and __clock_getcpuclockid.
42765         * rt/clock_gettime.c: Define __clock_gettime as an alias.
42766         Remove librt_hidden_def (clock_gettime).
42767         * sysdeps/unix/clock_gettime.c: Likewise.
42768         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
42769         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42770         * rt/clock_getres.c: Define __clock_getres as an alias.
42771         * sysdeps/posix/clock_getres.c: Likewise.
42772         * rt/clock_settime.c: Define __clock_settime as an alias.
42773         * sysdeps/unix/clock_settime.c: Likewise.
42774         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
42775         * sysdeps/unix/clock_nanosleep.c: Likewise.
42776         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42777         * rt/clock-compat.c: New file.
42778         * rt/Makefile (librt-routines): Add clock-compat and move
42779         $(clock-routines) to ...
42780         (routines): ... here, new variable.
42781         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
42782         Don't add get_clockfreq here.
42783         * rt/Versions (libc: GLIBC_2.17): New version set.
42784         Add clock_* symbols here.
42785         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
42786         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
42787         (GLIBC_2.17): Add clock_* symbols.
42788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42790         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42792         Likewise.
42793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42794         Likewise.
42795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42799         * NEWS: Mention the move.
42801         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42802         Use __open, __read, __close rather than their public counterparts.
42803         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42804         (__get_clockfreq_via_cpuinfo): Likewise.
42805         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
42806         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
42808         * config.h.in (HAVE_IFUNC): New #undef.
42809         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
42810         was successful.
42811         * configure: Regenerated.
42813 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42815         * configure.in: Move READELF check to start of file.
42816         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
42817         libc_cv_asm_gnu_indirect_function in the process.
42818         * configure: Regenerated.
42820 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
42822         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42823         send the output to /dev/null.
42824         (libc_cv_cc_with_libunwind): Likewise.
42825         (libc_cv_as_noexecstack): Likewise.
42826         * configure: Regenerate.
42828 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
42830         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42832         * posix/globtest.sh (TMPDIR): Do not set.
42833         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42834         (testout): Likewise.
42836 2012-10-24  Andreas Jaeger  <aj@suse.de>
42838         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42839         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42840         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42841         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42842         posix_fadvise64, posix_fallocate64.
42844         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42845         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42846         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42847         Likewise.
42848         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42849         Likewise.
42850         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42852         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42853         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42854         <bits/fcntl-linux.h>.
42855         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42857         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42858         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42859         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42860         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42861         [__WORDSIZE != 64]: Likewise.
42863 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42865         * Makeconfig (run-built-tests): New variable.
42866         * Rules [$(cross-compiling) = yes]: Change condition to
42867         [$(run-built-tests) = no].
42868         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42869         to [$(run-built-tests) = yes].
42870         * elf/Makefile [$(cross-compiling) = no]: Likewise
42871         * grp/Makefile [$(cross-compiling) = no]: Likewise.
42872         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42873         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42874         * intl/Makefile [$(cross-compiling) = no]: Likewise.
42875         * io/Makefile [$(cross-compiling) = no]: Likewise.
42876         * libio/Makefile [$(cross-compiling) = no]: Likewise.
42877         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42878         * misc/Makefile [$(cross-compiling) = no]: Likewise.
42879         * posix/Makefile [$(cross-compiling) = no]: Likewise.
42880         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42881         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42882         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42883         * string/Makefile [$(cross-compiling) = no]: Likewise.
42885         * posix/Makefile ($(objpfx)globtest.out): Pass
42886         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42887         $(rtld-installed-name).
42888         * posix/globtest.sh (elf_objpfx): Remove variable.
42889         (rtld_installed_name): Likewise.
42890         (library_path): Likewise.
42891         (run_program_prefix): New variable.  Use for running globtest
42892         binary.
42894 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
42895             Joseph Myers  <joseph@codesourcery.com>
42897         * Makeconfig (host-built-program-cmd): New variable.
42898         * elf/Makefile (tst-stackguard1-ARGS): Use
42899         $(host-built-program-cmd).
42900         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42901         (tst-spawn-ARGS): Likewise.
42902         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42904 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
42905             Jim Blandy  <jimb@codesourcery.com>
42907         * Makeconfig (run-via-rtld-prefix): New variable.
42908         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42909         (built-program-cmd): Likewise.
42911 2012-10-22  Andreas Jaeger  <aj@suse.de>
42913         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42914         __O_RSYNC if it exists, otherwise to O_SYNC.
42916 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
42917             Joseph Myers  <joseph@codesourcery.com>
42919         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42920         /dev/null.
42921         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42922         from /dev/null
42923         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42924         /dev/null.
42926 2012-10-22  Andreas Jaeger  <aj@suse.de>
42928         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42929         Define always.
42930         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42932         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42933         bits/fcntl-linux.h.
42935         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42936         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42938         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42939         to __O_LARGEFILE.
42940         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42941         to __O_LARGEFILE.
42943 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
42944             Joseph Myers  <joseph@codesourcery.com>
42946         * config.make.in (NM): New variable.
42948 2012-10-21  Andreas Jaeger  <aj@suse.de>
42950         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42951         definitions and declarations that are provided by
42952         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42954 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42956         [BZ #14683]
42957         * elf/Makefile (tests-static): Add tst-leaks1-static.
42958         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42959         ($(objpfx)tst-leaks1-static): New rule.
42960         ($(objpfx)tst-leaks1-static-mem): Likewise.
42961         (tst-leaks1-static-ENV): New macro.
42962         * elf/dl-open.c (dl_open_worker): Check the main application
42963         only if SHARED is defined.
42964         * elf/tst-leaks1-static.c: New file.
42966 2012-10-20  Andreas Jaeger  <aj@suse.de>
42968         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42969         generic values for Linux.
42970         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42971         and declarations that are provided by <bits/fcntl-linux.h> and
42972         include <bits/fcntl-linux.h>.
42973         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42974         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42976 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42978         * io/fcntl.h: Move include of <bits/types.h> to the top and
42979         include it unconditionally.
42981 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42983         * wcsmbs/Makefile (tests-ifunc): New variable.
42984         (tests): Add $(tests-ifunc).
42985         * wcsmbs/test-wcschr-ifunc.c: New file.
42986         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42987         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42988         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42989         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42990         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42992         * string/Makefile (tests-ifunc): New variable.
42993         (tests): Add $(tests-ifunc).
42994         * string/test-memccpy.c (TEST_NAME): New macro.
42995         * string/test-memchr.c (TEST_NAME): Likewise.
42996         * string/test-memcmp.c (TEST_NAME): Likewise.
42997         * string/test-memcpy.c (TEST_NAME): Likewise.
42998         * string/test-memmem.c (TEST_NAME): Likewise.
42999         * string/test-memmove.c (TEST_NAME): Likewise.
43000         * string/test-memset.c (TEST_NAME): Likewise.
43001         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43002         * string/test-stpcpy.c (TEST_NAME): Likewise.
43003         * string/test-stpncpy.c (TEST_NAME): Likewise.
43004         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43005         * string/test-strcasestr.c (TEST_NAME): Likewise.
43006         * string/test-strcat.c (TEST_NAME): Likewise.
43007         * string/test-strchr.c (TEST_NAME): Likewise.
43008         * string/test-strcmp.c(TEST_NAME): Likewise.
43009         * string/test-strcpy.c (TEST_NAME): Likewise.
43010         * string/test-strcspn.c (TEST_NAME): Likewise.
43011         * string/test-strlen.c (TEST_NAME): Likewise.
43012         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43013         * string/test-strncmp.c (TEST_NAME): Likewise.
43014         * string/test-strncpy.c (TEST_NAME): Likewise.
43015         * string/test-strnlen.c (TEST_NAME): Likewise.
43016         * string/test-strpbrk.c (TEST_NAME): Likewise.
43017         * string/test-strrchr.c (TEST_NAME): Likewise.
43018         * string/test-strspn.c (TEST_NAME): Likewise.
43019         * string/test-strstr.c (TEST_NAME): Likewise.
43020         * string/test-bcopy-ifunc.c: New file.
43021         * string/test-bzero-ifunc.c: Likewise.
43022         * string/test-memccpy-ifunc.c: Likewise.
43023         * string/test-memchr-ifunc.c: Likewise.
43024         * string/test-memcmp-ifunc.c: Likewise.
43025         * string/test-memcpy-ifunc.c: Likewise.
43026         * string/test-memmem-ifunc.c: Likewise.
43027         * string/test-memmove-ifunc.c: Likewise.
43028         * string/test-mempcpy-ifunc.c: Likewise.
43029         * string/test-memset-ifunc.c: Likewise.
43030         * string/test-rawmemchr-ifunc.c: Likewise.
43031         * string/test-stpcpy-ifunc.c: Likewise.
43032         * string/test-stpncpy-ifunc.c: Likewise.
43033         * string/test-strcasecmp-ifunc.c: Likewise.
43034         * string/test-strcasestr-ifunc.c: Likewise.
43035         * string/test-strcat-ifunc.c: Likewise.
43036         * string/test-strchr-ifunc.c: Likewise.
43037         * string/test-strchrnul-ifunc.c: Likewise.
43038         * string/test-strcmp-ifunc.c: Likewise.
43039         * string/test-strcpy-ifunc.c: Likewise.
43040         * string/test-strcspn-ifunc.c: Likewise.
43041         * string/test-strlen-ifunc.c: Likewise.
43042         * string/test-strncasecmp-ifunc.c: Likewise.
43043         * string/test-strncat-ifunc.c: Likewise.
43044         * string/test-strncmp-ifunc.c: Likewise.
43045         * string/test-strncpy-ifunc.c: Likewise.
43046         * string/test-strnlen-ifunc.c: Likewise.
43047         * string/test-strpbrk-ifunc.c: Likewise.
43048         * string/test-strrchr-ifunc.c: Likewise.
43049         * string/test-strspn-ifunc.c: Likewise.
43050         * string/test-strstr-ifunc.c: Likewise.
43052         * debug/Makefile (tests-ifunc): New variable.
43053         (tests): Add $(tests-ifunc).
43054         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43055         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43056         * debug/test-stpcpy_chk-ifunc.c: New file.
43057         * debug/test-strcpy_chk-ifunc.c: Likewise.
43059 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43061         [BZ #13601]
43062         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43063         header is not read in.
43065 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43067         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43068         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43069         directly.  Pass built executable to script as
43070         $(built-program-cmd).
43071         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43072         $testprogram without using LD_LIBRARY_PATH and $ldso.
43074         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43075         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43076         $(rtld-installed-name).
43077         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43078         (rtld_installed_name): Likewise.
43079         (library_path): Likewise.
43080         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43081         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43082         $(run-program-prefix) to tst-tables.sh.
43083         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43084         it to run tst-table-from and tst-table-to.
43085         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43086         Pass it to tst-table.sh.
43087         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43088         $(run-program-prefix) to tst-gettext.sh.
43089         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43090         tst-translit.sh.
43091         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43092         tst-gettext2.sh.
43093         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43094         to run tst-gettext.
43095         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43096         to run tst-gettext2.
43097         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43098         to run tst-translit.
43099         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43100         $(run-program-prefix) to tst-mtrace.sh.
43101         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43102         to run tst-mtrace.
43103         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43104         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43105         $(rtld-installed-name).
43106         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43107         (rtld_installed_name): Likewise.
43108         (run_program_prefix): New variable.  Use it to run wordexp-test.
43110         * Makeconfig (ARCH): Remove all definitions.
43111         (machine): Likewise.
43112         [ARCH]: Remove conditional code.
43113         [!objdir]: Give error.
43114         [!objdir] (objpfx): Remove.
43115         [!objdir] (common-objpfx): Likewise.
43116         [!objdir] (common-objdir): Likewise.
43117         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43118         AC_CONFIG_FILES call.
43119         * configure: Regenerated.
43121         [BZ #13888]
43122         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43123         or TMPDIR.
43124         (testout): Likewise.
43126         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43127         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43128         $(rtld-installed-name).
43129         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43130         (rtld_installed_name): Likwise.
43131         (runit): Remove function.
43132         (run_getconf): New variable,  Use it for running getconf binary.
43134 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43136         [BZ #14716]
43137         * string/test-memmem.c (check_result): New function.
43138         (do_one_test): Use it.
43139         (check1): New function.
43140         (test_main): Use it.
43142 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43144         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43146 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43148         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43149         (_G_LSEEK64): Likewise.
43150         (_G_MMAP64): Likewise.
43151         (_G_FSTAT64): Likewise.
43152         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43153         (_G_LSEEK64): Likewise.
43154         (_G_MMAP64): Likewise.
43155         (_G_FSTAT64): Likewise.
43156         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43157         unconditional.  Call __mmap64 directly.
43158         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43159         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43160         __lseek64 directly.
43161         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43162         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43163         __mmap64 directly.
43164         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43165         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43166         __lseek64 directly.
43167         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43168         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43169         __lseek64 directly.
43170         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43171         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43172         __lseek64 directly.
43173         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43174         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43175         __fxstat64 directly.
43176         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43177         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43178         unconditional.
43179         (freopen64) [!_G_OPEN64]: Remove conditional code.
43180         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43181         unconditional.
43182         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43183         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43184         unconditional.
43185         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43186         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43187         unconditional.
43188         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43189         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43190         unconditional.
43191         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43192         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43193         unconditional.
43194         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43195         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43196         unconditional.
43197         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43198         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43199         unconditional.
43200         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43202 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43204         [BZ #12140]
43205         * manual/memory.texi (Malloc Tunable Parameters): Add note
43206         about free list pointers overwriting some perturb bytes.
43207         Wording suggested by Roland McGrath.
43209 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43211         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43212         (lgamma_test): Likewise.
43213         (tgamma_test): Likewise.
43215 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43217         [BZ #14700]
43218         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43219         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43221 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43223         * NEWS: Mention BZ #14716.
43224         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43225         when removing AVAILABLE1_USES_J macro.
43227 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43229         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43230         (__bswap_64): __uint64_t for unsigned 64-bit int.
43232 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43234         * include/string.h (memmem): Declare libc hidden alias.
43235         * string/memmem.c (memmem): Define libc hidden alias.
43236         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43237         __read, __close instead of open, read, close.
43239 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43241         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43242         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43243         global and hidden.
43244         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43245         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43246         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43247         Likewise.
43248         (__rawmemchr_sse2): Likewise.
43249         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43250         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43251         (__strchr_sse2): Likewise.
43252         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43253         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43254         (__strcasecmp_sse2): Likewise.
43255         (__strncasecmp_sse2): Likewise.
43256         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43257         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43258         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43259         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43260         (__strrchr_sse2): Likewise.
43261         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43262         ifunc-impl-list.c.
43263         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43264         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43265         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43266         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43267         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43268         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43269         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43270         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43271         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43272         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43273         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43274         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43275         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43276         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43277         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43278         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43279         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43280         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43281         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43282         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43283         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43284         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43285         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43286         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43287         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43288         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43289         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43290         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43291         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43292         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43294         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43295         global and hidden.
43296         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43297         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43298         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43299         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43300         Likewise.
43301         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43302         Likewise.
43303         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43304         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43305         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43306         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43307         ifunc-impl-list.c.
43308         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43309         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43310         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43311         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43312         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43313         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43314         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43315         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43316         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43317         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43318         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43319         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43320         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43321         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43322         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43323         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43324         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43325         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43326         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43327         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43328         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43329         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43330         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43331         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43332         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43333         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43334         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43335         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43336         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43337         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43338         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43339         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43340         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43341         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43342         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43343         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43344         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43345         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43346         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43347         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43348         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43350         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43351         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43352         * include/ifunc-impl-list.h: New file.
43353         * misc/ifunc-impl-list.c: Likewise.
43354         * misc/Makefile (routines): Add ifunc-impl-list.
43355         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43356         * string/test-string.h: Include <ifunc-impl-list.h>.
43357         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43358         TEST_NAME]: New variables.
43359         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43360         are defined.
43361         (test_init): Call __libc_ifunc_impl_list to initialize
43362         func_list if TEST_IFUNC and TEST_NAME are defined.
43364         * string/Makefile (strop-tests): Add bcopy and bzero.
43365         * string/test-bcopy.c: New file.
43366         * string/test-bzero.c: Likewise.
43367         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43368         defined.
43369         * string/test-memset.c: Support bzero test if TEST_BZERO is
43370         defined.
43371         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43372         __libc_memmove.
43373         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43374         __libc_memset.
43375         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43376         of memset.
43378 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43380         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43381         * configure: Regenerated.
43383         * Makeconfig (+link-static-before-libc): Don't include
43384         $(link-static-libc).
43386         * libio/libio.h (_IO_pos_t): Remove.
43388 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43390         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43391         McGrath.
43393 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43395         * crypt/crypt-entry.c: Include fips-private.h.
43396         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43397         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43398         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43399         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43401 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43403         * crypt/crypt-private.h: Include stdbool.h.
43404         (_ufc_setup_salt_r): Return bool.
43405         * crypt/crypt-entry.c: Include errno.h.
43406         (__crypt_r): Return NULL with EINVAL for bad salt.
43407         * crypt/crypt_util.c (bad_for_salt): New.
43408         (_ufc_setup_salt_r): Check that salt is long enough and within
43409         the specified alphabet.
43410         * crypt/badsalttest.c: New file.
43411         * crypt/Makefile (tests): Add it.
43412         ($(objpfx)badsalttest): New.
43414 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43416         * NEWS: Add entry for BZ #14602.
43418 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43420         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43421         type-generic.
43422         * math/libm-test.inc: Update comment listing what functions and
43423         macros are tested.
43424         (isgreater_test): New function.
43425         (isgreaterequal_test): Likewise.
43426         (isless_test): Likewise.
43427         (islessequal_test): Likewise.
43428         (islessgreater_test): Likewise.
43429         (isunordered_test): Likewise.
43430         (main): Call the new functions.
43432 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43434         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43435         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43436         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43437         * sysdeps/i386/configure: Regenerated.
43438         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43439         * sysdeps/mach/configure: Regenerated.
43440         * sysdeps/mach/hurd/configure: Regenerated.
43441         * sysdeps/powerpc/configure: Regenerated.
43442         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43443         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43444         * sysdeps/s390/s390-32/configure: Regenerated.
43445         * sysdeps/s390/s390-64/configure: Regenerated.
43446         * sysdeps/sh/configure: Regenerated.
43447         * sysdeps/sparc/configure: Regenerated.
43448         * sysdeps/unix/sysv/linux/configure: Regenerated.
43449         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43450         * sysdeps/x86_64/configure: Regenerated.
43452         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43453         defined.  Don't check if MAP is NULL.
43455 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43457         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43458         (_G_stat64): Likewise.
43459         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43460         (_G_stat64): Likewise.
43461         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43462         instead of struct _G_stat64.
43463         * libio/fileops.c (mmap_remap_check): Likewise.
43464         (decide_maybe_mmap): Likewise.
43465         (_IO_new_file_seekoff): Likewise.
43466         (_IO_file_stat): Likewise.
43467         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43468         _G_off64_t.
43469         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43470         instead of struct _G_stat64.
43471         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43473 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43475         [BZ #14602]
43476         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43477         Replace with ...
43478         (CHECK_EOL): New macro.
43479         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43480         CHECK_EOL.
43481         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43482         Replace with CHECK_EOL.
43483         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43484         Replace with CHECK_EOL.
43486 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43488         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43489         type-generic.
43490         * math/libm-test.inc: Update comment listing what functions and
43491         macros are tested.
43492         (finite_test): New function.
43493         (isinf_test): Likewise.
43494         (isnan_test): Likewise.
43495         (fpclassify_test): Test subnormal input.
43496         (isfinite_test): Likewise.
43497         (isnormal_test): Likewise.
43498         (main): Call the new functions.
43500 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
43502         [BZ #14660]
43503         * Makerules (%.dynsym): Force C locale when running
43504         $(OBJDUMP) --dynamic-syms.
43506 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
43508         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
43509         <stdint.h>.
43511 2012-10-06  David S. Miller  <davem@davemloft.net>
43513         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
43514         upper 32-bits of the length value in %o2 since we use branch-on-register
43515         tests which consider the entire 64-bit register.
43517 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
43519         * string/test-strstr.c (check2): Add a test for page boundary.
43521 2012-10-05  David S. Miller  <davem@davemloft.net>
43523         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
43524         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
43525         file.
43526         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43527         sysdep_routines.
43528         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43529         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
43530         and bzero when HWCAP_SPARC_CRYPTO is present.
43532 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
43534         [BZ #14602]
43535         * string/test-strstr.c (check2): New function.
43536         (test_main): Call check2.
43538         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
43539         and bug-strchr1.
43540         * string/bug-strcasestr1.c (do_test): Moved to ...
43541         * string/test-strcasestr.c (check1): Here.  New function.
43542         (do_one_test): Break out result checking code into ...
43543         (check_result): This.  New function.
43544         (do_one_test): Call check_result.
43545         (test_main): Call check1.
43546         * string/bug-strchr1.c (do_test): Moved to ...
43547         * string/test-strchr.c (check1): Here.  New function.
43548         (do_one_test): Break out result checking code into ...
43549         (check_result): This.  New function.
43550         (do_one_test): Call check_result.
43551         (test_main): Call check1.
43552         * string/bug-strstr1.c (main): Moved to ...
43553         * string/test-strstr.c (check1): Here.  New function.
43554         (do_one_test): Break out result checking code into ...
43555         (check_result): This.  New function.
43556         (do_one_test): Call check_result.
43557         (test_main): Call check1.
43558         * string/bug-strcasestr1.c: Removed.
43559         * string/bug-strchr1.c: Likewise.
43560         * string/bug-strstr1.c: Likewise.
43562         * elf/Makefile (dl-routines): Add hwcaps.
43563         * elf/dl-support.c (_dl_important_hwcaps): Removed.
43564         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
43565         (_dl_important_hwcaps): Moved to ...
43566         * elf/dl-hwcaps.c: Here.  New file.
43567         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
43569         [BZ #14557]
43570         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
43571         if IS_IN_rtld isn't defined.
43573         * elf/dl-support.c (_dl_sysinfo_map): New.
43574         Include "get-dynamic-info.h" and "setup-vdso.h".
43575         (_dl_non_dynamic_init): Call setup_vdso.
43576         * elf/dynamic-link.h: Don't include <assert.h>.
43577         (elf_get_dynamic_info): Moved to ...
43578         * elf/get-dynamic-info.h: Here.  New file.
43579         * elf/dynamic-link.h: Include "get-dynamic-info.h".
43580         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
43581         * elf/setup-vdso.h: Here.  New file.
43582         * elf/rtld.c: Include "setup-vdso.h".
43583         (dl_main): Call setup_vdso.
43585 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
43587         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
43588         creal in comment listing functions tested.  List finite, isinf,
43589         isnan, isless, islessequal, isgreater, isgreaterequal,
43590         islessgreater, isunordered, lgamma_r and pow10 as functions and
43591         macros not tested.  Mention which functions not tested are aliases
43592         for other functions.  Fix typo.  Note that signs of NaNs are not
43593         tested.
43595         * scripts/config.guess: Update from config.git.
43596         * scripts/config.sub: Likewise.
43598 2012-10-04  Roland McGrath  <roland@hack.frob.com>
43600         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
43601         * misc/madvise.c (madvise): Renamed to __madvise.
43602         Make madvise a weak alias.
43603         * include/sys/mman.h: Declare __madvise.
43604         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
43605         * sysdeps/unix/syscalls.list
43606         (madvise): Make __madvise the strong name, and madvise a weak alias.
43607         * sysdeps/unix/sysv/linux/syscalls.list
43608         (madvise, mmap): Remove redundant entries.
43609         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
43610         * malloc/malloc.c (mtrim): Likewise.
43611         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
43613 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43615         * sysdeps/mach/hurd/dl-cache.c: File removed.
43616         * config.h.in (USE_LDCONFIG): New #undef.
43617         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
43618         * configure: Regenerated.
43619         * elf/Makefile (dl-routines): Add dl-cache only under
43620         [$(use-ldconfig) = yes].
43621         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
43622         cache on [USE_LDCONFIG].
43623         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
43624         [USE_LDCONFIG].
43625         * elf/rtld.c (dl_main): Likewise.
43627 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
43629         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
43630         _SC_LEVEL4_CACHE_LINESIZE.
43632 2012-10-03  Roland McGrath  <roland@hack.frob.com>
43634         * sysdeps/unix/bsd/confstr.h: File removed.
43636 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
43638         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
43639         sys/sdt-config.h.
43641 2012-10-02  Roland McGrath  <roland@hack.frob.com>
43643         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
43644         Make 'mapoff' field ElfW(Off) rather than off_t.
43646 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
43648         * nscd/Makefile: Remove nscd-cflags and all its users.
43649         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
43650         (CFLAGS-nonlib): Add compiler flags for nscd modules.
43652         [BZ #10631]
43653         * malloc.c (malloc_printerr): Clarify error message.
43655 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
43657         [BZ #14648]
43658         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43659         Set bit_FMA_Usable if FMA is supported.
43660         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
43661         macro.
43662         (bit_FMA4_Usable): Updated.
43663         (index_FMA_Usable): New macro.
43664         (CPUID_FMA): Likewise
43665         (HAS_FMA): Defined with bit_FMA_Usable.
43667 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43669         * bits/types.h (__swblk_t): Type removed.
43670         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
43671         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
43672         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43673         (__SWBLK_T_TYPE): Likewise.
43674         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43675         (__SWBLK_T_TYPE): Likewise.
43676         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43677         (__SWBLK_T_TYPE): Likewise.
43678         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43679         (__SWBLK_T_TYPE): Likewise.
43681 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
43682             Honza Horak <hhorak@redhat.com>
43684         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
43685         (xdr_mapname): Use YPMAXMAP as maxsize.
43686         (xdr_peername): Use YPMAXPEER as maxsize.
43687         (xdr_keydat): Use YPAXRECORD as maxsize.
43688         (xdr_valdat): Use YPMAXRECORD as maxsize.
43690 2012-10-01  Roland McGrath  <roland@hack.frob.com>
43692         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
43694         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
43695         * csu/init-first.c: ... here.
43696         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
43697         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
43698         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
43699         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
43700         * sysdeps/i386/init-first.c: File removed.
43701         * sysdeps/sh/init-first.c: File removed.
43703 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
43705         [BZ #14645]
43706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
43707         if x * y might underflow to zero and z is zero.
43708         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43709         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43710         * math/libm-test.inc (min_subnorm_value): New variable.
43711         (fma_test): Add more tests.
43712         (fma_test_towardzero): Likewise.
43713         (fma_test_downward): Likewise
43714         (fma_test_upward): Likewise.
43715         (initialize): Set min_subnorm_value.
43717 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
43719         [BZ #14638]
43720         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
43721         0 + 0.
43722         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
43723         mode for addition resulting in exact zero.
43724         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
43725         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
43726         exact 0 + 0.
43727         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43728         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43729         * math/libm-test.inc (fma_test): Add more tests.
43730         (fma_test_towardzero): New function.
43731         (fma_test_downward): Likewise.
43732         (fma_test_upward): Likewise.
43733         (main): Call the new functions.
43735 2012-09-28  David S. Miller  <davem@davemloft.net>
43737         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
43739 2012-09-28  Roland McGrath  <roland@hack.frob.com>
43741         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
43742         instead of SIGALRM.
43744         * sysdeps/gnu/_G_config.h: Moved to ...
43745         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
43746         * sysdeps/mach/hurd/_G_config.h: Moved to ...
43747         * sysdeps/generic/_G_config.h: ... here.
43749         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
43751         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
43753         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
43754         Conditionalize target on [libnss_test1.so-version].
43756         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
43758         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
43759         (elfobjdir): Move out of conditionals.
43761         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
43762         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
43763         (__nss_lookup_function): Conditionalize label remove_from_tree on
43764         [!DO_STATIC_NSS || SHARED], matching its only use.
43766 2012-09-28  David S. Miller  <davem@davemloft.net>
43768         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
43769         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
43770         file.
43771         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
43772         sysdep_routines.
43773         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
43774         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
43775         when HWCAP_SPARC_CRYPTO is present.
43777 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43779         * io/tst-mknodat.c: Create a FIFO instead of a socket.
43781 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
43783         [BZ #6530]
43784         * stdio-common/vfprintf.c (process_string_arg): Revert
43785         2000-07-22 change.
43787 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
43789         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
43790         for testcase.
43791         * stdio-common/tst-sprintf.c: Include <locale.h>
43792         (main): Test sprintf's handling of incomplete multibyte
43793         characters.
43795 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
43797         * elf/dl-runtime.c (VERSYMIDX): Removed.
43798         * elf/dl-version.c (VERSYMIDX): Likewise.
43799         * elf/do-rel.h (VERSYMIDX): Likewise.
43800         (VALIDX): Likewise.
43801         * elf/dynamic-link.h (VERSYMIDX): Likewise.
43802         * elf/rtld.c (VALIDX): Likewise.
43803         (ADDRIDX): Likewise.
43804         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
43805         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
43806         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
43807         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
43808         (VALIDX): Likewise.
43809         (ADDRIDX): Likewise.
43811 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43813         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
43815 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
43817         [BZ #11438]
43818         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
43819         to global scope.
43820         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
43821         addresses are in the same scope as 192.0.2/24.
43822         * posix/gai.conf: Document new scope table defaults.
43824 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43826         [BZ #5298]
43827         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43828         for ftell.  Compute offsets from write pointers instead.
43829         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43831 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43833         [BZ #14543]
43834         * libio/Makefile (tests): New test case tst-fseek.
43835         * libio/tst-fseek.c: New test case to verify that fseek/ftell
43836         combination works in wide mode.
43837         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43838         state when the external buffer state changes.
43840 2012-09-27  David S. Miller  <davem@davemloft.net>
43842         [BZ #14376]
43843         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43844         pass reloc->r_addend in as the 'high' argument to
43845         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43849 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
43851         * rt/tst-aio2.c: Include <pthread.h>.
43852         * rt/tst-aio3.c: Likewise.
43854 2012-09-27  Steve Ellcey  <sellcey@mips.com>
43856         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43858 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
43860         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43861         contents on [SHARED].
43863 2012-09-26  Marek Polacek  <polacek@redhat.com>
43865         [BZ #14530]
43866         [BZ #13741]
43867         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43868         for C++ and GCC <4.3 as well as for non GCC compilers.
43870 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43872         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43874 2012-09-25  Roland McGrath  <roland@hack.frob.com>
43876         * Makefile.in (all, install): Declare with .PHONY.
43877         Reported by Michael Hope <michael.hope@linaro.org>.
43879 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43881         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43882         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43883         system header.
43884         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43885         Likewise.
43886         (sydep_routines): Add the new and the internal functions.
43887         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43888         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43890         (GLIBC_2.17): Add the new function.
43891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43892         (GLIBC_2.17): Likewise.
43893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43894         (GLIBC_2.17): Likewise.
43895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43896         (GLIBC_2.17): Likewise.
43897         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43899 2012-09-25  Alan Modra  <amodra@gmail.com>
43901         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43902         Add release barrier before setting once_control to say
43903         initialisation is done.  Add hints on lwarx.  Use macro in
43904         place of isync.
43905         (clear_once_control): Add release barrier.
43907 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43909         [BZ #13629]
43910         * math/s_clog.c (__clog): Handle more values close to |z| = 1
43911         specially.
43912         * math/s_clog10.c (__clog10): Likewise.
43913         * math/s_clog10f.c (__clog10f): Likewise.
43914         * math/s_clog10l.c (__clog10l): Likewise.
43915         * math/s_clogf.c (__clogf): Likewise.
43916         * math/s_clogl.c (__clogl): Likewise.
43917         * math/Makefile (libm-calls): Add x2y2m1.
43918         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43919         (__x2y2m1): Likewise.
43920         (__x2y2m1l): Likewise.
43921         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43922         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43923         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43924         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43925         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43926         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43927         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43928         * sysdeps/i386/fpu/libm-test-ulps: Update.
43929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43931         [BZ #14621]
43932         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43933         int as type of variable DEPTH.
43934         (glob): Use size_t instead of int as type of variables NEWCOUNT
43935         and OLD_PATHC.
43937 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43939         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43940         Add s_sincosf-sse2.
43941         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43942         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43943         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43944         macros for using routine as __sincosf_ia32.
43945         Use macro for function declaration and weak_alias.
43946         * sysdeps/i386/fpu/libm-test-ulps: Update.
43948         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43951         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43952         subnormal argument.
43953         * math/s_cexpf.c (__cexpf): Likewise.
43954         * math/s_csinf.c (__csinf): Likewise.
43955         * math/s_csinhf.c (__csinhf): Likewise.
43956         * math/s_ctanf.c (__ctanf): Likewise.
43957         * math/s_ctanhf.c (__ctanhf): Likewise.
43958         * math/s_ccosh.c (__ccoshf): Likewise.
43959         * math/s_cexp.c (__cexpl): Likewise.
43960         * math/s_csin.c (__csin): Likewise.
43961         * math/s_csinh.c (__csinh): Likewise.
43962         * math/s_ctan.c (__ctan): Likewise.
43963         * math/s_ctanh.c (ctanh): Likewise.
43964         * math/s_ccoshl.c (__ccoshl): Likewise.
43965         * math/s_cexpl.c (__cexpl): Likewise.
43966         * math/s_csinl.c (__csinl): Likewise.
43967         * math/s_csinhl.c (__csinhl): Likewise.
43968         * math/s_ctanl.c (__ctanl): Likewise.
43969         * math/s_ctanhl.c (__ctanhl): Likewise.
43971 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43973         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43974         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43975         (_IO_off_t): Define to __off_t, not _G_off_t.
43976         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43977         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43978         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43979         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43980         type of __dummy and __dummy2 fields.
43981         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43982         (_G_ssize_t): Likewise.
43983         (_G_off_t): Likewise.
43984         (_G_pid_t): Likewise.
43985         (_G_uid_t): Likewise.
43986         (_G_wchar_t): Likewise.
43987         (_G_wint_t): Likewise.
43988         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43989         (_G_ssize_t): Likewise.
43990         (_G_off_t): Likewise.
43991         (_G_pid_t): Likewise.
43992         (_G_uid_t): Likewise.
43993         (_G_wchar_t): Likewise.
43994         (_G_wint_t): Likewise.
43995         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43996         (_G_ssize_t): Likewise.
43997         (_G_off_t): Likewise.
43998         (_G_pid_t): Likewise.
43999         (_G_uid_t): Likewise.
44000         (_G_wchar_t): Likewise.
44001         (_G_wint_t): Likewise.
44003 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44005         * malloc/arena.c: Include malloc-sysdep.h.
44006         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44007         is sufficient to shrink the heap or an unmap is needed.
44008         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44009         new function check_may_shrink_heap.
44010         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44011         new function check_may_shrink_heap.
44013 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44015         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44016         comments.
44018 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44020         * catgets/test-gencat.sh: Add "set -e".
44021         * elf/tst-pathopt.sh: Likewise.
44022         * grp/tst_fgetgrent.sh: Likewise.
44023         * iconvdata/run-iconv-test.sh: Likewise.
44024         * intl/tst-gettext.sh: Likewise.
44025         * intl/tst-gettext2.sh: Likewise.
44026         * intl/tst-gettext4.sh: Likewise.
44027         * intl/tst-gettext6.sh: Likewise.
44028         * intl/tst-translit.sh: Likewise.
44029         * io/ftwtest-sh: Likewise.
44030         * libio/test-freopen.sh: Likewise.
44031         * malloc/tst-mtrace.sh: Likewise.
44032         * posix/globtest.sh: Likewise.
44033         * posix/tst-getconf.sh: Likewise.
44034         * posix/wordexp-tst.sh: Likewise.
44035         * stdio-common/tst-printf.sh: Likewise.
44036         * stdio-common/tst-unbputc.sh: Likewise.
44037         * stdlib/tst-fmtmsg.sh: Likewise.
44038         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44039         * catgets/Makefile: Do not specify -e option when running
44040         testsuite shell scripts.
44041         * elf/Makefile: Likewise.
44042         * grp/Makefile: Likewise.
44043         * iconvdata/Makefile: Likewise.
44044         * intl/Makefile: Likewise.
44045         * io/Makefile: Likewise.
44046         * libio/Makefile: Likewise.
44047         * malloc/Makefile: Likewise.
44048         * posix/Makefile: Likewise.
44049         * stdio-common/Makefile: Likewise.
44050         * stdlib/Makefile: Likewise.
44051         * sysdeps/x86_64/Makefile: Likewise.
44053         * io/ftwtest-sh: Add copyright header.
44054         * posix/globtest.sh: Likewise.
44055         * posix/tst-getconf.sh: Likewise.
44056         * posix/wordexp-tst.sh: Likewise.
44057         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44059 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44061         [BZ #13679]
44062         * Makeconfig (+link): Defined as $(+link-static) if
44063         $(build-shared) isn't yes.
44064         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44065         isn't yes.
44066         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44068         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44070         [BZ #14562]
44071         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44072         new chunk size with MALLOC_ALIGN_MASK.
44074 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44076         [BZ #5044]
44077         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44078         <rounding-mode.h>.
44079         (__printf_fphex): Determine rounding using get_rounding_mode and
44080         round_away.
44081         * stdio-common/tst-printf-round.c (struct hex_test): New
44082         structure.
44083         (hex_tests): New variable.
44084         (test_hex_in_one_mode): New function.
44085         (do_test): Also run tests for hex float output.
44087 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44089         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44090         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44091         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44092         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44093         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44094         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44095         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44096         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44098 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44100         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44101         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44102         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44103         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44105 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44107         [BZ #14579]
44108         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44109         mode only.
44110         * elf/tst-rtld-load-self.sh: New test.
44111         * elf/Makefile: Run it.
44113 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44115         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44116         (tst-writev-ENV): Remove.
44117         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44119 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44121         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44123 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44125         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44126         unconditional.
44127         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44128         Likewise.
44129         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44130         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44131         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44132         Likewise.
44134 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44136         [BZ #14587]
44137         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44138         * config.make.in (have-cpp-asm-debuginfo): Removed.
44139         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44140         * configure: Regenerated.
44142 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44144         [BZ #5044]
44145         * stdio-common/printf_fp.c: Include <stdbool.h> and
44146         <rounding-mode.h>.
44147         (___printf_fp): Determine rounding using get_rounding_mode and
44148         round_away.
44149         * stdio-common/tst-printf-round.c: New file.
44150         * stdio-common/Makefile (tests): Add tst-printf-round.
44151         (link-libm): New variable.
44152         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44154 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44156         [BZ #14576]
44157         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44158         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44159         Likewise.
44160         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44161         Likewise.
44163 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44165         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44166         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44167         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44168         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44170 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44172         [BZ #14518]
44173         * include/rounding-mode.h: New file.
44174         * sysdeps/generic/get-rounding-mode.h: Likewise.
44175         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44176         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44177         (MAX_VALUE): New macro.
44178         (MIN_VALUE): Likewise.
44179         (overflow_value): New function.
44180         (underflow_value): Likewise.
44181         (round_and_return): Use overflow_value and underflow_value to
44182         determine return values in overflow and underflow cases.  Use
44183         round_away to determine rounding depending on rounding mode.
44184         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44185         determine return values in overflow and underflow cases.
44186         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44187         (struct test_results): New structure.
44188         (struct test): Use struct test_results to store expected results
44189         for all rounding modes.
44190         (TEST): Include expected results for all rounding modes.
44191         (test_in_one_mode): New function.
44192         (do_test): Use test_in_one_mode to compute and check results.
44193         Check results for all rounding modes.
44194         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44195         $(link-libm).
44197 2012-12-09  Allan McRae  <allan@archlinux.org>
44199         * sysdeps/i386/fpu/libm-test-ulps: Update
44201 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44203         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44204         (_G_int32_t): Likewise.
44205         (_G_uint16_t): Likewise.
44206         (_G_uint32_t): Likewise.
44207         (_G_HAVE_BOOL): Likewise.
44208         (_G_HAVE_ATEXIT): Likewise.
44209         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44210         (_G_HAVE_IO_FILE_OPEN): Likewise.
44211         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44212         (_G_int32_t): Likewise.
44213         (_G_uint16_t): Likewise.
44214         (_G_uint32_t): Likewise.
44215         (_G_HAVE_BOOL): Likewise.
44216         (_G_HAVE_ATEXIT): Likewise.
44217         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44218         (_G_HAVE_IO_FILE_OPEN): Likewise.
44219         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44220         (_G_int32_t): Likewise.
44221         (_G_uint16_t): Likewise.
44222         (_G_uint32_t): Likewise.
44223         (_G_HAVE_BOOL): Likewise.
44224         (_G_HAVE_ATEXIT): Likewise.
44225         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44226         (_G_HAVE_IO_FILE_OPEN): Likewise.
44228 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44230         * csu/libc-tls.c: Update copyright years.
44232 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44234         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44235         [!_G_USING_THUNKS]: Remove conditional code.
44236         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44237         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44239         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44240         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44241         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44242         (_G_VTABLE_LABEL_PREFIX): Likewise.
44243         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44244         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44245         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44246         (_G_VTABLE_LABEL_PREFIX): Likewise.
44247         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44248         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44249         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44250         (_G_VTABLE_LABEL_PREFIX): Likewise.
44251         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44253 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44255         * libio/Makefile: Include ../Makeconfig before tests.
44256         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44257         only if $(build-shared) is yes.
44259         * iconv/gconv_db.c: Update copyright years.
44261 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44263         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44264         unwind info if defined PIC. Fix special cases description.
44265         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44267         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44268         DP_HI_MASK entry.
44269         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44271 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44273         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44275         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44276         is NULL.
44278         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44279         (LDLIBS-tst-chk4): This.
44280         (LDFLAGS-tst-chk5): Renamed to ...
44281         (LDLIBS-tst-chk5): This.
44282         (LDFLAGS-tst-chk6): Renamed to ...
44283         (LDLIBS-tst-chk6): This.
44284         (LDFLAGS-tst-lfschk4): Renamed to ...
44285         (LDLIBS-tst-lfschk4): This.
44286         (LDFLAGS-tst-lfschk5): Renamed to ...
44287         (LDLIBS-tst-lfschk5): This.
44288         (LDFLAGS-tst-lfschk6): Renamed to ...
44289         (LDLIBS-tst-lfschk6): This.
44291         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44292         on $(common-objpfx)soversions.mk.
44294 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44296         [BZ #10014]
44297         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44298         example host name.
44300 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44302         * malloc/arena.c (arena_get_retry): New function that gets
44303         another arena for the caller to try its request on.
44304         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44305         current arena cannot fulfill the request.
44306         (__libc_memalign): Likewise.
44307         (__libc_memalign): Likewise.
44308         (__libc_pvalloc): Likewise.
44309         (__libc_calloc): Likewise.
44311 2012-09-05  John Tobey  <john.tobey@gmail.com>
44313         [BZ #13542]
44314         * manual/arith.texi (Operations on Complex): Fix description
44315         of carg branch cut.
44317 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44319         [BZ #10014]
44320         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44321         host name.
44323         [BZ #10038]
44324         * manual/memory.texi (Memory): Make order of menu items match
44325         order of sections.
44327 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44329         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44330         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44331         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44333 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44335         * csu/libc-tls.c (static_dtv): Renamed to ...
44336         (_dl_static_dtv): This.  Make it global.
44337         (_dl_initial_dtv): Removed.
44338         (__libc_setup_tls): Updated.
44339         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44340         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44341         DL_INITIAL_DTV.
44343 2012-09-06  Petr Machata  <pmachata@redhat.com>
44345         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44346         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44347         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44348         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44350 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44352         [BZ #14545]
44353         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44354         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44355         freeing dtv[-1].
44357 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44359         [BZ #14544]
44360         * Makeconfig (link-static-before-libc): Replace $(+prector)
44361         with $(+prectorT).
44362         (link-static-after-libc): Replace $(+postctor) with
44363         $(+postctorT).
44364         (link-bounded): Replace $(+prector)/$(+postctor) with
44365         $(+prectorT)/$(+postctorT).
44366         (+prectorT): New macro.
44367         (+postctorT): Likewise.
44369 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44371         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44372         (round_str): Handle values above the maximum for IBM long double
44373         as inexact.
44374         * stdlib/tst-strtod-round.c (tests): Regenerated.
44376 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44378         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44379         assembler flag.
44380         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44381         zarch_nohighgprs around the zarch optimized routines.
44382         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44383         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44384         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44385         for zarch.
44387 2012-09-05  David S. Miller  <davem@davemloft.net>
44389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44391         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44392         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44393         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44394         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44395         entries.
44397 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44399         * malloc/arena.c: Fold copyright years.
44400         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44402 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44404         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44406 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44408         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44410 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44412         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44413         change internal state upon failure.
44415 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44417         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44418         * malloc/memusage.c (mmap): Likewise.
44419         (mmap64, mremap): Likewise.  Adjust name in comment.
44421 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44423         * libio/fileops.c: Fix typos in comments.
44424         * libio/oldfileops.c: Likewise.
44425         * libio/wfileops.c: Likewise.
44427 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44429         [BZ #1349]
44430         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44431         (tst-malloc-usable-ENV): Set environment for test case.
44432         * malloc/hooks.c (malloc_check_get_size): New function to get
44433         requested size.
44434         * malloc/malloc.c (musable): Use malloc_check_get_size.
44435         * malloc/tst-malloc-usable.c: New test case.
44437 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44439         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44441 2012-09-05  Allan McRae  <allan@archlinux.org>
44443         [BZ #13966]
44444         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44445         determine header location.
44446         * configure: Regenerated.
44448 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44450         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44451         float format.
44452         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44453         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44454         format.
44455         (test): Regenerate.
44457 2012-09-04  David S. Miller  <davem@davemloft.net>
44459         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44460         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44461         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44463 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44465         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44466         failures.
44468         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44470 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44472         [BZ #9914]
44473         * libio/iogetdelim.c: Include <limits.h>.
44474         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44475         + len + 1 would overflow.
44477 2012-09-03  Andreas Jaeger  <aj@suse.de>
44479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44480         * sysdeps/i386/fpu/libm-test-ulps: Update.
44482 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44484         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44485         Add s_sinf-sse2, s_conf-sse2.
44487         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44488         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44489         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44490         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44492         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
44493         for using routine as __sinf_ia32.
44494         Use macro for function declaration and weak_alias.
44495         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
44496         for using routine as __cosf_ia32.
44497         Use macro for function declaration and weak_alias.
44499         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
44500         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
44502         * sysdeps/x86_64/fpu/s_sinf.S: New file.
44503         * sysdeps/x86_64/fpu/s_cosf.S: New file.
44504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44506         * math/libm-test.inc (cos_test): Add more test cases.
44507         (sin_test): Likewise.
44508         (sincos_test): Likewise.
44510 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44512         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
44513         (IFUNC_RESOLVE): Make pointers to the specialized implementations
44514         hidden.
44515         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44517 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
44519         [BZ #14538]
44520         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
44521         first element of the GOT.
44522         (elf_machine_load_address): Return the difference between
44523         the runtime address of _DYNAMIC and elf_machine_dynamic ().
44525 2012-09-01  Allan McRae  <allan@archlinux.org>
44527         [BZ #13412]
44528         * configure.in (AWK): Require gawk version 3.0 or later.
44529         * configure: Regenerated.
44531 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
44533         * sysdeps/unix/sysv/linux/kernel-features.h
44534         (__ASSUME_POSIX_CPU_TIMERS): Remove.
44535         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44536         [__NR_clock_getres]: Make code unconditional.
44537         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
44538         (clock_getcpuclockid): Remove code left unreachable by removal of
44539         conditionals.
44540         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
44541         code unconditional.
44542         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44543         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44544         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
44545         Make code unconditional.
44546         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
44547         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44548         * sysdeps/unix/sysv/linux/clock_settime.c
44549         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
44550         conditional code.
44551         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
44552         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
44554 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
44556         [BZ #14476]
44557         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
44558         scripts/test-installation.pl.
44560         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
44561         and $ld_so_version if it is set.
44563 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44565         [BZ #14516]
44566         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
44567         failure if reading from procfs failed.
44568         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
44570 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44572         * sysdeps/unix/sysv/linux/kernel-features.h
44573         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
44574         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44575         Remove conditional code.
44576         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44577         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
44578         Remove conditional code.
44579         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44580         * sysdeps/unix/sysv/linux/i386/fxstat.c
44581         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44582         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44583         * sysdeps/unix/sysv/linux/i386/fxstatat.c
44584         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44585         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44586         * sysdeps/unix/sysv/linux/i386/lxstat.c
44587         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
44588         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44589         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
44590         Remove conditional code.
44591         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44592         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
44593         Remove conditional code.
44594         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44595         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
44596         <kernel-features.h>.
44597         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
44598         Remove.
44599         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
44600         Remove conditional code.
44601         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
44602         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
44603         Remove conditional.
44605 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
44607         [BZ #5400]
44608         * NEWS: Add fixed bug number.
44610 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
44612         [BZ #14519]
44613         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
44614         underflowing exponent in case of negative sign.
44615         * stdlib/tst-strtod-round-data: Add more tests.
44616         * stdlib/tst-strtod-round.c (tests): Regenerated.
44618         [BZ #3479]
44619         * stdlib/strtod_l.c (NDIG): Remove.
44620         (HEXNDIG): Likewise.
44621         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
44622         smallest representable value.
44623         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
44624         lie within an exact representation of 1/2 ulp of the result.
44625         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
44626         unconditionally.
44627         (TENS_P9_IDX): Define unconditionally.
44628         (TENS_P9_SIZE): Likewise.
44629         (TENS_P10_IDX): Likewise.
44630         (TENS_P10_SIZE): Likewise.
44631         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
44632         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
44633         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
44634         entries for 10^2^13 and 10^2^14.
44635         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
44636         (TENS_P13_IDX): Define.
44637         (TENS_P13_SIZE): Likewise.
44638         (TENS_P14_IDX): Likewise.
44639         (TENS_P14_SIZE): Likewise.
44640         (_fpioconst_pow10): Change array size to
44641         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
44642         unconditional.
44643         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
44644         1024]: Add entries for 10^2^13 and 10^2^14.
44645         [LAST_POW10 > _LAST_POW10]: Remove #error.
44646         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
44647         (_fpioconst_pow10): Change array size to
44648         FPIOCONST_POW10_ARRAY_SIZE.
44649         * stdlib/gen-fpioconst.c: New file.
44650         * stdlib/gen-tst-strtod-round.c: Likewise.
44651         * stdlib/tst-strtod-round-data: Likewise.
44652         * stdlib/tst-strtod-round.c: Likewise.
44653         * stdlib/Makefile (tests): Add tst-strtod-round.
44655         [BZ #14459]
44656         * stdlib/strtod_l.c: Include <stdint.h>.
44657         (NDEBUG): Do not define.
44658         (round_and_return): Change EXPONENT parameter to type intmax_t.
44659         Rearrange calculations to avoid internal overflow possibilities.
44660         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
44661         Rearrange calculations to avoid internal overflow possibilities.
44662         Assert that number fits inside MPNSIZE limbs.
44663         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
44664         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
44665         calculations and add assertions to avoid internal overflow
44666         possibilities.  Add casts to avoid signed/unsigned operations.
44667         * stdlib/tst-strtod-overflow.c: New file.
44668         * stdlib/Makefile (tests): Add tst-strtod-overflow.
44670 2012-08-25  Marek Polacek  <polacek@redhat.com>
44672         * time/time.h: Fix some typos in comments.
44674 2012-08-23  Roland McGrath  <roland@hack.frob.com>
44676         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
44677         * posix/tst-rfc3484-2.c: Likewise.
44678         * posix/tst-rfc3484-3.c: Likewise.
44680 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
44682         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
44683         (EF_ARM_ABI_FLOAT_HARD): Likewise.
44685 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
44687         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
44688         #include of fxstatat64.c.
44690 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44692         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
44693         * shadow/getspent_r.c: Likewise.
44694         * shadow/getspnam.c: Likewise.
44695         * shadow/getspnam_r.c: Likewise.
44696         * gshadow/getsgent.c: Likewise.
44697         * gshadow/getsgent_r.c: Likewise.
44698         * gshadow/getsgnam.c: Likewise.
44699         * gshadow/getsgnam_r.c: Likewise.
44700         * inet/getnetbyad.c: Likewise.
44701         * inet/getnetbyad_r.c: Likewise.
44702         * inet/getnetbynm.c: Likewise.
44703         * inet/getnetbynm_r.c: Likewise.
44704         * inet/getnetent.c: Likewise.
44705         * inet/getnetent_r.c: Likewise.
44706         * inet/getproto.c: Likewise.
44707         * inet/getproto_r.c: Likewise.
44708         * inet/getprtent.c: Likewise.
44709         * inet/getprtent_r.c: Likewise.
44710         * inet/getprtname.c: Likewise.
44711         * inet/getprtname_r.c: Likewise.
44712         * inet/getrpcbyname.c: Likewise.
44713         * inet/getrpcbyname_r.c: Likewise.
44714         * inet/getrpcbynumber.c: Likewise.
44715         * inet/getrpcbynumber_r.c: Likewise.
44716         * inet/getrpcent.c: Likewise.
44717         * inet/getrpcent_r.c: Likewise.
44718         * inet/getaliasent.c: Likewise.
44719         * inet/getaliasent_r.c: Likewise.
44720         * inet/getaliasname.c: Likewise.
44721         * inet/getaliasname_r.c: Likewise.
44722         * nscd/getgrgid_r.c: Likewise.
44723         * nscd/getgrnam_r.c: Likewise.
44724         * nscd/gethstbyad_r.c: Likewise.
44725         * nscd/gethstbynm3_r.c: Likewise.
44726         * nscd/getpwnam_r.c: Likewise.
44727         * nscd/getpwuid_r.c: Likewise.
44728         * nscd/getsrvbynm_r.c: Likewise.
44729         * nscd/getsrvbypt_r.c: Likewise.
44730         * nscd/gai.c: Likewise.
44732         * configure.in (build_nscd): New substituted variable, set
44733         by --disable-build-nscd and defaults to $use_nscd.
44734         * configure: Regenerated.
44735         * config.make.in (build-nscd): New substituted variable.
44736         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
44737         Change conditional to require [$(build-nscd) = yes] as well.
44738         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
44740         [BZ# 13696]
44741         * configure.in (use_nscd): New substituted variable, set by
44742         --disable-nscd.  If enabled, define USE_NSCD.
44743         * configure: Regenerated.
44744         * config.h.in: Add USE_NSCD.
44745         * config.make.in (use-nscd): New substituted variable.
44746         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
44747         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
44748         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
44749         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
44750         (CFLAGS-getgrnam_r.c): Likewise.
44751         (CFLAGS-initgroups.c): Likewise.
44752         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
44753         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
44754         Variables removed.
44755         * inet/getnetgrent_r.c
44756         (nscd_setnetgrent): New function, broken out of ...
44757         (setnetgrent): ... here.  Call it.
44758         (innetgr): Conditionalize nscd bits on [USE_NSCD].
44759         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
44760         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
44761         * nscd/Makefile (routines, aux): Move definitions after include of
44762         Makeconfig.  Conditionalize on [$(use-nscd) != no].
44763         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
44764         Conditionalize on [USE_NSCD].
44765         (is_nscd, nscd_init_cb): Likewise.
44766         (nss_load_library): Conditionalize init callback on [USE_NSCD].
44767         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
44768         * nss/nss_db/db-init.c: Likewise.
44769         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
44770         [USE_NSCD].
44771         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
44772         (make_request): Use it.
44773         (cache_valid_p): New function.
44774         (__check_pf): Use it.
44775         * NEWS: Add item for --disable-nscd.
44777 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
44779         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
44780         to support sed >= 4.2.1-20-ga9bf076.
44781         * configure: Regenerated.
44783 2012-08-22  Roland McGrath  <roland@hack.frob.com>
44785         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
44786         Conditionalize whole body on [IREL].
44788 2012-08-22  Jeff Law <law@redhat.com>
44790         [BZ #14505]
44791         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
44792         if the family is PF_UNSPEC.
44794 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
44796         * Makerules (lib-version): Rename from V.
44797         (install-lib-nosubdir): Change V to lib-version.
44799 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
44801         [BZ #14252]
44802         * powerpc32/power6/wcschr.c: New file.
44803         * powerpc32/power6/wcscpy.c: New file.
44804         * powerpc32/power6/wcsrchr.c: New file.
44805         * powerpc64/power6/wcschr.c: New file.
44806         * powerpc64/power6/wcscpy.c: New file.
44807         * powerpc64/power6/wcsrchr.c: New file.
44809 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44811         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
44812         (two_way_short_needle): Use it.
44813         * string/strstr.c (AVAILABLE1_USES_J): Define.
44814         * string/strcasestr.c: Likewise.
44816         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
44817         array references.
44818         * string/strcasestr.c (TOLOWER): Make side-effect safe.
44820         [BZ #11607]
44821         * NEWS: Add an entry.
44822         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44823         define their defaults.
44824         (two_way_short_needle): Detect end-of-string on-the-fly.
44825         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44826         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44827         * string/bug-strcasestr1.c: New test.
44828         * string/Makefile: Run it.
44830 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
44832         [BZ #11607]
44833         * string/str-two-way.h (two_way_short_needle): Optimize matching of
44834         the first character.
44836 2012-08-21  Roland McGrath  <roland@hack.frob.com>
44838         * csu/elf-init.c (__libc_csu_irel): Function removed.
44839         * csu/libc-start.c (apply_irel): New function.
44840         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44842 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
44844         * sysdeps/unix/sysv/linux/kernel-features.h
44845         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44846         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44847         <kernel-features.h>.
44848         [__NR_fadvise64_64]: Make code unconditional.
44849         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44850         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44851         !__NR_fadvise64_64)]: Likewise.
44852         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44853         !__NR_fadvise64_64))]: Likewise.
44854         [__NR_fadvise64]: Make code unconditional.
44855         [!__NR_fadvise64]: Remove conditional code.
44856         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44857         <kernel-features.h>.
44858         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44859         unconditional.
44860         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44861         conditional code.
44862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44863         not include <kernel-features.h>.
44864         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44865         unconditional.
44866         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44867         conditional code.
44868         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44869         include <kernel-features.h>.
44870         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44871         unconditional.
44872         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44873         conditional code.
44875 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44877         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44878         slight instruction rearrangements per scrollpipe analysis.
44879         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44881 2012-08-20  Roland McGrath  <roland@hack.frob.com>
44883         * manual/syslog.texi (syslog; vsyslog, closelog):
44884         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44885         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44887         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44888         DSOCAPS to match condition on defining it.
44890 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
44892         * sysdeps/unix/sysv/linux/kernel-features.h
44893         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44895         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44896         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44898         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44899         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44901         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44902         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44904         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44905         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44907         * sysdeps/unix/sysv/linux/kernel-features.h
44908         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44909         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44910         unconditional.
44911         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44912         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44913         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44914         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44915         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44916         Make code unconditional.
44917         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44918         (__mmap64) [!__NR_mmap2]: Likewise.
44919         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44920         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44921         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44922         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44923         [__NR_mmap2]: Make code unconditional.
44924         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44925         (__mmap64) [!__NR_mmap2]: Likewise.
44927 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44929         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44931 2012-08-18  Andreas Jaeger  <aj@suse.de>
44933         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44935 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44937         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44938         * include/unistd.h (__have_sock_cloexec): Likewise.
44939         (__have_pipe2): Likewise.
44940         (__have_dup3): Likewise.
44942 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
44944         [BZ #9685]
44945         * include/unistd.h (__have_pipe2): Change define into an extern int.
44946         (__have_dup3): Likewise.
44947         * socket/have_sock_cloexec.c: Include fcntl.h.
44948         (__have_pipe2): New variable.
44949         (__have_dup3): Likewise.
44951 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
44953         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44955 2012-08-17  Marek Polacek  <polacek@redhat.com>
44957         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44958         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44960 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44962         * configure.in: Add AC_SUBST for sysheaders.
44963         * configure: Regenerated.
44964         * config.make.in (sysheaders): New substituted variable.
44966         * sysdeps/unix/mkfifo.c: Moved ...
44967         * sysdeps/posix/mkfifo.c: ... here.
44968         * sysdeps/unix/mkfifoat.c: Moved ...
44969         * sysdeps/posix/mkfifoat.c: ... here.
44971         * sysdeps/unix/utime.c: Moved ...
44972         * sysdeps/posix/utime.c: ... here.
44974         * sysdeps/unix/time.c: Moved ...
44975         * sysdeps/posix/time.c: ... here.
44976         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44977         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44979         * sysdeps/unix/nice.c: Moved ...
44980         * sysdeps/posix/nice.c: ... here.
44982         * sysdeps/unix/alarm.c: Moved ...
44983         * sysdeps/posix/alarm.c: ... here.
44985         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44987 2012-08-17  Jeff Law <law@redhat.com>
44989         * intl/Makefile (codeset_mo): New variable.
44990         ($(codeset_mo)): New target.
44991         (tst-codeset.out): Depend on that.  Remove explicit rule.
44992         (tst-gettext3.out, tst-gettext5.out): Likewise.
44993         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44994         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44995         * intl/tst-codeset.sh: Remove.
44996         * intl/tst-gettext3.sh: Likewise.
44997         * intl/tst-gettext5.sh: Likewise.
44999 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45001         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45002         * sysdeps/unix/syscalls.list: ... here.
45004         * sysdeps/posix/getaddrinfo.c
45005         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45006         (gaiconf_init, gaiconf_reload): Use them.
45007         [!_STATBUF_ST_NSEC]
45008         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45009         Define using time_t rather than struct timespec.
45011         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45012         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45013         Macros removed.
45014         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45015         [!NO_THREADS].
45016         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45017         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45018         Likewise.
45020         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45021         __libc_cleanup_push argument.
45023         * bits/param.h: New file.
45024         * misc/sys/param.h: New file.
45025         * include/sys/param.h: New file.
45026         * misc/Makefile (headers): Add bits/param.h.
45027         * sysdeps/generic/sys/param.h: File removed.
45028         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45029         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45030         * sysdeps/mach/hurd/bits/param.h: New file.
45031         * sysdeps/mach/hurd/sys/param.h: File removed.
45033         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45034         last change.
45036         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45037         [_IO_MTSAFE_IO].
45038         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45039         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45040         New macros.
45042         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45043         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45044         rather than -D_IO_MTSAFE_IO conditionally.
45045         * stdio-common/Makefile (CPPFLAGS): Likewise.
45046         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45047         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45048         Use $(libio-mtsafe).
45049         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45050         of -D_IO_MTSAFE_IO.
45051         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45052         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45053         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45054         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45055         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45056         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45057         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45058         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45059         (CFLAGS-fread_u_chk.c): Likewise.
45060         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45061         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45062         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45063         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45064         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45065         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45066         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45067         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45068         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45070         * libio/Makefile: Test [$(libc-reentrant) = yes]
45071         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45073         * Makeconfig
45074         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45075         * sysdeps/pthread/configure: File removed.
45076         * sysdeps/pthread/Makeconfig: New file.
45077         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45078         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45080 2012-08-16  Gary Benson  <gbenson@redhat.com>
45082         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45083         unmapping the first object in a namespace.
45085 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45087         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45088         (__internal_setnetgrent): ... this.  Add internal_function to
45089         definition.  Add libc_hidden_def.
45090         (setnetgrent): Update caller.
45091         (internal_endnetgrent): Renamed to ...
45092         (__internal_endnetgrent): ... this.  Add internal_function to
45093         definition.  Add libc_hidden_def.
45094         (endnetgrent): Update caller.
45095         (internal_getnetgrent_r): Renamed to ...
45096         (__internal_getnetgrent_r): ... this.  Add internal_function to
45097         definition.  Add libc_hidden_def.
45098         (__getnetgrent_r): Update caller.
45099         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45101 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45103         * stdlib/longlong.h: Update from GCC.
45105 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45107         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45108         on _QL, which is set by umul_ppmm but never used.
45109         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45110         variables, which are set by GMP macros but never used.
45111         * stdio-common/_itowa.c (_itowa): Likewise.
45112         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45113         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45115 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45117         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45118         struct La_sh_regs is not constant.
45119         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45120         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45121         and struct La_sparc64_regs are not constant.
45123 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45125         * sysdeps/unix/sysv/linux/kernel-features.h
45126         (__ASSUME_POSIX_TIMERS): Remove.
45127         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45128         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45129         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45130         Make code unconditional.
45131         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45132         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45133         Make code unconditional.
45134         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45135         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45136         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45137         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45138         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45139         Make code unconditional.
45140         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45141         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45142         (__libc_missing_posix_timers): Remove.
45144 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45146         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45147         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45149         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45151         * elf/dl-sym.c: Include <stdlib.h>.
45153         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45154         constants, which avoids warnings in 32-bit builds.
45156         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45157         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45159         * misc/lseek.c: File moved to ...
45160         * io/lseek.c: ... here.
45162         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45164         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45165         shifting LEN more than 31 bits at once.
45167 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45169         [BZ #14195]
45170         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45171         segmentation fault for a case of two empty input strings.
45172         * string/test-strncasecmp.c (check1): Renamed to...
45173         (bz12205): ...this.
45174         (bz14195): Add new testcase for two empty input strings and N > 0.
45175         (test_main): Call new testcase, adapt for renamed function.
45177 2012-08-15  Andreas Jaeger  <aj@suse.de>
45179         [BZ #14090]
45180         * crypt/md5test2.c: New test, based on test supplied by Serge
45181         Belyshev <belyshev@depni.sinp.msu.ru>.
45182         * crypt/Makefile (xtests): Add md5test-giant..
45183         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45185 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45187         [BZ #14090]
45188         * crypt/md5.c (md5_process_block): Don't assume the buffer
45189         length is less than 2**32.
45190         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45191         length is less than 2**64.
45193 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45195         * string/str-two-way.h: Include <sys/param.h>.
45196         (MAX): Macro removed.
45198         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45199         Move #define and #undef of memmove to just before and after
45200         including <string.h>.
45202         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45203         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45204         and after including <string.h>.  Move declarations of
45205         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45206         to before #include "string/memmove.c".
45208         * include/dirent.h: Declare __getdirentries.
45210         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45211         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45213 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45215         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45216         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45217         * sysdeps/i386/configure: Regenerated.
45218         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45219         STABS_CURRENT_FILE, and STABS_FUN.
45220         (END): Remove call to STABS_FUN_END.
45221         (STABS_CURRENT_FILE1): Delete.
45222         (STABS_CURRENT_FILE): Likewise.
45223         (STABS_FUN): Likewise.
45224         (STABS_FUN_END): Likewise.
45225         (STABS_FUN2): Likewise.
45226         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45227         * sysdeps/x86_64/configure: Regenerated.
45229 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45231         * elf/dl-open.c: Include <atomic.h>.
45232         * elf/dl-lookup.c: Likewise.
45234 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45236         * sysdeps/unix/sysv/linux/kernel-features.h
45237         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45238         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45239         unconditionally.
45240         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45241         unconditionally.
45242         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45243         condition on __ASSUME_CLONE_THREAD_FLAGS.
45245 2012-08-14  Andreas Jaeger  <aj@suse.de>
45247         * sysdeps/i386/fpu/libm-test-ulps: Update.
45249 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45251         * include/atomic.h (atomic_exchange_and_add): Split into ...
45252         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45253         New atomic macros.
45255 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45259 2012-08-13  Jeff Law <law@redhat.com>
45261         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45262         null byte in the output string.
45264 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45266         * sysdeps/unix/sysv/linux/kernel-features.h
45267         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45268         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45269         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45270         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45271         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45272         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45273         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45275 2012-08-09  Jeff Law <law@redhat.com>
45277         [BZ #13939]
45278         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45279         When avoid_arena is set, don't retry in the that arena.  Pick the
45280         next one, whatever it might be.
45281         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45282         (arena_lock): Pass in new parameter to arena_get2.
45283         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45284         arena_get2.
45285         (__libc_malloc): Unify retrying after main arena failure with
45286         __libc_memalign version.
45287         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45289 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45291         [BZ #14166]
45292         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45293         to __redirect_strstr.
45294         (__strstr_sse42): Use typeof __redirect_strstr.
45295         (__strstr_ia32): Likewise.
45296         (__libc_strstr): New prototype.
45297         (strstr): Renamed to ...
45298         (__libc_strstr): This.
45299         (strstr): New strong alias of __libc_strstr.
45300         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45301         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45302         __redirect_time.
45303         Include <time.h>.
45304         (__libc_time): New prototype.
45305         (time_ifunc): Replace time with __libc_time.
45306         (time): New strong alias and hidden definition of __libc_time.
45307         (__GI_time): Remove strong alias.
45308         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45309         Include <stddef.h>.
45310         (memmove): Redefined to __redirect_memmove.
45311         (__memmove_sse2): Use typeof __redirect_memmove.
45312         (__memmove_ssse3): Likewise.
45313         (__memmove_ssse3_back): Likewise.
45314         (__libc_memmove): New prototype.
45315         (memmove): Renamed to ...
45316         (__libc_memmove): This.
45317         (memmove): New strong alias of __libc_memmove.
45319 2012-08-08  Mark Salter  <msalter@redhat.com>
45321         * elf/elf.h
45322         (R_MN10300_TLS_GD): Define.
45323         (R_MN10300_TLS_LD): Likewise.
45324         (R_MN10300_TLS_LDO): Likewise.
45325         (R_MN10300_TLS_GOTIE): Likewise.
45326         (R_MN10300_TLS_IE): Likewise.
45327         (R_MN10300_TLS_LE): Likewise.
45328         (R_MN10300_TLS_DTPMOD): Likewise.
45329         (R_MN10300_TLS_DTPOFF): Likewise.
45330         (R_MN10300_TLS_TPOFF): Likewise.
45331         (R_MN10300_SYM_DIFF): Likewise.
45332         (R_MN10300_ALIGN): Likewise.
45333         (R_MN10300_NUM): Update.
45335 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45337         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45338         Remove.
45340 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45342         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45344         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45345         sysdeps/unix -> sysdeps/posix move.
45346         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45348 2012-08-07      Allan McRae     <allan@archlinux.org>
45350         [BZ #14303]
45351         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45352         (SUNOS_CPP): Likewise.
45353         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45354         not found.
45355         (open_input): Call CPP using execvp.
45357 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45359         * sysdeps/unix/sysv/linux/kernel-features.h
45360         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45361         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45362         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45363         (__ASSUME_WAITID_SYSCALL): Likewise.
45364         * sysdeps/unix/sysv/linux/dl-execstack.c
45365         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45366         code unconditional.
45367         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45368         conditional code.
45369         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45370         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45371         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45372         code.
45373         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45374         unconditional.
45375         [__ASSUME_WAITID_SYSCALL]: Likewise.
45376         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45378 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45380         * sysdeps/unix/closedir.c: Renamed to ...
45381         * sysdeps/posix/closedir.c: ... here.
45382         * sysdeps/unix/dirfd.c: Renamed to ...
45383         * sysdeps/posix/dirfd.c: ... here.
45384         * sysdeps/unix/dirstream.h: Renamed to ...
45385         * sysdeps/posix/dirstream.h: ... here.
45386         * sysdeps/unix/fdopendir.c: Renamed to ...
45387         * sysdeps/posix/fdopendir.c: ... here.
45388         * sysdeps/unix/opendir.c: Renamed to ...
45389         * sysdeps/posix/opendir.c: ... here.
45390         * sysdeps/unix/readdir.c: Renamed to ...
45391         * sysdeps/posix/readdir.c: ... here.
45392         * sysdeps/unix/readdir_r.c: Renamed to ...
45393         * sysdeps/posix/readdir_r.c: ... here.
45394         * sysdeps/unix/rewinddir.c: Renamed to ...
45395         * sysdeps/posix/rewinddir.c: ... here.
45396         * sysdeps/unix/seekdir.c: Renamed to ...
45397         * sysdeps/posix/seekdir.c: ... here.
45398         * sysdeps/unix/telldir.c: Renamed to ...
45399         * sysdeps/posix/telldir.c: ... here.
45400         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45401         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45402         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45403         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45405         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45406         * bits/fcntl.h: ... here.
45408         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45409         not 0.
45410         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45411         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45412         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45413         (struct flock): Move l_start, l_len to the beginning.
45414         Use __pid_t for l_pid.
45415         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45416         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45417         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45418         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45419         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45420         [__USE_LARGEFILE64] (struct flock64): New type.
45421         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45423         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45424         * bits/dirent.h: ... here.
45426         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45427         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45429 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45431         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45432         Change from 2.6.0 to 2.6.16.
45433         * sysdeps/unix/sysv/linux/configure: Regenerated.
45434         * sysdeps/unix/sysv/linux/kernel-features.h
45435         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45436         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45437         version.
45438         (__ASSUME_UTIMES): Likewise.
45439         (__ASSUME_CLONE_STOPPED): Remove.
45440         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45441         architectures, not kernel version.
45442         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45443         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45444         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45445         (__ASSUME_WAITID_SYSCALL): Likewise.
45446         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45447         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45448         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45449         refer to older versions.
45451 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45453         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45454         Define alphasort64 as an alias.
45455         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45456         Define versionsort64 as an alias.
45457         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45458         Define scandir64 as an alias.
45459         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45460         Define scandirat64 as an alias.
45461         * dirent/alphasort64.c (alphasort64):
45462         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45463         * dirent/versionsort64.c: Likewise.
45464         * dirent/scandir64.c: Likewise.
45465         * dirent/scandirat64.c: Likewise.
45466         * sysdeps/wordsize-64/alphasort.c: File removed.
45467         * sysdeps/wordsize-64/alphasort64.c: File removed.
45468         * sysdeps/wordsize-64/scandir.c: File removed.
45469         * sysdeps/wordsize-64/scandir64.c: File removed.
45470         * sysdeps/wordsize-64/scandirat.c: File removed.
45471         * sysdeps/wordsize-64/scandirat64.c: File removed.
45472         * sysdeps/wordsize-64/versionsort.c: File removed.
45473         * sysdeps/wordsize-64/versionsort64.c: File removed.
45474         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45475         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45476         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45477         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45478         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45479         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45480         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45481         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45483         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45484         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45485         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45486         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45487         [defined __arch64__ || defined __sparcv9]
45488         (__INO_T_MATCHES_INO64_T): New macro.
45489         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45490         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45491         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45492         * sysdeps/unix/sysv/linux/bits/dirent.h
45493         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
45494         (_DIRENT_MATCHES_DIRENT64): New macro.
45496         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
45497         Define lockf64 as an alias.
45498         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
45499         Define fseeko64 as an alias.
45500         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
45501         Define ftello64 as an alias.
45502         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
45503         Define _IO_fgetpos64 and fgetpos64 as aliases.
45504         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
45505         Define _IO_fsetpos64 and fsetpos64 as aliases.
45506         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
45507         Conditionalize body on this.
45508         * libio/fseeko64.c: Likewise.
45509         * libio/ftello64.c: Likewise.
45510         * libio/iofgetpos64.c: Likewise.
45511         * libio/iofsetpos64.c: Likewise.
45512         * sysdeps/wordsize-64/lockf.c: File removed.
45513         * sysdeps/wordsize-64/lockf64.c: File removed.
45514         * sysdeps/wordsize-64/fseeko.c: File removed.
45515         * sysdeps/wordsize-64/fseeko64.c: File removed.
45516         * sysdeps/wordsize-64/ftello.c: File removed.
45517         * sysdeps/wordsize-64/ftello64.c: File removed.
45518         * sysdeps/wordsize-64/iofgetpos.c: File removed.
45519         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
45520         * sysdeps/wordsize-64/iofsetpos.c: File removed.
45521         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
45522         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
45523         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
45524         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
45525         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
45526         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
45527         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
45528         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
45529         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
45530         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
45531         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
45533         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45534         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45535         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
45536         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45537         [defined __arch64__ || defined __sparcv9]
45538         (__OFF_T_MATCHES_OFF64_T): New macro.
45539         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45540         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
45541         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45542         (__OFF_T_MATCHES_OFF64_T): New macro.
45544 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45546         * stdlib/secure-getenv.c (__secure_getenv): Replace
45547         GLIBC_2_16 with GLIBC_2_17.
45549 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
45551         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
45552         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45554 2012-08-03  David S. Miller  <davem@davemloft.net>
45556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45558 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45560         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
45561         Remove.
45562         (__ASSUME_CORRECT_SI_PID): Likewise.
45563         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
45564         (__ASSUME_TMPFS_NAME): Likewise.
45565         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
45566         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
45567         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
45568         (HAVE_AUX_SECURE): Make definition unconditional.
45569         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
45570         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
45572 2012-08-03  Roland McGrath  <roland@hack.frob.com>
45574         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
45575         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
45576         * sysdeps/mach/hurd/eloop-threshold.h: New file.
45577         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45578         __eloop_threshold instead of SYMLOOP_MAX.
45580         * sysdeps/generic/eloop-threshold.h: New file.
45581         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
45582         of MAXSYMLINKS.
45583         * elf/chroot_canon.c (chroot_canon): Likewise.
45585 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
45587         [BZ #13717]
45588         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45589         Change to 2.6.0 everywhere.
45590         * sysdeps/unix/sysv/linux/configure: Regenerated.
45591         * sysdeps/unix/sysv/linux/kernel-features.h
45592         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45593         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
45594         kernel versions.
45595         (__ASSUME_POSIX_TIMERS): Define unconditionally.
45596         (__ASSUME_FUTEX_REQUEUE): Remove.
45597         (__ASSUME_STATFS64): Define unconditionally.
45598         (__ASSUME_AT_SECURE): Likewise.
45599         (__ASSUME_CORRECT_SI_PID): Likewise.
45600         (__ASSUME_TGKILL): Define without depending on kernel version for
45601         i386.
45602         (__ASSUME_UTIMES): Likewise.
45603         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
45604         kernel version.
45605         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
45606         (__ASSUME_TMPFS_NAME): Likewise.
45607         * README: Update reference to Linux kernel versions.
45609 2012-08-02  Marek Polacek  <polacek@redhat.com>
45611         [BZ# 14150]
45612         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
45613         libc_cv_asm_type_prefix with %.
45614         * configure: Regenerated.
45615         * include/libc-symbols.h: Remove comment about
45616         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45617         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
45618         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
45619         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
45620         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
45621         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
45622         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
45623         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
45624         * elf/tst-unique2mod1.c: Likewise.
45625         * elf/tst-unique1mod2.c: Likewise.
45626         * elf/tst-unique1mod1.c: Likewise.
45627         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
45628         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45629         Replace ASM_TYPE_DIRECTIVE with .type.
45630         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45631         * sysdeps/i386/sysdep.h: Likewise.
45632         * sysdeps/x86_64/sysdep.h: Likewise.
45633         * sysdeps/sh/sysdep.h: Likewise.
45634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45635         Do not define ASM_TYPE_DIRECTIVE.
45636         * sysdeps/powerpc/sysdep.h: Likewise.
45637         * sysdeps/powerpc/powerpc32/sysdep.h:
45638         Replace ASM_TYPE_DIRECTIVE with .type.
45639         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45640         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45641         * sysdeps/i386/fpu/e_powf.S: Likewise.
45642         * sysdeps/i386/fpu/e_expl.S: Likewise.
45643         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45644         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45645         * sysdeps/i386/fpu/e_pow.S: Likewise.
45646         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45647         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45648         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45649         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45650         * sysdeps/i386/fpu/e_log2.S: Likewise.
45651         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45652         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45653         * sysdeps/i386/fpu/e_powl.S: Likewise.
45654         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45655         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45656         * sysdeps/i386/fpu/e_logl.S: Likewise.
45657         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45658         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45659         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45660         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45661         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45662         * sysdeps/i386/fpu/e_log.S: Likewise.
45663         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45664         * sysdeps/i386/fpu/e_logf.S: Likewise.
45665         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45666         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45667         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45668         * sysdeps/i386/fpu/e_log10.S: Likewise.
45669         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45670         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45671         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45672         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45673         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45674         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
45675         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45676         * sysdeps/i386/i686/strtok.S: Likewise.
45677         * sysdeps/i386/i386-mcount.S: Likewise.
45678         * sysdeps/i386/strtok.S: Likewise.
45679         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
45680         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45681         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45682         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45683         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45684         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45685         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45686         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45687         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45688         * sysdeps/x86_64/_mcount.S: Likewise.
45689         * sysdeps/x86_64/strtok.S: Likewise.
45690         * sysdeps/sh/_mcount.S: Likewise.
45692 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45694         * libio/iofopen.c: Include <fcntl.h>.
45695         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
45696         (_IO_fopen64, fopen64): Define as aliases.
45697         * libio/iofopen64.c: Include <fcntl.h>.
45698         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
45699         Conditionalize body on this.
45700         * sysdeps/wordsize-64/iofopen.c: File removed.
45701         * sysdeps/wordsize-64/iofopen64.c: File removed.
45703 2012-08-01  Marek Polacek  <polacek@redhat.com>
45705         * libc/Makeconfig: Use elf in place of binfmt-subdir.
45706         Use dlfcn directly instead of a variable.
45707         (binfmt-subdir): Do not define.
45708         (dlfcn): Likewise.
45710 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
45712         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
45713         Remove all definitions.
45714         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
45715         <kernel-features.h>.
45716         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45717         (miss_F_GETOWN_EX): Remove all definitions.
45718         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
45719         macro definition.
45720         [!__ASSUME_FCNTL64]: Remove conditional code.
45721         [__ASSUME_FCNTL64]: Make code unconditional.
45722         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
45723         <kernel-features.h>.
45724         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
45725         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
45726         (lockf64) [__NR_fcntl64]: Make code unconditional.
45727         (lockf64) [__ASSUME_FCNTL64]: Likewise.
45729         * sysdeps/unix/sysv/linux/kernel-features.h
45730         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
45731         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
45732         Make code unconditional.
45733         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45734         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45736         [__NR_vfork]: Make code unconditional.
45737         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45738         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
45740         [__NR_vfork]: Make code unconditional.
45741         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
45742         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
45744 2012-08-01  Roland McGrath  <roland@hack.frob.com>
45746         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
45747         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
45749         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45750         Define mkstemp64 as an alias.
45751         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45752         Define mkstemps64 as an alias.
45753         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45754         Define mkostemp64 as an alias.
45755         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
45756         Define mkostemps64 as an alias.
45757         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
45758         Conditionalize body on this.
45759         * misc/mkostemp64.c: Likewise.
45760         * misc/mkostemps64.c: Likewise.
45761         * misc/mkstemps64.c: Likewise.
45762         * sysdeps/wordsize-64/mkstemp64.c: File removed.
45763         * sysdeps/wordsize-64/mkostemp64.c: File removed.
45764         * sysdeps/wordsize-64/mkostemp.c: File removed.
45765         * sysdeps/wordsize-64/mkstemp.c: File removed.
45766         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
45767         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
45768         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
45769         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
45771         [BZ #14138]
45772         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
45773         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
45774         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
45775         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
45777         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
45778         compat_symbol macros from <shlib-compat.h> rather than the underlying
45779         default_symbol_version and symbol_version macros, so that DEFAULT
45780         lines in shlib-versions are respected.
45781         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
45783 2012-08-01  Florian Weimer  <fweimer@redhat.com>
45785         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
45786         Declare with warn_unused_result.
45787         (setgid, setregid, setegid, setresgid): Likewise.
45788         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
45789         Likewise.
45790         * WUR-REPORT: Remove set*id functions.
45792 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
45794         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
45796 2012-07-31  Roland McGrath  <roland@hack.frob.com>
45798         [BZ #10191]
45799         * include/sys/socket.h (__libc_accept, __libc_accept4):
45800         Add attribute_hidden.
45801         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
45803         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
45804         use of PTR_MANGLE.
45805         * inet/getnetgrent_r.c (setup): Likewise.
45807         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
45809 2012-07-31  David S. Miller  <davem@davemloft.net>
45811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45813 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
45815         [BZ #13629]
45816         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
45817         value between 1.0 and 2.0 and smaller part has absolute value less
45818         than 1.0.
45819         * math/s_clog10.c (__clog10): Likewise.
45820         * math/s_clog10f.c (__clog10f): Likewise.
45821         * math/s_clog10l.c (__clog10l): Likewise.
45822         * math/s_clogf.c (__clogf): Likewise.
45823         * math/s_clogl.c (__clogl): Likewise.
45824         * math/libm-test.inc (clog_test): Add more tests.
45825         (clog10_test): Likewise.
45826         * sysdeps/i386/fpu/libm-test-ulps: Update.
45827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45829 2012-07-31  Florian Weimer  <fweimer@redhat.com>
45831         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45832         Exit with zero in case no suitable GID is found, and write a
45833         message to standard error.
45835 2012-07-30  Roland McGrath  <roland@hack.frob.com>
45837         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45838         rather than to 1.
45839         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45840         (MAXPATHLEN): Removed.
45841         (NOGROUP, NODEV): New macros.
45842         (setbit, clrbit, isset, isclr): New macros.
45843         (howmany, roundup, powerof2): New macros.
45844         (DEV_BSIZE): New macro.
45846         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45847         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45849         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45850         definition on [!__NO_LONG_DOUBLE_MATH].
45852         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45853         PTR_MANGLE and PTR_DEMANGLE.
45855         * socket/accept4.c (accept4): Rename to __libc_accept4.
45856         Define accept4 as a weak alias.
45858         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45859         on [_DIRENT_HAVE_D_TYPE].
45860         * io/ftw.c (ftw_dir): Likewise.
45862         * io/xmknod.c (__xmknod): Don't check PATH for being null.
45864         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45866         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45867         Use the BSD numbers rather than the arbitrary ones we had.
45868         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45869         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45870         (SIGXCPU, SIGXFSZ): New macros.
45871         (_NSIG): Now 32.
45873         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45874         initializer on [_LIBC_REENTRANT].
45876         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45877         definitions inside [_POSIX_MAPPED_FILES].
45879         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45881         * dirent/opendir.c: Include <fcntl.h>.
45883         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45884         (__libc_getspecific): Likewise.
45885         (__libc_key_create): Likewise.
45887         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45888         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45889         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45890         (tmpfile64): Define as alias.
45891         * sysdeps/wordsize-64/tmpfile.c: File removed.
45892         * sysdeps/wordsize-64/tmpfile64.c: File removed.
45893         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45894         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45896         * stdio-common/vfscanf.c: Include <stdbool.h>.
45897         * nss/makedb.c: Likewise.
45898         * stdio-common/_i18n_number.h: Likewise.
45899         * argp/argp-help.c: Likewise.
45900         * posix/wordexp.c: Likewise.
45901         * sysdeps/posix/spawni.c: Likewise.
45902         * nss/nss_files/files-initgroups.c: Likewise.
45903         * stdio-common/reg-modifier.c: Include <stdlib.h>.
45904         * nss/nss_files/files-initgroups.c: Likewise.
45905         * nss/nss_db/db-netgrp.c: Likewise.
45906         * nss/nss_db/db-initgroups.c: Likewise.
45907         * io/fchmodat.c: Include <sys/stat.h>.
45909         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45910         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45912         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45913         [HAVE_MMAP].
45915         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45916         Add multiple inclusion protection.
45918 2012-07-27  David S. Miller  <davem@davemloft.net>
45920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45922 2012-07-27  Gary Benson  <gbenson@redhat.com>
45924         [BZ #14298]
45925         * elf/rtld.c: Include <stap-probe.h>.
45926         (dl_main): Added static probes "init_start" and "init_complete".
45927         * elf/dl-load.c: Include <stap-probe.h>.
45928         (lose): Take new parameter "nsid".
45929         Added static probe "map_failed".
45930         (_dl_map_object_from_fd): Pass namespace id to lose.
45931         Added static probe "map_start".
45932         (open_verify): Pass namespace id to lose.
45933         * elf/dl-open.c: Include <stap-probe.h>.
45934         (dl_open_worker) Added static probes "map_complete", "reloc_start"
45935         and "reloc_complete".
45936         * elf/dl-close.c: Include <stap-probe.h>.
45937         (_dl_close_worker): Added static probes "unmap_start" and
45938         "unmap_complete".
45939         * elf/rtld-debugger-interface.txt: New file documenting the above.
45941 2012-07-26  Roland McGrath  <roland@hack.frob.com>
45943         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45944         rather than a string variable.
45945         * sunrpc/rpc_main.c (h_output): Likewise.
45946         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45948 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
45950         * inet/check_native.c: New file.
45952 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
45954         [BZ #13629]
45955         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45956         if larger part has absolute value 1.0.
45957         * math/s_clog10.c (__clog10): Likewise.
45958         * math/s_clog10f.c (__clog10f): Likewise.
45959         * math/s_clog10l.c (__clog10l): Likewise.
45960         * math/s_clogf.c (__clogf): Likewise.
45961         * math/s_clogl.c (__clogl): Likewise.
45962         * math/libm-test.inc (clog_test): Add more tests.
45963         (clog10_test): Likewise.
45964         * sysdeps/i386/fpu/libm-test-ulps: Update.
45965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45967         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45968         (pltexit): Likewise.
45969         (La_regs): Likewise.
45970         (La_retval): Likewise.
45971         (int_retval): Likewise.
45972         Update #error for removed macros to refer only to definitions in
45973         tst-audit.h.
45974         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45975         macro.
45976         (pltexit): Likewise.
45977         (La_regs): Likewise.
45978         (La_retval): Likewise.
45979         (int_retval): Likewise.
45980         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45981         macro.
45982         (pltexit): Likewise.
45983         (La_regs): Likewise.
45984         (La_retval): Likewise.
45985         (int_retval): Likewise.
45986         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45987         macro.
45988         (pltexit): Likewise.
45989         (La_regs): Likewise.
45990         (La_retval): Likewise.
45991         (int_retval): Likewise.
45992         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45993         macro.
45994         (pltexit): Likewise.
45995         (La_regs): Likewise.
45996         (La_retval): Likewise.
45997         (int_retval): Likewise.
45998         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45999         macro.
46000         (pltexit): Likewise.
46001         (La_regs): Likewise.
46002         (La_retval): Likewise.
46003         (int_retval): Likewise.
46004         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46005         macro.
46006         (pltexit): Likewise.
46007         (La_regs): Likewise.
46008         (La_retval): Likewise.
46009         (int_retval): Likewise.
46010         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46011         macro definitions in tst-audit.h.
46012         * sysdeps/i386/tst-audit.h: New file.
46013         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46014         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46015         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46016         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46017         * sysdeps/sh/tst-audit.h: Likewise.
46018         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46019         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46020         * sysdeps/x86_64/tst-audit.h: Likewise.
46022 2012-07-26  Andreas Jaeger  <aj@suse.de>
46024         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46025         ptrace.
46027         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46028         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46029         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46030         PTRACE_O_MASK.
46031         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46032         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46033         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46035         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46036         value.
46038         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46039         _sigsys.
46040         (si_call_addr, si_syscall, si_arch): Define new macro.
46041         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46042         _sigsys.
46043         (si_call_addr, si_syscall, si_arch): Define new marcro.
46044         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46045         _sigsys.
46046         (si_call_addr, si_syscall, si_arch): Define new macro.
46047         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46048         _sigsys.
46049         (si_call_addr, si_syscall, si_arch): Define new macro.
46051 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46053         [BZ #13717]
46054         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46055         Change to 2.4.21 where previously 2.4.1.
46056         * sysdeps/unix/sysv/linux/configure: Regenerated.
46057         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46058         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46059         Linux kernel version.
46060         (__ASSUME_STD_AUXV): Remove.
46061         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46062         kernel version.
46063         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46064         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46065         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46066         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46067         (__ASSUME_NETLINK_SUPPORT): Likewise.
46068         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46069         (__no_netlink_support): Remove conditional definition.
46070         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46071         Remove.
46072         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46073         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46074         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46075         (if_nameindex_ioctl): Remove.
46076         (if_nameindex_netlink): Do not handle __no_netlink_support.
46077         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46078         code.
46079         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46080         Remove conditional code.
46081         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46082         code.
46083         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46084         unconditional.
46085         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46086         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46087         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46088         Remove.
46089         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46090         [!__ASSUME_STD_AUXV]: Remove conditional code.
46091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46092         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46093         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46095         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46096         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46097         code.
46098         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46100         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46101         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46102         conditional code.
46103         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46105         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46106         code.
46107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46108         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46109         conditional code.
46110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46111         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46112         code unconditional.
46113         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46114         conditional code.
46115         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46116         unconditional.
46117         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46118         conditional code.
46119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46120         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46121         unconditional.
46122         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46123         conditional code.
46124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46125         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46126         code unconditional.
46127         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46128         conditional code.
46129         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46130         unconditional.
46131         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46132         conditional code.
46133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46134         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46135         code unconditional.
46136         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46137         conditional code.
46138         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46139         unconditional.
46140         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46141         conditional code.
46143 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46145         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46146         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46147         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46148         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46149         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46150         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46151         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46152         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46153         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46154         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46155         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46156         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46157         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46158         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46159         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46160         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46161         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46162         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46163         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46164         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46165         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46166         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46167         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46169 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46171         * Versions.def: Add GLIBC_2.17.
46172         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46173         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46174         Introduce __libc_secure_getenv.
46175         * stdlib/Versions (2.17): Add secure_getenv
46176         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46177         * stdlib/secure-getenv.c: Rename __secure_getenv to
46178         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46179         symbol __secure_getenv for GLIBC_2.0.
46180         * stdlib/tst-secure-getenv.c: New.
46181         * stdlib/Makefile (tests): Add testcase.
46182         * manual/startup.texi (Environment Access): Document
46183         secure_getenv.
46184         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46185         __libc_secure_getenv.
46186         * inet/ruserpass.c (ruserpass): Likewise.
46187         * malloc/mtrace.c (mtrace): Likewise.
46188         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46189         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46190         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46191         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46192         HAVE_SECURE_GETENV.
46193         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46194         __secure_getenv to __libc_secure_getenv.
46195         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46197         Likewise.
46198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46199         Likewise.
46200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46202         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46208 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46210         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46211         (struct La_i86_retval): Likewise.
46212         (struct La_x86_64_regs): Likewise.
46213         (struct La_x86_64_retval): Likewise.
46214         (struct La_x32_regs): Likewise.
46215         (struct La_x32_retval): Likewise.
46216         (struct La_ppc32_regs): Likewise.
46217         (struct La_ppc32_retval): Likewise.
46218         (struct La_ppc64_regs): Likewise.
46219         (struct La_ppc64_retval): Likewise.
46220         (struct La_sh_regs): Likewise.
46221         (struct La_sh_retval): Likewise.
46222         (struct La_s390_32_regs): Likewise.
46223         (struct La_s390_32_retval): Likewise.
46224         (struct La_s390_64_regs): Likewise.
46225         (struct La_s390_64_retval): Likewise.
46226         (struct La_sparc32_regs): Likewise.
46227         (struct La_sparc32_retval): Likewise.
46228         (struct La_sparc64_regs): Likewise.
46229         (struct La_sparc64_retval): Likewise.
46230         (struct audit_ifaces): Remove architecture-specific pltenter and
46231         pltexit members.
46232         * sysdeps/i386/ldsodefs.h: New file.
46233         * sysdeps/powerpc/ldsodefs.h: Likewise.
46234         * sysdeps/s390/ldsodefs.h: Likewise.
46235         * sysdeps/sh/ldsodefs.h: Likewise.
46236         * sysdeps/sparc/ldsodefs.h: Likewise.
46237         * sysdeps/x86_64/ldsodefs.h: Likewise.
46239 2012-07-25  Marek Polacek  <polacek@redhat.com>
46241         [BZ #6808]
46242         * math/libm-test.inc (yn_test): Add another test.
46243         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46244         to ERANGE when the result is +-Inf.
46245         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46246         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46247         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46248         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46250 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46252         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46253         equal to 0.
46254         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46255         clock_t.
46256         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46258 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46260         * configure.in <sysdeps resolving>: Correct printing
46261         Implies_before.
46262         * configure: Regenerate.
46264 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46266         * math/w_ilogb.c: Include <limits.h>.
46267         * math/w_ilogbl.c: Likewise.
46269 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46271         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46272         va_copy.  Document allowing for unavailable va_copy only as
46273         pre-C99 compatibility.
46274         * manual/string.texi (Copying and Concatenation): Use va_copy
46275         instead of __va_copy in concat example.
46277 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46279         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46280         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46281         it if not null.
46283         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46284         with O_NOLINK passed to __file_name_lookup.
46286         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46287         with O_NOLINK passed to __file_name_lookup.
46289         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46290         negative N or less than NGIDS.
46292         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46293         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46294         enough.  Use memcpy instead of strncpy.
46296 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46298         * elf/Makefile (check-data): Remove.
46299         (localplt.data): New vpath directive.
46300         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46301         instead of $(check-data).
46302         * scripts/data/localplt-generic.data: Move to ...
46303         * sysdeps/generic/localplt.data: ... here.
46304         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46305         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46306         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46308         ... here.
46309         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46311         ... here.
46312         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46314         ... here.
46315         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46317         ... here.
46318         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46320         ... here.
46321         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46323         ... here.
46325 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46327         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46328         PPC32 and PPC64 files.
46329         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46330         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46332 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46334         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46335         __makecontext_ret to ...
46336         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46337         ... here and call exit if uc_link is NULL.  New file.
46338         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46339         __makecontext_ret.S.
46340         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46341         __makecontext_ret to ...
46342         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46343         ... here and call exit if uc_link is NULL.  New file.
46344         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46345         __makecontext_ret.S.
46347 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46349         * elf/elf.h (R_390_IRELATIVE): New definition.
46350         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46351         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46352         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46353         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46354         (elf_machine_lazy_rel): Likewise.
46355         * sysdeps/s390/dl-irel.h: New file.
46356         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46357         * sysdeps/s390/s390-64/memset.S: New asm code.
46358         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46359         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46360         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46361         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46362         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46363         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46364         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46365         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46366         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46367         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46368         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46369         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46370         * sysdeps/s390/s390-32/memset.S: New asm code.
46371         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46373 2012-07-17  Marek Polacek  <polacek@redhat.com>
46375         [BZ #14349]
46376         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46377         * sysdeps/s390/s390-64/configure.in: Likewise.
46378         * sysdeps/sparc/configure.in: Likewise.
46379         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46380         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46381         * sysdeps/i386/configure.in: Likewise.
46382         * sysdeps/x86_64/configure.in: Likewise.
46383         * sysdeps/sh/configure.in: Likewise.
46384         * sysdeps/s390/s390-32/configure: Regenerated.
46385         * sysdeps/s390/s390-64/configure: Likewise.
46386         * sysdeps/x86_64/configure: Likewise.
46387         * sysdeps/sh/configure: Likewise.
46388         * sysdeps/powerpc/powerpc64/configure: Likewise.
46389         * sysdeps/powerpc/powerpc32/configure: Likewise.
46390         * sysdeps/sparc/configure: Likwise.
46391         * sysdeps/i386/configure: Likewise.
46393         * elf/dl-open.c: Comment fixes.
46395 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46397         * Makefile [CXX] (check-data): Remove.
46398         [CXX] (c++-types.data): New vpath directive.
46399         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46400         vpath.  Do not allow for C++ type data being missing.
46401         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46402         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46403         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46404         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46405         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46406         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46407         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46409         ... here.
46410         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46412         ... here.
46413         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46415         ... here.
46416         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46418         ... here.
46419         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46421         ... here.
46422         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46424         ... here.
46425         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46427         ... here.
46428         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46431         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46432         definitions to architecture-specific files.
46433         (TLS_IE): Likewise.
46434         (TLS_LD): Likewise.
46435         (TLS_GD): Likewise.
46436         * sysdeps/i386/tls-macros.h: New file.
46437         * sysdeps/powerpc/tls-macros.h: Likewise.
46438         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46439         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46440         * sysdeps/sh/tls-macros.h: Likewise.
46441         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46442         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46443         * sysdeps/x86_64/tls-macros.h: Likewise.
46445 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46447         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46448         zero value for regular exit case.
46450         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46451         (__start_context): Preserve zero value for regular exit case.
46453 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46454             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46456         * manual/setjmp.texi (setcontext): Clarify normal process
46457         termination when uc_link is the null pointer.
46458         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46459         exit call.
46461 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46463         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46464         preprocessor.  Test for each exception mask separately.
46466 2012-07-16  Andreas Jaeger  <aj@suse.de>
46468         * po/ru.po: Update from translation team.
46470 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46472         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46473         equal to 0.
46474         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46475         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46476         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46477         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46478         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46480 2012-07-13  Andreas Jaeger  <aj@suse.de>
46482         * po/fr.po: Update from translation team.
46484 2012-07-12  Marek Polacek  <polacek@redhat.com>
46486         [BZ #14173]
46487         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46488         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46489         loop condition.
46491 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
46493         [BZ #13717]
46494         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46495         Change to 2.4.1 where previously 2.4.0.
46496         * sysdeps/unix/sysv/linux/configure: Regenerated.
46497         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
46498         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
46499         version.
46500         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
46501         (__ASSUME_AT_CLKTCK): Remove.
46502         (__ASSUME_AT_PAGESIZE): Likewise.
46503         (__ASSUME_AT_XID): Likewise.
46504         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
46505         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
46506         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
46507         unconditionally.
46508         (HAVE_AUX_PAGESIZE): Likewise.
46509         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
46510         [__ASSUME_AT_CLKTCK]: Make code unconditional.
46511         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
46513 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
46515         [BZ #14307]
46516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
46517         the temporary buffer used to invoke __gethostbyname2_r,
46518         __gethostbyaddr_r and gethostbyname4_r to make room for struct
46519         host_data / struct gaih_addrtuple.
46520         * resolv/nss_dns/dns-host.c (global scope): Move definition of
46521         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
46522         header file nss/nsswitch.h.
46523         * nss/nsswitch.h (global scope): Add definition of implementation
46524         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
46525         resolv/nss_dns/dns-host.c).
46527 2012-07-11  Andreas Jaeger  <aj@suse.de>
46529         * po/fr.po: Update from translation team.
46531         * po/sv.po: Update from translation team
46532         * po/fr.po: Another update from translation team.
46534 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46536         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
46537         for subnormals or multiply small sinh result by itself.
46538         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46541 2012-07-11  David S. Miller  <davem@davemloft.net>
46543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46545 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
46547         [BZ #14347]
46548         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
46549         (INTERNAL_MARK): Shift it here.
46551 2012-07-10  Marek Polacek  <polacek@redhat.com>
46553         [BZ #14151]
46554         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
46555         libc_cv_asm_global_directive with .globl.
46556         * configure: Regenerated.
46557         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
46558         with .globl.
46559         * sysdeps/i386/configure: Regenerated.
46560         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
46561         with .globl.
46562         * sysdeps/x86_64/configure: Regenerated.
46563         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
46564         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
46565         * elf/tst-unique2mod2.c: Likewise.
46566         * elf/tst-unique2mod1.c: Likewise.
46567         * elf/tst-unique1mod2.c: Likewise.
46568         * elf/tst-unique1mod1.c: Likewise.
46569         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46570         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46571         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46572         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46573         * sysdeps/mach/sysdep.h: Likewise.
46574         * sysdeps/i386/sysdep.h: Likewise.
46575         * sysdeps/i386/i386-mcount.S: Likewise.
46576         * sysdeps/x86_64/_mcount.S: Likewise.
46577         * sysdeps/x86_64/sysdep.h: Likewise.
46578         * sysdeps/sh/_mcount.S: Likewise.
46579         * sysdeps/sh/sysdep.h: Likewise.
46580         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
46581         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
46582         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
46583         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46584         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
46585         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
46586         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
46587         * locale/localeinfo.h: Likewise.
46588         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
46589         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
46591 2012-07-09  Roland McGrath  <roland@hack.frob.com>
46593         [BZ #14336]
46594         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
46595         system".
46596         * manual/message.texi (The Uniforum approach): Likewise.
46597         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
46598         (glibc iconv Implementation): Likewise.
46600 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
46602         [BZ #14337]
46603         * math/s_clog.c (__clog): Avoid scaling a value down where that
46604         could result in underflow.
46605         * math/s_clog10.c (__clog10): Likewise.
46606         * math/s_clog10f.c (__clog10f): Likewise.
46607         * math/s_clog10l.c (__clog10l): Likewise.
46608         * math/s_clogf.c (__clogf): Likewise.
46609         * math/s_clogl.c (__clogl): Likewise.
46610         * math/libm-test.inc (clog_test): Add more tests.
46611         (clog10_test): Likewise.
46612         * sysdeps/i386/fpu/libm-test-ulps: Update.
46613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46615 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
46617         [BZ #14283]
46618         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
46619         by 7 not 8 to examine high bit of fractional part.
46621         [BZ #14042]
46622         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
46623         for call to __mcount_internal.
46624         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
46625         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
46626         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
46628 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
46630         [BZ #14154]
46631         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
46632         approximation for values within 0x1p-13f of an odd multiple of
46633         pi/4.
46634         * math/libm-test.inc (tan_test): Do not allow spurious underflow
46635         exception.  Add more tests.
46636         * sysdeps/i386/fpu/libm-test-ulps: Update.
46638         [BZ #6778]
46639         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
46640         inputs and return -1 for them.  Do not check for +Inf in case not
46641         reachable for +Inf.
46642         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
46643         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
46644         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46645         and return -1 for them.  Do not check for +Inf in case not
46646         reachable for +Inf.
46647         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
46648         define.
46649         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46650         and return -1 for them.  Do not check for +Inf in case not
46651         reachable for +Inf.
46652         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
46653         spurious underflow.
46654         * sysdeps/i386/fpu/libm-test-ulps: Update.
46655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46657 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
46659         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
46661 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
46663         [BZ #14157]
46664         [BZ #14331]
46665         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
46666         could result in spurious underflow.  Scale down values above
46667         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
46668         * math/s_csqrtf.c (__csqrtf): Likewise.
46669         * math/s_csqrtl.c (__csqrtl): Likewise.
46670         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
46671         spurious underflow.
46672         * sysdeps/i386/fpu/libm-test-ulps: Update.
46673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46675 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
46677         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
46678         xopen-msg.sed.
46679         * catgets/xopen-msg.awk: New file.
46680         * catgets/xopen-msg.sed: Removed.
46682         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
46683         po2text.sed.
46684         * intl/po2test.awk: New file.
46685         * intl/po2test.sed: Removed.
46687 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
46689         [BZ #14328]
46690         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
46691         or multiply small sinh result by itself.
46692         * math/s_ctanf.c (__ctanf): Likewise.
46693         * math/s_ctanh.c (__ctanh): Likewise.
46694         * math/s_ctanhf.c (__ctanhf): Likewise.
46695         * math/s_ctanhl.c (__ctanhl): Likewise.
46696         * math/s_ctanl.c (__ctanl): Likewise.
46697         * math/libm-test.inc (ctan_test_tonearest): New function.
46698         (ctan_test_towardzero): Likewise.
46699         (ctan_test_downward): Likewise.
46700         (ctan_test_upward): Likewise.
46701         (ctanh_test_tonearest): Likewise.
46702         (ctanh_test_towardzero): Likewise.
46703         (ctanh_test_downward): Likewise.
46704         (ctanh_test_upward): Likewise.
46705         (main): Call these new functions.
46706         * sysdeps/i386/fpu/libm-test-ulps: Update.
46707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46709 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
46711         * .gitignore: Delete /ports entry.
46713 2012-07-03  Andreas Jaeger  <aj@suse.de>
46715         * po/bg.po: Update from translation team.
46716         * po/cs.po: Likewise.
46717         * po/de.po: Likewise.
46718         * po/hr.po: Likewise.
46719         * po/nl.pl: Likewise.
46720         * po/pl.po: Likewise.
46721         * po/vi.po: Likewise.
46723 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
46725         * Makeconfig [!+link] (+link-before-libc): New variable.
46726         [!+link] (+link-after-libc): Likewise.
46727         [!+link] (+link-tests): Likewise.
46728         [!+link] (+link): Define in terms of $(+link-before-libc) and
46729         $(+link-after-libc).
46730         [!+link-static] (+link-static-before-libc): New variable.
46731         [!+link-static] (+link-static-after-libc): Likewise.
46732         [!+link-static] (+link-static-tests): Likewise.
46733         [!+link-static] (+link-static): Define in terms of
46734         $(+link-static-before-libc) and $(+link-static-after-libc).
46735         [build-shared] (link-libc-before-gnulib): New variable.
46736         [build-shared] (link-libc-tests): Likewise.
46737         [build-shared] (link-libc): Define in terms of
46738         $(link-libc-before-gnulib).
46739         [!build-shared] (link-libc-tests): New variable.
46740         (link-libc-static-tests): New variable.
46741         [!gnulib] (gnulib-arch): New variable.
46742         [!gnulib] (gnulib-tests): Likewise.
46743         [!gnulib] (static-gnulib-arch): Likewise.
46744         [!gnulib] (static-gnulib-tests): Likewise.
46745         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
46746         Define with "=" instead of ":=".
46747         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
46748         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
46749         * Rules (binaries-all-notests): New variable.
46750         (binaries-all-tests): Likewise.
46751         (binaries-static-notests): Likewise.
46752         (binaries-static-tests): Likewise.
46753         (binaries-all): Define using $(binaries-all-notests) and
46754         $(binaries-all-tests).
46755         (binaries-static): Define using $(binaries-static-notests) and
46756         $(binaries-static-tests).
46757         (binaries-shared-tests): New variable.
46758         (binaries-shared-notests): Likewise.
46759         (binaries-shared): Remove variable.
46760         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
46761         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
46762         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
46763         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
46764         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
46765         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
46766         * elf/Makefile (sln-modules): New variable.
46767         (extra-objs): Add $(sln-modules:=.o).
46768         (ldconfig-modules): Add static-stubs.
46769         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
46770         * elf/static-stubs.c: New file.
46772         [BZ #14283]
46773         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
46774         by 7 not 8 to examine high bit of fractional part.  Use volatile
46775         variables when splitting into final array of floats if
46776         __FLT_EVAL_METHOD__ != 0.
46777         * math/libm-test.inc (cos_test): Add another test.
46778         (sin_test): Likewise.
46779         * sysdeps/i386/fpu/libm-test-ulps: Update.
46781         [BZ #14273]
46782         * math/libm-test.inc (cosh_test): Add more tests.
46784         * version.h (RELEASE): Set to "development".
46785         (VERSION): Set to "2.16.90".
46787 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
46789         * NEWS: Update copyright. Remove last-updated date.
46790         Mention math library bug fixes and timezone data changes.
46791         * README: Mention GNU/Hurd, x32, and HPPA support status.
46793 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
46795         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
46797 2012-06-27  Andreas Jaeger  <aj@suse.de>
46799         * manual/contrib.texi (Contributors): Add Samuel Thibault.
46801 2012-06-25  Andreas Jaeger  <aj@suse.de>
46803         * sysdeps/s390/fpu/libm-test-ulps: Update.
46805 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
46806             Thomas Schwinge  <thomas@codesourcery.com>
46808         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
46809         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
46810         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
46811         fanotify_mark.
46813 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
46815         * sysdeps/mach/start.c: Remove file.
46816         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
46817         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
46818         * sysdeps/sh/init-first.c: Likewise.
46820         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
46821         registers for frame unwinding purposes, add CFI directives.
46822         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46823         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46824         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46825         Likewise.
46827         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46828         __fortify_fail returning.
46829         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46831         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46832         sysdeps/sh/____longjmp_chk.S.
46833         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46834         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46835         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46836         (gen-as-const-headers): Append sigaltstack-offsets.sym.
46838         * sysdeps/sh/abort-instr.h: New file.
46839         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46840         process in case exit returns.
46842         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46843         initialize the GOT register before use.
46845         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46846         calculation of ARGC > 4.
46848         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46849         meaningful names to some local labels.
46851 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46852             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46854         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46855         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46856         (__arch_compare_and_exchange_val_16_acq): Likewise.
46857         (__arch_compare_and_exchange_val_32_acq): Likewise.
46858         (atomic_exchange_and_add): Fix gUSA sequence.
46859         (atomic_add): Likewise.
46860         (atomic_add_negative): Likewise.
46861         (atomic_add_zero): Likewise.
46862         (atomic_bit_test_set): Likewise.
46864 2012-06-22  Andreas Schwab  <schwab@redhat.com>
46866         [BZ #13579]
46867         * include/link.h (struct link_map): Add l_free_initfini.
46868         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46869         l_initfini.
46870         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46871         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46872         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46873         set.
46875 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
46877         * configure.in: Use AC_LANG_SOURCE.
46878         * configure: Regenerate.
46880 2012-06-22  Roland McGrath  <roland@hack.frob.com>
46882         * configure.in (libc_cv_localstatedir): New substituted variable.
46883         * configure: Regenerated.
46884         * config.make.in (localstatedir): New variable, substituted from
46885         libc_cv_localstatedir.
46886         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46887         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46888         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46889         * sysdeps/gnu/configure: Regenerated.
46891 2012-06-21  Jeff Law  <law@redhat.com>
46893         [BZ #14277]
46894         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46895         free.  Simplify list management for _LIBC case.
46897 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
46899         [BZ #14273]
46900         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46901         Clear sign bit of 64-bit integer value before comparing against
46902         overflow value.
46904         * sysdeps/mach/configure: Regenerated.
46906 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
46908         [BZ #14278]
46909         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46911 2012-06-21  Jeff Law  <law@redhat.com>
46913         [BZ #13882]
46914         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
46915         uint16_t for elements in the "seen" array to avoid char overflows.
46916         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46917         * elf/dl-open.c (dl_open_worker): Likewise.
46919 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
46921         * scripts/list-sources.sh: Scan PORTS for translations.
46922         * po/libc.pot: Regenerated.
46924 2012-06-21  Andreas Jaeger  <aj@suse.de>
46926         [BZ #12194]
46927         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46928         warning.
46929         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46930         * bits/byteswap-16.h (__bswap_16): Likewise.
46931         * bits/byteswap.h (__bswap_constant_16): Likewise.
46933 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
46935         [BZ #14117]
46936         * sysdeps/i386/fpu_control.h: Removed.
46937         * sysdeps/x86_64/fpu_control.h: Moved to ...
46938         * sysdeps/x86/fpu_control.h: Here.
46940         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46941         (_FPU_SETCW): Likewise.
46943 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
46945         [BZ #14117]
46946         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46947         * sysdeps/x86/fpu/bits/mathinline.h: This.
46948         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46950         [BZ #14050]
46951         [BZ #14117]
46952         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46953         functions if __x86_64__ is defined.
46955 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
46957         * string/endian.h: Add !__ASSEMBLER__ condition for including
46958         conversion interfaces.
46960 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
46962         [BZ #14241]
46963         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46964         of ABS(x) in calculating zero to negative powers other than odd
46965         integers.
46966         * math/libm-test.inc (pow_test): Add more tests.
46968 2012-06-15  Andreas Jaeger  <aj@suse.de>
46970         * manual/contrib.texi (Contributors): Update entry of Liubov
46971         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46972         Machado Filho.
46974 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46976         * string/string.h: Add __wur to GNU version of strerror_r.
46978 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46980         [BZ #14229]
46981         * string/Makefile (tests): Add tst-strtok_r.
46982         * string/tst-strtok_r.c: New file.
46983         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46984         RAX_LP/RDX_LP on SAVE_PTR.
46986 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46988         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46990 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46992         * libm_test.inc (csqrt_test): Allow more spurious underflow
46993         exceptions.
46994         (j0_test): Likewise.
46995         (j1_test): Likewise.
46996         (y0_test): Likewise.
46997         (y1_test): Likewise.
46999 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47001         * po/Makefile (libc.pot): Use UTF-8 charset.
47003 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47005         [BZ #14210]
47006         Suppress sign-conversion warning from FD_SET.
47007         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47008         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47009         not unsigned long int.
47010         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47012 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47014         [BZ #14050]
47015         [BZ #14117]
47016         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47017         __extern_always_inline instead of __extern_inline.
47018         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47019         (__signbit): Likewise.
47020         (__signbitl): Support C++ namespace.
47021         (lrintf): New inline function.
47022         (lrint): Likewise.
47023         (llrintf): Likewise.
47024         (llrint): Likewise.
47025         (fmaxf): Likewise.
47026         (fmax): Likewise.
47027         (fminf): Likewise.
47028         (fmin): Likewise.
47029         (rint): Likewise.
47030         (rintf): Likewise.
47031         (ceil): Likewise.
47032         (ceilf): Likewise.
47033         (floor): Likewise.
47034         (floorf): Likewise.
47035         (nearbyint): Likewise.
47036         (nearbyintf): Likewise.
47038 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47040         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47041         non-default versions.
47043 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47045         [BZ #14218]
47046         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47048 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47050         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47051         (FE_UPWARD, FE_DOWNWARD): Don't define.
47052         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47053         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47055         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47056         reading it.
47057         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47058         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47060 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47062         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47063         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47064         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47065         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47067 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47069         [BZ #14117]
47070         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47071         * sysdeps/i386/fpu/Implies: New file.
47072         * sysdeps/x86_64/fpu/Implies: Likewise.
47073         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47074         * sysdeps/x86/fpu/bits/fenv.h: This.
47076         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47077         __SSE_MATH__.
47079 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47081         [BZ #14134]
47082         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47083         character 0xffff that matches the last element of the
47084         conversion table.
47086 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47088         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47089         fmodl commit.
47091 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47093         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47094         values higher than 25.6283.
47096 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47098         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47099         subnormal exponent extraction and add some __builtin_expect.
47100         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47101         Fix for subnormal mantissa calculation.
47103 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47105         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47106         cpu2 is -1 and errno is not ENOSYS.
47108 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47110         [BZ #14117]
47111         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47112         * sysdeps/x86/bits/string.h: This.
47113         * sysdeps/x86_64/bits/string.h: Removed.
47115         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47116         if not compiling for x86-64, but compiling for >= i486.
47118         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47119         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47121         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47122         New macro from Linux kernel 3.4.0.
47123         (FP_XSTATE_MAGIC2): Likewise.
47124         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47125         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47126         (struct _fpx_sw_bytes): New struct.
47127         (struct _xsave_hdr): Likewise.
47128         (struct _ymmh_state): Likewise.
47129         (struct _xstate): Likewise.
47131         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47132         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47133         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47134         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47135         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47136         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47138         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47139         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47140         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47141         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47142         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47143         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47145 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47147         [BZ #13743]
47148         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47149         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47150         (sysdep_headers): Include sys/platform/ppc.h.
47151         * sysdeps/powerpc/test-gettimebase.c: Test for
47152         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47153         * manual/Makefile (appendices): Include platform.texi.
47154         * manual/contrib.texi (Contributors): Update @node pointers.
47155         * manual/maint.texi (Maintenance): Likewise.
47156         (Platform): New node.
47157         * manual/platform.texi: New file.  Document the new features.
47159 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47160             Jakub Jelinek  <jakub@redhat.com>
47162         [BZ #14188]
47163         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47164         where __builtin_expect is unavailable.
47166 2012-06-03  David S. Miller  <davem@davemloft.net>
47168         * stdlib/longlong.h: Updated from GCC.
47170 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47172         [BZ #14042]
47173         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47174         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47175         __mcount_internal.
47176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47177         (GLIBC_2.16): Likewise.
47179 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47181         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47183 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47186         (default-abi): New variable.
47187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47188         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47189         variable.
47190         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47191         Likewise.
47192         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47193         Likewise.
47194         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47195         Likewise.
47197         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47198         definition.  Document in comment.
47200 2012-06-01  David S. Miller  <davem@davemloft.net>
47202         * stdlib/longlong.h: Updated from GCC.
47204 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47206         [BZ #14117]
47207         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47208         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47209         sys/debugreg.h sys/io.h here.
47210         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47211         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47212         sys/io.h.
47213         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47214         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47215         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47216         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47217         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47218         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47220         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47221         Define only if __x86_64__ is defined.
47223 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47225         [BZ #14048]
47226         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47227         Use int64_t for variable i.
47228         * math/libm-test.inc (fmod_test): Add more tests.
47230         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47231         z computation is not scheduled after fetestexcept.
47232         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47233         Use math_force_eval instead of asm to ensure calculation scheduled
47234         before exception test.
47235         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47236         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47238 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47240         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47241         computation is not scheduled after fetestexcept.
47243 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47245         [BZ #14117]
47246         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47247         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47249 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47251         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47252         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47254 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47256         [BZ #14117]
47257         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47258         <bits/wordsize.h>.
47259         (__WCHAR_MIN): Support __WORDSIZE == 64.
47260         (__WCHAR_MAX): Likewise.
47262         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47263         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47265         [BZ #14183]
47266         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47267         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47269         [BZ #14117]
47270         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47271         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47273         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47274         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47276         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47277         Defined to 1 if __x86_64__ isn't defined.
47278         (_STAT_VER_LINUX_OLD): New.
47279         (st_atime): Remove duplicate.
47280         (st_mtime): Likewise.
47281         (st_ctime): Likewise.
47283 2012-05-31  David S. Miller  <davem@davemloft.net>
47285         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47286         entries.
47288 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47290         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47291         gen-libm-test.pl.
47293         [BZ #14132]
47294         * elf/dl-reloc.c: Include <_itoa.h>.
47295         (_dl_reloc_bad_type): Remove use of INTUSE.
47296         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47297         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47298         * stdio-common/psiginfo.c (psiginfo): Likewise.
47299         * stdio-common/psignal.c (psignal): Likewise.
47300         * string/strsignal.c (strsignal): Likewise.
47301         * include/signal.h (_sys_siglist): Declare hidden proto.
47302         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47303         INTVARDEF with libc_hidden_data_def.
47304         * stdio-common/itoa-udigits.c: Likewise.
47305         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47306         (_itoa_lower_digits_internal): Remove declaration.
47307         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47308         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47309         (_sys_sigabbrev_internal): Remove aliases.
47310         (_sys_siglist): Define hidden alias.
47312 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47315         bits/sysctl.h.
47317 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47319         [BZ #14117]
47320         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47321         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47323         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47324         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47325         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47326         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47327         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47328         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47330         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47331         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47332         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47334         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47335         with __addr.
47336         (insw): Likewise.
47337         (insl): Likewise.
47338         (outsb): Likewise.
47339         (outsw): Likewise.
47340         (outsl): Likewise.
47342         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47343         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47344         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47346         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47347         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47348         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47349         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47350         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47351         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47353         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47354         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47356         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47357         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47359         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47360         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47361         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47363         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47364         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47365         to ...
47366         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47368         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47369         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47370         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47372         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47373         for x86-64.
47374         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47376 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47378         * math/math.h (M_El): Use two more decimal places.
47379         (M_LOG2El): Likewise.
47380         (M_LOG10El): Likewise.
47381         (M_LN2l): Likewise.
47382         (M_LN10l): Likewise.
47383         (M_PIl): Likewise.
47384         (M_PI_2l): Likewise.
47385         (M_PI_4l): Likewise.
47386         (M_1_PIl): Likewise.
47387         (M_2_PIl): Likewise.
47388         (M_2_SQRTPIl): Likewise.
47389         (M_SQRT2l): Likewise.
47390         (M_SQRT1_2l): Likewise.
47392 2012-05-31  David S. Miller  <davem@davemloft.net>
47394         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47395         values between float registers.
47396         * sysdeps/sparc/sparc64/memset.S: Likewise.
47397         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47399 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47401         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47402         -D_FORTIFY_SOURCE=1.
47403         (CPPFLAGS-tst-longjmp_chk.c): Define.
47404         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47405         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47406         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47407         CFLAGS-tst-wchar-h.c.
47409 2012-05-31  Marek Polacek  <polacek@redhat.com>
47411         [BZ #14132]
47412         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47413         __endmntent_internal): Remove declaration.
47414         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47415         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47416         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47418 2012-05-30  David S. Miller  <davem@davemloft.net>
47420         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47421         (___Q_simulate_exceptions): Use real FP ops rather than writing
47422         into the %fsr.
47423         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47424         Likewise.
47426 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47428         [BZ #14117]
47429         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47430         * sysdeps/x86/bits/xtitypes.h: This.
47432         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47433         * sysdeps/x86/bits/wordsize.h: This.
47435         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47436         * sysdeps/x86/bits/huge_vall.h: This.
47438         * sysdeps/i386/bits/select.h: Removed.
47439         * sysdeps/x86_64/bits/select.h: Renamed to ...
47440         * sysdeps/x86/bits/select.h: This.
47442         * sysdeps/i386/bits/setjmp.h: Removed.
47443         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47444         * sysdeps/x86/bits/setjmp.h: This.
47446         * sysdeps/i386/bits/mathdef.h: Removed.
47447         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47448         * sysdeps/x86/bits/mathdef.h: This.
47450 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47452         [BZ #14132]
47453         * include/sys/socket.h (__connect_internal)
47454         (__libc_sa_len_internal): Remove declaration.
47455         (__connect, __libc_sa_len): Declare hidden_proto.
47456         (SA_LEN): Remove use of INTUSE.
47457         * socket/connect.c: Add libc_hidden_def.
47458         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47459         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47460         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47461         alias.
47462         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47463         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47464         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47465         of adding _internal alias.
47467 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47469         [BZ #14117]
47470         * sysdeps/i386/bits/link.h: Removed.
47471         * sysdeps/i386/bits/linkmap.h: Likewise.
47472         * sysdeps/x86_64/bits/link.h: Renamed to ...
47473         * sysdeps/x86/bits/link.h: This.
47474         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47475         * sysdeps/x86/bits/linkmap.h: This.
47477         * sysdeps/i386/bits/endian.h: Removed.
47478         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47479         * sysdeps/x86/bits/endian.h: This.
47481         * sysdeps/i386/bits/byteswap.h: Removed.
47482         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47483         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47484         * sysdeps/x86/bits/byteswap.h: This.
47485         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47486         * sysdeps/x86/bits/byteswap-16.h: This.
47487         * sysdeps/i386/Implies: Add x86.
47488         * sysdeps/x86_64/Implies: Likewise.
47490 2012-05-30  David S. Miller  <davem@davemloft.net>
47492         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
47493         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
47494         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47495         (FP_TRAPPING_EXCEPTIONS): Define.
47496         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47497         (FP_TRAPPING_EXCEPTIONS): Define.
47498         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
47499         subnormals only when inexact has been signalled or underflow
47500         exceptions are enabled.
47501         (_FP_PACK_CANONICAL): Likewise.
47503 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47505         [BZ #14183]
47506         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
47507         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
47509 2012-05-30  Richard Henderson  <rth@twiddle.net>
47511         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
47512         with #ifndef NOT_IN_libc.
47514         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
47515         marked to avoid plt entry.
47517 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47519         [BZ #14112]
47520         * Makeconfig (default-abi): New macro.
47521         (abi-includes): Likewise.
47522         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
47523         $(abi-$(default-abi)-lib-soname) for soname if defined.
47524         ($(common-objpfx)gnu/lib-names.stmp): Generate from
47525         abi-variants.
47526         * Makefile (installed-stubs): Likewise.
47527         * include/stubs-biarch.h: Removed.
47528         * scripts/lib-names.awk: Only handle one library at a time.
47529         * scripts/soversions.awk: Remove WORDSIZE support.
47530         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
47531         entries.
47532         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
47533         Removed.
47534         (syscall-list-default-condition): Likewise.
47535         (syscall-list-default-condition): Likewise.
47536         (syscall-list-includes): Likewise.
47537         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
47538         syscall-list-* with abi-*.  Handle undefined abi-variants.
47539         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
47540         * sysdeps/unix/sysv/linux/i386/Implies: New file.
47541         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
47542         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
47543         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
47544         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
47545         Removed.
47546         (syscall-list-32-options): Likewise.
47547         (syscall-list-32-condition): Likewise.
47548         (syscall-list-64-options): Likewise.
47549         (syscall-list-64-condition): Likewise.
47550         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
47551         macro.
47552         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
47553         Renamed to ...
47554         (abi-*): This.
47555         (abi-64-ld-soname): New macro.
47556         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
47557         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
47558         Renamed to ...
47559         (abi-*): This.
47560         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
47561         * sysdeps/x86_64/x32/shlib-versions: Likewise.
47563 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
47565         * sysdeps/unix/sysv/linux/kernel-features.h
47566         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
47567         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
47568         include <kernel-features.h>.
47569         [!__NR_ftruncate64]: Remove conditional code.
47570         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47571         [__NR_ftruncate64]: Make code unconditional.
47572         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47573         * sysdeps/unix/sysv/linux/truncate64.c: Do not
47574         include <kernel-features.h>.
47575         [!__NR_ftruncate64]: Remove conditional code.
47576         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47577         [__NR_ftruncate64]: Make code unconditional.
47578         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
47580         include <kernel-features.h>.
47581         [!__NR_ftruncate64]: Remove conditional code.
47582         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47583         [__NR_ftruncate64]: Make code unconditional.
47584         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47586         include <kernel-features.h>.
47587         [!__NR_ftruncate64]: Remove conditional code.
47588         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47589         [__NR_ftruncate64]: Make code unconditional.
47590         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
47592         * configure.in (libc_cv_fpie): Weaken to a compile test using
47593         LIBC_TRY_CC_OPTION.
47594         * configure: Regenerated.
47596 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
47599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
47600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
47601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47602         Refreshed.
47603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
47604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
47605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
47606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
47607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
47608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47609         Refreshed.
47611 2012-05-27  David S. Miller  <davem@davemloft.net>
47613         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
47614         (___Q_zero): New.
47615         (__Q_simulate_exceptions): Return void.  Change to simulate
47616         exceptions by writing into the %fsr.
47617         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
47618         (__Qp_handle_exceptions): Likewise.
47619         (numbers): Delete.
47620         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
47621         __Qp_handle_exceptions.
47622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
47623         __Qp_handle_exceptions.
47624         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47625         as unused and give dummy FP_RND_NEAREST initializer.
47626         (FP_INHIBIT_RESULTS): Define.
47627         (___Q_simulate_exceptions): Update declaration.
47628         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
47629         formatting.
47630         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
47631         as unused and give dummy FP_RND_NEAREST initializer.
47632         (__Qp_handle_exceptions): Update declaration.
47633         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
47634         formatting.
47636 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
47638         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
47639         the temporary FPU control word.
47640         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47641         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47642         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
47643         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47644         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47645         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
47646         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
47647         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47648         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
47649         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
47650         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47652 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47654         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
47655         fields.
47657 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
47659         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
47660         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
47661         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
47662         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
47663         Likewise.
47664         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
47665         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
47666         Likewise.
47668 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
47670         * po/h.po: Update from translation team.
47672 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
47674         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
47676         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
47677         handling of denormals.
47678         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47679         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47680         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47681         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47682         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47683         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
47684         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
47685         Likewise.
47687 2012-05-26  Marek Polacek  <polacek@redhat.com>
47689         [BZ #14152]
47690         * math/libm-test.inc (fma_test): Don't always expect underflow
47691         exception.
47693 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47695         [BZ #12416]
47696         * elf/tst-execstack.c: Include stackinfo.h.
47697         (do_test): Adjust test case to ensure that pthread_getattr_np
47698         behaviour remains the same after marking stack executable.
47700 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47702         * sysdeps/unix/sysv/linux/kernel-features.h
47703         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
47704         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
47705         kernel-features.h.
47706         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47707         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47708         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
47709         kernel-features.h.
47710         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
47711         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
47713 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
47715         * configure.in: Define the default includes to being none.
47716         * configure: Regenerated.
47718 2012-05-25  Roland McGrath  <roland@hack.frob.com>
47720         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
47721         * sysdeps/x86_64/setjmp.S: Likewise.
47722         * sysdeps/i386/bsd-setjmp.S: Likewise.
47723         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47724         * sysdeps/i386/setjmp.S: Likewise.
47725         * sysdeps/i386/__longjmp.S: Likewise.
47726         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47727         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
47729         * include/stap-probe.h: New file.
47730         * configure.in: Handle --enable-systemtap.
47731         * configure: Regenerated.
47732         * config.h.in (USE_STAP_PROBE): New #undef.
47733         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
47734         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
47735         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
47737 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
47739         [BZ #13717]
47740         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47741         to 2.4.0 where earlier.
47742         * sysdeps/unix/sysv/linux/configure: Regenerated.
47743         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47744         <kernel-features.h>.
47745         [__ASSUME_32BITUIDS]: Make code unconditional.
47746         [!__ASSUME_32BITUIDS]: Remove conditional code.
47747         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
47748         <kernel-features.h>.
47749         [__ASSUME_32BITUIDS]: Make code unconditional.
47750         [!__ASSUME_32BITUIDS]: Remove conditional code.
47751         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
47752         [__ASSUME_32BITUIDS]: Make code unconditional.
47753         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
47754         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
47755         <kernel-features.h>.
47756         [__ASSUME_32BITUIDS]: Make code unconditional.
47757         [!__ASSUME_32BITUIDS]: Remove conditional code.
47758         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
47759         <kernel-features.h>.
47760         [__ASSUME_32BITUIDS]: Make code unconditional.
47761         [!__ASSUME_32BITUIDS]: Remove conditional code.
47762         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
47763         <kernel-features.h>.
47764         [__ASSUME_32BITUIDS]: Make code unconditional.
47765         [!__ASSUME_32BITUIDS]: Remove conditional code.
47766         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
47767         <kernel-features.h>.
47768         [__ASSUME_32BITUIDS]: Make code unconditional.
47769         [!__ASSUME_32BITUIDS]: Remove conditional code.
47770         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47771         <kernel-features.h>.
47772         [__ASSUME_32BITUIDS]: Make code unconditional.
47773         [!__ASSUME_32BITUIDS]: Remove conditional code.
47774         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47775         <kernel-features.h>.
47776         [__ASSUME_32BITUIDS]: Make code unconditional.
47777         [!__ASSUME_32BITUIDS]: Remove conditional code.
47778         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
47779         <kernel-features.h>.
47780         [__ASSUME_32BITUIDS]: Make code unconditional.
47781         [!__ASSUME_32BITUIDS]: Remove conditional code.
47782         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47783         <kernel-features.h>.
47784         [__ASSUME_32BITUIDS]: Make code unconditional.
47785         [!__ASSUME_32BITUIDS]: Remove conditional code.
47786         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47787         <kernel-features.h>.
47788         [__ASSUME_32BITUIDS]: Make code unconditional.
47789         [!__ASSUME_32BITUIDS]: Remove conditional code.
47790         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
47791         <kernel-features.h>.
47792         [__ASSUME_32BITUIDS]: Make code unconditional.
47793         [!__ASSUME_32BITUIDS]: Remove conditional code.
47794         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
47795         <kernel-features.h>.
47796         [__NR_setresgid] (__setresgid): Do not declare.
47797         [__ASSUME_32BITUIDS]: Make code unconditional.
47798         [!__ASSUME_32BITUIDS]: Remove conditional code.
47799         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
47800         <kernel-features.h>.
47801         [__NR_setresuid] (__setresuid): Do not declare.
47802         [__ASSUME_32BITUIDS]: Make code unconditional.
47803         [!__ASSUME_32BITUIDS]: Remove conditional code.
47804         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.c: Do not include
47813         <kernel-features.h>.
47814         [__ASSUME_32BITUIDS]: Make code unconditional.
47815         [!__ASSUME_32BITUIDS]: Remove conditional code.
47816         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
47817         <kernel-features.h>.
47818         [__ASSUME_32BITUIDS]: Make code unconditional.
47819         [!__ASSUME_32BITUIDS]: Remove conditional code.
47820         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
47821         <kernel-features.h>.
47822         [__ASSUME_32BITUIDS]: Make code unconditional.
47823         [!__ASSUME_32BITUIDS]: Remove conditional code.
47824         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47825         <kernel-features.h>.
47826         [__ASSUME_32BITUIDS]: Make code unconditional.
47827         [!__ASSUME_32BITUIDS]: Remove conditional code.
47828         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47829         <kernel-features.h>.
47830         [__ASSUME_32BITUIDS]: Make code unconditional.
47831         [!__ASSUME_32BITUIDS]: Remove conditional code.
47832         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47833         <kernel-features.h>.
47834         [__ASSUME_32BITUIDS]: Make code unconditional.
47835         [!__ASSUME_32BITUIDS]: Remove conditional code.
47836         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47837         <kernel-features.h>.
47838         [__ASSUME_32BITUIDS]: Make code unconditional.
47839         [!__ASSUME_32BITUIDS]: Remove conditional code.
47840         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47841         <kernel-features.h>.
47842         [__ASSUME_32BITUIDS]: Make code unconditional.
47843         [!__ASSUME_32BITUIDS]: Remove conditional code.
47844         * sysdeps/unix/sysv/linux/kernel-features.h
47845         (__ASSUME_SETRESUID_SYSCALL): Remove.
47846         (__ASSUME_SETRESGID_SYSCALL): Likewise.
47847         (__ASSUME_32BITUIDS): Likewise.
47848         (__ASSUME_LDT_WORKS): Likewise.
47849         (__ASSUME_O_DIRECTORY): Likewise.
47850         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47851         architecture but not kernel version.
47852         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47853         (__ASSUME_MMAP2_SYSCALL): Likewise.
47854         (__ASSUME_STAT64_SYSCALL): Likewise.
47855         (__ASSUME_IPC64): Likewise.
47856         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47857         <kernel-features.h>.
47858         [__ASSUME_32BITUIDS]: Make code unconditional.
47859         [!__ASSUME_32BITUIDS]: Remove conditional code.
47860         * sysdeps/unix/sysv/linux/opendir.c: Do not include
47861         <kernel-features.h>.
47862         [__ASSUME_O_DIRECTORY]: Make code unconditional.
47863         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47864         132096]: Remove conditional code.
47865         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47866         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47867         <kernel-features.h>.
47868         [__ASSUME_32BITUIDS]: Make code unconditional.
47869         [!__ASSUME_32BITUIDS]: Remove conditional code.
47870         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47871         <kernel-features.h>.
47872         [__ASSUME_32BITUIDS]: Make code unconditional.
47873         [!__ASSUME_32BITUIDS]: Remove conditional code.
47874         * sysdeps/unix/sysv/linux/setegid.c: Do not include
47875         <kernel-features.h>.
47876         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47877         unconditional.
47878         (__setresgid): Do not declare.
47879         [__ASSUME_32BITUIDS]: Make code unconditional.
47880         [!__ASSUME_32BITUIDS]: Remove conditional code.
47881         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47882         <kernel-features.h>.
47883         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47884         unconditional.
47885         (__setresuid): Do not declare.
47886         [__ASSUME_32BITUIDS]: Make code unconditional.
47887         [!__ASSUME_32BITUIDS]: Remove conditional code.
47888         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47889         <kernel-features.h>.
47890         [__ASSUME_32BITUIDS]: Make code unconditional.
47891         [!__ASSUME_32BITUIDS]: Remove conditional code.
47892         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47893         <kernel-features.h>.
47894         [__ASSUME_32BITUIDS]: Make code unconditional.
47895         [!__ASSUME_32BITUIDS]: Remove conditional code.
47897 2012-05-25  Richard Henderson  <rth@twiddle.net>
47899         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47900         dl_hwcap to ifunc resolver.
47901         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47902         elf_ifunc_invoke.
47903         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47904         dl_hwcap to ifunc resolver.
47905         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47907 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47909         [BZ #14153]
47910         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47911         for |x| <= 2**-26, not 2**-57.
47912         * math/libm-test.inc (acos_test): Do not allow spurious underflow
47913         exception.
47915 2012-05-24  Jeff Law  <law@redhat.com>
47917         * stdio-common/Makefile (tests): Add bug25.
47918         * stdio-common/bug25.c: New test.
47920 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47922         [BZ #13576]
47923         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47924         multiple of MALLOC_ALIGNMENT in size.
47925         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47927 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47929         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47930         Require >= 256.
47931         (FILENAME_MAX): Use macro-int-constant.
47932         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
47933         (_IOFBF): Use macro-int-constant.
47934         (_IOLBF): Likewise.
47935         (_IONBF): Likewise.
47936         (SEEK_CUR): Likewise.
47937         (SEEK_END): Likewise.
47938         (SEEK_SET): Likewise.
47939         (TMP_MAX): Likewise.
47940         (EOF): Use macro-int-constant.  Require < 0.
47941         (NULL): Use macro-constant.  Require == 0.
47942         (stdin): Require type to be FILE *.
47943         (stdout): Likewise.
47944         (stderr): Likewise.
47945         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47946         macro-int-constant.
47947         (EXIT_SUCCESS): Likewise.
47948         (NULL): Use macro-constant.  Require == 0.
47949         (RAND_MAX): Use macro-int-constant.
47950         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47951         [C99-based standards] (strtof): Require function.
47952         [C99-based standards] (strtold): Likewise.
47953         [C99-based standards] (strtoll): Likewise.
47954         [C99-based standards] (strtoull): Likewise.
47955         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47956         [ISO || ISO99 || ISO11] (limits.h): Likewise.
47957         [ISO || ISO99 || ISO11] (math.h): Likewise.
47958         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47959         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47960         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47962 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
47964         [BZ #14132]
47965         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47966         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47967         * intl/dgettext.c (DCGETTEXT): Likewise.
47968         * intl/gettext.c (DCGETTEXT): Likewise.
47969         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47970         * posix/regex_internal.h (gettext): Likewise.
47971         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47972         Remove declaration.
47973         * include/argz.h (__argz_count_internal)
47974         (__argz_stringify_internal): Remove declaration.
47975         (__argz_count, __argz_stringify): Declare hidden proto.
47976         * intl/dcgettext.c: Remove use of INTDEF.
47977         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47978         * string/argz-stringify.c: Likewise.
47979         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47980         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47981         Declare hidden proto.
47982         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47983         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47984         Declare hidden proto.
47985         * include/stdio.h (__asprintf_internal): Don't declare.
47986         (__asprintf): Don't define as macro.  Declare hidden proto.
47987         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47988         (__fsetlocking): Declare hidden proto.
47989         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47990         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47991         hidden proto.
47992         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47993         (_IO_setlinebuf): Remove use of INTUSE.
47994         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47995         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47996         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47997         Remove declaration.
47998         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47999         (_IO_do_flush): Remove use of INTUSE.
48000         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48001         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48002         (_IO_adjust_column, _IO_least_wmarker)
48003         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48004         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48005         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48006         (_IO_default_doallocate, _IO_wdefault_doallocate)
48007         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48008         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48009         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48010         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48011         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48012         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48013         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48014         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48015         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48016         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48017         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48018         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48019         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48020         proto.
48021         (_IO_flush_all_internal, _IO_adjust_column_internal)
48022         (_IO_default_uflow_internal, _IO_default_finish_internal)
48023         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48024         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48025         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48026         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48027         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48028         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48029         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48030         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48031         (_IO_file_close_internal, _IO_file_close_it_internal)
48032         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48033         (_IO_file_init_internal, _IO_file_attach_internal)
48034         (_IO_file_fopen_internal, _IO_file_read_internal)
48035         (_IO_file_sync_internal, _IO_file_seek_internal)
48036         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48037         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48038         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48039         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48040         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48041         (_IO_list_all_internal, _IO_link_in_internal)
48042         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48043         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48044         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48045         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48046         (_IO_do_write_internal, _IO_padn_internal)
48047         (_IO_getline_info_internal, _IO_getline_internal)
48048         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48049         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48050         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48051         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48052         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48053         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48054         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48055         with libc_hidden_ver, remove use of INTUSE.
48056         * libio/genops.c: Likewise.
48057         * libio/freopen.c: Likewise.
48058         * libio/freopen64.c: Likewise.
48059         * libio/iofclose.c: Likewise.
48060         * libio/iofdopen.c: Likewise.
48061         * libio/iofflush.c: Likewise.
48062         * libio/iofflush_u.c: Likewise.
48063         * libio/iofgets.c: Likewise.
48064         * libio/iofgets_u.c: Likewise.
48065         * libio/iofopen.c: Likewise.
48066         * libio/iofopncook.c: Likewise.
48067         * libio/iofread.c: Likewise.
48068         * libio/iofread_u.c: Likewise.
48069         * libio/ioftell.c: Likewise.
48070         * libio/iofwrite.c: Likewise.
48071         * libio/iogetline.c: Likewise.
48072         * libio/iogets.c: Likewise.
48073         * libio/iogetwline.c: Likewise.
48074         * libio/iopadn.c: Likewise.
48075         * libio/iopopen.c: Likewise.
48076         * libio/ioseekoff.c: Likewise.
48077         * libio/ioseekpos.c: Likewise.
48078         * libio/iosetbuffer.c: Likewise.
48079         * libio/iosetvbuf.c: Likewise.
48080         * libio/ioungetc.c: Likewise.
48081         * libio/ioungetwc.c: Likewise.
48082         * libio/iovdprintf.c: Likewise.
48083         * libio/iovsprintf.c: Likewise.
48084         * libio/iovsscanf.c: Likewise.
48085         * libio/memstream.c: Likewise.
48086         * libio/obprintf.c: Likewise.
48087         * libio/oldfileops.c: Likewise.
48088         * libio/oldiofclose.c: Likewise.
48089         * libio/oldiofdopen.c: Likewise.
48090         * libio/oldiofopen.c: Likewise.
48091         * libio/oldiopopen.c: Likewise.
48092         * libio/oldstdfiles.c: Likewise.
48093         * libio/putc.c: Likewise.
48094         * libio/setbuf.c: Likewise.
48095         * libio/setlinebuf.c: Likewise.
48096         * libio/stdfiles.c: Likewise.
48097         * libio/strops.c: Likewise.
48098         * libio/vasprintf.c: Likewise.
48099         * libio/vscanf.c: Likewise.
48100         * libio/vsnprintf.c: Likewise.
48101         * libio/vswprintf.c: Likewise.
48102         * libio/wfiledoalloc.c: Likewise.
48103         * libio/wfileops.c: Likewise.
48104         * libio/wgenops.c: Likewise.
48105         * libio/wmemstream.c: Likewise.
48106         * libio/wstrops.c: Likewise.
48107         * libio/__fpurge.c: Likewise.
48108         * libio/__fsetlocking.c: Likewise.
48109         * assert/assert.c: Likewise.
48110         * debug/fgets_chk.c: Likewise.
48111         * debug/fgets_u_chk.c: Likewise.
48112         * debug/fread_chk.c: Likewise.
48113         * debug/fread_u_chk.c: Likewise.
48114         * debug/gets_chk.c: Likewise.
48115         * debug/obprintf_chk.c: Likewise.
48116         * debug/vasprintf_chk.c: Likewise.
48117         * debug/vdprintf_chk.c: Likewise.
48118         * debug/vsnprintf_chk.c: Likewise.
48119         * debug/vsprintf_chk.c: Likewise.
48120         * malloc/mtrace.c: Likewise.
48121         * misc/error.c: Likewise.
48122         * misc/syslog.c: Likewise.
48123         * stdio-common/asprintf.c: Likewise.
48124         * stdio-common/fxprintf.c: Likewise.
48125         * stdio-common/getw.c: Likewise.
48126         * stdio-common/isoc99_fscanf.c: Likewise.
48127         * stdio-common/isoc99_scanf.c: Likewise.
48128         * stdio-common/isoc99_vfscanf.c: Likewise.
48129         * stdio-common/isoc99_vscanf.c: Likewise.
48130         * stdio-common/isoc99_vsscanf.c: Likewise.
48131         * stdio-common/printf-prs.c: Likewise.
48132         * stdio-common/printf_fp.c: Likewise.
48133         * stdio-common/printf_fphex.c: Likewise.
48134         * stdio-common/printf_size.c: Likewise.
48135         * stdio-common/putw.c: Likewise.
48136         * stdio-common/scanf.c: Likewise.
48137         * stdio-common/sprintf.c: Likewise.
48138         * stdio-common/tmpfile.c: Likewise.
48139         * stdio-common/vfprintf.c: Likewise.
48140         * stdio-common/vfscanf.c: Likewise.
48141         * stdlib/strfmon_l.c: Likewise.
48142         * sunrpc/openchild.c: Likewise.
48143         * sunrpc/xdr_stdio.c: Likewise.
48144         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48145         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48147 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48149         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48151         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48152         in the third column, to generate for the shared library an IFUNC
48153         that uses _dl_vdso_vsym.
48154         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48155         * Makeconfig (object-suffixes-noshared): New variable.
48157         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48158         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48159         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48160         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48162         [BZ #14132]
48163         * include/sys/time.h (__gettimeofday): Remove macro.
48164         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48165         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48166         Remove INTDEF.
48167         (__gettimeofday): Add libc_hidden_def.
48168         (gettimeofday): Add libc_hidden_weak.
48169         * sysdeps/mach/gettimeofday.c: Likewise.
48170         * sysdeps/posix/gettimeofday.c: Likewise.
48171         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48172         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48173         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48174         (__gettimeofday_internal): Remove strong_alias.
48175         (__gettimeofday): Add libc_hidden_def.
48176         (gettimeofday): Add libc_hidden_weak.
48177         * sysdeps/unix/syscalls.list (gettimeofday):
48178         Remove __gettimeofday_internal alias.
48180 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48181             H.J. Lu  <hongjiu.lu@intel.com>
48183         [BZ #12495]
48184         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48185         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48186         (largebin_index_32_big): New.
48187         (largebin_index): Use it for 16-byte alignment.
48188         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48189         correction with front_misalign.
48191 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48195         Likewise.
48196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48197         Likewise.
48198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48199         Likewise.
48200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48201         Likewise.
48202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48203         Likewise.
48204         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48205         Likewise.
48206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48207         Likewise.
48208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48209         Likewise.
48210         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48211         Likewise.
48212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48213         Likewise.
48214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48215         Likewise.
48216         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48217         Likewise.
48219         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48220         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48222 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48224         [BZ #10846]
48225         [BZ #14036]
48226         * math/libm-test.inc (exp_test): Add test from bug 14036.
48227         (pow_test): Add test from bug 10846.
48229         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48230         and other flags.
48231         (special_function): Do not include flags in test name.
48232         (parse_args): Likewise.
48233         * sysdeps/i386/fpu/libm-test-ulps: Update.
48234         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48235         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48236         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48239         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48240         exceptions.
48241         * math/libm-test.inc ("Philosophy"): Update comment about
48242         exception testing.
48243         (UNDERFLOW_EXCEPTION): New macro.
48244         (UNDERFLOW_EXCEPTION_OK): Likewise.
48245         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48246         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48247         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48248         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48249         (INVALID_EXCEPTION_OK): Update value.
48250         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48251         (OVERFLOW_EXCEPTION_OK): Likewise.
48252         (IGNORE_ZERO_INF_SIGN): Likewise.
48253         (test_exceptions): Handle underflow exceptions.
48254         (acos_test): Update for underflow exception expectations.
48255         (cexp_test): Likewise.
48256         (clog_test): Likewise.
48257         (clog10_test): Likewise.
48258         (csqrt_test): Likewise.
48259         (ctan_test): Likewise.
48260         (ctanh_test): Likewise.
48261         (exp_test): Likewise.
48262         (exp10_test): Likewise.
48263         (exp2_test): Likewise.
48264         (expm1_test): Likewise.
48265         (fma_test): Likewise.
48266         (j0_test): Likewise.
48267         (jn_test): Likewise.
48268         (nexttoward_test): Likewise.
48269         (pow_test): Likewise.
48270         (scalbn_test): Likewise.
48271         (scalbln_test): Likewise.
48272         (tan_test): Likewise.
48273         (y1_test): Likewise.
48274         * sysdeps/i386/fpu/libm-test-ulps: Update.
48275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48277 2012-05-23  David S. Miller  <davem@davemloft.net>
48279         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48280         (__libc_sigaction): Remove unused local variables.
48282 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48284         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48286 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48288         mktime: avoid signed integer overflow
48289         * time/mktime.c (__mktime_internal): Do not mishandle the case
48290         where diff == INT_MIN.
48292         mktime: simplify computation of average
48293         * time/mktime.c (ranged_convert): Use new time_t_avg function
48294         instead of rolling our own (probably-slower) code.
48296         mktime: do not assume signed right shift propagates sign bit
48297         * time/mktime.c (isdst_differ): New static function.
48298         (__mktime_internal): No need to normalize tm_isdst now.
48299         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48300         tm_isdst values.
48302         mktime: merge another wrapv change from gnulib
48303         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48304         from some compilers.
48306         mktime: remove incorrect attempt at unusual arithmetics
48307         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48308         The code didn't really work on such machines anyway.
48309         (TYPE_MINIMUM): Assume two's complement.
48310         (twos_complement_arithmetic): Verify that long_int and time_t
48311         are two's complement (or unsigned, in the latter case).
48313         mktime: check signed shifts on long_int and time_t, too
48314         * time/mktime.c (SHR): Check that shifts work as desired
48315         on the types long_int and time_t too, as SHR is used on
48316         such types.
48318         mktime: do not assume 'long' is wide enough
48319         * time/mktime.c (verify): Move decl up.
48320         (long_int): New type.
48321         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48322         to remove assumption in the code that 'long' is wide enough to
48323         store year values.  This assumption is not true on x32 and on
48324         some non-glibc platforms.
48326         mktime: merge wrapv change from gnulib
48327         * time/mktime.c (WRAPV): New macro.
48328         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48329         (guess_time_tm, __mktime_internal): Do not assume that signed
48330         integer overflow wraps around; modern compilers generate code
48331         where this assumption is no longer valid.
48333 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48335         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48336         Replace "jmp L(pseudo_end)" with "ret".
48337         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48338         Likewise.
48340 2012-05-23  Andreas Jaeger  <aj@suse.de>
48342         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48343         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48345 2012-05-23  Andreas Jaeger  <aj@suse.de>
48346             Maximilian Attems  <max@stro.at>
48348         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48349         New macros.
48351 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48353         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48354         code so that pseudo_end is just ret and the stack pointer is
48355         correct also for static library in error case.
48357 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48359         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48360         move to syscalls.list.
48361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48366         * manual/install.texi (Running make install): Do not mention Linux
48367         kernel version for which pt_chown is not needed.
48368         (Linux): Do not mention problems with nscd with 2.0 kernels.
48369         * INSTALL: Regenerated.
48371 2012-05-23  Andreas Jaeger  <aj@suse.de>
48373         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48374         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48375         macro.
48376         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48377         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48378         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48379         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48380         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48381         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48382         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48383         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48384         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48385         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48386         * sysdeps/unix/sysv/linux/bits/in.h
48387         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48389 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48391         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48392         (PREPARE_VERSION): Just use assert instead, it will be elided
48393         under [NDEBUG] anyway.
48395 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48397         * sysdeps/unix/sysv/linux/Makefile: Include
48398         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48399         (sysdep_routines): Remove sysctl.
48400         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48401         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48402         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48403         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48404         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48406 2012-05-22  Andreas Jaeger  <aj@suse.de>
48408         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48409         that pseudo_end is just ret and the stack pointer is correct also
48410         for static library in error case.
48412 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48414         [BZ #14122]
48415         * nss/nsswitch.c (defconfig_entries): New variable.
48416         (__nss_database_lookup): Don't leak defconfig entries.
48417         (nss_parse_service_list): Don't leak on error paths.
48418         (free_database_entries): New function.
48419         (free_defconfig): New function.
48420         (free_mem): Move common code to free_database_entries.
48422 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48424         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48425         Add arch_prctl.
48426         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48428         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48429         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48430         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48431         New macro.
48432         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48433         (INTERNAL_SYSCALL_TYPES): Likewise.
48434         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48435         (LOAD_REGS_TYPES_[1-6]): Likewise.
48436         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48437         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48439 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48441         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48442         copysignl for GLIBC_2_0.
48443         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48444         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48445         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48446         logbl for GLIBC_2_0.
48447         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48448         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48450 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48452         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48453         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48455         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48456         Use "neg %eax".
48458         * time/mktime.c: Update copyright years.
48460 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48462         mktime: merge comment-quoting-style change from gnulib
48463         * time/mktime.c: Quote 'like this' in comments.
48464         The GNU coding standards suggest that we no longer quote `like this',
48465         as "`" and "'" are typically rendered asymmetrically nowadays.
48466         The typical gnulib style is to quote 'like this' when quoting
48467         code, and "like this" when quoting English.
48469         * time/mktime.c (compile-command): Add "-I.".
48471         mktime: merge mktime-internal.h change from gnulib
48472         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48474         mktime: merge time_r change from gnulib
48475         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48477         mktime: merge DEBUG change from gnulib
48478         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48479         case system <time.h> has a #define.
48481         mktime: merge <sys/types.h> change from gnulib
48482         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48483         since <time.t> is now guaranteed to define time_t.
48485         mktime: merge HAVE_CONFIG_H change from gnulib
48486         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48488 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48490         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48491         Use "neg %eax".
48493         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
48494         __rlim_t cast.
48495         (struct rusage): Use anonymous union to pad each field to
48496         __syscall_slong_t.
48498 2012-05-21  David S. Miller  <davem@davemloft.net>
48500         * Makefules (o-iterator): Remove .s cases.
48501         (compile-command.s): Delete.
48502         (COMPILE.s): Delete.
48503         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
48505 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
48507         * configure.in (libc_cv_predef_stack_protector): Only consider
48508         "foobar" and "__stack_chk_fail" lines in libc_undefs.
48509         * configure: Regenerated.
48511 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48513         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48514         New macro.  Use R*LP on int and pointer.
48515         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
48516         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
48517         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
48518         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
48520         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
48521         [__WORDSIZE_TIME64_COMPAT32] instead of
48522         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
48523         (struct utmp): Likewise.
48524         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
48525         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
48526         Renamed to ...
48527         (__WORDSIZE_TIME64_COMPAT32): This.
48528         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
48529         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
48530         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
48531         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
48532         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
48533         (__WORDSIZE_TIME64_COMPAT32): New macro.
48535 2012-05-21  Andreas Jaeger  <aj@suse.de>
48537         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
48538         only if [SHARED]. Add prototype for __wcschr_ia32.
48540 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48542         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
48543         of %rbp unmolested in the jmp_buf while mangling the low bits.
48544         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
48545         unmolested high bits of %rbp while demangling the low bits.
48546         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48548 2012-05-21  Andreas Jaeger  <aj@suse.de>
48550         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
48551         * sunrpc/svc_simple.c: Use it for registerrpc.
48552         * sunrpc/xcrypt.c: Use it for passwd2des.
48554         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
48556 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48558         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
48559         Don't define if [__SYSCALL_WORDSIZE != 32].
48560         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
48561         New macro.
48563 2012-05-21  Bruno Haible  <bruno@clisp.org>
48564             Andreas Jaeger  <aj@suse.de>
48566         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
48567         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
48568         inptr and inend for must_buffer_ch.
48569         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
48570         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
48571         * stdio-common/Makefile (tests): Remove bug15.
48572         (bug15-ENV): Remove macro.
48573         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
48574         anymore.
48576 2012-05-19  Andreas Jaeger  <aj@suse.de>
48577             Roland McGrath  <roland@hack.frob.com>
48579         * manual/contrib.texi: Completely rewritten. It contains now an
48580         alphabetical list of contributors and their contributions.
48582 2012-05-21  Richard Henderson  <rth@twiddle.net>
48584         * misc/getauxval.c (__getauxval): Use unsigned long int.
48585         * misc/sys/auxv.h: Include <sys/cdefs.h>.
48586         (getauxval): Use unsigned long int.
48588 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
48590         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48592 2012-05-21  Roland McGrath  <roland@hack.frob.com>
48594         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
48595         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
48596         __alignof__ (long double).
48598 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48602 2012-05-20  Richard Henderson  <rth@twiddle.net>
48604         * misc/getauxval.c: New file.
48605         * misc/sys/auxv.h: New file.
48606         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
48607         (routines): Add getauxval.
48608         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
48609         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
48610         * elf/dl-sysdep.c (_dl_auxv): Remove.
48611         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
48612         * elf/dl-support.c (_dl_auxv): New variable.
48613         (_dl_aux_init): Initialize it.
48614         * manual/startup.texi (Auxiliary Vector): New node.
48615         * sysdeps/generic/bits/hwcap.h: New file.
48616         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
48617         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
48618         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
48619         * sysdeps/sparc/sysdep.h: ... here.  Include it.
48620         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
48621         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
48622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48623         Update.
48624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
48625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
48626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
48627         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
48628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
48630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
48631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
48633 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48637 2012-05-19  David S. Miller  <davem@davemloft.net>
48639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48641 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48643         [BZ #14123]
48644         * math/s_ccosh.c: Include <float.h>
48645         (__ccosh): Avoid internal overflow calculating sinh and cosh
48646         values before multiplying by sin and cos values.
48647         * math/s_ccoshf.c: Likewise.
48648         * math/s_ccoshl.c: Likewise.
48649         * math/s_csin.c: Likewise.
48650         * math/s_csinf.c: Likewise.
48651         * math/s_csinl.c: Likewise.
48652         * math/s_csinh.c: Likewise.
48653         * math/s_csinhf.c: Likewise.
48654         * math/s_csinhl.c: Likewise.
48655         * math/libm-test.inc (ccos_test): Add more tests.
48656         (ccosh_test): Likewise.
48657         (csin_test): Likewise.
48658         (csinh_test): Likewise.
48659         * sysdeps/i386/fpu/libm-test-ulps: Update.
48660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48662 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
48664         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
48665         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
48667         * sysdeps/x86_64/x32/_itoa.h: Add comment.
48669 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
48671         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
48672         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
48673         * sysdeps/powerpc/soft-fp/Versions: Likewise.
48674         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
48675         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
48676         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
48677         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
48678         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
48679         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
48680         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
48681         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
48682         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
48683         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
48684         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
48685         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
48686         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
48687         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
48688         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
48689         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
48690         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
48691         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
48692         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
48693         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
48694         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
48695         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
48696         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
48697         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
48698         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
48699         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
48700         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
48701         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
48703 2012-05-18  Andreas Jaeger  <aj@suse.de>
48705         * csu/.gitignore: Delete.
48707 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48709         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
48710         (timex): Use __syscall_slong_t.
48712 2012-05-18  Andreas Jaeger  <aj@suse.de>
48713             Carlos O'Donell  <carlos_odonell@mentor.com>
48715         * manual/install.texi (Configuring and compiling): Update
48716         description about files modified in the source directory.
48717         * INSTALL: Regenerated.
48719 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48721         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
48722         value.  Use "or" to set return value to -1.
48723         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
48724         negate return value.
48726 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48728         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
48729         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
48730         failure if the compiler has Graphite support disabled.
48731         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
48732         Likewise.
48733         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
48734         (CFLAGS-memmove.c): Likewise.
48735         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
48736         Likewise.
48738 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
48740         * sysdeps/x86_64/x32/_itoa.h: New file.
48742         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
48743         getdents system call only if kernel and user dirents have the
48744         same d_ino and d_off.
48746         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48747         LLONG_MAX != LONG_MAX.
48748         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48749         (_fitoa_word): Likewise.
48751         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
48752         years.
48753         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
48754         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
48755         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
48757         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
48758         include <bits/wordsize.h>.  Check __x86_64__ instead of
48759         __WORDSIZE.
48760         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
48761         if __x86_64__ is defined.  Use anonymous union on fpstate.
48763         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
48764         anonymous union.
48766 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
48768         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
48769         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
48770         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
48771         Refer to _rtld_local_ro instead of _rtld_global_ro.
48772         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
48773         Likewise.
48774         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
48775         Likewise.
48776         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
48777         Likewise.
48778         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
48779         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
48780         of _rtld_global, and rtld_progname instead of _dl_argv[0].
48782         * sysdeps/powerpc/powerpc32/dl-machine.c
48783         (__elf_machine_runtime_setup) [PROF]: Don't reference
48784         _dl_prof_resolve.
48786 2012-05-18  Andreas Jaeger  <aj@suse.de>
48788         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
48789         function only available for GCCs before 3.4 since GCC 3.4
48790         introduced a builtin.
48791         (lrint): Likewise.
48792         (llrintf): Likewise.
48793         (llrint): Likewise.
48794         (fmaxf): Likewise.
48795         (fmax): Likewise.
48796         (fminf): Likewise.
48797         (fmin): Likewise.
48798         (rint): Likewise.
48799         (rintf): Likewise.
48800         (nearbyint): Likewise.
48801         (nearbyintf): Likewise.
48802         (ceil): Likewise.
48803         (ceilf): Likewise.
48804         (floor): Likewise.
48805         (floorf): Likewise.
48807 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48809         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
48810         on both fields and cast pointer to __syscall_ulong_t.
48812         * bits/types.h (__fsword_t): New type.
48813         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
48814         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
48815         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48816         (__FSWORD_T_TYPE): Likewise.
48817         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48818         (__FSWORD_T_TYPE): Likewise.
48819         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48820         (__FSWORD_T_TYPE): Likewise.
48821         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
48822         (__FSWORD_T_TYPE): Likewise.
48823         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48824         __SWORD_TYPE with __fsword_t.
48825         (statfs64): Likewise.
48827 2012-05-17  David S. Miller  <davem@davemloft.net>
48829         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48831 2012-05-17  Andreas Jaeger  <aj@suse.de>
48833         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48834         warning.
48836 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48838         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48840 2012-05-17  Andreas Jaeger  <aj@suse.de>
48842         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48843         when it is used.
48845 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48847         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48849 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48851         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48852         * sysdeps/x86_64/tst-mallocalign1.c: New file.
48854 2012-05-17  Andreas Jaeger  <aj@suse.de>
48855             Carlos O'Donell  <carlos_odonell@mentor.com>
48857         [BZ #14059]
48858         * sysdeps/x86_64/multiarch/init-arch.h
48859         (bit_YMM_Usable): Rename to...
48860         (bit_AVX_Usable): ... this.
48861         (bit_FMA4_Usable): New macro.
48862         (bit_XMM_state): New macro.
48863         (bit_YMM_state): New macro.
48864         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48865         [__ASSEMBLER__] (index_AVX_Usable): ... this.
48866         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48867         (CPUID_OSXSAVE): New macro.
48868         (CPUID_AVX): New macro.
48869         (CPUID_FMA4): New macro.
48870         (index_YMM_Usable): Rename to...
48871         (index_AVX_Usable): ... this.
48872         (HAS_AVX): Use HAS_ARCH_FEATURE.
48873         (HAS_FMA4): Likewise.
48874         (HAS_YMM_USABLE): Remove.
48875         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48876         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48877         are present.
48878         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48879         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48880         * sysdeps/x86_64/multiarch/Makefile: Likewise.
48881         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48882         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48884 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
48886         * math/libm-test.c: Support platforms without multiple rounding modes.
48887         * math/bug-nextafter.c: Support platforms without FP exceptions.
48888         * math/bug-nexttoward.c: Likewise.
48889         * math/test-fenv.c: Likewise.
48890         * math/test-misc.c: Likewise.
48891         * stdlib/bug-getcontext.c: Likewise.
48893 2012-05-17  Andreas Jaeger  <aj@suse.de>
48895         * manual/examples/search.c (critter_cmp): Change signature to
48896         avoid warnings.
48897         * manual/string.texi (Collation Functions): Likewise.
48899 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48901         * bits/types.h: Fold copyright years.
48902         * bits/typesizes.h: Likewise.
48903         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48904         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48905         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48906         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48907         * time/time.h: Likewise.
48909 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
48911         [BZ #208]
48912         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48913         in instead of returning them.  Return void.
48914         (__libc_mallinfo): Accumulate over all arenas.
48915         (__malloc_stats): Adjust for change in int_mallinfo interface.
48917 2012-05-16  Roland McGrath  <roland@hack.frob.com>
48919         [BZ #10375]
48920         * configure.in (NM): Add AC_CHECK_TOOL for it.
48921         (libc_extra_cflags): New substituted variable.
48922         Check for -fstack-protector being used implicitly.
48923         * configure: Regenerated.
48924         * config.make.in (config-extra-cflags): New variable,
48925         gets @libc_extra_cflags@.
48926         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48928         [BZ #10375]
48929         * configure.in: Check for _FORTIFY_SOURCE being predefined.
48930         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48931         * configure: Regenerated.
48932         * config.make.in (CPPUNDEFS): New substituted variable.
48933         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48934         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48935         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48937 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48939         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48940         (mq_attr): Use __syscall_slong_t.
48942 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48944         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48945         Check __x86_64__ instead of __WORDSIZE.
48946         (_STAT_VER_LINUX): Likewise.
48947         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
48948         __syscall_ulong_t and __syscall_slong_t.
48949         (stat64): Likewise.
48951 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48953         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48955 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48957         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48959 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48961         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48962         __syscall_ulong_t.
48964         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48965         include <bits/wordsize.h>.  Check __x86_64__ instead of
48966         __WORDSIZE.
48967         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48968         defined.
48969         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48971         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48972         include <bits/wordsize.h>.  Check __x86_64__ instead of
48973         __WORDSIZE.
48974         (user_regs_struct): Use "__extension__ unsigned long long"
48975         instead of "unsigned long" if __x86_64__ is defined.
48976         (user): Likewise.  Pad after pointer field if __ILP32__ is
48977         defined.
48979 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48981         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48982         versions 5 to 9.
48983         * configure: Regenerated.
48984         * manual/install.texi (texinfo): Increase version requirement to
48985         4.5 or later.
48986         * INSTALL: Regenerated.
48988         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48990 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48992         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48994         * sysdeps/x86_64/x32/ffs.c: New file.
48996         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48997         __syscall_ulong_t.
48998         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48999         defined.  Use __syscall_ulong_t.
49000         (shminfo): Use __syscall_ulong_t.
49001         (shm_info): Likewise.
49003         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49004         __syscall_ulong_t.
49006         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49007         <bits/wordsize.h>.
49008         (msgqnum_t): Use __syscall_ulong_t.
49009         (msglen_t): Likewise.
49010         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49011         __syscall_ulong_t.
49013         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49014         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49016         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49018         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49019         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49021         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49022         __syscall_slong_t.
49024         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49025         include <bits/wordsize.h>.  Check __x86_64__ instead of
49026         __WORDSIZE.
49028         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49029         "unsigned long long int" if __x86_64__ is defined.
49030         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49032         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49033         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49034         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49036         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49037         <stdint.h>.
49038         (GET_PC): Cast to uintptr_t first.
49039         (GET_FRAME): Likewise.
49040         (GET_STACK): Likewise.
49042         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49043         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49044         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49045         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49046         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49047         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49048         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49049         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49050         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49051         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49052         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49053         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49054         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49055         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49056         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49057         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49058         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49059         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49060         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49061         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49062         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49063         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49064         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49065         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49066         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49067         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49068         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49069         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49070         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49072 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49074         * Makerules (+depfiles): Also collect depfiles from .oS in
49075         $(extra-objs).
49076         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49077         .oS, $(libnldbl-routines)).
49079         * Makerules (native-compile-mkdep-flags): Define.
49080         * sunrpc/Makefile (extra-objs): Add $(addprefix
49081         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49082         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49083         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49084         calling $(make-target-directory).
49086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49088         * bits/types.h (__snseconds_t): Removed.
49089         * time/time.h (struct timespec): Replace __snseconds_t with
49090         __syscall_slong_t.
49091         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49092         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49093         Likewise.
49094         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49095         (__SNSECONDS_T_TYPE): Likewise.
49096         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49097         (__SNSECONDS_T_TYPE): Likewise.
49098         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49099         (__SNSECONDS_T_TYPE): Likewise.
49101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49103         * sysdeps/mach/hurd/bits/typesizes.h
49104         (__SYSCALL_SLONG_TYPE): New macro.
49105         (__SYSCALL_ULONG_TYPE): Likewise.
49107 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49109         * bits/types.h (__syscall_slong_t): New type.
49110         (__syscall_ulong_t): Likewise.
49112         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49113         (__SYSCALL_ULONG_TYPE): Likewise.
49114         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49115         (__SYSCALL_SLONG_TYPE): Likewise.
49116         (__SYSCALL_ULONG_TYPE): Likewise.
49117         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49118         (__SYSCALL_SLONG_TYPE): Likewise.
49119         (__SYSCALL_ULONG_TYPE): Likewise.
49120         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49121         (__SYSCALL_SLONG_TYPE): Likewise.
49122         (__SYSCALL_ULONG_TYPE): Likewise.
49124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49126         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49127         Add sigaltstack-offsets.sym.
49128         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49129         <sigaltstack-offsets.h>.
49130         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49131         longjmp_msg pointer.
49132         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49133         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49134         signal stack.
49135         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49137 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49139         * elf/stackguard-macros.h: Remove file.
49140         * sysdeps/generic/stackguard-macros.h: New file.
49141         * sysdeps/i386/stackguard-macros.h: Likewise.
49142         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49143         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49144         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49145         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49146         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49147         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49148         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49149         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49150         <elf/stackguard-macros.h>.
49152         [BZ #14109]
49153         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49154         __aligned__ in attribute.
49155         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49156         (gregset_t): Likewise.
49158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49160         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49161         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49162         * sysdeps/x86_64/x32/Implies-after: New file.
49164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49166         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49167         and access return value for _dl_profile_fixup.  Use R10_LP to
49168         load frame size.
49170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49172         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49176         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49177         * sysdeps/x86_64/x32/sysdep.h: New file.
49179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49181         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49182         * sysdeps/x86_64/setjmp.S: Likewise.
49184 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49186         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49187         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49188         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49189         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49190         remove unused global constant.
49192 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49194         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49195         include of <not-cancel.h>.
49197 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49199         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49201 2012-05-15  Jeff Law  <law@redhat.com>
49202             Andreas Jaeger  <aj@suse.de>
49204         [BZ #13594]
49205         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49206         out from...
49207         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49208         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49209         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49210         code changing __hst_map_handle.map.
49212 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49214         * configure.in (sysnames): Look for Implies-before and Implies-after
49215         files.
49216         * configure: Regenerated.
49218 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49220         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49221         8-byte data alignment with LP_SIZE alignment.
49223 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49225         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49226         into R10_LP.
49228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49230         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49234         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49235         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49236         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49237         Likewise.
49238         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49242         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49243         (stackinfo_sub_sp): Likewise.
49245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49247         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49248         RAX_LP.
49250 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49252         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49253         into R*_LP.
49255 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49257         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49258         sizes into R*_LP.
49260 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49262         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49264 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49266         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49267         into R11_LP and load __x86_64_shared_cache_size_half into
49268         R8_LP.
49270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49272         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49273         R8_LP.
49275 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49277         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49278         logb for POWER7.
49279         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49280         logbf for POWER7.
49281         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49282         logbl for POWER7.
49283         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49284         powerpc32/power7/fpu/s_logb.c via #include.
49285         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49286         powerpc32/power7/fpu/s_logbf.c via #include.
49287         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49288         powerpc32/power7/fpu/s_logbl.c via #include.
49290 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49292         * README.libm: Remove file.
49294 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49296         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49297         count for x32.  Use R*_LP and omit operand-size suffix.
49299 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49301         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49302         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49303         * sysdeps/x86_64/x32/shlib-versions: New file.
49305 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49307         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49308         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49309         Use _dl_fatal_printf instead.
49311 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49313         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49314         set if not set by the user.  Do not allow for being unset.
49315         * sysdeps/unix/sysv/linux/configure: Regenerated.
49317 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49319         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49320         the `q' suffix from lea and replace .quad with ASM_ADDR.
49322 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49324         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49325         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49326         instead of $17.
49327         (PTR_DEMANGLE): Likewise.
49329 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49331         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49332         (LP_OP): Likewise.
49333         (ASM_ADDR): Likewise.
49334         (RAX_LP): Likewise.
49335         (RBP_LP): Likewise.
49336         (RBX_LP): Likewise.
49337         (RCX_LP): Likewise.
49338         (RDI_LP): Likewise.
49339         (RSI_LP): Likewise.
49340         (RSP_LP): Likewise.
49341         (R8_LP): Likewise.
49342         (R9_LP): Likewise.
49343         (R10_LP): Likewise.
49344         (R10_LP): Likewise.
49345         (R11_LP): Likewise.
49346         (R12_LP): Likewise.
49347         (R13_LP): Likewise.
49348         (R14_LP): Likewise.
49349         (R15_LP): Likewise.
49351 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49353         * sysdeps/x86_64/x32/dl-machine.h: New file.
49355 2012-05-14  Andreas Jaeger  <aj@suse.de>
49357         * manual/Makefile (subdir): Remove export of subdir.
49358         (all): Remove target.
49359         (.PHONY): Remove all from list.
49360         (mkinstalldirs): Remove.
49361         (.PHONY): Remove installdirs from list.
49362         ($(inst_infodir)/libc.info): Use make-target-directory.
49363         (installdirs): Remove.
49364         (subdir_%): Remove.
49365         (glibc-targets): Remove.
49366         (lib): Remove.
49367         (stubs): Remove.
49368         ($(objpfx)stubs ../po/manual.pot): Remove.
49369         ($(objpfx)stamp%): Remove.
49370         (make-target-directory): Remove.
49371         (subdir_install): Remove.
49372         (routines): Remove.
49373         (aux): Remove.
49374         (sources): Remove.
49375         (objects): Remove.
49376         (headers): Remove.
49378         [BZ #13750]
49379         * manual/.gitignore: Remove, it's not needed anymore.
49380         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49381         all files in it.
49382         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49383         directory.
49384         (texis): Renamed to $(objpfx)texis.
49385         (texis-path): New, contains path to generated files.
49386         (chapters.%): Use texis-path for complete path, add extra argument
49387         libc-texinfo.sh.
49388         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49389         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49390         (summary,texi, stamp-summary): Use complete path of
49391         files. Generate files in build dir.
49392         (dir-add.texi): Build in build dir.
49393         (libm-err.texi,stamp-libm-err): Likewise.
49394         (version.texi, stamp-version): Likewise.
49395         (.%c.texi): Likewise.
49396         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49397         (mostlyclean): Remove target.
49398         (realclean): Remove target.
49399         (generated): Add new variable with contents from mostlyclean and
49400         realclean, remove entries duplicated in common-mostlyclean, add
49401         stamp-libm-err and stamp-version.
49402         (generated-dirs): Add libc directory.
49403         ($(inst_infodir)/libc.info): Install files from build dir.
49405         * manual/install.texi (Configuring and compiling): Adjust since
49406         the info files are not part of the tar ball anymore.
49408 2012-05-14  Andreas Jaeger  <aj@suse.de>
49410         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49411         variable.
49413 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49415         [BZ #13717]
49416         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49417         to 2.2.0 where earlier.
49418         * sysdeps/unix/sysv/linux/configure: Regenerated.
49419         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49420         Remove conditional code.
49421         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49422         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49423         Remove conditional code.
49424         [!__NR_lchown]: Likewise.
49425         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49426         [__NR_lchown]: Likewise.
49427         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49428         comment referencing __ASSUME_LCHOWN_SYSCALL.
49429         * sysdeps/unix/sysv/linux/i386/sigaction.c
49430         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49431         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49432         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49433         Remove conditional code.
49434         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49435         (__protocol_available): Remove #if 0 code.
49436         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49437         conditional code.
49438         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49439         * sysdeps/unix/sysv/linux/kernel-features.h
49440         (__ASSUME_GETCWD_SYSCALL): Don't define.
49441         (__ASSUME_REALTIME_SIGNALS): Likewise.
49442         (__ASSUME_PREAD_SYSCALL): Likewise.
49443         (__ASSUME_PWRITE_SYSCALL): Likewise.
49444         (__ASSUME_POLL_SYSCALL): Likewise.
49445         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49446         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49447         non-SPARC.
49448         (__ASSUME_SIOCGIFNAME): Don't define.
49449         (__ASSUME_MSG_NOSIGNAL): Likewise.
49450         (__ASSUME_SENDFILE): Define unconditionally.
49451         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49452         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49453         conditional code.
49454         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49455         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49456         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49457         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49458         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49459         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49460         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49462         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49463         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49465         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49466         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49468         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49469         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49471         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49472         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49474         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49475         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49477         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49478         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49480         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49481         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49483         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49484         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49485         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49486         Remove conditional code.
49487         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49488         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49489         Remove conditional code.
49490         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49491         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
49492         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
49493         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49494         Remove conditional code.
49495         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49496         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
49497         Remove conditional code.
49498         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49499         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
49500         Remove conditional code.
49501         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49502         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49503         Remove conditional code.
49504         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49505         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
49506         Remove conditional code.
49507         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49508         * sysdeps/unix/sysv/linux/sh/pwrite64.c
49509         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49510         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49511         * sysdeps/unix/sysv/linux/sigaction.c
49512         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49513         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49514         * sysdeps/unix/sysv/linux/sigpending.c
49515         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49516         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49517         * sysdeps/unix/sysv/linux/sigprocmask.c
49518         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49519         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49520         * sysdeps/unix/sysv/linux/sigsuspend.c
49521         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49522         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49523         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49524         (__libc_missing_rt_sigs): Remove.
49525         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
49526         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
49527         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
49528         Remove conditional code.
49529         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
49530         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
49531         return 1.
49532         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
49533         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
49534         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
49535         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
49537 2012-05-14  Andreas Jaeger  <aj@suse.de>
49539         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
49540         it's not used in glibc.
49541         (__coshm1): Likewise.
49542         (__acosh1p): Likewise.
49543         (__sgn): Likewise.
49545         * manual/string.texi (Copying and Concatenation): Add missing
49546         variable in concat example.
49547         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
49549 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49551         [BZ #14103]
49552         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
49553         __builtin_clzl with __builtin_clzll.
49555 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49557         [BZ #14104]
49558         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
49559         libc_freeres_ptr.
49561 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49563         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
49564         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
49565         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
49566         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
49568 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
49570         * NEWS: Update ia64 info.
49572 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
49574         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
49575         used as bcopy.
49577 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
49579         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
49580         * sysdeps/unix/syscalls.list (dup3): Likewise.
49581         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
49582         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
49584 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49586         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
49587         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
49589 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
49591         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
49592         thread pointer.
49593         (TLS_IE): Use mov/add instead of movq/addq to load thread
49594         pointer.
49595         (TLS_GD_PREFIX): New.
49596         (TLS_GD): Use it.
49598 2012-05-11  David S. Miller  <davem@davemloft.net>
49600         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
49601         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
49602         (_FPU_SETCW): Likewise.
49604 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49606         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
49607         is 32-byte aligned.
49609 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
49611         [BZ #11837]
49612         * iconvdata/gb18030.c: Update tables.
49613         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
49614         characters specially.
49615         (BODY for TO_LOOP): Add encoding of missing ranges.
49617 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
49619         [BZ #13673]
49620         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
49621         * sysdeps/mach/hurd/dup3.c: Likewise.
49622         * sysdeps/mach/hurd/readlinkat.c: Likewise.
49623         * sysdeps/powerpc/memmove.c:: Likewise.
49625 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49627         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
49628         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
49630 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49632         * elf/elf.h (R_X86_64_RELATIVE64): New.
49633         (R_X86_64_NUM): Updated.
49634         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49635         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
49636         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
49637         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
49638         tst-quad1pie tst-quad2pie
49639         (modules-names): Add tst-quadmod1 tst-quadmod2.
49640         ($(objpfx)tst-quad1): New dependency.
49641         ($(objpfx)tst-quad2): Likewise.
49642         ($(objpfx)tst-quad1pie): Likewise.
49643         ($(objpfx)tst-quad2pie): Likewise.
49644         * sysdeps/x86_64/tst-quad1.c: New file.
49645         * sysdeps/x86_64/tst-quad1pie.c: New file.
49646         * sysdeps/x86_64/tst-quad2.c: Likewise.
49647         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
49648         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
49649         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
49650         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
49651         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
49653 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49655         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
49656         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
49657         * streams/stropts.h (t_scalar_t): Define type.
49659         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
49660         (_PATH_PRESERVE): Set to "/var/lib".
49661         (_PATH_RWHODIR): Set to "/var/spool/rwho".
49663         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
49664         instead of int.
49666         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
49667         if __dir_mkfile succeeded.
49669         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
49670         checking for _hurd_dtablesize.  Unlock it right after having
49671         finished _hurd_dtable allocation.
49673 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49675         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
49676         * sysdeps/mach/hurd/configure: Regenerated.
49677         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
49678         special-casing to...
49679         * sysdeps/gnu/configure.in: ... this new file.
49680         * sysdeps/unix/sysv/linux/configure: Regenerated.
49681         * sysdeps/gnu/configure: New generated file.
49683         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
49684         for Linux: use nsec instead of usec, as well as:
49685         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
49686         members of type struct timespec.
49687         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
49688         New macros.
49689         (struct stat64): Likewise.
49690         (_STATBUF_ST_NSEC): New macro.
49691         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
49693         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49694         __strtoul_internal rather than strtoul.
49696 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49698         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
49699         and reject them.
49701 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49703         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
49704         which preserves existing values.
49705         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
49707 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49709         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
49710         TIMEOUT values.  Return EINVAL for NFDS values either negative or
49711         greater than FD_SETSIZE.
49713 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49715         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
49716         allocated, call __vm_protect to finish enabling the existing space, and
49717         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
49718         allocate the remainder.
49720 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49722         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
49723         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
49725 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49727         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
49728         sysdeps/mach/hurd/readlink.c.
49730         * posix/tst-sysconf.c (posix_options): Only use
49731         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
49732         _POSIX_SYNCHRONIZED_IO when they are defined
49733         * sysdeps/mach/hurd/bits/posix_opt.h:
49734         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
49735         (_XOPEN_REALTIME): Undefine macro.
49736         (_XOPEN_REALTIME_THREADS): Undefine macro.
49737         (_XOPEN_SHM): Undefine macro.
49738         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
49739         macro to -1.
49740         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
49741         macro to -1.
49742         (_POSIX_ASYNC_IO): Undefine macro.
49743         (_POSIX_PRIORITIZED_IO): Undefine macro.
49744         (_POSIX_SPIN_LOCKS): Define macro to -1.
49746         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
49747         SA_NODEFER, SA_RESETHAND.
49748         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
49749         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
49750         F_DUPFD_CLOEXEC.
49752 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49754         * elf/Makefile (pldd-modules): Define unconditionally.
49756 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49758         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
49760 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49762         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
49763         Return ENOENT when name is empty.
49764         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
49766 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49768         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
49770         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
49772 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49774         Fix mlock in all cases except non-readable pages.
49775         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
49776         instead of VM_PROT_ALL as parameter to __vm_wire function.
49778         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
49779         (__mkdir): When path is `/', just fail with EEXIST.
49780         * sysdeps/mach/hurd/mkdirat.c: Likewise.
49782 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49784         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
49785         <sys/uio.h> (for writev).
49786         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
49787         and <sys/param.h> (for MIN).
49789 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49791         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
49792         REQUESTED_TIME.  Properly set the remaining time and return EINTR
49793         if interrupted.
49795 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49797         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
49798         Depend on against $(link-rpcuserlibs).
49800 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49802         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
49803         (__libc_stack_end): Do not use attribute_relro.
49804         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
49805         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
49806         to libthread-provided value.
49807         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
49808         attribute_relro.
49810 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49812         [BZ #3748]
49813         * bits/libc-lock.h (__libc_once_get): New macro.
49814         * sysdeps/mach/bits/libc-lock.h: Likewise.
49815         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
49816         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
49817         instead of using implementation details.
49819         * libio/fileops.c: Unconditionally include <kernel-features.h>.
49820         * libio/freopen.c: Likewise.
49821         * libio/freopen64.c: Likewise.
49822         * misc/syslog.c: Likewise.
49823         * nscd/connections.c: Likewise.
49824         * nscd/netgroupcache.c: Likewise.
49825         * sysdeps/posix/getcwd.c: Likewise.
49827 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49829         * math/w_ilogbf.c: Add #include <limits.h>.
49831 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49833         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49834         path instead of returning without unlocking.
49836         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49837         immediate-write ioctls.
49838         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49840 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49842         * sysdeps/mach/hurd/i386/init-first.c (init): Use
49843         __builtin_frame_address instead of making assumptions about the
49844         location of the return address relative to DATA.  Force early load of
49845         the return address.
49846         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49847         __builtin_frame_address.
49849         dup3 for GNU Hurd.
49850         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49851         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
49852         implement dup3 and do some further code clean-ups.
49853         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49854         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49856 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49858         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49860         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49861         HURD_CRITICAL_END around holding _hurd_dtable_lock.
49862         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49863         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49864         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49865         d->port.lock.
49867         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49868         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
49869         when handler == SIG_ERR, not when handler != SIG_ERR.
49871 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49873         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49874         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49875         definitions.
49877         accept4 for GNU Hurd.
49878         * include/sys/socket.h (__libc_accept4): New prototype.
49879         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
49880         to implement __libc_accept4.
49881         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49882         __libc_accept4.
49883         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49885         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49886         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49887         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49888         signal-defines.sym.
49890 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49892         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49894 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
49896         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49897         assertion on O_CLOEXEC flag.
49898         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49899         * hurd/intern-fd.c: Likewise.
49900         * hurd/port2fd.c: Likewise.
49902 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49904         [BZ #3906]
49905         * bits/in.h (IPV6_PKTINFO): Define new macro.
49906         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49908 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49910         [BZ #13954]
49911         [BZ #13955]
49912         [BZ #13956]
49913         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49914         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49915         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49916         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49917         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49918         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49919         * math/libm-test.inc (logb_test) : Additional logb tests.
49921 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
49922             Andreas Jaeger  <aj@suse.de>
49924         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49925         * configure: Regenerated.
49926         * config.h.in (LINK_OBSOLETE_RPC): New macro.
49927         * config.make.in (link-obsolete-rpc): New substituted variable.
49928         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49929         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49930         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49931         (shared-only-routines): Don't set it under [link-obsolete-rpc],
49932         so that libc.a contains the symbols.
49933         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49934         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49935         * sunrpc/auth_none.c: Likewise.
49936         * sunrpc/auth_unix.c: Likewise.
49937         * sunrpc/authdes_prot.c: Likewise.
49938         * sunrpc/authuxprot.c: Likewise.
49939         * sunrpc/clnt_gen.c: Likewise.
49940         * sunrpc/clnt_perr.c: Likewise.
49941         * sunrpc/clnt_raw.c: Likewise.
49942         * sunrpc/clnt_simp.c: Likewise.
49943         * sunrpc/clnt_tcp.c: Likewise.
49944         * sunrpc/clnt_udp.c: Likewise.
49945         * sunrpc/clnt_unix.c: Likewise.
49946         * sunrpc/des_crypt.c: Likewise.
49947         * sunrpc/des_soft.c: Likewise.
49948         * sunrpc/get_myaddr.c: Likewise.
49949         * sunrpc/key_call.c: Likewise.
49950         * sunrpc/key_prot.c: Likewise.
49951         * sunrpc/netname.c: Likewise.
49952         * sunrpc/pm_getmaps.c: Likewise.
49953         * sunrpc/pm_getport.c: Likewise.
49954         * sunrpc/pmap_clnt.c: Likewise.
49955         * sunrpc/pmap_prot.c: Likewise.
49956         * sunrpc/pmap_prot2.c: Likewise.
49957         * sunrpc/pmap_rmt.c: Likewise.
49958         * sunrpc/publickey.c: Likewise.
49959         * sunrpc/rpc_cmsg.c: Likewise.
49960         * sunrpc/rpc_common.c: Likewise.
49961         * sunrpc/rpc_dtable.c: Likewise.
49962         * sunrpc/rpc_prot.c: Likewise.
49963         * sunrpc/rpc_thread.c: Likewise.
49964         * sunrpc/rtime.c: Likewise.
49965         * sunrpc/svc.c: Likewise.
49966         * sunrpc/svc_auth.c: Likewise.
49967         * sunrpc/svc_raw.c: Likewise.
49968         * sunrpc/svc_run.c: Likewise.
49969         * sunrpc/svc_tcp.c: Likewise.
49970         * sunrpc/svc_udp.c: Likewise.
49971         * sunrpc/svc_unix.c: Likewise.
49972         * sunrpc/svcauth_des.c: Likewise.
49973         * sunrpc/xcrypt.c: Likewise.
49974         * sunrpc/xdr.c: Likewise.
49975         * sunrpc/xdr_array.c: Likewise.
49976         * sunrpc/xdr_float.c: Likewise.
49977         * sunrpc/xdr_intXX_t.c: Likewise.
49978         * sunrpc/xdr_mem.c: Likewise.
49979         * sunrpc/xdr_rec.c: Likewise.
49980         * sunrpc/xdr_ref.c: Likewise.
49981         * sunrpc/xdr_sizeof.c: Likewise.
49982         * sunrpc/xdr_stdio.c: Likewise.
49984 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49986         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49987         change.  Update copyright years.
49989 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49991         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49993 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49994             Joseph Myers  <joseph@codesourcery.com>
49995             Paul Pluzhnikov  <ppluzhnikov@google.com>
49997         [BZ #14012]
49998         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49999         requiring rpcgen.
50000         [cross-compiling] (extra-libs): Likewise.
50001         [cross-compiling] (extra-libs-others): Likewise.
50002         [cross-compiling] (librpcsvc-routines): Likewise.
50003         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50004         [cross-compiling] (omit-deps): Likewise.
50005         (sunrpc-CPPFLAGS): New variable.
50006         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50007         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50008         (cross-rpcgen-objs): New variable.
50009         (extra-objs): Append $(cross-rpcgen-objs).
50010         ($(cross-rpcgen-objs)): New rule.
50011         ($(objpfx)cross-rpcgen): Likewise.
50012         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50013         comment.
50014         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50015         ($(objpfx)x%.stmp): Likewise.
50016         * sunrpc/proto.h [IS_IN_build] (_): Define.
50017         [IS_IN_build] (_libc_intl_domainname): Likewise.
50019 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50021         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50022         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50023         and R_X86_64_TPOFF64.
50025 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50027         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50028         sysdeps/unix/sysv/syscalls.list.
50029         (stime): Likewise.
50030         (utime): Likewise.
50031         * sysdeps/unix/sysv/syscalls.list: Remove file.
50033 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50035         [BZ #3440]
50036         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50037         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50038         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50039         (__LC_IDENTIFICATION): Make these macros useful in #if
50040         expressions, as required by C99.
50042 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50044         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50045         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50046         after this.
50048 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50050         * stdlib/longlong.h: Updated from GCC.
50052 2012-05-09  Andreas Jaeger  <aj@suse.de>
50054         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50055         default is first entry.
50056         (run_mode): Set type.
50057         (main): Remove informal message about syslog.
50058         (options): Fix typo.
50060         [BZ #14053]
50061         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50062         to asm.
50063         (lrint): Likewise.
50064         (llrintf): Likewise.
50065         (llrint): Likewise.
50066         (rint): Likewise.
50067         (rintf): Likewise.
50068         (nearbyint): Likewise.
50069         (nearbyintf): Likewise.
50071 2012-05-09  Andreas Jaeger  <aj@suse.de>
50072             Pedro Alves  <palves@redhat.com>
50074         * nscd/nscd.c (run_mode): Use enum.
50075         (main): Cleanup coding style issue.
50077 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50078             Andreas Jaeger  <aj@suse.de>
50080         * nscd/nscd.c (go_background): Replaced with...
50081         (run_mode): ... this.
50082         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50083         (options): Add -F --foreground.
50084         (main): Implement it.
50085         (parse_opt): Parse it.
50087 2012-05-09  Andreas Jaeger  <aj@suse.de>
50089         [BZ #14083]
50090         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50091         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50092         -Wconversion warning.
50093         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50094         Likewise.
50096 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50098         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50099         == 0.
50100         (LC_ALL): Use macro-int-constant.
50101         (LC_COLLATE): Likewise.
50102         (LC_CTYPE): Likewise.
50103         (LC_MESSAGES): Likewise.
50104         (LC_MONETARY): Likewise.
50105         (LC_NUMERIC): Likewise.
50106         (LC_TIME): Likewise.
50107         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50108         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50109         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50110         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50111         Specify type.
50112         [C99-based standards] (float_t): Expect type.
50113         [C99-based standards] (double_t): Expect type.
50114         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50115         type.
50116         [C99-based standards] (HUGE_VALL): Likewise.
50117         [C99-based standards] (INFINITY): Likewise.
50118         [C99-based standards] (NAN): Likewise.
50119         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50120         [C99-based standards] (FP_NAN): Likewise.
50121         [C99-based standards] (FP_NORMAL): Likewise.
50122         [C99-based standards] (FP_SUBNORMAL): Likewise.
50123         [C99-based standards] (FP_ZERO): Likewise.
50124         [C99-based standards] (FP_FAST_FMA): Use
50125         optional-macro-int-constant.  Specify type.  Require == 1.
50126         [C99-based standards] (FP_FAST_FMAF): Likewise.
50127         [C99-based standards] (FP_FAST_FMAL): Likewise.
50128         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50129         [C99-based standards] (FP_ILOGBNAN): Likewise.
50130         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50131         Specify type.
50132         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50133         [C99-based standards] (math_errhandling): Specify type.
50134         [ISO99 || ISO11] (signgam): Do not allow.
50135         [non-C99-based standards] (copysignf): Do not allow.
50136         [non-C99-based standards] (exp2f): Likewise.
50137         [non-C99-based standards] (log2f): Likewise.
50138         [non-C99-based standards] (modff): Allow.
50139         [non-C99-based standards] (erff): Do not allow.
50140         [non-C99-based standards] (erfcf): Likewise.
50141         [non-C99-based standards] (gammaf): Likewise.
50142         [non-C99-based standards] (hypotf): Likewise.
50143         [non-C99-based standards] (j0f): Likewise.
50144         [non-C99-based standards] (j1f): Likewise.
50145         [non-C99-based standards] (jnf): Likewise.
50146         [non-C99-based standards] (lgammaf): Likewise.
50147         [non-C99-based standards] (tgammaf): Likewise.
50148         [non-C99-based standards] (y0f): Likewise.
50149         [non-C99-based standards] (y1f): Likewise.
50150         [non-C99-based standards] (ynf): Likewise.
50151         [non-C99-based standards] (isnanf): Likewise.
50152         [non-C99-based standards] (acoshf): Likewise.
50153         [non-C99-based standards] (asinhf): Likewise.
50154         [non-C99-based standards] (atanhf): Likewise.
50155         [non-C99-based standards] (cbrtf): Likewise.
50156         [non-C99-based standards] (expm1f): Likewise.
50157         [non-C99-based standards] (ilogbf): Likewise.
50158         [non-C99-based standards] (log1pf): Likewise.
50159         [non-C99-based standards] (logbf): Likewise.
50160         [non-C99-based standards] (nextafterf): Likewise.
50161         [non-C99-based standards] (remainderf): Likewise.
50162         [non-C99-based standards] (rintf): Likewise.
50163         [non-C99-based standards] (scalbf): Likewise.
50164         [non-C99-based standards] (copysignl): Likewise.
50165         [non-C99-based standards] (exp2l): Likewise.
50166         [non-C99-based standards] (log2l): Likewise.
50167         [non-C99-based standards] (modfl): Allow.
50168         [non-C99-based standards] (erfl): Do not allow.
50169         [non-C99-based standards] (erfcl): Likewise.
50170         [non-C99-based standards] (gammal): Likewise.
50171         [non-C99-based standards] (hypotl): Likewise.
50172         [non-C99-based standards] (j0l): Likewise.
50173         [non-C99-based standards] (j1l): Likewise.
50174         [non-C99-based standards] (jnl): Likewise.
50175         [non-C99-based standards] (lgammal): Likewise.
50176         [non-C99-based standards] (tgammal): Likewise.
50177         [non-C99-based standards] (y0l): Likewise.
50178         [non-C99-based standards] (y1l): Likewise.
50179         [non-C99-based standards] (ynl): Likewise.
50180         [non-C99-based standards] (isnanl): Likewise.
50181         [non-C99-based standards] (acoshl): Likewise.
50182         [non-C99-based standards] (asinhl): Likewise.
50183         [non-C99-based standards] (atanhl): Likewise.
50184         [non-C99-based standards] (cbrtl): Likewise.
50185         [non-C99-based standards] (expm1l): Likewise.
50186         [non-C99-based standards] (ilogbl): Likewise.
50187         [non-C99-based standards] (log1pl): Likewise.
50188         [non-C99-based standards] (logbl): Likewise.
50189         [non-C99-based standards] (nextafterl): Likewise.
50190         [non-C99-based standards] (remainderl): Likewise.
50191         [non-C99-based standards] (rintl): Likewise.
50192         [non-C99-based standards] (scalbl): Likewise.
50193         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50194         [non-C99-based standards] (FP_*): Do not allow.
50195         [C99-based standards] (FP_*): Change to
50196         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50197         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50198         allow.
50199         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50200         (SIG_ERR): Likewise.
50201         [X/Open-based standards] (SIG_HOLD): Likewise.
50202         (SIG_IGN): Likewise.
50203         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50204         positive value.
50205         (SIGFPE): Likewise.
50206         (SIGILL): Likewise.
50207         (SIGINT): Likewise.
50208         (SIGSEGV): Likewise.
50209         (SIGTER): Likewise.
50210         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50211         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50212         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50213         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50214         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50215         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50216         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50217         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50218         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50219         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50220         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50221         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50222         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50223         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50224         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50225         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50226         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50227         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50228         [X/Open-based standards] (SIGTRAP): Likewise.
50229         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50230         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50231         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50232         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50233         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50234         allow.
50236 2012-05-08  Ian Wienand  <ianw@vmware.com>
50238         [BZ #14080]
50239         * time/tzset.c (__tzset_parse_tz): Update default rules for
50240         daylight time changes in the Energy Policy Act of 2005.
50242 2012-05-09  Andreas Jaeger  <aj@suse.de>
50244         [BZ #13983]
50245         * elf/ldconfig.c (parse_conf): Change string to make clear that
50246         ldconfig only issued a warning if ld.so.conf does not exist.
50248 2012-05-08  David S. Miller  <davem@davemloft.net>
50250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50251         movxtod instead of popping the value on the stack.
50253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50255 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50257         * config.h.in: Add HAVE_ARM_PCS_VFP.
50259 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50261         [BZ #13979]
50262         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50263         checking but the checks are disabled for any reason.
50265 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50267         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50268         and ELF64_R_TYPE with ELFW(R_TYPE).
50270 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50272         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50273         (ulimit): Likewise.
50275         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50276         (settimeofday): Likewise.
50278 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50280         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50281         a struct th_u2 inside the union, and move tu_block/tu_code into
50282         a new th_u3 union of tu_block/tu_code inside of that.  Move
50283         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50284         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50285         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50286         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50287         (th_stuff): Change to th_u1.tu_stuff.
50288         (th_data): Define.
50289         (th_msg): Change to th_u1.th_u2.tu_data.
50291 2012-05-07  David S. Miller  <davem@davemloft.net>
50293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50295         [BZ #14074]
50296         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50297         (SETUP_PIC_REG): Use it.
50298         (SETUP_PIC_REG_LEAF): Use it.
50300 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50302         [BZ #13885]
50303         [BZ #13923]
50304         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50305         USE_AS_EXPM1L.
50306         (EXPL_FINITE): Likewise.
50307         (FLDLOG): Likewise.
50308         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50309         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50310         e_expl.S.
50311         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50312         USE_AS_EXPM1L.
50313         (EXPL_FINITE): Likewise.
50314         (FLDLOG): Likewise.
50315         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50316         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50317         e_expl.S.
50318         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50319         test of -max_value argument for long double.
50320         * sysdeps/i386/fpu/libm-test-ulps: Update.
50321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50323 2012-05-06  David S. Miller  <davem@davemloft.net>
50325         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50326         quad soft-float symbols whose references which are compiler
50327         generated.
50328         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50330 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50332         [BZ #13884]
50333         [BZ #13914]
50334         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50335         USE_AS_EXP10L.
50336         (EXPL_FINITE): Likewise.
50337         (FLDLOG): Likewise.
50338         (c0): Likewise.
50339         (c1): Likewise.
50340         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50341         Adjust comments for base varying.
50342         (__expl_finite): Change alias to EXPL_FINITE.
50343         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50344         e_expl.S.
50345         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50346         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50347         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50348         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50349         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50350         USE_AS_EXP10L.
50351         (EXPL_FINITE): Likewise.
50352         (FLDLOG): Likewise.
50353         (c0): Likewise.
50354         (c1): Likewise.
50355         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50356         Adjust comments for base varying.
50357         (__expl_finite): Change alias to EXPL_FINITE.
50358         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50359         tests for bugs.
50360         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50362         [BZ #14064]
50363         * math/libm-test.inc (check_float_internal): Correct ulp
50364         calculation for subnormal expected results.
50366 2012-05-06  Andreas Jaeger  <aj@suse.de>
50368         * Makeconfig (+math-flags): New, set to -frounding-math.
50369         (+cflags): Add +math-flags so that all of glibc gets compiled with
50370         it.
50372         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50374 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50376         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50377         Disable one test.
50379         [BZ #13787]
50380         [BZ #13922]
50381         [BZ #14036]
50382         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50383         (__ieee754_expl): Allow for and saturate large arguments.
50384         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50385         (u_threshold): Likewise.
50386         (__exp): Call __ieee754_exp before checking for overflow and
50387         underflow.
50388         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50389         (u_threshold): Likewise.
50390         (__expf): Call __ieee754_expf before checking for overflow and
50391         underflow.
50392         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50393         (u_threshold): Likewise.
50394         (__expl): Call __ieee754_expl before checking for overflow and
50395         underflow.
50396         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50397         (__ieee754_expl): Allow for and saturate large arguments.
50398         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50399         missing overflow exception on overflow.
50400         (expm1_test): Do not allow missing overflow exception on overflow.
50402         * sysdeps/i386/fpu/e_expl.c: Move to ...
50403         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50404         rather than using inline asm.
50405         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50406         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50407         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50409         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50410         (nice): Likewise.
50411         (poll): Likewise.
50412         (signal): Likewise.
50413         (time): Likewise.
50414         (times): Likewise.
50416 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50418         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50419         sysdeps/unix/common/syscalls.list.
50420         (fchmod): Likewise.
50421         (fchown): Likewise.
50422         (ftruncate): Likewise.
50423         (getrusage): Likewise.
50424         (gettimeofday): Likewise.
50425         (setpgid): Likewise.
50426         (setregid): Likewise.
50427         (setreuid): Likewise.
50428         (sigaction): Likewise.
50429         (truncate): Likewise.
50430         (vhangup): Likewise.
50431         * sysdeps/unix/common/syscalls.list: Remove file.
50432         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50433         * sysdeps/unix/sysv/linux/Implies: Likewise.
50435 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50437         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50439         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50440         Moved to ...
50441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50442         Here.
50443         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50444         to ...
50445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50446         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50447         to ...
50448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50449         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50450         to ...
50451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50452         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50453         to ...
50454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50455         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50456         to ...
50457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50458         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50459         to ...
50460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50461         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50462         to ...
50463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50464         Here.
50465         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50466         to ...
50467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50468         Here.
50469         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50470         to ...
50471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50472         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50473         Moved to ...
50474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50475         Here.
50476         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50477         to ...
50478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50480 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50482         * sysdeps/unix/common/bits/dirent.h: Remove file.
50483         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50485         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50486         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50487         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50488         * sysdeps/unix/bsd/isatty.c: Likewise.
50489         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50490         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50491         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
50493 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50495         [BZ #13563]
50496         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
50497         long double comparison inaccuracies.
50498         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
50499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50501 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
50503         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
50504         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
50506 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50508         [BZ #14049]
50509         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
50510         nonzero digits before rounding a hex value.
50511         * stdlib/tst-strtod.c (tests): Add another test.
50513 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50515         * sysdeps/s390/fpu/libm-test-ulps: Update.
50517 2012-05-03  Andreas Jaeger  <aj@suse.de>
50519         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
50520         does not get optimized out.
50521         (malloc_opt_barrier): New.
50523 2012-05-03  Andreas Jaeger  <aj@suse.de>
50524             Roland McGrath  <roland@hack.frob.com>
50526         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
50527         intermediate file deletion.
50528         (generated): Add .symlist files.
50530 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
50532         [BZ #13775]
50533         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
50534         Redirect under this condition.
50535         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50536         [__USE_GNU] (__dprintf_chk): Not under this condition.
50537         [__USE_GNU] (__vdprintf_chk): Likewise.
50538         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
50539         under this condition.
50540         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
50541         [__USE_XOPEN2K8] (dprintf): Define under this condition.
50542         [__USE_XOPEN2K8] (vdprintf): Likewise.
50543         [__USE_GNU] (__dprintf_chk): Not under this condition.
50544         [__USE_GNU] (__vdprintf_chk): Likewise.
50545         [__USE_GNU] (dprintf): Likewise.
50546         [__USE_GNU] (vdprintf): Likewise.
50548 2012-05-03  Roland McGrath  <roland@hack.frob.com>
50550         * elf/Makefile (common-generated): Set this instead of generated for
50551         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
50552         $(all-built-dso)-derived lists.
50554 2012-05-03  Andreas Jaeger  <aj@suse.de>
50556         * sysdeps/i386/fpu/libm-test-ulps: Update.
50558         * FAQ: Removed.
50559         * FAQ.in: Likewise.
50560         * scripts/gen-FAQ.pl: Likewise.
50561         * manual/install.texi (Installation): Point to online location of
50562         FAQ.
50563         * Makefile (files-for-dist): Remove FAQ.
50564         (FAQ): Remove.
50566 2012-05-02  Allan McRae  <allan@archlinux.org>
50568         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
50569         (LDFLAGS-reldepmod5.so): Likewise.
50570         (LDFLAGS-reldep6mod1.so): Likewise.
50571         (LDFLAGS-reldep6mod4.so): Likewise.
50572         (LDFLAGS-reldep8mod3.so): Likewise.
50573         (LDFLAGS-unload4mod1.so): Likewise.
50574         (LDFLAGS-unload4mod2.so): Likewise.
50575         (LDFLAGS-tst-initorder): Likewise.
50576         (LDFLAGS-tst-initordera2.so): Likewise.
50577         (LDFLAGS-tst-initordera3.so): Likewise.
50578         (LDFLAGS-tst-initordera4.so): Likewise.
50579         (LDFLAGS-tst-initorderb2.so): Likewise.
50580         (LDFLAGS-noload): Likewise.
50581         (LDFLAGS-next): Likewise.
50582         (LDFLAGS-order2mod1.so): Likewise.
50583         (LDFLAGS-order2mod2.so): Likewise.
50584         (LDFLAGS-tst-initorder2): Likewise.
50585         (LDFLAGS-tst-initorder2a.so): Likewise.
50586         (LDFLAGS-tst-initorder2b.so): Likewise.
50587         (LDFLAGS-tst-initorder2c.so): Likewise.
50588         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
50590 2012-05-02  David S. Miller  <davem@davemloft.net>
50592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50594 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
50596         [BZ #14055]
50597         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
50599 2012-05-02  Andreas Jaeger  <aj@suse.de>
50601         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
50602         since we manipulate rounding mode.
50603         (CPPFLAGS-test-idouble.c): Likewise.
50604         (CPPFLAGS-test-ifloat.c): Likewise.
50605         (CFLAGS-test-ldouble.c): Likewise.
50606         (CFLAGS-test-double.c): Likewise.
50607         (CFLAGS-test-float.c): Likewise.
50608         (CFLAGS-test-misc.c): Likewise.
50609         (CFLAGS-test-test-fenv.c): Likewise.
50611 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50613         [BZ #2550]
50614         [BZ #2570]
50615         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
50616         comparisons to determine direction to adjust input.
50618 2012-05-01  Roland McGrath  <roland@hack.frob.com>
50620         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
50621         output to the target.
50623         * scripts/localplt.awk: New file.
50624         * elf/Makefile ($(objpfx)check-localplt): Target removed.
50625         (check-localplt-CFLAGS): Variable removed.
50626         ($(all-built-dso:=.jmprel)): New static pattern rule.
50627         (generated): Add those targets.
50628         (localplt-built-dso): New variable.
50629         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
50631         * elf/check-localplt.c: File removed.
50633         * scripts/check-execstack.awk: New file.
50634         * elf/Makefile ($(objpfx)check-execstack): Target removed.
50635         (check-execstack-CFLAGS): Variable removed.
50636         ($(objpfx)check-execstack.h): Target removed.
50637         ($(objpfx)execstack-default): New target.
50638         (generated): Add that instead of check-execstack.h.
50639         ($(all-built-dso:=.phdr)): New static pattern rule.
50640         (generated): Add those targets.
50641         * elf/check-execstack.c: File removed.
50643         * scripts/check-textrel.awk: New file.
50644         * elf/Makefile ($(objpfx)check-textrel): Target removed.
50645         (check-textrel-CFLAGS): Variable removed.
50646         (all-built-dso): Use := to define.o
50647         ($(all-built-dso:=.dyn)): New static pattern rule.
50648         (generated): Add those targets.
50649         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
50650         * config.make.in (READELF): New substituted variable.
50651         * elf/check-textrel.c: File removed.
50653 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50655         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50656         allow.
50657         * conform/data/ctype.h-data [C99-based standards] (isblank):
50658         Expect function.
50659         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
50660         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
50661         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50662         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
50663         Specify type.  Require positive value.
50664         (EILSEQ): Likewise.
50665         (ERANGE): Likewise.
50666         [ISO || POSIX] (EILSEQ): Do not expect.
50667         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
50668         Specify type.  Require positive value.
50669         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
50670         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
50671         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
50672         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
50673         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
50674         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
50675         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
50676         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
50677         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
50678         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
50679         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
50680         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
50681         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
50682         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
50683         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
50684         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
50685         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
50686         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
50687         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
50688         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
50689         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
50690         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
50691         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
50692         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
50693         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
50694         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
50695         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
50696         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
50697         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
50698         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
50699         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
50700         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
50701         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
50702         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
50703         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
50704         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
50705         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
50706         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
50707         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
50708         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
50709         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
50710         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
50711         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
50712         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
50713         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
50714         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
50715         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
50716         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
50717         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
50718         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
50719         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
50720         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
50721         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
50722         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
50723         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
50724         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
50725         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
50726         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
50727         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
50728         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
50729         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
50730         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
50731         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
50732         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
50733         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
50734         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
50735         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
50736         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
50737         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
50738         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
50739         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
50740         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
50741         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
50742         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
50743         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
50744         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
50745         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
50746         Require >= 2.
50747         (FLT_ROUNDS): Expect as macro, not constant.
50748         (FLT_MANT_DIG): Use macro-int-constant.
50749         (DBL_MANT_DIG): Likewise.
50750         (LDBL_MANT_DIG): Likewise.
50751         (FLT_DIG): Likewise.
50752         (DBL_DIG): Likewise.
50753         (LDBL_DIG): Likewise.
50754         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
50755         (DBL_MIN_EXP): Likewise.
50756         (LDBL_MIN_EXP): Likewise.
50757         (FLT_MAX_EXP): Use macro-int-constant.
50758         (DBL_MAX_EXP): Likewise.
50759         (LDBL_MAX_EXP): Likewise.
50760         (FLT_MAX_10_EXP): Likewise.
50761         (DBL_MAX_10_EXP): Likewise.
50762         (LDBL_MAX_10_EXP): Likewise.
50763         (FLT_MAX): Use macro-constant.
50764         (DBL_MAX): Likewise.
50765         (LDBL_MAX): Likewise.
50766         (FLT_EPSILON): Use macro-constant.  Give upper bound.
50767         (DBL_EPSILON): Likewise.
50768         (LDBL_EPSILON): Likewise.
50769         (FLT_MIN): Likewise.
50770         (DBL_MIN): Likewise.
50771         (LDBL_MIN): Likewise.
50772         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
50773         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
50774         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
50775         [ISO11] (FLT_HAS_SUBNORM): Likewise.
50776         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
50777         [ISO11] (DBL_DECIMAL_DIG): Likewise.
50778         [ISO11] (FLT_DECIMAL_DIG): Likewise.
50779         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
50780         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
50781         [ISO11] (FLT_TRUE_MIN): Likewise.
50782         [ISO11] (LDBL_TRUE_MIN): Likewise.
50783         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50784         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
50785         (SCHAR_MIN): Use macro-int-constant.  Specify type.
50786         (SCHAR_MAX): Likewise.
50787         (UCHAR_MAX): Likewise.
50788         (CHAR_MIN): Likewise.
50789         (CHAR_MAX): Likewise.
50790         (MB_LEN_MAX): Use macro-int-constant.
50791         (SHRT_MIN): Use macro-int-constant.  Specify type.
50792         (SHRT_MAX): Likewise.
50793         (USHRT_MAX): Likewise.
50794         (INT_MAX): Likewise.
50795         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
50796         bound negative.
50797         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50798         bound with "U".
50799         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50800         bound with "L".
50801         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
50802         bound negative.  Suffix upper bound with "L".
50803         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
50804         bound with "UL".
50805         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
50806         Specify type.
50807         [C99-based standards] (LLONG_MAX): Likewise.
50808         [C99-based standards] (ULLONG_MAX): Likewise.
50809         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
50810         == 0.
50811         [ISO11] (max_align_t): Require type.
50812         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50814         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
50815         from $CFLAGS, without defining away __attribute__ calls.
50816         (checknamespace): Use $CFLAGS_namespace.
50818         * conform/conformtest.pl (@keywords): Only include C99 keywords
50819         for standards based on C99 or C11.
50821         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50822         Disable tests.
50823         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50824         UNIX98]: Likewise.
50826         * conform/conformtest.pl: Handle "macro-int-constant" and test for
50827         usability of symbols in #if.
50829         * conform/conformtest.pl: If macro or constant types start
50830         "promoted:", expect the symbol to be of the following type
50831         promoted by the integer promotions.
50833         * conform/conformtest.pl: Parse all "constant" and "macro" lines
50834         in one place.  Also handle "macro-constant".
50836         * conform/conformtest.pl: Only accept expected macro values with
50837         "==".  Parse all "macro" lines in one place.
50838         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50840         * conform/conformtest.pl: Handle braced types on "constant" lines
50841         instead of handling "typed-constant".
50842         * conform/data/signal.h-data: Use "constant" instead of
50843         "typed-constant".
50845         * conform/conformtest.pl: Handle "optional-" at start of lines in
50846         one place rather than duplicating several cases.  Handle each
50847         format of "macro" line with initial "optional-".
50849         * conform/conformtest.pl: Only accept expected constant or
50850         optional-constant values with "==".  Parse all "constant" lines in
50851         one place.  Parse all "optional-constant" lines in one place.
50852         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50853         * conform/data/fmtmsg.h-data: Likewise.
50854         * conform/data/netinet/in.h-data: Likewise.
50855         * conform/data/tar.h-data: Likewise.
50856         * conform/data/limits.h-data: Use "==" form on "constant" and
50857         "optional-constant" lines.
50859         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50860         Use -std=c99 for XOPEN2K.
50861         (@knownproblems): Remove.
50862         (newtoken): Don't check %isknown.
50864         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50865         Do not expect macro.
50866         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50867         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50868         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50869         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50870         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50871         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50872         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50873         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50874         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50875         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50876         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50877         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50878         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50879         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50880         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50881         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50882         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50883         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50884         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50885         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50886         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50887         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50888         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50889         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50890         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50891         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50892         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50893         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50894         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50895         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50896         [XPG3] (acosh): Likewise.
50897         [XPG3] (asinh): Likewise.
50898         [XPG3] (atanh): Likewise.
50899         [XPG3] (cbrt): Likewise.
50900         [XPG3] (expm1): Likewise.
50901         [XPG3] (ilogb): Likewise.
50902         [XPG3] (log1p): Likewise.
50903         [XPG3] (logb): Likewise.
50904         [XPG3] (nextafter): Likewise.
50905         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50906         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50907         [XPG3] (remainder): Likewise.
50908         [XPG3] (rint): Likewise.
50909         [XPG3 || XPG4 || UNIX98] (round): Likewise.
50910         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50911         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50912         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50913         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50914         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50915         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50916         [UNIX98 || XOPEN2K] (scalb): Expect.
50917         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50918         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50919         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50920         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50921         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50922         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50923         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50924         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50925         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50926         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50927         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50928         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50929         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50930         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50931         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50932         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50933         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50934         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50935         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50936         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50937         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50938         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50939         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50940         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50941         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50942         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50943         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50944         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50945         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50946         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50947         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50948         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50949         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50950         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50951         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50952         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50953         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50954         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50955         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50956         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50957         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50958         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50959         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50960         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50961         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50962         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50963         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50964         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50965         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50966         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50967         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50968         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50969         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50970         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50971         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50972         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50973         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50974         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50975         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50976         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50977         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50978         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50979         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50980         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50981         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50982         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50983         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50984         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50985         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50986         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50987         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50988         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50989         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50990         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50991         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50992         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50993         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50994         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50995         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50996         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50997         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50998         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50999         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51000         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51001         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51002         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51003         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51004         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51005         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51006         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51007         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51008         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51009         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51010         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51011         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51012         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51013         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51014         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51015         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51016         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51017         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51018         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51019         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51020         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51021         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51022         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51023         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51024         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51025         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51026         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51027         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51028         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51029         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51030         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51031         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51032         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51033         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51034         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51035         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51036         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51037         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51038         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51039         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51040         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51041         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51042         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51043         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51044         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51045         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51046         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51047         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51048         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51049         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51050         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51051         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51052         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51053         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51055         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51056         _XOPEN_SOURCE_EXTENDED for XPG4.
51058         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51060         * Makeconfig (localtime): Remove variable.
51061         (inst_localtime-file): Likewise.
51063 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51066         Update.
51067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51068         Update.
51069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51070         Update.
51071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51072         Update.
51073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51074         Update.
51075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51076         Update.
51077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51078         Update.
51079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51080         Update.
51081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51082         Update.
51084 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51086         [BZ #2550]
51087         [BZ #2570]
51088         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51089         comparisons to determine direction to adjust input.
51090         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51091         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51092         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51093         Likewise.
51094         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51095         Likewise.
51096         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51097         Likewise.
51098         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51099         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51100         Likewise.
51101         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51102         Likewise.
51103         * math/libm-test.inc (nexttoward_test): Add more tests.
51105 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51107         [BZ #14040]
51108         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51109         in version GLIBC_2.1, not GLIBC_2.0.
51110         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51111         Likewise.
51113 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51115         [BZ #13942]
51116         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51117         (1 - x) * (1 + x).
51118         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51119         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51120         * math/libm-test.inc (acos_test): Add more tests.
51121         (asin_test): Likewise.
51122         * sysdeps/i386/fpu/libm-test-ulps: Update.
51123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51125         [BZ #14034]
51126         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51127         of square root.
51128         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51129         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51130         * math/libm-test.inc (acos_test_tonearest): New function.
51131         (acos_test_towardzero): Likewise.
51132         (acos_test_downward): Likewise.
51133         (acos_test_upward): Likewise.
51134         (asin_test_tonearest): Likewise.
51135         (asin_test_towardzero): Likewise.
51136         (asin_test_downward): Likewise.
51137         (asin_test_upward): Likewise.
51138         (main): Call the new functions.
51139         * sysdeps/i386/fpu/libm-test-ulps: Update.
51140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51142         [BZ #13884]
51143         [BZ #13924]
51144         * math/e_exp10.c: Include <float.h>.
51145         (__ieee754_exp10): Handle underflow here rather than multiplying
51146         large negative argument by M_LN10.
51147         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51148         of __ieee754_expf.
51149         * math/e_exp10l.c: Include <float.h>.
51150         (__ieee754_exp10l): Handle underflow here rather than multiplying
51151         large negative argument by M_LN10l.
51152         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51153         spurious overflow exception on underflow.
51155 2012-04-29  Marek Polacek  <polacek@redhat.com>
51157         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51158         (__fortify_function): New macro.
51159         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51160         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51161         __extern_always_inline.
51162         * libio/bits/stdio2.h: Likewise.
51163         * libio/bits/stdio.h: Likewise.
51164         * string/string.h: Likewise.
51165         * string/bits/string3.h: Likewise.
51166         * include/stdio.h: Likewise.
51167         * stdlib/bits/stdlib.h: Likewise.
51168         * stdlib/stdlib.h: Likewise.
51169         * rt/bits/mqueue2.h: Likewise.
51170         * rt/mqueue.h: Likewise.
51171         * posix/bits/unistd.h: Likewise.
51172         * posix/unistd.h: Likewise.
51173         * io/bits/poll2.h: Likewise.
51174         * io/bits/fcntl2.h: Likewise.
51175         * io/fcntl.h: Likewise.
51176         * io/sys/poll.h: Likewise.
51177         * misc/bits/syslog.h: Likewise.
51178         * misc/bits/syslog-ldbl.h: Likewise.
51179         * misc/sys/syslog.h: Likewise.
51180         * socket/bits/socket2.h: Likewise.
51181         * socket/sys/socket.h: Likewise.
51182         * debug/tst-chk1.c: Likewise.
51183         * wcsmbs/bits/wchar2.h: Likewise.
51184         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51185         * wcsmbs/wchar.h: Likewise.
51187 2012-04-29  Andreas Jaeger  <aj@suse.de>
51189         * Makerules (tests): Remove enable-check-abi protection.
51190         (check-abi-warn): Remove.
51191         (check-abi-%): Remove check-abi-warn usage.
51193         * configure.in: Remove check-abi configure option.
51194         * configure: Regenerated.
51195         * config.make.in (enable-check-abi): Remove.
51197 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51199         [BZ #14033]
51200         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51201         double functions to double *_finite functions.
51203         [BZ #13941]
51204         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51205         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51206         LDBL_MIN_EXP.
51207         * stdio-common/Makefile (tests): Add tst-sprintf3.
51208         * stdio-common/tst-sprintf3.c: New file.
51210         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51211         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51213 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51215         * conform/conformtest.pl: Remove duplicate typed-constant
51216         handling.
51218 2012-04-28  David S. Miller  <davem@davemloft.net>
51220         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51221         (check-abi-%): Remove AWK script prerequisite and explicit
51222         abilist directory.
51223         (check-abi): Rewrite to just diff the symlist with the abilist.
51224         (config-tls, config-abi-config): Delete, no longer used.
51225         (update-abi-%): Remove AWK script and explicit abilist directory.
51226         (update-abi): Rewrite to simply compare and conditionally copy the
51227         symlist and the sysdep abilist file.  Remove update-abi-config
51228         checks.
51229         * abilist/ld.abilist: Remove.
51230         * abilist/libBrokenLocale.abilist: Remove.
51231         * abilist/libanl.abilist: Remove.
51232         * abilist/libcrypt.abilist: Remove.
51233         * abilist/libdl.abilist: Remove.
51234         * abilist/librt.abilist: Remove.
51235         * abilist/libthread_db.abilist: Remove.
51236         * abilist/libutil.abilist: Remove.
51237         * scripts/extract-abilist.awk: Remove.
51238         * scripts/merge-abilist.awk: Remove.
51239         * sysdeps/generic/libcidn.abilist: New file.
51240         * sysdeps/generic/libnss_compat.abilist: New file.
51241         * sysdeps/generic/libnss_db.abilist: New file.
51242         * sysdeps/generic/libnss_dns.abilist: New file.
51243         * sysdeps/generic/libnss_files.abilist: New file.
51244         * sysdeps/generic/libnss_hesiod.abilist: New file.
51245         * sysdeps/generic/libnss_nis.abilist: New file.
51246         * sysdeps/generic/libnss_nisplus.abilist: New file.
51247         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51248         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51249         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51250         file.
51251         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51252         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51253         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51254         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51255         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51256         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51257         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51258         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51259         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51260         file.
51261         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51262         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51263         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51264         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51265         file.
51266         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51267         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51268         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51269         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51270         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51271         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51272         file.
51273         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51274         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51275         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51276         file.
51277         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51278         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51279         New file.
51280         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51281         New file.
51282         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51283         New file.
51284         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51285         New file.
51286         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51287         New file.
51288         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51289         New file.
51290         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51291         New file.
51292         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51293         New file.
51294         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51295         New file.
51296         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51297         New file.
51298         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51299         New file.
51300         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51301         New file.
51302         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51303         New file.
51304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51305         file.
51306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51307         New file.
51308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51309         New file.
51310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51311         file.
51312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51313         New file.
51314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51315         New file.
51316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51317         file.
51318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51319         New file.
51320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51321         New file.
51322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51323         New file.
51324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51325         New file.
51326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51327         New file.
51328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51329         New file.
51330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51332         file.
51333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51334         New file.
51335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51336         file.
51337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51338         file.
51339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51340         file.
51341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51342         file.
51343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51344         file.
51345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51346         New file.
51347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51348         file.
51349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51350         file.
51351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51352         New file.
51353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51354         file.
51355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51357         file.
51358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51359         New file.
51360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51361         file.
51362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51363         file.
51364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51365         file.
51366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51367         file.
51368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51369         file.
51370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51371         New file.
51372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51373         file.
51374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51375         file.
51376         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51377         New file.
51378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51379         file.
51380         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51381         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51382         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51383         file.
51384         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51385         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51386         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51387         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51388         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51389         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51390         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51391         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51392         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51393         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51396         file.
51397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51398         New file.
51399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51400         file.
51401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51402         file.
51403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51404         file.
51405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51406         file.
51407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51408         file.
51409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51410         New file.
51411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51412         New file.
51413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51414         file.
51415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51416         New file.
51417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51418         file.
51419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51421         file.
51422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51423         New file.
51424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51425         file.
51426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51427         file.
51428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51429         file.
51430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51431         file.
51432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51433         file.
51434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51435         New file.
51436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51437         New file.
51438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51439         file.
51440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51441         New file.
51442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51443         file.
51445 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51447         * conform/conformtest.pl: Fix typo in handling typed-constant from
51448         allow-header.
51450 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51452         * README: Cut down references to pre-2.6 Linux kernels and
51453         Linuxthreads.  Update lists of configurations in libc and ports
51454         and sort alphabetically.  Say "or newer" with Linux kernel version
51455         requirements.
51457         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51459 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51461         [BZ #887]
51462         * math/libm-test.inc (logb_test_downward): New test to expose
51463         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51464         rounding mode.
51466 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51468         [BZ #14027]
51469         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51470         to be done.
51471         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51472         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51474 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51476         * sysdeps/unix/i386/brk.S: Remove file.
51477         * sysdeps/unix/i386/dl-brk.S: Likewise.
51478         * sysdeps/unix/i386/pipe.S: Likewise.
51479         * sysdeps/unix/i386/sigreturn.S: Likewise.
51480         * sysdeps/unix/i386/syscall.S: Likewise.
51481         * sysdeps/unix/i386/vfork.S: Likewise.
51482         * sysdeps/unix/i386/wait.S: Likewise.
51484         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51485         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51487         * configure.in (arm*-none*): Do not allow without
51488         --enable-hacker-mode.
51489         (netbsd*): Remove case setting base_os.
51490         (386bsd*): Likewise.
51491         (freebsd*): Likewise.
51492         (bsdi*): Likewise.
51493         (osf*): Likewise.
51494         (sunos*): Likewise.
51495         (ultrix*): Likewise.
51496         (newsos*): Likewise.
51497         (dynix*): Likewise.
51498         (*bsd*): Likewise.
51499         (sysv*): Likewise.
51500         (isc*): Likewise.
51501         (esix*): Likewise.
51502         (sco*): Likewise.
51503         (minix*): Likewise.
51504         (irix4*): Likewise.
51505         (irix6*): Likewise.
51506         (solaris[2-9]*): Likewise.
51507         (none): Likewise.
51508         * configure: Regenerated.
51510 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51512         [BZ #11521]
51513         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
51514         overflow or cancellation in calculating denominator.
51515         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
51516         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
51517         down expression to avoid unexpected rounding in newer GCCs.
51518         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
51520 2012-04-26  David S. Miller  <davem@davemloft.net>
51522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
51523         long-double compat symbols.
51524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
51528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
51530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
51531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
51532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
51533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
51534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
51536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51538 2012-04-25  David S. Miller  <davem@davemloft.net>
51540         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
51541         HWCAP_* values only after the memory barriers have been defined.
51542         (atomic_full_barrier): Define.
51543         (atomic_read_barrier): Define.
51544         (atomic_write_barrier): Define.
51546 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51548         * shlib-versions: Add libgcc_s version information.
51549         * sysdeps/generic/libgcc_s.h: Remove.
51550         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
51551         libgcc_s.h.
51552         * sysdeps/gnu/unwind-resume.c: Likewise.
51553         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
51555 2012-04-25  David S. Miller  <davem@davemloft.net>
51557         * sysdeps/unix/sparc/brk.S: Delete.
51558         * sysdeps/unix/sparc/dl-brk.S: Delete.
51559         * sysdeps/unix/sparc/pipe.S: Delete.
51560         * sysdeps/unix/sparc/sysdep.S: Delete.
51561         * sysdeps/unix/sparc/sysdep.h: Delete.
51562         * sysdeps/unix/sparc/vfork.S: Delete.
51563         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
51564         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
51565         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
51566         (ret_ERRVAL, r0, r1, MOVE): Define.
51567         (JUMPTARGET): Remove.
51568         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
51569         sysdeps/unix/sparc/sysdep.h
51570         (ENTRY, END): Remove.
51571         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51573 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
51575         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
51576         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
51577         -DIS_IN_build.
51579         * timezone/README: Update upstream location and email address for
51580         tzcode and tzdata.
51581         * timezone/zdump.c: Update from tzcode 2012b.
51582         * timezone/zic.c: Likewise.
51584         * configure.in (libc_cv_as_needed): Remove test.
51585         * configure: Regenerated.
51586         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
51587         conditional definition.
51588         [$(have-as-needed) != yes] (no-as-needed): Likewise.
51589         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
51590         * config.make.in (have-as-needed): Remove variable.
51592 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51593             Paul Pluzhnikov  <ppluzhnikov@google.com>
51595         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
51596         strings correctly.
51598 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
51600         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
51601         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
51602         * sysdeps/sh/strlen.S: Likewise.
51604 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51606         * sysdeps/unix/fork.S: Remove file.
51607         * sysdeps/unix/i386/fork.S: Likewise.
51608         * sysdeps/unix/sparc/fork.S: Likewise.
51610         * sysdeps/unix/system.c: Remove file.
51611         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
51613         * sysdeps/unix/getegid.S: Remove file.
51614         * sysdeps/unix/geteuid.S: Likewise.
51616 2012-04-24  Roland McGrath  <roland@hack.frob.com>
51618         * scripts/check-localplt.awk: New file.
51619         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
51620         of diff.
51621         * scripts/data/localplt-generic.data: Add a comment.
51623         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
51624         NODE when __dir_mkfile failed.
51625         * sysdeps/mach/hurd/symlinkat.c: Likewise.
51626         Reported by Ludovic Courtès <ludo@gnu.org>.
51628 2012-04-24  Andreas Jaeger  <aj@suse.de>
51630         * Makerules (common-clean): Also remove gen-as-const-headers
51631         files.
51633 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51635         * Makerules (native-compile): Do not change working directory for
51636         build.  Use $(OUTPUT_OPTION) in command.
51637         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
51639 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51641         [BZ #13886]
51642         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
51643         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
51644         * math/libm-test.inc (floor_test): Add more tests.
51645         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
51647 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
51649         * sysdeps/unix/getdents.c: Remove file.
51650         * sysdeps/unix/sysv/getdents.c: Likewise.
51651         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
51653         * sysdeps/unix/syscalls.list (madvise): Add syscall from
51654         sysdeps/unix/mman/syscalls.list.
51655         (mmap): Likewise.
51656         (mprotect): Likewise.
51657         (msync): Likewise.
51658         (munmap): Likewise.
51659         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
51660         * sysdeps/unix/mman/syscalls.list: Remove.
51661         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
51663         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
51664         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
51665         * configure: Regenerated.
51666         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
51667         $(libgcc_s_suffix).
51668         * config.make.in (libgcc_s_suffix): Remove variable.
51670 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
51672         * sysdeps/unix/sysv/gethostname.c: Move to ...
51673         * sysdeps/posix/gethostname.c: ... here.
51675         * sysdeps/unix/execve.S: Remove file.
51677         * sysdeps/unix/_exit.S: Remove file.
51679 2012-04-23  Andreas Jaeger  <aj@suse.de>
51681         [BZ #13739]
51682         * manual/Makefile: Remove make dist support, there's no
51683         need for a stand-alone documentation tar ball.
51684         (TEXI2DVI): Define always, it's not in Makeconfig.
51685         (dist): Removed.
51686         (tar-it): Removed.
51687         (edition): Removed.
51688         (glibc-doc-$(edition).tar): Removed
51689         (%.Z): Removed.
51690         (%.gz): Removed.
51691         (%.uu): Removed.
51692         (ETAGS): Remove, it's in Makeconfig.
51693         (move-if-change): Remove, it's in Makeconfig.
51695 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
51697         [BZ #13970]
51698         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
51699         (strtod, strtof, strtold, strtol, strtoul, strtoq)
51700         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
51701         (strtod_l, strtof_l, strtold_l): Remove __wur.
51702         It is not necessarily an error to ignore strtol's return value.
51703         One can reliably look at the stored endptr to decide whether
51704         the number had valid syntax.
51706 2012-04-21  Andreas Jaeger  <aj@suse.de>
51708         [BZ #13739]
51709         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
51711 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
51713         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
51714         * sysdeps/unix/sysv/Versions: Remove file.
51716 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
51718         [BZ #13927]
51719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51721 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
51723         [BZ #7064]
51724         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
51725         version from __vm86.
51727 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
51729         * sysdeps/unix/common/lxstat.c: Remove file.
51730         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
51732         * sysdeps/unix/sysv/Makefile: Remove file.
51734         * sysdeps/unix/sysv/direct.h: Remove file.
51736         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
51737         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
51738         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
51739         * sysdeps/unix/sysv/bits/signum.h: Likewise.
51740         * sysdeps/unix/sysv/bits/stat.h: Likewise.
51741         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
51742         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
51744         * sysdeps/unix/sysv/setrlimit.c: Remove file.
51746         * sysdeps/unix/xmknod.c: Remove file.
51747         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
51749         * sysdeps/unix/sysv/settimeofday.c: Remove file.
51751         * sysdeps/unix/sysv/i386/time.S: Remove file.
51753         * sysdeps/unix/fxstat.c: Remove file.
51754         * sysdeps/unix/xstat.c: Likewise.
51755         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
51757         * sysdeps/unix/sysv/sigaction.c: Remove file.
51759         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
51760         (sysdep_headers): Remove variable.
51761         [termio.h not in sysdep_headers] (generated): Likewise.
51762         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
51763         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
51764         * sysdeps/unix/sysv/tcdrain.c: Likewise.
51765         * sysdeps/unix/sysv/tcflow.c: Likewise.
51766         * sysdeps/unix/sysv/tcflush.c: Likewise.
51767         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
51768         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
51769         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
51770         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
51771         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
51773         * sysdeps/unix/siglist.c: Remove file.
51775         * sysdeps/unix/getppid.S: Remove file.
51777         * sysdeps/unix/mkdir.c: Remove file.
51778         * sysdeps/unix/rmdir.c: Likewise.
51780 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
51782         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
51783         ERR_MAX value.
51784         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
51785         errlist-compat value.
51787 2012-04-18  David S. Miller  <davem@davemloft.net>
51789         * sysdeps/generic/memcopy.h (reg_char): Delete.
51790         * debug/strcat_chk.c: Use char, not reg_char.
51791         * debug/strcpy_chk.c: Likewise.
51792         * debug/strncat_chk.c: Likewise.
51793         * debug/strncpy_chk.c: Likewise.
51794         * string/memchr.c: Likewise.
51795         * string/memrchr.c: Likewise.
51796         * string/rawmemchr.c: Likewise.
51797         * string/strcat.c: Likewise.
51798         * string/strchr.c: Likewise.
51799         * string/strchrnul.c: Likewise.
51800         * string/strcmp.c: Likewise.
51801         * string/strcpy.c: Likewise.
51802         * string/strncat.c: Likewise.
51803         * string/strncmp.c: Likewise.
51804         * string/strncpy.c: Likewise.
51806 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51808         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
51809         __builtin_memcopy is called when src and dest ranges are known to not
51810         overlap.
51812 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51814         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
51815         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
51816         fwd_align_merge macro call.
51817         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
51818         bwd_align_merge macro call.
51819         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51821 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
51823         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51824         bwd_align_merge macros.
51825         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51826         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51827         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51829 2012-04-18  David S. Miller  <davem@davemloft.net>
51831         * sysdeps/sparc/sparc64/memcopy.h: Delete.
51833 2012-04-18  Andreas Jaeger  <aj@suse.de>
51835         [BZ# 6794]
51836         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51837         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51838         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51840         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51841         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51842         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51844         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51845         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51846         Adjust for changed ldbl-128 files.
51848         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51849         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51850         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51852 2012-04-17  David S. Miller  <davem@davemloft.net>
51854         * sysdeps/sparc/sparc32/memcopy.h: Delete.
51856 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
51858         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51859         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51860         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51861         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51862         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51863         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51865 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51867         [BZ #6794]
51868         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51869         * math/libm-test.inc: Add ilogb errno and exception tests.
51870         * math/w_ilogb.c: New file: ilogb wrapper.
51871         * math/w_ilogbf.c: New file: ilogbf wrapper.
51872         * math/w_ilogbl.c: New file: ilogbl wrapper.
51873         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51874         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51875         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51876         exception being thrown with 0.0 as argument.
51877         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51878         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51879         exception being thrown with 0.0 as argument.
51880         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51881         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51882         exception being thrown with 0.0 as argument.
51883         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51884         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51885         exception being thrown with 0.0 as argument.
51886         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51887         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51888         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51889         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51890         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51891         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51892         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51893         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51894         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51896 2012-04-17  Petr Baudis  <pasky@ucw.cz>
51898         * include/sys/uio.h: Change __vector to __iovec to avoid clash
51899         with altivec.
51901 2012-04-16  Marek Polacek  <polacek@redhat.com>
51903         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51905 2012-04-16  Marek Polacek  <polacek@redhat.com>
51907         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51908         operands of fdivp instruction.
51910 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51912         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51913         * elf/tst-auditmod3b.c: Likewise.
51914         * elf/tst-auditmod4b.c: Likewise.
51915         * elf/tst-auditmod5b.c: Likewise.
51916         * elf/tst-auditmod6b.c: Likewise.
51917         * elf/tst-auditmod6c.c: Likewise.
51918         * elf/tst-auditmod7b.c: Likewise.
51919         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51920         * sysdeps/x86_64/preconfigure.in: Likewise.
51921         * sysdeps/x86_64/preconfigure: Regenerated.
51923 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
51925         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51926         __ILP32__.
51928 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
51930         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51931         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51933 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
51935         [BZ #13973]
51936         * locale/iso-639.def: Fix gl language name. Spotted by
51937         Yaron Shahrabani.
51939 2012-04-12  Roland McGrath  <roland@hack.frob.com>
51941         [BZ #2074]
51942         * libio/libio.h (__io_write_fn): Update comment.
51944 2012-04-12  Petr Baudis  <pasky@ucw.cz>
51946         [BZ #2074]
51947         * stdio.texi (Hook Functions): The user provided writer function
51948         is not allowed to return -1.
51950 2012-04-11  David S. Miller  <davem@davemloft.net>
51952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51954 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
51956         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51957         Add a leading slash to rtkaio.
51959 2012-04-11  Jim Meyering  <meyering@redhat.com>
51961         [BZ #11959]
51962         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51963         It is not necessarily an error to ignore fwrite's return
51964         value.  One can reliably use ferror to test for errors after
51965         the fact.
51967 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51969         * bits/types.h (__snseconds_t): New type.
51970         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51972         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51973         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51974         (__SNSECONDS_T_TYPE): Likewise.
51975         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51976         (__SNSECONDS_T_TYPE): Likewise.
51977         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51978         (__SNSECONDS_T_TYPE): Likewise.
51980 2012-04-10  Andreas Jaeger  <aj@suse.de>
51982         [BZ #2636]
51983         * manual/time.texi (Processor Time): Return type of times is
51984         elapsed real time since an arbitrary point in the past.
51985         (CPU Time): Move CLK_TCK from here...
51986         (Processor Time): ...to here.  Correct description.
51987         * manual/conf.texi (Constants for Sysconf): Correct description of
51988         _SC_CLK_TCK.
51990 2012-04-10  David S. Miller  <davem@davemloft.net>
51992         [BZ #13967]
51993         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51994         where the is a gap between DT_REL(A) and DT_JMPREL.
51996 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51998         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51999         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52000         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52002 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52004         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52005         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52006         (dl_main): Handle --inhibit-cache.
52007         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52008         _dl_inhibit_cache.
52009         * elf/dl-load.c (_dl_map_object): Use it.
52010         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52012 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52014         [BZ #13872]
52015         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52016         (__ieee754_powl): Saturate large exponents rather than testing for
52017         overflow of y*log2(x).
52018         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52019         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52020         exceptions.
52022         [BZ #11521]
52023         * math/s_ctan.c: Include <float.h>.
52024         (__ctan): Avoid internal overflow or cancellation in calculating
52025         denominator.
52026         * math/s_ctanf.c: Likewise.
52027         * math/s_ctanl.c: Likewise.
52028         * math/s_ctanh.c: Likewise.
52029         * math/s_ctanhf.c: Likewise.
52030         * math/s_ctanhl.c: Likewise.
52031         * math/libm-test.inc (ctan_test): Add more tests.
52032         (ctanh_test): Likewise.
52033         * sysdeps/i386/fpu/libm-test-ulps: Update.
52034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52036 2012-04-09  Andreas Jaeger  <aj@suse.de>
52038         [BZ #6894]
52039         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52040         is an optional BSD extension.
52042         [BZ #10254]
52043         * manual/stdio.texi (Opening Streams): Document additional fopen
52044         parameters.
52046 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52048         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52049         %eax without telling the compiler.
52051 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52053         [BZ # 13963]
52054         * manual/install.texi: Use sourceware.org.
52056 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52058         [BZ #13873]
52059         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52060         (__ieee754_pow): Generate overflow and underflow using huge*huge
52061         and tiny*tiny rather than just returning constant infinity or zero
52062         for large exponents.
52063         * math/libm-test.inc (pow_test): Require overflow exceptions for
52064         applicable cases of large exponents.
52066         [BZ #706]
52067         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52068         (__ieee754_pow): Use iterative multiplication algorithm only for
52069         integer exponents with absolute value below 1024.  Check for odd
52070         integer exponents when using algorithm for real exponents.
52071         * math/libm-test.inc (pow_test): Add more tests.
52072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52074 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52076         [BZ #13705]
52077         * math/libm-test.inc (exp_test): Do not allow overflow exception
52078         on underflow test.
52080 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52082         [BZ #13705]
52083         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52084         instead of __kernel_standard_f.
52086 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52088         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52089         * sysdeps/x86_64/memset_chk.S: Likewise.
52091 2012-04-08  Andreas Jaeger  <aj@suse.de>
52093         [BZ #10153]
52094         * manual/startup.texi (Environment Access): Describe return value
52095         for putenv and setenv.
52097         [BZ #6895]
52098         * manual/filesys.texi (Directory Entries): Add description for
52099         DT_LNK.
52101         [BZ #6890]
52102         * manual/filesys.texi (Directory Entries): Clarify that it's file
52103         system not operating system in the description of DT_UNKNOWN.
52105         [BZ #6578]
52106         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52108 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52110         [BZ #6649]
52111         * manual/llio.texi (Opening and Closing Files): Add cross
52112         reference to explain mode argument.
52114 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52116         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52117         * sysdeps/x86_64/memset_chk.S: Likewise.
52119 2012-04-07  David S. Miller  <davem@davemloft.net>
52121         * elf/elf.h (R_SPARC_WDISP10): Define.
52122         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52123         R_SPARC_SIZE32.
52124         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52125         R_SPARC_SIZE64 and R_SPARC_H34.
52127 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52129         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52130         conditions and remove no longer applicable assertion.
52132 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52134         * bits/byteswap.h: Include <features.h>.
52135         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52136         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52138 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52140         * bits/byteswap.h (__bswap_16): Removed.
52141         Include <bits/byteswap-16.h> to get __bswap_16.
52142         * sysdeps/i386/bits/byteswap.h: Likewise.
52143         * sysdeps/s390/bits/byteswap.h: Likewise.
52144         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52145         * bits/byteswap-16.h: New file.
52146         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52147         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52148         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52149         * string/Makefile (headers): Add bits/byteswap-16.h.
52151 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52153         [BZ #13895]
52154         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52155         extra indirection.
52156         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52157         * nss/tst-nss-static.c: New.
52159 2012-04-06  Robert Millan  <rmh@gnu.org>
52161         [BZ #6486]
52162         * manual/llio.texi (File Position Primitive): lseek
52163         refers to WHENCE when it really means OFFSET.
52165 2012-04-06  Andreas Jaeger  <aj@suse.de>
52167         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52168         strncmp declarations.
52170         * abilist/libc.abilist: Add __poll and __ppoll.
52172 2012-04-05  David S. Miller  <davem@davemloft.net>
52174         * scripts/check-local-headers.sh: Accept a host triplet in the
52175         path matched by the exclude regexp.
52177         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52178         definition.
52179         * sysdeps/powerpc/powerpc32/dl-machine.h
52180         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52181         * sysdeps/s390/s390-32/dl-machine.h
52182         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52183         * sysdeps/sparc/sparc32/dl-machine.h
52184         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52185         * sysdeps/sparc/sparc64/dl-machine.h
52186         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52188         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52189         lazy binding.
52190         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52191         undefined symbol errors.
52193         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52194         DT_NEEDED entries.
52196 2012-04-05  Michael Matz  <matz@suse.de>
52198         [BZ #13592]
52199         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52201 2012-04-05  Andreas Jaeger  <aj@suse.de>
52203         [BZ #13908]
52204         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52205         comment.
52207 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52209         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52210         which ROUND is no valid rounding mode.
52212 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52214         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52215         read again.
52216         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52218 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52220         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52221         an exception using FPU order intentionally.
52223 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52225         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52226         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52227         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52228         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52230 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52232         [BZ #12340]
52233         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52234         EINVAL when BUFLEN is too smal.
52236 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52238         [BZ #13553]
52239         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52240         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52242 2012-04-03  Andreas Jaeger  <aj@suse.de>
52244         [BZ #13938]
52245         * manual/setjmp.texi (System V contexts): Fix sentence.
52247         [BZ #13926]
52248         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52249         New macro for this case.
52250         [!__GNUC__] (__bswap_64): New inline function for this case.
52251         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52252         * bits/byteswap.h: Likewise.
52253         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52254         ull, guard with __GLIBC_HAVE_LONG_LONG.
52256         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52257         __GLIBC_HAVE_LONG_LONG.
52259         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52260         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52262 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52264         [BZ #13691]
52265         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52266         inptr and inend, rather than using last_ch.
52268 2012-04-02  David S. Miller  <davem@davemloft.net>
52270         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52271         * stdio-common/printf-parse.h (read_int): Change return type to
52272         'int', return -1 on INT_MAX overflow.
52273         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52274         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52275         overflows INT_MAX.  Check for overflow of in-format-string precision
52276         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52277         SIZE_MAX not INT_MAX for integer overflow test.
52278         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52279         skip the construct in the format string but do not record anything.
52280         * stdio-common/bug22.c: Adjust to test both width/prevision
52281         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52282         explicitly for proper errno values.
52284 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52286         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52287         CHAR_MAX.
52288         * string/test-strcmp.c [! WIDE]: Likewise.
52289         * time/tst-mktime2.c: Likewise for INT_MAX.
52290         * string/test-string.h: #include <sys/param.h> for MIN.
52292         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52293         * sysdeps/i386/init-first.c (init): Likewise.
52294         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52295         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52296         * sysdeps/sh/init-first.c (init): Likewise.
52298 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52300         * po/ru.po: Update from translation team.
52301         * po/vi.po: Likewise.
52303 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52305         * resolv/nss_dns/dns-host.c: Merge copyright years.
52307 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52309         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52310         Optimize memcpy with prefetch if
52311         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52312         src, dst pointers have unequal 16 byte alignments.
52314 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52316         [BZ #13928]
52317         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52318         from a CNAME entry and return the minimum ttl for the query.
52319         (gaih_getanswer_slice): Likewise.
52321 2012-03-30  Jeff Law  <law@redhat.com>
52323         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52324         due to long keys.
52325         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52326         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52328         * resolv/nss_dns/dns-host.c: Update copyright year.
52330 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52332         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52333         requests to save a system call.  Fix check that all bytes are sent.
52335         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52336         comments for sendmmsg.
52338 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52340         [BZ #13691]
52341         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52342         with only 1 character between 0x0041 and 0x01b0.
52343         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52344         * wcsmbs/tst-mbsnrtowcs.c: New file.
52346 2012-03-29  David S. Miller  <davem@davemloft.net>
52348         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52349         small copies by hand.
52351 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52353         [BZ #13761]
52354         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52355         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52356         group memberships.
52358 2012-03-28  David S. Miller  <davem@davemloft.net>
52360         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52361         that branches into memcpy.
52362         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52363         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52364         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52365         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52366         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52367         bits.
52368         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52369         implementation too.
52370         * sysdeps/sparc/mempcpy.S: New file.
52372         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52373         the IFUNC routine in the libc case.
52374         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52376         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52377         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52378         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52379         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52380         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52381         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52382         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52383         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52385         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52386         loop to 256 bytes instead of 64 bytes and fix test signedness.
52388         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52389         * sysdeps/sparc/sparc32/Makefile: rather than here...
52390         * sysdeps/sparc/sparc64/Makefile: and here.
52392 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52394         * malloc/mallocbug.c: Avoid warnings about unused variables.
52396 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52398         [BZ #13760]
52399         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52400         in the right place. Discard and retry query if response is
52401         larger than input buffer size.
52403 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52405         [BZ #369]
52406         [BZ #2678]
52407         [BZ #3866]
52408         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52409         x for large integer exponent.
52410         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52411         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52412         sign of result as needed afterwards.
52413         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52414         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52415         result for underflowing pow the same as for overflow.
52416         (__kernel_standard_l): Handle powl overflow and underflow here
52417         rather than calling __kernel_standard.
52418         * math/libm-test.inc (pow_test): Add more tests.
52420         [BZ #3868]
52421         [BZ #13879]
52422         [BZ #13910]
52423         [BZ #13911]
52424         [BZ #13912]
52425         [BZ #13913]
52426         [BZ #13915]
52427         [BZ #13916]
52428         [BZ #13917]
52429         [BZ #13918]
52430         [BZ #13919]
52431         [BZ #13920]
52432         [BZ #13921]
52433         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52434         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52435         (__kernel_standard_l): New function.
52436         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52437         __kernel_standard.
52438         * math/w_acosl.c (__acosl): Likewise.
52439         * math/w_asinl.c (__asinl): Likewise.
52440         * math/w_atan2l.c (__atan2l): Likewise.
52441         * math/w_atanhl.c (__atanhl): Likewise.
52442         * math/w_coshl.c (__coshl): Likewise.
52443         * math/w_exp10l.c (__exp10l): Likewise.
52444         * math/w_exp2l.c (__exp2l): Likewise.
52445         * math/w_fmodl.c (__fmodl): Likewise.
52446         * math/w_hypotl.c (__hypotl): Likewise.
52447         * math/w_j0l.c (__j0l, __y0l): Likewise.
52448         * math/w_j1l.c (__j1l, __y1l): Likewise.
52449         * math/w_jnl.c (__jnl, __ynl): Likewise.
52450         * math/w_lgammal.c (__lgammal): Likewise.
52451         * math/w_log10l.c (__log10l): Likewise.
52452         * math/w_log2l.c (__log2l): Likewise.
52453         * math/w_logl.c (__logl): Likewise.
52454         * math/w_powl.c (__powl): Likewise.
52455         * math/w_remainderl.c (__remainderl): Likewise.
52456         * math/w_scalbl.c (sysv_scalbl): Likewise.
52457         * math/w_sinhl.c (__sinhl): Likewise.
52458         * math/w_sqrtl.c (__sqrtl): Likewise.
52459         * math/w_tgammal.c (__tgammal): Likewise.
52460         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52461         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52462         * math/libm-test.inc (acos_test): Add more tests.
52463         (acosh_test): Likewise.
52464         (asin_test): Likewise.
52465         (atanh_test): Likewise.
52466         (exp_test): Likewise.
52467         (exp10_test): Likewise.
52468         (exp2_test): Likewise.
52469         (expm1_test): Likewise.
52470         (lgamma_test): Likewise.
52471         (log_test): Likewise.
52472         (log10_test): Likewise.
52473         (log1p_test): Likewise.
52474         (log2_test): Likewise.
52475         (pow_test): Do not allow some spurious overflow exceptions.
52476         (sqrt_test): Add more tests.
52477         (tgamma_test): Likewise.
52478         (y0_test): Likewise.
52479         (y1_test): Likewise.
52480         (yn_test): Likewise.
52482 2012-03-27  Anton Blanchard  <anton@samba.org>
52484         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52485         MAP_HUGETLB.
52486         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52487         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52488         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52490 2012-03-27  David S. Miller  <davem@davemloft.net>
52492         * conform/Makefile: Run run-conformtest.sh using $(BASH).
52494         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
52495         have-as-vis3 check.
52497 2012-03-27  Andreas Jaeger  <aj@suse.de>
52499         * sysdeps/x86_64/elf/configure.in: Moved to ...
52500         * sysdeps/x86_64/configure.in: ... here.
52501         * sysdeps/x86_64/elf/start.S: Moved to ...
52502         * sysdeps/x86_64/start.S: ... here.
52503         * sysdeps/x86_64/elf/configure: Delete.
52505         * sysdeps/x86_64/configure.in: Merge contents from
52506         sysdeps/i386/configure.in (without i686 check).
52508         * sysdeps/i386/elf/Versions: Merge into ...
52509         * sysdeps/i386/Versions: ... this.
52510         * sysdeps/i386/elf/Versions: Delete file.
52511         * sysdeps/i386/elf/start.S: Moved to ...
52512         * sysdeps/i386/start.S: ...here.
52513         * sysdeps/i386/elf/configure.in: Merge into...
52514         * sysdeps/i386/configure.in: ...here.
52515         * sysdeps/i386/elf/configure.in: Delete file.
52516         * sysdeps/i386/elf/configure: Delete file.
52518         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
52519         * debug/backtracesyms.c: ... here.
52520         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
52521         * debug/backtracesymsfd.c: ... here.
52522         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
52523         * sysdeps/generic/ifunc-sel.h: ... here.
52525         * sysdeps/unix/i386/start.c: Delete file.
52526         * sysdeps/unix/sparc/start.c: Delete file.
52527         * sysdeps/unix/start.c: Delete file.
52529         * sysdeps/sh/elf/configure.in: Moved to ...
52530         * sysdeps/sh/configure.in: ... here.
52531         * sysdeps/sh/elf/start.S: Moved to ...
52532         * sysdeps/sh/start.S: ... here.
52533         * sysdeps/sh/elf/configure: Delete file.
52535         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
52536         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
52537         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
52538         * sysdeps/powerpc/powerpc64/entry.h: ... here.
52539         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
52540         * sysdeps/powerpc/powerpc64/start.S: here.
52541         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
52542         * sysdeps/powerpc/powerpc64/Makefile: ... this.
52543         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
52544         * sysdeps/powerpc/powerpc64/configure.in: ... this.
52545         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
52547         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
52548         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
52549         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
52550         * sysdeps/powerpc/powerpc32/start.S: ... here.
52551         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
52552         * sysdeps/powerpc/powerpc32/configure.in: ... this.
52553         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
52555         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
52556         * sysdeps/powerpc/ifunc-sel.h: ... here.
52557         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
52558         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
52560         * sysdeps/sparc/elf/configure.in: Moved to ...
52561         * sysdeps/sparc/configure.in: ... here.
52562         * sysdeps/sparc/elf/configure: Delete file.
52563         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
52564         * sysdeps/sparc/sparc32/start.S: ... here.
52565         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
52566         * sysdeps/sparc/sparc64/start.S: ... here.
52567         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
52568         * sysdeps/sparc/sparc32/Makefile: ... this.
52569         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
52570         * sysdeps/sparc/sparc64/Makefile: ... this.
52572         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
52573         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
52574         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
52575         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
52576         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
52577         * sysdeps/s390/s390-32/setjmp.S: ... here.
52578         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
52579         * sysdeps/s390/s390-32/configure.in: ... here.
52580         * sysdeps/s390/s390-32/elf/configure: Delete file.
52581         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
52582         * sysdeps/s390/s390-32/start.S: ... here.
52584         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
52585         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
52586         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
52587         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
52588         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
52589         * sysdeps/s390/s390-64/setjmp.S: ... here.
52590         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
52591         * sysdeps/s390/s390-64/configure.in: ... here
52592         * sysdeps/s390/s390-64/elf/configure: Delete file.
52593         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
52594         * sysdeps/s390/s390-64/start.S: ... here.
52595         * sysdeps/s390/s390-64/elf/configure: Delete.
52597         * configure.in: Remove support for elf directories in sysdeps.
52599         * configure: Regenerated.
52600         * sysdeps/i386/configure: Regenerated.
52601         * sysdeps/powerpc/powerpc32/configure: Regenerated.
52602         * sysdeps/powerpc/powerpc64/configure: Regenerated.
52603         * sysdeps/s390/s390-32/configure: Regenerated.
52604         * sysdeps/s390/s390-64/configure: Regenerated.
52605         * sysdeps/sh/configure: Regenerated.
52606         * sysdeps/sparc/configure: Regenerated.
52607         * sysdeps/x86_64/configure: Regenerated.
52609 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
52611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52613         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
52614         denormal result into account.
52616 2012-03-25  Roland McGrath  <roland@hack.frob.com>
52618         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
52619         Reported by Allan McRae <allan@archlinux.org>.
52621 2012-03-23  Jeff Law  <law@redhat.com>
52623         * nss/getnssent.c (__nss_getent): Fix typo.
52625 2012-03-23  David S. Miller  <davem@davemloft.net>
52627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52629 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
52631         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
52632         to pad to uint64_t for each field.
52633         (dl_tls_index): Replace unsigned long with uint64_t.
52635 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
52636         Paul Pluzhnikov  <ppluzhnikov@google.com>
52638         [BZ #6528]
52639         * grp/Makefile (otherlibs): Don't set it.
52640         * inet/Makefile (otherlibs): Likewise.
52641         * login/Makefile (otherlibs): Likewise.
52642         * nscd/Makefile (otherlibs): Likewise.
52643         * posix/Makefile (otherlibs): Likewise.
52644         * pwd/Makefile (otherlibs): Likewise.
52645         * rt/Makefile (otherlibs): Likewise.
52646         * sunrpc/Makefile (otherlibs): Likewise.
52647         * nss/Makefile (otherlibs): Likewise.
52648         Add libnss_files to routines and static-only-routines.
52649         ($(objpfx)getent): Remove rule.
52650         * resolv/Makefile: Add libnss_dns and libresolv to routines and
52651         static-only-routines.
52653 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52655         [BZ #13892]
52656         * math/s_cexp.c: Include <float.h>.
52657         (__cexp): Handle exp result overflowing not necessarily
52658         overflowing both real and imaginary parts of result.
52659         * math/s_cexpf.c: Likewise.
52660         * math/s_cexpl.c: Likewise.
52661         * math/libm-test.inc (cexp_test): Add more tests.
52662         * sysdeps/i386/fpu/libm-test-ulps: Update.
52663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52665 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52667         * include/link.h (ELFW): New macro.
52668         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
52669         Replace ELF64_R_TYPE with ELFW(R_TYPE).
52671 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52673         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
52674         with uint64_t.
52676 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52678         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
52679         declaration.
52680         (struct La_x32_retval): Likewise.
52682 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
52684         * sysdeps/x86_64/preconfigure.in: New file.
52685         * sysdeps/x86_64/preconfigure: New generated file.
52687 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
52689         [BZ #13824]
52690         * math/e_exp2l.c: Include <float.h>.
52691         (__ieee754_exp2l): Handle overflow and underflow cases
52692         separately.  Only pass fractional part of argument to
52693         __ieee754_expl.
52694         * math/libm-test.inc (exp2_test): Add more tests.
52696         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
52697         negating x to take absolute value.
52698         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
52699         Likewise.
52700         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52701         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
52702         Likewise.
52703         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
52704         computing low part if x was negated.
52705         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52707 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52709         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
52710         la_x32_gnu_pltexit.
52711         (pltexit): Cast int_retval to ptrdiff_t.
52712         * elf/tst-auditmod3b.c: Likewise.
52713         * elf/tst-auditmod4b.c: Likewise.
52714         * elf/tst-auditmod5b.c: Likewise.
52715         * elf/tst-auditmod6b.c: Likewise.
52716         * elf/tst-auditmod6c.c: Likewise.
52717         * elf/tst-auditmod7b.c: Likewise.
52719         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
52720         and x32_gnu_pltexit.
52722         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
52723         __ELF_NATIVE_CLASS.
52724         (La_x32_regs): New macro.
52725         (La_x32_retval): Likewise.
52726         (la_x32_gnu_pltenter): New function prototype.
52727         (la_x32_gnu_pltexit): Likewise.
52729 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
52731         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
52732         exponent.
52734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52736         * configure.in (libc_cv_cc_nofma): Check for option to disable
52737         generation of FMA instructions.
52738         * configure: Regenerate.
52739         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
52740         * sysdeps/ieee754/dbl-64/Makefile: New file.
52741         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
52742         Remove brandred-fma4.
52743         (CFLAGS-brandred-fma4.c): Remove.
52744         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
52745         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
52746         define.
52747         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
52748         define.
52750 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52752         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52753         LLONG_MAX != LONG_MAX.
52754         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52755         (_fitoa_word): Likewise.
52756         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
52757         LLONG_MAX != LONG_MAX.
52758         * stdio-common/_itowa.h: Include <_itoa.h>.
52759         (_itowa_word): Use _ITOA_WORD_TYPE on value.
52760         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
52761         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
52762         only if not defined.
52763         (_ITOA_WORD_TYPE): Likewise.
52764         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52765         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
52767 2012-03-21  David S. Miller  <davem@davemloft.net>
52769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52771 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
52773         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
52774         of x86_64 when setting libc_cv_slibdir, libdir and
52775         libc_cv_localedir.
52776         * sysdeps/unix/sysv/linux/configure: Regenerated.
52778 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52780         * manual/lang.texi (Old Varargs): Remove section.
52781         (How Variadic): Update menu.
52782         (va_start): Do not mention varargs.h.
52784 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52785             Joseph Myers  <joseph@codesourcery.com>
52787         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
52788         link test.
52789         * configure: Regenerated.
52791 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52793         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
52794         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
52795         conformtest.pl
52797 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52799         * NOTES: Remove.
52800         * Makefile (files-for-dist): Remove NOTES.
52801         (NOTES): Remove rule.
52802         * README: Don't refer to NOTES.
52803         * manual/creature.texi: Don't include macros.texi.
52804         * manual/intro.texi (creature.texi): Remove comment referring to
52805         NOTES.
52807         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
52808         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
52809         * configure: Regenerated.
52810         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
52811         LIBC_TRY_CC_OPTION.
52812         (libc_cv_as_i686): Likewise.
52813         (libc_cv_cc_avx): Likewise.
52814         (libc_cv_cc_sse2avx): Likewise.
52815         (libc_cv_cc_fma4): Likewise.
52816         (libc_cv_cc_novzeroupper): Likewise.
52817         * sysdeps/i386/configure: Regenerated.
52819         [BZ #13883]
52820         * sysdeps/i386/fpu/s_cexp.S: Remove.
52821         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52822         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52823         * math/libm-test.inc (cexp_test): Add more tests.
52824         * sysdeps/i386/fpu/libm-test-ulps: Update.
52825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52827 2012-03-21  Allan McRae  <allan@archlinux.org>
52829         * timezone/Makefile: Do not install iso3166.tab and zone.tab
52831 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
52833         [BZ #13871]
52834         * math/w_exp2.c: Do not include <float.h>.
52835         (o_threshold, u_threshold): Remove.
52836         (__exp2): Calculate result before checking finiteness and calling
52837         __kernel_standard.
52838         * math/w_exp2f.c: Likewise.
52839         * math/w_exp2l.c: Likewise.
52840         * math/libm-test.inc (exp2_test): Require overflow exception for
52841         1e6 input.
52843         [BZ #3866]
52844         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52845         range of signed 64-bit integers before using fistpll.  Remove
52846         checks for whether integers fit in mantissa bits.
52847         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52848         the range of signed 32-bit integers before using fistpl.  Remove
52849         checks for whether integers fit in mantissa bits.
52850         * sysdeps/i386/fpu/e_powl.S (p64): New object.
52851         (__ieee754_powl): Test for y outside the range of signed 64-bit
52852         integers before using fistpll.  Reduce 64-bit values to 63-bit
52853         ones as needed.
52854         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52855         divide-by-zero is raised for zero to large negative powers.
52856         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52857         (__ieee754_powl): Test for y outside the range of signed 64-bit
52858         integers before using fistpll.  Reduce 64-bit values to 63-bit
52859         ones as needed.
52860         * math/libm-test.inc (pow_test): Add more tests.
52862 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52864         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52865         <stdio-common/_itoa.h>.
52866         * debug/segfault.c: Likewise.
52867         * elf/dl-cache.c: Likewise.
52868         * elf/dl-minimal.c: Likewise.
52869         * elf/dl-misc.c: Likewise.
52870         * elf/dl-sysdep.c: Likewise.
52871         * elf/dl-version.c: Likewise.
52872         * elf/rtld.c: Likewise.
52873         * hurd/hurdsock.c: Likewise.
52874         * hurd/lookup-retry.c: Likewise.
52875         * malloc/malloc.c: Likewise.
52876         * malloc/mtrace.c: Likewise.
52877         * nscd/nscd_getgr_r.c: Likewise.
52878         * nscd/nscd_getpw_r.c: Likewise.
52879         * nscd/nscd_getserv_r.c: Likewise.
52880         * posix/getopt_init.c: Likewise.
52881         * posix/wordexp.c: Likewise.
52882         * stdio-common/_itoa.c: Likewise.
52883         * stdio-common/printf_fphex.c: Likewise.
52884         * stdio-common/vfprintf.c: Likewise.
52885         * string/_strerror.c: Likewise.
52886         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52887         * sysdeps/i386/i686/hp-timing.h: Likewise.
52888         * sysdeps/mach/_strerror.c: Likewise.
52889         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52890         * sysdeps/mach/hurd/sethostid.c: Likewise.
52891         * sysdeps/mach/hurd/xmknodat.c: Likewise.
52892         * sysdeps/mach/xpg-strerror.c: Likewise.
52893         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52894         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52895         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52896         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52897         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52898         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52899         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52900         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52901         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52902         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52903         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52904         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52905         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52906         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52907         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52908         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52909         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52910         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52911         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52912         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52913         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52915         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52917         * stdio-common/_itoa.h: Moved to ...
52918         * sysdeps/generic/_itoa.h: Here.
52920         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52922         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52923         instead of "_itoa.h" and "_itowa.h".
52924         * stdio-common/vfprintf.: Likewise.
52926 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52928         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52929         <bits/wordsize.h>.
52930         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52931         (__signbit): Likwise.
52932         (llrintf): Likwise.
52933         (llrint): Likwise.
52935 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52937         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52938         __WORDSIZE != 64.
52940 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
52942         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52943         OVERFLOW_EXCEPTION_OK.
52944         * math/libm-test.inc ("Philosophy"): Update comment about
52945         exception testing.
52946         (OVERFLOW_EXCEPTION): Define.
52947         (OVERFLOW_EXCEPTION_OK): Likewise.
52948         (INVALID_EXCEPTION_OK): Renumber.
52949         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52950         (IGNORE_ZERO_INF_SIGN): Likewise.
52951         (test_exceptions): Handle FE_OVERFLOW.
52952         (exp10_test): Expect overflow exceptions.
52953         (exp2_test): Likewise.
52954         (expm1_test): Likewise.
52955         (nextafter_test): Likewise.
52956         (pow_test): Likewise.
52957         (scalbn_test): Likewise.
52958         (scalbln_test): Likewise.
52960 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52962         * sysdeps/x86_64/bits/atomic.h
52963         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52964         64bit integer.
52965         (atomic_exchange_acq): Likewise.
52966         (__arch_exchange_and_add_body): Likewise.
52967         (__arch_add_body): Likewise.
52968         (atomic_add_negative): Likewise.
52969         (atomic_add_zero): Likewise.
52971 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52973         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52974         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52976 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52978         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52979         Check __x86_64__ instead of __WORDSIZE.
52981 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52983         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52985 2012-03-19  David S. Miller  <davem@davemloft.net>
52987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52989         * sysdeps/sparc/fpu/fenv_private.h: New file.
52990         * sysdeps/sparc/fpu/math_private.h: Use it.
52991         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52992         Remove.
52993         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52994         (libc_feholdexcept_setroundl): Remove.
52995         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52996         Remove.
52997         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52998         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53000 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53002         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53003         int64_t instead of long int.
53004         (INSERT_WORDS64): Likwise.
53006 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53008         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53009         _Unwind_GetCFA return to _Unwind_Ptr first.
53011 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53013         [BZ #13629]
53014         * math/s_clog.c: Include <float.h>.
53015         (__clog): Scale large or subnormal inputs.
53016         * math/s_clogf.c: Likewise.
53017         * math/s_clogl.c: Likewise.
53018         * math/s_clog10.c: Include <float.h>.
53019         (M_LOG10_2): Define.
53020         (__clog10): Scale large or subnormal inputs.
53021         * math/s_clog10f.c: Likewise.
53022         * math/s_clog10l.c: Likewise.
53023         * math/libm-test.inc (clog_test): Add more tests.
53024         (clog10_test): Likewise.
53025         * sysdeps/i386/fpu/libm-test-ulps: Update.
53026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53028         [BZ #11451]
53029         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53030         x and y.
53031         * math/libm-test.inc (atan2_test): Add another test.
53033         * Makerules (common-objdir-compile): Remove.
53034         * sysdeps/unix/Makefile (config-generated): Do not add
53035         $(unix-generated) to variable.
53036         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53037         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53038         Remove rule.
53039         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53040         Likewise.
53041         [generic bits/local_lim.h] (before-compile): Do not append to
53042         variable.
53043         [generic bits/local_lim.h] (common-generated): Likewise.
53044         [generic sys/param.h] (before-compile): Do not append to variable.
53045         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53046         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53047         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53048         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53049         include.
53050         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53051         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53052         [generic sys/param.h] ($(addprefix
53053         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53054         [generic sys/param.h] (common-generated): Do not append to
53055         variable.
53056         [generic sys/param.h] (sysdep_headers): Likewise.
53057         [generic bits/errno.h] (before-compile): Do not append to
53058         variable.
53059         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53060         rule.
53061         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53062         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53063         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53064         [generic bits/errno.h] (common-generated): Do not append to
53065         variable.
53066         [generic bits/ioctls.h] (before-compile): Do not append to
53067         variable.
53068         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53069         rule.
53070         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53071         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53072         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53073         rule.
53074         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53075         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53076         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53077         [generic bits/ioctls.h] (common-generated): Do not append to
53078         variable.
53079         [generic sys/syscall.h] (syscall.h): Remove variable.
53080         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53081         rule.
53082         [generic sys/syscall.h] (before-compile): Do not append to
53083         variable.
53084         [generic sys/syscall.h] (common-generated): Likewise.
53085         * sysdeps/unix/errnos-tmpl.c: Remove file.
53086         * sysdeps/unix/errnos.awk: Likewise.
53087         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53088         * sysdeps/unix/ioctls.awk: Likewise.
53089         * sysdeps/unix/mk-local_lim.c: Likewise.
53090         * sysdeps/unix/snarf-ioctls: Likewise.
53092 2012-03-19  Richard Henderson  <rth@twiddle.net>
53094         * sysdeps/i386/fpu/fenv_private.h: New file.
53095         * sysdeps/i386/fpu/math_private.h: Use it.
53096         (math_opt_barrier, math_force_eval): Remove.
53097         (libc_feholdexcept_setround_53bit): Remove.
53098         (libc_feupdateenv_53bit): Remove.
53099         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53100         (math_opt_barrier, math_force_eval): Remove.
53101         (libc_feholdexcept): Remove.
53102         (libc_feholdexcept_setround): Remove.
53103         (libc_fetestexcept, libc_fesetenv): Remove.
53104         (libc_feupdateenv_test): Remove.
53105         (libc_feupdateenv, libc_feholdsetround): Remove.
53106         (libc_feresetround): Remove.
53108         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53109         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53111         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53112         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53113         (libc_feupdateenv_testl): New.
53114         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53115         (libc_feupdateenv_testf): New.
53116         (libc_feupdateenv): Use libc_feupdateenv_test.
53117         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53118         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53120         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53121         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53122         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53123         (libc_feresetround_noex): New.
53124         (libc_feresetround_noexf): New.
53125         (libc_feresetround_noexl): New.
53126         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53127         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53128         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53129         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53130         SET_RESTORE_ROUND.
53131         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53132         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53133         (__cos): Likewise.
53134         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53135         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53136         SET_RESTORE_ROUND_NOEX.
53137         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53138         SET_RESTORE_ROUND_NOEXF.
53139         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53140         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53141         (libc_feholdsetroundf): New.
53142         (libc_feresetround, libc_feresetroundf): New.
53144         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53145         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53146         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53148         * sysdeps/generic/math_private.h: Include <fenv.h>.
53149         (default_libc_feholdexcept): New.
53150         (default_libc_feholdexcept_setround): New.
53151         (default_libc_fesetenv, default_libc_feupdateenv): New.
53152         (libc_feholdexcept): Only define if undefined.
53153         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53154         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53155         (libc_feholdexcept_setroundl): Likewise.
53156         (libc_feholdexcept_setround_53bit): Likewise.
53157         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53158         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53159         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53160         (libc_feupdateenv_53bit): Likewise.
53161         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53162         (libc_feholdexcept): Convert from macro to inline function.
53163         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53164         (libc_fesetenv, libc_feupdateenv): Likewise.
53166         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53167         not previously defined.
53168         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53169         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53170         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53171         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53172         * sysdeps/ieee754/flt-32/math_private.h: New file.
53173         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53174         math_private.h below SET_FLOAT_WORD.
53175         (__isnan, __isinf_ns, __finite): Remove.
53176         (__isnanf, __isinf_nsf, __finitef): Remove.
53178 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53182 2012-03-17  David S. Miller  <davem@davemloft.net>
53184         [BZ #6471]
53185         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53186         for 2.16.
53188 2012-03-16  David S. Miller  <davem@davemloft.net>
53190         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53191         warnings.
53193         [BZ #6471]
53194         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53195         properly.
53196         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53197         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53198         sysdep_routines when subdir is sysvipc.
53199         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53200         __getshmlba helper.
53202         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53204 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53206         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53207         [__LP64__].
53209 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53211         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53212         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53213         (__lround): Renamed to ...
53214         (__llround): This.  Replace long int with long long int.
53215         Define lround functions as aliases of llround functions.
53216         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53218 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53220         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53221         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53222         adresses to uintptr_t.  Replace "long int" and "unsigned long
53223         int" with "greg_t" on va_arg.
53225 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53227         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53228         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53230         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53231         Move e_machine check before EI_CLASS check.  Handle x32
53232         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53233         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53234         SKIP_EM_IA_64 and include
53235         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53237         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53238         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53239         (add_system_dir): New macro.
53241         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53242         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53244 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53246         [BZ #2551]
53247         [BZ #2552]
53248         [BZ #2553]
53249         [BZ #2554]
53250         [BZ #2562]
53251         [BZ #2563]
53252         [BZ #2565]
53253         [BZ #2566]
53254         [BZ #2576]
53255         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53256         (y0): Likewise.
53257         * math/w_j0f.c (j0f): Likewise.
53258         (y0f): Likewise.
53259         * math/w_j0l.c (__j0l): Likewise.
53260         (__y0l): Likewise.
53261         * math/w_j1.c (j1): Likewise.
53262         (y1): Likewise.
53263         * math/w_j1f.c (j1f): Likewise.
53264         (y1f): Likewise.
53265         * math/w_j1l.c (__j1l): Likewise.
53266         (__y1l): Likewise.
53267         * math/w_jn.c (jn): Likewise.
53268         (yn): Likewise.
53269         * math/w_jnf.c (jnf): Likewise.
53270         (ynf): Likewise.
53271         * math/w_jnl.c (__jnl): Likewise.
53272         (__ynl): Likewise.
53273         * math/libm-test.inc (j0_test): Add more tests.
53274         (j1_test): Likewise.
53275         (jn_test): Likewise.  Add trailing semicolon to existing test.
53276         (y0_test): Likewise.
53277         (y1_test): Likewise.
53278         * sysdeps/i386/fpu/libm-test-ulps: Update.
53279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53281         [BZ #13851]
53282         [BZ #13854]
53283         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53284         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53285         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53286         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53287         (__tanl): Set errno for infinite argument.
53288         * sysdeps/i386/fpu/mptan.c: Remove.
53289         * sysdeps/i386/fpu/s_tan.S: Likewise.
53290         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53291         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53292         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53293         * math/libm-test.inc (tan_test): Add more tests and enable more
53294         tests for double and long double.
53295         * sysdeps/i386/fpu/libm-test-ulps: Update.
53296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53298 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53300         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53301         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53303 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53305         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53306         * configure.in: Use it for both main tree and add-ons.
53307         * configure: Regenerated.
53309 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53311         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53313 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53315         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53316         in comment.
53318         [BZ #13851]
53319         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53320         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53321         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53322         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53323         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53324         infinite argument.
53325         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53326         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53327         != 0 for prec == 2.
53328         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53329         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53330         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53331         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53332         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53333         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53334         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53335         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53336         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53337         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53338         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53339         * math/libm-test.inc (cos_test): Add more tests and enable more
53340         tests for long double.
53341         (sin_test): Likewise.
53342         (sincos_test): Likewise.
53343         * sysdeps/i386/fpu/libm-test-ulps: Update.
53344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53346 2012-03-16  David S. Miller  <davem@davemloft.net>
53348         * sysdeps/sparc/fpu/math_private.h: New file.
53350 2012-03-15  David S. Miller  <davem@davemloft.net>
53352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53353         file.
53354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53356         file.
53357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53358         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53359         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53360         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53361         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53362         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53363         sysdep routines.
53364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53366         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53367         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53369         * sysdeps/sparc/sparc-ifunc.h: New file.
53370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53371         sparc-ifunc.h
53372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53374         Likewise.
53375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53376         Likewise.
53377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53381         Likewise.
53382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53387         Likewise.
53388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53389         Likewise.
53390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53394         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53395         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53396         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53397         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53398         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53399         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53400         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53401         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53402         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53403         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53404         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53405         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53406         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53407         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53408         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53409         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53410         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53411         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53412         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53413         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53415 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53417         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53418         scaling.
53419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53421 2012-03-15  Andreas Jaeger  <aj@suse.de>
53423         [BZ #13852]
53424         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53425         ieee754/flt-32 implementation for sin, cos and sincos.
53426         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53427         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53428         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53429         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53430         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53431         ieee754/flt-32 implementation for tan.
53433         * math/libm-test.inc (cos_test): Enable some large input tests for
53434         float as well
53435         (sin_test): Likewise.
53436         (sincos_test): Likewise.
53437         (tan_test): Add tests for large input.
53439         * sysdeps/i386/fpu/libm-test-ulps: Update.
53441 2012-03-15  Andreas Jaeger  <aj@suse.de>
53443         [BZ #13658]
53444         * math/libm-test.inc (cos_test): Add more test cases.
53445         (sin_test): Likewise.
53446         (sincos_test): Likewise.
53448 2012-03-15  Andreas Jaeger  <aj@suse.de>
53450         [BZ #13837]
53451         * math/libm-test.inc (cos_test): Add a test case for large input
53452         value.
53453         (sin_test): Likewise.
53454         (sincos_test): Likewise.
53456 2012-03-15  Andreas Jaeger  <aj@suse.de>
53457             Joseph Myers  <joseph@codesourcery.com>
53459         [BZ #13658]
53460         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53461         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53462         * sysdeps/i386/fpu/branred.c: Likewise.
53463         * sysdeps/i386/fpu/dosincos.c: Likewise.
53464         * sysdeps/i386/fpu/mpa.c: Likewise.
53465         * sysdeps/i386/fpu/s_cos.S: Likewise.
53466         * sysdeps/i386/fpu/s_sin.S: Likewise.
53467         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53468         * sysdeps/i386/fpu/sincos32.c: Likewise.
53470         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53471         Define.
53472         (libc_feupdateenv_53bit): Define.
53473         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53474         Define.
53475         (libc_feupdateenv_53bit): Define.
53477         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53478         53 bit (without extend i386 double precision).
53480         * math/libm-test.inc (sincos_test): Add tests for large input.
53481         (sin): Likewise.
53482         (cos): Likewise.
53484         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53486 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53490 2012-03-15  David S. Miller  <davem@davemloft.net>
53492         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
53493         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
53494         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
53495         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
53496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
53497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
53498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
53499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
53500         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
53501         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
53502         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
53503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
53504         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
53505         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
53506         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
53507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
53508         file.
53509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
53510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
53511         file.
53512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
53513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
53514         file.
53515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
53516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
53517         file.
53518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
53519         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
53520         fmin/fmax sysdep routines.
53521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53523 2012-03-14  David S. Miller  <davem@davemloft.net>
53525         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
53526         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
53527         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
53528         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
53529         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
53530         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
53531         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
53532         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
53533         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
53534         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
53535         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
53536         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
53537         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
53538         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
53539         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
53540         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
53541         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
53542         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
53543         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
53544         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
53545         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
53546         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
53547         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
53548         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
53549         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
53550         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
53551         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
53552         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
53553         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
53554         routines.
53555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
53556         file.
53557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
53558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
53559         file.
53560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
53561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
53562         file.
53563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
53564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
53565         file.
53566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
53567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
53568         file.
53569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
53570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
53571         file.
53572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
53573         file.
53574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
53575         file.
53576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
53577         file.
53578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
53579         New file.
53580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
53581         file.
53582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
53583         file.
53584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
53585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
53586         file.
53587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
53588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
53589         file.
53590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
53591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
53592         file.
53593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
53594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
53595         VIS3 routines.
53597         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53598         New file.
53600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53602         * sysdeps/sparc/configure.in: New file.
53603         * sysdeps/sparc/configure: Generate.
53604         * configure.in (libc_cv_sparc_as_vis3): Substitute.
53605         * configure: Regenerate.
53606         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
53607         * config.make.in (have-as-vis3): New.
53608         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
53609         available use -Av9d instead of -Av9a.
53610         * sysdeps/sparc/sparc64/Makefile: Likewise.
53611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
53612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
53613         New file.
53614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
53615         file.
53616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
53617         New file.
53618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
53619         file.
53620         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
53621         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
53622         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
53623         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
53624         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
53626         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
53627         fzeros/fnegs to load 0x80000000 into a float register instead of
53628         using the stack.
53629         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
53631 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53633         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53634         bits/syscall.h.
53635         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
53636         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
53637         ($(inst_includedir)/bits/syscall.h): Remove rule.
53638         ($(objpfx)bits/syscall.d): Include instead of
53639         $(objpfx)syscall-list.d.
53640         (generated): Change syscall-list.h and syscall-list.d to
53641         bits/syscall.h and bits/syscall.d.
53643 2012-03-14  Roland McGrath  <roland@hack.frob.com>
53645         [BZ #13846]
53646         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
53648 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
53650         [BZ #13841]
53651         * math/s_csqrt.c: Include <float.h>.
53652         (__csqrt): Scale large or subnormal inputs.
53653         * math/s_csqrtf.c: Likewise.
53654         * math/s_csqrtl.c: Likewise.
53655         * math/libm-test.inc (csqrt_test): Add more tests.
53656         * sysdeps/i386/fpu/libm-test-ulps: Update.
53657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53659         [BZ #13840]
53660         * math/libm-test.inc (hypot_test): Add more tests.
53662 2012-03-13  David S. Miller  <davem@davemloft.net>
53664         [BZ #13840]
53665         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
53666         double-precision for the calculation instead of scaling.
53668 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
53670         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
53671         manipulate bits before adding and subtracting TWO52[sx].
53672         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
53673         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
53674         Likewise.
53675         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
53677 2012-03-13  David S. Miller  <davem@davemloft.net>
53679         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
53680         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
53681         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
53682         rtld-global-offsets.h
53683         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53685         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
53686         large parameters.
53688         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
53690         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
53691         'err' in the ifdef scope in which it is actually used.
53693         * nss/nss_db/db-init.c: Include string.h
53695 2012-03-12  David S. Miller  <davem@davemloft.net>
53697         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53698         masking out of the most significant byte of random value used.
53699         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53700         Fix coding style in previous change.
53702         * sysdeps/unix/sysv/linux/kernel-features.h
53703         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
53704         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
53705         expression.
53706         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
53707         later.
53709 2012-03-11  David S. Miller  <davem@davemloft.net>
53711         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53712         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
53713         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
53714         for 'resultvar' otherwise things get truncated on 64-bit.
53716         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53717         Fix masking out of the most significant byte of random value used.
53719         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53721 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
53723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53725 2012-03-09  David S. Miller  <davem@davemloft.net>
53727         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
53728         variables with appropriate CPP guards.
53729         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
53730         from the frame pointer, not the stack pointer.  Correct layout
53731         comments.  Fix test on resulting framesize and the management of
53732         the outregs buffer for pltexit.  Preserve floating point return
53733         values across _dl_call_pltexit call.
53734         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
53735         framesize and the management of the outregs buffer for pltexit.
53736         Preserve floating point return values across _dl_call_pltexit
53737         call.
53738         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
53739         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
53740         (la_sparc64_gnu_pltexit): New functions.
53741         (print_exit): Fix format string for return register value.
53743 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
53745         * sunrpc/Makefile (others): Add rpcgen.
53746         ($(objpfx)rpcgen): Remove special build rule and dependency on
53747         libc.
53748         * sunrpc/rpcgen.c: New file.
53750 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
53752         [BZ #13673]
53753         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
53754         * stdio-common/bug-vfprintf-nargs.c: Likewise.
53755         * sysdeps/i386/crti.S: Likewise.
53756         * sysdeps/i386/crtn.S: Likewise.
53757         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
53758         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
53759         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
53760         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
53761         * sysdeps/sh/crti.S: Likewise.
53762         * sysdeps/sh/crtn.S: Likewise.
53763         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53765         [BZ #13673]
53766         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
53767         with URL.
53768         * locale/programs/locfile-kw.gperf: Likewise.
53769         * locale/programs/charmap-kw.h: Regenerated.
53770         * locale/programs/locfile-kw.h: Likewise.
53772         [BZ #13673]
53773         * intl/plural.y: Replace FSF snail mail address with URL.
53774         * intl/plural.c: Regenerated.
53776 2012-03-09  Richard Henderson  <rth@twiddle.net>
53778         * include/math_private.h: Remove file.
53779         * math/math_private.h: Move file ...
53780         * sysdeps/generic/math_private.h: ... here.
53782         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
53783         * sysdeps/powerpc/fpu/math_private.h: Likewise.
53784         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53786         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
53787         and <math_private.h>.
53788         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53789         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53790         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53791         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53792         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53793         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
53794         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53795         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53796         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53797         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53798         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53799         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53800         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53801         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53802         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53803         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53804         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53805         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53806         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53807         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53808         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53809         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53810         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53811         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53812         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
53813         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53814         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53815         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53816         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53817         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53818         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53819         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53820         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
53821         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53822         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53823         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53824         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53825         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53826         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53827         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53828         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53829         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53830         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53831         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53832         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53833         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53834         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53835         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53836         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53837         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53838         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53839         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53840         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53841         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53842         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53843         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53844         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53845         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53846         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53847         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53848         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53849         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53850         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53851         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53852         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53853         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53854         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53855         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53856         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53857         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53858         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53859         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53860         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53861         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53862         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53863         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53864         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53865         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53866         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53867         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53868         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53869         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53870         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53871         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53872         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53873         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53874         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53875         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53876         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53877         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53878         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53879         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53880         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53881         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53882         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53883         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53884         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53885         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53886         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53887         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53888         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53889         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53890         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53891         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53892         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53893         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53894         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53895         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53896         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53897         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53898         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53899         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53900         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53901         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53902         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53903         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53904         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53905         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53906         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53907         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53908         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53909         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53910         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53911         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53912         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53913         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53914         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53915         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53916         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53917         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53918         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53919         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53920         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53921         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53922         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53923         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53924         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53925         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53926         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53927         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53928         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53929         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53930         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53931         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53932         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53933         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53934         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53935         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53936         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53937         * sysdeps/ieee754/k_standard.c: Likewise.
53938         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53939         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53940         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53941         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53942         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53943         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53944         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53945         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53946         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53947         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53948         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53949         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53950         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53951         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53952         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53953         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53954         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53955         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53956         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53957         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53958         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53959         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53960         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53961         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53962         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53963         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53964         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53965         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53966         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53967         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53968         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53969         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53970         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53971         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53972         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53973         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53974         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53975         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53976         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53977         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53978         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53979         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53980         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53981         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53982         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53983         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53984         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53985         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53986         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53987         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53988         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53989         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53990         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53991         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53992         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53993         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53994         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53995         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53996         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53997         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53998         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53999         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54000         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54001         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54002         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54003         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54004         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54005         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54006         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54007         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54008         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54009         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54010         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54011         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54012         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54013         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54014         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54015         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54016         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54017         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54018         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54019         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54020         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54021         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54022         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54023         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54024         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54025         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54026         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54027         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54028         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54029         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54030         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54031         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54032         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54033         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54034         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54035         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54036         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54037         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54038         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54039         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54040         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54041         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54042         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54043         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54044         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54045         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54046         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54047         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54048         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54049         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54050         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54051         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54052         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54053         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54054         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54055         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54056         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54057         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54058         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54059         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54060         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54061         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54062         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54063         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54064         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54065         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54066         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54067         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54068         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54069         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54070         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54071         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54072         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54073         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54074         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54075         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54076         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54077         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54078         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54079         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54080         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54081         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54082         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54083         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54084         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54085         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54086         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54087         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54088         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54089         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54090         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54091         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54092         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54093         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54094         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54095         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54096         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54097         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54098         * sysdeps/ieee754/s_lib_version.c: Likewise.
54099         * sysdeps/ieee754/s_matherr.c: Likewise.
54100         * sysdeps/ieee754/s_signgam.c: Likewise.
54101         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54102         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54103         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54104         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54105         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54106         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54107         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54108         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54109         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54110         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54111         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54112         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54113         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54114         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54115         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54116         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54117         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54118         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54119         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54120         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54121         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54123 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54125         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54126         * sunrpc/rpc_main.c: Likewise.
54127         * sunrpc/rpc_svcout.c: Likewise.
54129 2012-03-09  David S. Miller  <davem@davemloft.net>
54131         * include/math_private.h: New file.
54133 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54135         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54136         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54137         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54138         from <bits/socket_type.h>.
54139         (enum __socket_type): Don't define here.
54140         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54141         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54142         bits/socket_type.h.
54144         [BZ #13566]
54145         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54146         checking __USE_GNU.
54148         * Makerules ($(inst_includedir)/%.h): New rule.
54149         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54150         (install-others): Remove variable setting.
54151         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54153 2012-03-08  Richard Henderson  <rth@twiddle.net>
54155         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54156         from macro to inline function; merge with the
54157         !__LIBC_INTERNAL_MATH_INLINES version.
54158         (__ieee754_sqrtf): Likewise.
54160         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54161         to inline function.
54162         (__rintf, __floor, __floorf): Likewise.
54164         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54165         macro to inline function.
54166         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54168         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54169         not <math/math_private.h>.
54171 2012-03-08  David S. Miller  <davem@davemloft.net>
54173         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54174         copyright year.
54175         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54177 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54179         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54180         normalization.
54181         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54182         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54184 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54186         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54187         be defined individually, they must be defined as a block.  Define
54188         S for printing a string instead of hidint the different by using a
54189         macro for adding the 'l'.
54190         * stdio-common/tst-fphex-wide.c: Adjust.
54192 2012-03-07  Marek Polacek  <polacek@redhat.com>
54194         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54196 2012-03-08  Marek Polacek  <polacek@redhat.com>
54198         [BZ #13806]
54199         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54200         * stdio-common/tst-fphex.c: Define a few macros to make the
54201         test reusable.  Use them.
54202         * stdio-common/tst-fphex-wide.c: New file.
54204 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54206         [BZ #6911]
54207         * manual/macros.texi (gnusystems): New macro.
54208         (nongnusystems): Likewise.
54209         (gnulinuxhurdsystems): Likewise.
54210         (gnuhurdsystems): Likewise..
54211         (gnulinuxsystems): Likewise.
54212         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54213         variants of the GNU system, not "GNU system".
54214         * manual/conf.texi: Likewise.
54215         * manual/errno.texi: Likewise.  Update example of errno macro
54216         expansion.
54217         * manual/filesys.texi: Likewise.
54218         (getumask): Document as specific to GNU/Hurd.
54219         * manual/install.texi: Likewise.  Reword some references to
54220         GNU/Linux.
54221         * manual/intro.texi: Likewise.
54222         * manual/io.texi: Likewise.
54223         (File Name Portability): Detail which constraints are inapplicable
54224         to all GNU systems and which are only inapplicable to GNU/Hurd.
54225         * manual/job.texi: Likewise.
54226         * manual/llio.texi: Likewise.
54227         (O_NOCTTY): Document as present on GNU/Linux.
54228         * manual/maint.texi: Likewise.
54229         * manual/memory.texi: Likewise.
54230         * manual/pattern.texi: Likewise.
54231         * manual/pipe.texi: Likewise.
54232         * manual/process.texi: Likewise.
54233         * manual/resource.texi: Likewise.
54234         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54235         child on GNU/Hurd.
54236         * manual/setjmp.texi: Likewise.
54237         * manual/signal.texi: Likewise.
54238         * manual/startup.texi: Likewise.
54239         * manual/stdio.texi: Likewise.
54240         * manual/terminal.texi: Likewise.
54241         (ONLCR): Document as POSIX.
54242         (OXTABS): Document availability on GNU/Linux as XTABS.
54243         (ONOEOT): Document availability separately from other bits.
54244         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54245         * manual/time.texi: Likewise.
54246         * manual/users.texi: Likewise.
54247         * INSTALL: Regenerated.
54248         * sysdeps/gnu/errlist.c: Regenerated.
54250         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54251         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54252         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54253         puts.
54254         * configure: Regenerated.
54256 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54258         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54259         default includes instead of AC_HEADER_CHECK.
54260         * sysdeps/i386/configure: Regenerated.
54262         [BZ #10716]
54263         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54264         * math/s_cacoshf.c (__cacoshf): Likewise.
54265         * math/s_cacoshl.c (__cacoshl): Likewise.
54266         * math/s_casinh.c (__casinh): Set signs of result from argument.
54267         * math/s_casinhf.c (__casinhf): Likewise.
54268         * math/s_casinhl.c (__casinhl): Likewise.
54269         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54270         (casinh_test): Add more tests.
54271         * sysdeps/i386/fpu/libm-test-ulps: Update.
54272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54274 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54276         * po/zh_TW.po: Update from translation team.
54278         * login/Makefile (distribute): Remove variable.
54279         * catgets/Makefile: Likewise.
54280         * mach/Makefile: Likewise.
54281         * malloc/Makefile: Likewise.
54282         * misc/Makefile: Likewise.
54283         * iconv/Makefile: Likewise.
54284         * nscd/Makefile: Likewise.
54285         * hurd/Makefile: Likewise.
54286         * manual/Makefile: Likewise.
54287         * locale/Makefile: Likewise.
54288         * intl/Makefile: Likewise.
54289         * conform/Makefile: Likewise.
54290         * nss/Makefile: Likewise.
54291         * time/Makefile: Likewise.
54292         * soft-fp/Makefile: Likewise.
54293         * dirent/Makefile: Likewise.
54294         * gmon/Makefile: Likewise.
54295         * po/Makefile: Likewise.
54296         * rt/Makefile: Likewise.
54297         * socket/Makefile: Likewise.
54298         * math/Makefile: Likewise.
54299         * signal/Makefile: Likewise.
54300         * debug/Makefile: Likewise.
54301         * elf/Makefile: Likewise.
54302         * timezone/Makefile: Likewise.
54303         * stdlib/Makefile: Likewise.
54304         * iconvdata/Makefile: Likewise.
54305         * sunrpc/Makefile: Likewise.
54306         * io/Makefile: Likewise.
54307         * argp/Makefile: Likewise.
54308         * inet/Makefile: Likewise.
54309         * hesiod/Makefile: Likewise.
54310         * grp/Makefile: Likewise.
54311         * csu/Makefile: Likewise.
54312         * wctype/Makefile: Likewise.
54313         * crypt/Makefile: Likewise.
54314         * libio/Makefile: Likewise.
54315         * string/Makefile: Likewise.
54316         * nis/Makefile: Likewise.
54317         * resolv/Makefile: Likewise.
54318         * stdio-common/Makefile: Likewise.
54319         * wcsmbs/Makefile: Likewise.
54320         * dlfcn/Makefile: Likewise.
54321         * posix/Makefile: Likewise.
54323         [BZ #6959]
54324         * timezone/Makefile: Don't install timezone files, just the programs
54325         and scripts.
54327 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54329         * nss/databases.def: Add missing gshadow entry.
54331         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54333 2012-03-06  Marek Polacek  <polacek@redhat.com>
54335         [BZ #13726]
54336         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54337         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54338         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54339         * stdio-common/tst-long-dbl-fphex.c: New file.
54341 2012-03-06  David S. Miller  <davem@davemloft.net>
54343         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54344         (set_obp_int): New function.
54345         (get_obp_int): New function.
54346         (__get_clockfreq_via_dev_openprom): Likewise.
54347         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54348         Avoid unused variable warnings on 'val' and use builtin_expect.
54349         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54350         __builtin_expect.
54351         (INLINE_CLONE_SYSCALL): Likewise.
54353 2012-03-05  David S. Miller  <davem@davemloft.net>
54355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54357 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54361         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54362         only for |x| >= 40.
54363         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54365 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54367         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54368         Replace gettimeofday with __vdso_gettimeofday.
54370         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54371         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54372         __vdso_clock_gettime and __vdso_getcpu.
54374         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54375         time with __vdso_time.
54377 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54379         * manual/lang.texi (size_t): Note types to which size_t may be
54380         equivalent with the GNU C Library, but do not describe when
54381         differences between them are significant.
54383 2012-03-05  Andreas Jaeger  <aj@suse.de>
54385         * sysdeps/i386/fpu/libm-test-ulps: Update.
54387 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54389         [BZ #3976]
54390         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54391         (__ieee754_pow): Save and restore rounding mode and use
54392         round-to-nearest for main computations.
54393         * math/libm-test.inc (pow_test_tonearest): New function.
54394         (pow_test_towardzero): Likewise.
54395         (pow_test_downward): Likewise.
54396         (pow_test_upward): Likewise.
54397         (main): Call the new functions.
54398         * sysdeps/i386/fpu/libm-test-ulps: Update.
54399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54401         [BZ #3976]
54402         * math/libm-test.inc (cosh_test_tonearest): New function.
54403         (cosh_test_towardzero): Likewise.
54404         (cosh_test_downward): Likewise.
54405         (cosh_test_upward): Likewise.
54406         (sinh_test_tonearest): Likewise.
54407         (sinh_test_towardzero): Likewise.
54408         (sinh_test_downward): Likewise.
54409         (sinh_test_upward): Likewise.
54410         (main): Call the new functions.
54411         * sysdeps/i386/fpu/libm-test-ulps: Update.
54412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54414 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54416         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54417         default stack guard is set in last bytes.
54418         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54420 2012-03-05  Kees Cook  <keescook@chromium.org>
54422         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54424         [BZ #13656]
54425         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54426         possibly allocate from heap instead of stack.
54427         * stdio-common/bug-vfprintf-nargs.c: New file.
54428         * stdio-common/Makefile (tests): Add nargs overflow test.
54430 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54434 2012-03-03  Marek Polacek  <polacek@redhat.com>
54436         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54437         * math/math_private.h: Likewise.
54438         * stdlib/tst-strtod.c: Likewise.
54439         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54440         * sysdeps/x86_64/bits/atomic.h: Likewise.
54442 2012-03-02  David S. Miller  <davem@davemloft.net>
54444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54448         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54449         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54450         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54451         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54453 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54455         [BZ #13792]
54456         * manual/examples/README: New file, says the example source files
54457         can be used under GPL>=2.
54458         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54459         line containing just "*/".
54460         * manual/examples/add.c: Add copyright header (GPL>=2).
54461         * manual/examples/argp-ex1.c: Likewise.
54462         * manual/examples/argp-ex2.c: Likewise.
54463         * manual/examples/argp-ex3.c: Likewise.
54464         * manual/examples/argp-ex4.c: Likewise.
54465         * manual/examples/atexit.c: Likewise.
54466         * manual/examples/db.c: Likewise.
54467         * manual/examples/dir.c: Likewise.
54468         * manual/examples/dir2.c: Likewise.
54469         * manual/examples/execinfo.c: Likewise.
54470         * manual/examples/filecli.c: Likewise.
54471         * manual/examples/filesrv.c: Likewise.
54472         * manual/examples/fmtmsgexpl.c: Likewise.
54473         * manual/examples/genpass.c: Likewise.
54474         * manual/examples/inetcli.c: Likewise.
54475         * manual/examples/inetsrv.c: Likewise.
54476         * manual/examples/isockad.c: Likewise.
54477         * manual/examples/longopt.c: Likewise.
54478         * manual/examples/memopen.c: Likewise.
54479         * manual/examples/memstrm.c: Likewise.
54480         * manual/examples/mkfsock.c: Likewise.
54481         * manual/examples/mkisock.c: Likewise.
54482         * manual/examples/mygetpass.c: Likewise.
54483         * manual/examples/pipe.c: Likewise.
54484         * manual/examples/popen.c: Likewise.
54485         * manual/examples/rprintf.c: Likewise.
54486         * manual/examples/search.c: Likewise.
54487         * manual/examples/select.c: Likewise.
54488         * manual/examples/setjmp.c: Likewise.
54489         * manual/examples/sigh1.c: Likewise.
54490         * manual/examples/sigusr.c: Likewise.
54491         * manual/examples/stpcpy.c: Likewise.
54492         * manual/examples/strdupa.c: Likewise.
54493         * manual/examples/strftim.c: Likewise.
54494         * manual/examples/strncat.c: Likewise.
54495         * manual/examples/subopt.c: Likewise.
54496         * manual/examples/swapcontext.c: Likewise.
54497         * manual/examples/termios.c: Likewise.
54498         * manual/examples/testopt.c: Likewise.
54499         * manual/examples/testpass.c: Likewise.
54500         * manual/examples/timeval_subtract.c: Likewise.
54502         [BZ #13792]
54503         * manual/time.texi (Elapsed Time): Move timeval_subtract example
54504         function to ...
54505         * manual/timeval_subtract.c.texi: ... here, new file.
54507 2012-03-02  David S. Miller  <davem@davemloft.net>
54509         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
54511 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
54513         [BZ #3976]
54514         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
54515         (__sin): Save and restore rounding mode and use round-to-nearest
54516         for all computations.
54517         (__cos): Save and restore rounding mode and use round-to-nearest
54518         for all computations.
54519         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
54520         <fenv.h>.
54521         (tan): Save and restore rounding mode and use round-to-nearest for
54522         all computations.
54523         * math/libm-test.inc (cos_test_tonearest): New function.
54524         (cos_test_towardzero): Likewise.
54525         (cos_test_downward): Likewise.
54526         (cos_test_upward): Likewise.
54527         (sin_test_tonearest): Likewise.
54528         (sin_test_towardzero): Likewise.
54529         (sin_test_downward): Likewise.
54530         (sin_test_upward): Likewise.
54531         (tan_test_tonearest): Likewise.
54532         (tan_test_towardzero): Likewise.
54533         (tan_test_downward): Likewise.
54534         (tan_test_upward): Likewise.
54535         (main): Call the new functions.
54536         * sysdeps/i386/fpu/libm-test-ulps: Update.
54537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54539         [BZ #10135]
54540         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
54541         small n, then large n, before computing and testing k+n.
54542         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54543         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
54544         Likewise.
54545         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
54546         Likewise.
54547         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
54548         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
54549         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
54550         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
54551         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
54552         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
54553         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
54554         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
54555         * math/libm-test.inc (scalbn_test): Add more tests.
54556         (scalbln_test): Likewise.
54558         * manual/filesys.texi (mode_t): Describe constraints on size and
54559         signedness, not exact equivalence to a particular type.
54560         (ino_t): Likewise.
54561         (ino64_t): Likewise.
54562         (dev_t): Likewise.
54563         (nlink_t): Likewise.
54564         (blkcnt_t): Likewise.
54565         (blkcnt64_t): Likewise.
54566         * manual/llio.texi (off_t): Likewise.
54568         [BZ #3976]
54569         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
54570         (__ieee754_exp): Save and restore rounding mode and use
54571         round-to-nearest for all computations.
54572         * math/libm-test.inc (exp_test_tonearest): New function.
54573         (exp_test_towardzero): Likewise.
54574         (exp_test_downward): Likewise.
54575         (exp_test_upward): Likewise.
54576         (main): Call the new functions.
54577         * sysdeps/i386/fpu/libm-test-ulps: Update.
54578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54580 2012-03-01  Chris Demetriou  <cgd@google.com>
54582         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
54583         have predictable order.
54585 2012-03-01  David S. Miller  <davem@davemloft.net>
54587         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
54589         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
54590         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
54591         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
54592         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
54594         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
54595         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
54596         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
54597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
54598         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
54599         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
54600         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
54601         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
54602         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
54604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54606         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
54607         * sysdeps/sparc/fpu/libm-test-ulps: to here.
54608         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
54610         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
54611         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54612         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54613         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
54614         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
54615         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
54616         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
54617         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54618         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54619         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
54620         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
54621         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54622         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54623         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54624         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54625         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54626         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
54627         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
54628         * sysdeps/sparc/elf/configure: Regenerated.
54630 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
54632         * configure.in (AS, LD): Require binutils 2.20 or later.
54633         * configure: Regenerated.
54634         * manual/install.texi (Tools for Compilation): Give binutils 2.20
54635         as required minimum version.
54636         * INSTALL: Regenerated.
54638         [BZ #2541]
54639         [BZ #4108]
54640         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
54641         before squaring exponent.
54642         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
54643         bottom long double and 27 bits of top long double before squaring
54644         exponent.
54645         * math/libm-test.inc (erfc_test): Add more tests.
54646         * sysdeps/i386/fpu/libm-test-ulps: Update.
54647         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54650 2012-03-01  Kai Tietz  <ktietz@redhat.com>
54652         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
54653         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
54654         containing bit-fields.
54655         * soft-fp/extended.h (_FP_UNION_E): Likewise.
54656         * soft-fp/single.h (_FP_UNION_S): Likewise.
54657         * soft-fp/double.h (_FP_UNION_D): Likewise.
54659 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54661         [BZ #13786]
54662         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
54663         not include ../strcmp.S.
54664         [USE_AS_STRNCASECMP_L]: Likewise.
54665         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
54666         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
54667         * sysdeps/i386/i686/multiarch/strncase_l-c.c
54668         (__strncasecmp_l_ia32): Define as alias to
54669         __strncasecmp_l_nonascii.
54671         [BZ #5794]
54672         * math/libm-test.inc (expm1_test): Add test for bug 5794.
54673         * sysdeps/i386/fpu/libm-test-ulps: Update.
54674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54676         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
54677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54679 2012-02-29  Jeff Law  <law@redhat.com>
54681         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
54682         out of bounds read.
54684 2012-02-29  Marek Polacek  <polacek@redhat.com>
54686         [BZ #13706]
54687         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
54688         * elf/Makefile: Add rules to run tst-unused-dep.out.
54690 2012-02-28  David S. Miller  <davem@davemloft.net>
54692         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
54693         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
54694         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
54695         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
54696         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
54697         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
54699 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
54701         * math/libm-test.inc (llround_test): Move one test from
54702         lround_test.  Use TEST_f_L in moved test.
54703         (lround_test): Move misplaced test to llround_test.  Add testcase
54704         from bug 2561.
54706 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
54708         * sysdeps/x86_64/fpu/e_expf.S: New file.
54709         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
54711 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
54713         [BZ #13637]
54714         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
54715         of remain_len that may cause incomplete multi-byte character and
54716         false match.
54717         * posix/bug-regex33.c: New file.
54718         * posix/Makefile (tests): Add bug-regex33.
54720 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
54722         * manual/macros.texi: New file.
54723         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
54724         * manual/libc.texinfo: Include macros.texi.
54725         * manual/creatute.texi: Likewise.
54726         * manual/install.texi: Likewise.
54727         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
54728         @glibcadj{} in references to the GNU C Library.
54729         * manual/charset.texi: Likewise.
54730         * manual/conf.texi: Likewise.
54731         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
54732         when not using those macros.
54733         * manual/creature.texi: Likewise.
54734         * manual/crypt.texi: Likewise.
54735         * manual/errno.texi: Likewise.
54736         * manual/filesys.texi: Likewise.
54737         * manual/header.texi: Likewise.
54738         * manual/install.texi: Likewise.
54739         * manual/intro.texi: Likewise.
54740         * manual/io.texi: Likewise.
54741         * manual/job.texi: Likewise.
54742         * manual/lang.texi: Likewise.
54743         * manual/libc.texiinfo: Likewise.
54744         * manual/llio.texi: Likewise.
54745         * manual/locale.texi: Likewise.
54746         * manual/maint.texi: Likewise.
54747         * manual/math.texi: Likewise.
54748         * manual/memory.texi: Likewise.
54749         * manual/message.texi: Likewise.
54750         * manual/nss.texi: Likewise.
54751         * manual/pattern.texi: Likewise.
54752         * manual/process.texi: Likewise.
54753         * manual/resource.texi: Likewise.
54754         * manual/search.texi: Likewise.
54755         * manual/setjmp.texi: Likewise.
54756         * manual/signal.texi: Likewise.
54757         * manual/socket.texi: Likewise.
54758         * manual/startup.texi: Likewise.
54759         * manual/stdio.texi: Likewise.
54760         * manual/string.texi: Likewise.
54761         * manual/sysinfo.texi: Likewise.
54762         * manual/syslog.texi: Likewise.
54763         * manual/terminal.texi: Likewise.
54764         * manual/time.texi: Likewise.
54765         * manual/users.texi: Likewise.
54766         * INSTALL: Regenerated.
54767         * NOTES: Regenerated.
54768         * sysdeps/gnu/errlist.c: Regenerated.
54770 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
54772         * include/dirent.h: Include <dirstream.h> before
54773         <dirent/dirent.h>.
54775 2012-02-28  David S. Miller  <davem@davemloft.net>
54777         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
54778         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
54779         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
54780         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
54782 2012-02-27  David S. Miller  <davem@davemloft.net>
54784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
54785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
54786         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
54787         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
54789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
54790         frame pointer instead of stack pointer relative arg slot.
54791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54792         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54793         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54795 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
54797         [BZ #3992]
54798         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
54800 2012-02-27  David S. Miller  <davem@davemloft.net>
54802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
54803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
54804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
54806         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
54807         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
54808         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
54809         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
54811 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54813         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
54814         later.  Allow versions 5-9.
54815         * configure: Regenerated.
54816         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
54817         required minimum version and 4.6 as recommended version.  Do not
54818         mention bugs in GCC 2.7 and 2.8.
54819         * INSTALL: Regenerated.
54821 2012-02-27  David S. Miller  <davem@davemloft.net>
54823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54827         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54828         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54829         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54830         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54832         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54833         manipulate bits before adding and subtracting TWO112[sx].
54834         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54836 2012-02-27  Roland McGrath  <roland@hack.frob.com>
54838         [BZ #13775]
54839         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54840         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54841         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54842         being in POSIX, because they are in 1003.1-2008.
54844         * rt/tst-aio.c: Include <fcntl.h>.
54845         * rt/tst-aio7.c: Likewise.
54846         * rt/tst-aio64.c: Likewise.
54848         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54850 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
54852         * manual/install.texi (--with-headers): Describe headers as
54853         interface headers, not private headers.
54854         (Specific advice for GNU/Linux systems): Describe use of headers
54855         from "make headers_install", not private headers from older
54856         kernels.
54857         * INSTALL: Regenerated.
54858         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54859         Change to 2.6.19.
54860         * sysdeps/unix/sysv/linux/configure: Regenerated.
54862         * manual/llio.texi (fclean): Remove documentation.
54864         * manual/Makefile (libc-texi-generated): New variable.  Include
54865         version.texi.
54866         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54867         $(libc-texi-generated), not duplicated list of files.
54868         (version.texi, stamp-version): New rules.
54869         (realclean): Remove $(libc-texi-generated), not individual files
54870         from that list.  Do not remove dir-add.texinfo.
54871         * manual/libc.texinfo: Comment out uses of edition numbers and
54872         references to printed manual.  Remove last-updated dates.
54873         (EDITION): Comment out.
54874         (ISBN): Likewise.
54875         (VERSION, UPDATED): Remove.
54876         (version.texi): Include.
54878 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
54880         * sysdeps/posix/spawni.c: Include <signal.h>.
54881         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54882         * sysdeps/pthread/aio_fsync.c: Likewise.
54884 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
54886         * conform/Makefile (tests): Run only when not cross-compiling and
54887         when fast-check is not defined.
54889         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54890         * conform/data/limits.h-data: Fixes for POSIX2008.
54891         * conform/run-conformtest.sh: Run all tests.
54892         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54893         headers.
54894         * include/bits/dlfcn.h: Likewise.
54895         * include/langinfo.h: Likewise.
54896         * include/monetary.h: Likewise.
54897         * include/sys/poll.h: Likewise.
54899         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54900         for __USE_GNU.
54901         * posix/spawn.h: Define __need_sigset_t.
54902         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54903         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54904         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
54905         to get sigevent_t only.
54906         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54907         only for __USE_GNU.
54908         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54909         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54910         process_vm_writev only for __USE_GNU.
54911         * termios/termios.h: Declare tcgetsid also for POSIX2008.
54913         * conform/Makefile: For now ignore errors from run-conformtest.
54914         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
54915         POSIX to avoid namespace pollution.  Don't prepend headers.
54916         * conform/data/aio.h-data: Fixes for POSIX testing.
54917         * conform/data/fcntl.h-data: Likewise.
54918         * conform/data/glob.h-data: Likewise.
54919         * conform/data/grp.h-data: Likewise.
54920         * conform/data/pthread.h-data: Likewise.
54921         * conform/data/pwd.h-data: Likewise.
54922         * conform/data/signal.h-data: Likewise.
54923         * conform/data/spawn.h-data: Likewise.
54924         * conform/data/stdio.h-data: Likewise.
54925         * conform/data/stdlib.h-data: Likewise.
54926         * conform/data/stropts.h-data: Likewise.
54927         * conform/data/sys/mman.h-data: Likewise.
54928         * conform/data/sys/stat.h-data: Likewise.
54929         * conform/data/sys/types.h-data: Likewise.
54930         * conform/data/sys/wait.h-data: Likewise.
54931         * conform/data/time.h-data: Likewise.
54932         * conform/data/unistd.h-data: Likewise.
54933         * conform/data/utime.h-data: Likewise.
54935         * io/sys/stat.h: fchmod was always in POSIX.
54936         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54937         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54938         * rt/aio.h: Define __need_timespec before including <time.h>.
54939         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54940         struct.  Add forward declaration of pthread_attr_t and use it in
54941         sigevent.
54942         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54943         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54944         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54945         always remove CLK_TCK definition.
54947 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
54949         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54951 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
54953         * conform/run-conformtest.sh: New file.
54954         * conform/Makefile: Run run-conformtest for tests.
54955         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
54956         support.
54958         * conform/data/uchar.h-data: New file.
54959         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54960         * conform/data/arpa/inet.h-data: Likewise.
54961         * conform/data/assert.h-data: Likewise.
54962         * conform/data/complex.h-data: Likewise.
54963         * conform/data/cpio.h-data: Likewise.
54964         * conform/data/ctype.h-data: Likewise.
54965         * conform/data/dirent.h-data: Likewise.
54966         * conform/data/dlfcn.h-data: Likewise.
54967         * conform/data/errno.h-data: Likewise.
54968         * conform/data/fcntl.h-data: Likewise.
54969         * conform/data/float.h-data: Likewise.
54970         * conform/data/fmtmsg.h-data: Likewise.
54971         * conform/data/fnmatch.h-data: Likewise.
54972         * conform/data/ftw.h-data: Likewise.
54973         * conform/data/glob.h-data: Likewise.
54974         * conform/data/grp.h-data: Likewise.
54975         * conform/data/iconv.h-data: Likewise.
54976         * conform/data/inttypes.h-data: Likewise.
54977         * conform/data/langinfo.h-data: Likewise.
54978         * conform/data/libgen.h-data: Likewise.
54979         * conform/data/limits.h-data: Likewise.
54980         * conform/data/locale.h-data: Likewise.
54981         * conform/data/math.h-data: Likewise.
54982         * conform/data/monetary.h-data: Likewise.
54983         * conform/data/mqueue.h-data: Likewise.
54984         * conform/data/ndbm.h-data: Likewise.
54985         * conform/data/net/if.h-data: Likewise.
54986         * conform/data/netdb.h-data: Likewise.
54987         * conform/data/netinet/in.h-data: Likewise.
54988         * conform/data/nl_types.h-data: Likewise.
54989         * conform/data/poll.h-data: Likewise.
54990         * conform/data/pthread.h-data: Likewise.
54991         * conform/data/pwd.h-data: Likewise.
54992         * conform/data/regex.h-data: Likewise.
54993         * conform/data/sched.h-data: Likewise.
54994         * conform/data/search.h-data: Likewise.
54995         * conform/data/semaphore.h-data: Likewise.
54996         * conform/data/setjmp.h-data: Likewise.
54997         * conform/data/signal.h-data: Likewise.
54998         * conform/data/spawn.h-data: Likewise.
54999         * conform/data/stdarg.h-data: Likewise.
55000         * conform/data/stdio.h-data: Likewise.
55001         * conform/data/stdlib.h-data: Likewise.
55002         * conform/data/string.h-data: Likewise.
55003         * conform/data/strings.h-data: Likewise.
55004         * conform/data/stropts.h-data: Likewise.
55005         * conform/data/sys/ipc.h-data: Likewise.
55006         * conform/data/sys/mman.h-data: Likewise.
55007         * conform/data/sys/msg.h-data: Likewise.
55008         * conform/data/sys/resource.h-data: Likewise.
55009         * conform/data/sys/select.h-data: Likewise.
55010         * conform/data/sys/sem.h-data: Likewise.
55011         * conform/data/sys/shm.h-data: Likewise.
55012         * conform/data/sys/socket.h-data: Likewise.
55013         * conform/data/sys/stat.h-data: Likewise.
55014         * conform/data/sys/statvfs.h-data: Likewise.
55015         * conform/data/sys/time.h-data: Likewise.
55016         * conform/data/sys/timeb.h-data: Likewise.
55017         * conform/data/sys/times.h-data: Likewise.
55018         * conform/data/sys/types.h-data: Likewise.
55019         * conform/data/sys/uio.h-data: Likewise.
55020         * conform/data/sys/un.h-data: Likewise.
55021         * conform/data/sys/utsname.h-data: Likewise.
55022         * conform/data/sys/wait.h-data: Likewise.
55023         * conform/data/syslog.h-data: Likewise.
55024         * conform/data/tar.h-data: Likewise.
55025         * conform/data/termios.h-data: Likewise.
55026         * conform/data/utime.h-data: Likewise.
55027         * conform/data/utmpx.h-data: Likewise.
55028         * conform/data/varargs.h-data: Likewise.
55029         * conform/data/wchar.h-data: Likewise.
55030         * conform/data/wctype.h-data: Likewise.
55031         * conform/data/wordexp.h-data: Likewise.
55033         * include/stropts.h: New file.
55034         * include/uchar.h: New file.
55035         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55036         * include/assert.h: Likewise.
55037         * include/ctype.h: Likewise.
55038         * include/dirent.h: Likewise.
55039         * include/dlfcn.h: Likewise.
55040         * include/fcntl.h: Likewise.
55041         * include/fnmatch.h: Likewise.
55042         * include/glob.h: Likewise.
55043         * include/grp.h: Likewise.
55044         * include/libio.h: Likewise.
55045         * include/locale.h: Likewise.
55046         * include/math.h: Likewise.
55047         * include/net/if.h: Likewise.
55048         * include/netdb.h: Likewise.
55049         * include/netinet/in.h: Likewise.
55050         * include/pthread.h: Likewise.
55051         * include/pwd.h: Likewise.
55052         * include/regex.h: Likewise.
55053         * include/sched.h: Likewise.
55054         * include/search.h: Likewise.
55055         * include/setjmp.h: Likewise.
55056         * include/signal.h: Likewise.
55057         * include/stdio.h: Likewise.
55058         * include/stdlib.h: Likewise.
55059         * include/string.h: Likewise.
55060         * include/sys/cdefs.h: Likewise.
55061         * include/sys/mman.h: Likewise.
55062         * include/sys/msg.h: Likewise.
55063         * include/sys/resource.h: Likewise.
55064         * include/sys/select.h: Likewise.
55065         * include/sys/socket.h: Likewise.
55066         * include/sys/stat.h: Likewise.
55067         * include/sys/statvfs.h: Likewise.
55068         * include/sys/time.h: Likewise.
55069         * include/sys/times.h: Likewise.
55070         * include/sys/uio.h: Likewise.
55071         * include/sys/utsname.h: Likewise.
55072         * include/sys/wait.h: Likewise.
55073         * include/termios.h: Likewise.
55074         * include/time.h: Likewise.
55075         * include/ulimit.h: Likewise.
55076         * include/unistd.h: Likewise.
55077         * include/utime.h: Likewise.
55078         * include/wchar.h: Likewise.
55079         * include/wctype.h: Likewise.
55080         * include/wordexp.h: Likewise.
55082         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55084         * time/time.h: TIME_UTC must be a macro.
55085         Make timespec_get available for ISO C11 only as well.
55087 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55089         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55090         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55092 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55094         * configure.in: Use -o not -a in test for unsupported multi-arch.
55096 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55098         * manual/texinfo.tex: Update to version 2012-01-19.16.
55100 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55102         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55104 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55106         [BZ #13738]
55107         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55108         * manual/fdl-1.3.texi: New file.
55109         * manual/fdl-1.1.texi: File removed.
55111         [BZ #13738]
55112         * manual/libc.texinfo (FDL_VERSION): New @set.
55113         Use it for mention of FDL in cover text.
55114         (Documentation License): Use it in @include file name.
55116 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55117             Roland McGrath  <roland@hack.frob.com>
55119         [BZ #5461]
55120         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55121         (not LONG_LONG_MAX and LONG_LONG_MIN.
55122         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55123         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55124         name.
55125         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55127 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55129         [BZ #2547]
55130         [BZ #11365]
55131         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55132         manipulate bits before adding and subtracting TWO23[sx].
55133         * math/libm-test.inc (nearbyint_test): Add more tests.
55135 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55137         [BZ #2548]
55138         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55139         bits before adding and subtracting TWO23[sx].
55140         * math/libm-test.inc (rint_test): Add more tests.
55141         (rint_test_tonearest): Likewise.
55142         (rint_test_towardzero): Likewise.
55143         (rint_test_downward): Likewise.
55144         (rint_test_upward: Likewise.
55146 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55148         [BZ #10110]
55149         * include/stdc-predef.h: New file.  Extracted from features.h.
55150         * include/features.h: Include stdc-predef.h.
55151         * Makefile (headers): Add stdc-predef.h.
55152         * CONFORMANCE (Compiler limitations): Update.
55154 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55156         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55158 2012-02-21  David S. Miller  <davem@davemloft.net>
55160         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55161         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55163 2012-02-20  David S. Miller  <davem@davemloft.net>
55165         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55166         using a normal save/restore sequence, rather than allocating a
55167         dummy stack frame just to store a frame pointer and restore.
55168         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55170 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55172         * manual/install.texi: Fix stray word in line-wrapped comment.
55174 2012-02-20  David S. Miller  <davem@davemloft.net>
55176         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55177         both binutils and gcc support GOTDATA.
55179         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55180         "rd %pc" in the PIC register setup sequences.
55182         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55183         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55184         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55185         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55186         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55187         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55188         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55189         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55190         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55191         (SYSCALL_ERROR_HANDLER): Likewise.
55192         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55193         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55194         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55195         (SYSCALL_ERROR_HANDLER): Likewise.
55197         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55198         (HAVE_GCC_GOTDATA): New.
55199         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55200         relocation support in both binutils and gcc.
55201         * sysdeps/sparc/elf/configure: Regenerate.
55203         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55204         * sysdeps/sparc/sparc32/elf/configure: Delete.
55205         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55206         * sysdeps/sparc/sparc64/elf/configure: Delete.
55207         * sysdeps/sparc/elf/configure.in: New file.
55208         * sysdeps/sparc/elf/configure: Generate.
55210         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55211         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55212         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55213         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55214         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55216 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55218         * manual/install.texi: Do not mention specific glibc version
55219         numbers.
55220         * manual/libc.texinfo (VERSION, UPDATED): Update.
55221         (@copying): Use @copyright{} and range of years.
55223 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55225         [BZ #13695]
55226         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55227         [crti.S not in sysdirs] (generated): Do not append.
55228         [crti.S not in sysdirs] (omit-deps): Likewise.
55229         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55230         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55231         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55232         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55233         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55234         Likewise.
55235         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55236         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55237         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55238         * csu/defs.awk: Remove file.
55239         * sysdeps/generic/initfini.c: Likewise.
55240         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55241         variable.
55242         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55243         Likewise.
55245 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55247         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55248         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55249         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55250         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55251         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55252         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55253         <bits/epoll.h>.
55254         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55255         (__EPOLL_PACKED): Define to empty if not defined by
55256         <bits/epoll.h>.
55257         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55258         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55259         bits/epoll.h.
55261 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55263         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55264         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55265         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55266         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55267         <bits/timerfd.h>.
55268         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55269         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55270         bits/timerfd.h.
55272 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55274         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55275         in C locale.
55276         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55277         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55278         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55281 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55283         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55284         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55286 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55288         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55289         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55290         defined.
55291         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55292         Likewise.
55293         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55294         entry for 2.16.
55296 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55298         * math/w_acos.c: Use non-signaling floating-point comparisons.
55299         * math/w_acosf.c: Likewise.
55300         * math/w_acosh.c: Likewise.
55301         * math/w_acoshf.c: Likewise.
55302         * math/w_acoshl.c: Likewise.
55303         * math/w_acosl.c: Likewise.
55304         * math/w_asin.c: Likewise.
55305         * math/w_asinf.c: Likewise.
55306         * math/w_asinl.c: Likewise.
55307         * math/w_atanh.c: Likewise.
55308         * math/w_atanhf.c: Likewise.
55309         * math/w_atanhl.c: Likewise.
55310         * math/w_exp2.c: Likewise.
55311         * math/w_exp2f.c: Likewise.
55312         * math/w_exp2l.c: Likewise.
55313         * math/w_j0.c: Likewise.
55314         * math/w_j0f.c: Likewise.
55315         * math/w_j0l.c: Likewise.
55316         * math/w_j1.c: Likewise.
55317         * math/w_j1f.c: Likewise.
55318         * math/w_j1l.c: Likewise.
55319         * math/w_jn.c: Likewise.
55320         * math/w_jnf.c: Likewise.
55321         * math/w_log.c: Likewise.
55322         * math/w_log10.c: Likewise.
55323         * math/w_log10f.c: Likewise.
55324         * math/w_log10l.c: Likewise.
55325         * math/w_log2.c: Likewise.
55326         * math/w_log2f.c: Likewise.
55327         * math/w_log2l.c: Likewise.
55328         * math/w_logf.c: Likewise.
55329         * math/w_logl.c: Likewise.
55330         * math/w_sqrt.c: Likewise.
55331         * math/w_sqrtf.c: Likewise.
55332         * math/w_sqrtl.c: Likewise.
55333         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55334         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55335         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55336         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55337         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55339 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55341         [BZ #9739]
55342         * manual/string.texi (strnlen): Use correct parameter name in
55343         equivalent expression.
55345 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55347         [BZ #11174]
55348         * manual/users.texi (seteuid): Consistently use neweuid for
55349         argument name.
55351 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55353         [BZ #13704]
55354         * manual/nss.texi (Services in the NSS configuration): Correct
55355         list of services in example configuration file.
55357 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55359         [BZ #11322]
55360         * manual/arith.texi: Remove statements about negative zero
55361         behaving identically to zero.
55363 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55365         [BZ #5993]
55366         * manual/install.texi: Do not document upgrading from libc5.
55368 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55370         [BZ #4596]
55371         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55373 2012-02-18  David S. Miller  <davem@davemloft.net>
55375         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55376         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55377         %o7 across the call.
55378         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55379         instead.
55380         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55381         SETUP_PIC_REG_LEAF.
55382         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55383         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55384         * sysdeps/sparc/crtn.S: Likewise.
55386 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55388         * aout/Makefile: Remove.
55390 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55392         [BZ #13058]
55393         * manual/examples/argp-ex1.c (main): Format definition in GNU
55394         style.
55395         * manual/examples/argp-ex2.c (main): Likewise.
55396         * manual/examples/argp-ex3.c (main): Likewise.
55397         * manual/examples/argp-ex4.c (main): Likewise.
55398         * manual/examples/longopt.c (main): Use new-style prototype
55399         definition.
55400         * manual/examples/strncat.c (main): Specify return type and use
55401         (void) for arguments.
55402         * manual/examples/subopt.c (main): Use char **argv argument.
55404 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55406         [BZ #5077]
55407         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55408         rounding modes.
55410 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55412         [BZ #6907]
55413         * manual/string.texi (strchr): Change when strchrnul is
55414         recommended.
55416 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55418         [BZ #174]
55419         * manual/locale.texi (setlocale): Document LOCPATH.
55421 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55423         [BZ #10210]
55424         * manual/process.texi (execle): Move @dots{} before last argument.
55426 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55428         [BZ #12047]
55429         * manual/charset.texi (Generic Charset Conversion): Fix typo
55430         (LC_TYPE -> LC_CTYPE).
55432 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55434         [BZ #5805]
55435         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55436         (scalbnf): Likewise.
55437         (scalbnl): Likewise.
55438         (scalbln): Likewise.
55439         (scalblnf): Likewise.
55440         (scalblnl): Likewise.
55441         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55442         (vwarnx): Likewise.
55443         (verr): Likewise.
55444         (verrx): Likewise.
55445         * manual/filesys.texi (telldir): Use braces around return type.
55446         * manual/llio.texi (mmap): Add space after comma.
55447         (mmap64): Likewise.
55448         * manual/math.texi (jn): Use @var{} on parameter names.
55449         (jnf): Likewise.
55450         (jnl): Likewise.
55451         (yn): Likewise.
55452         (ynf): Likewise.
55453         (ynl): Likewise.
55454         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55455         line.
55456         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55457         "...".
55458         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55459         (sched_get_priority_max): Likewise.
55460         * manual/signal.texi (sigvec): Add space after comma.
55461         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55462         names.
55463         (if_indextoname): Likewise.
55464         (if_freenameindex): Likewise.
55465         (sendto): Use ',' instead of '.' in prototype.
55466         * manual/startup.texi (syscall): Use @dots{} instead of literal
55467         "...".
55468         * manual/stdio.texi (__fpending): Separate initial words of
55469         paragraph from @deftypefun line.
55470         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55471         "...".
55472         (vsyslog): Use @var{} on parameter names.
55473         * manual/terminal.texi (stty): Use @var{} on parameter names.
55474         * manual/users.texi (getutmp): Use @var{} on parameter names.
55475         (getutmpx): Likewise.
55477 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55479         [BZ #6884]
55480         * manual/stdio.texi (fopen): Fix typos in description of
55481         ",ccs=STRING".
55483 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55485         [BZ #4026]
55486         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55487         get clock_id definition.
55489 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55491         [BZ #4822]
55492         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
55493         (madvise): Cast every argument to void on its own.
55495 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55497         [BZ #9902]
55498         * manual/startup.texi (Exit Status): Fix typo.
55500 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55502         [BZ #10140]
55503         * manual/examples/argp-ex1.c: Include <stdlib.h>.
55504         * manual/examples/argp-ex2.c: Likewise.
55505         * manual/examples/argp-ex3.c: Likewise.
55507 2012-02-16  Richard Henderson  <rth@redhat.com>
55509         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
55510         * sysdeps/s390/s390-32/initfini.c: Remove.
55511         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
55512         * sysdeps/s390/s390-64/initfini.c: Remove.
55514 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55516         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
55517         compiler output for sysdeps/generic/initfini.c.
55518         * sysdeps/sh/elf/initfini.c: Remove file.
55520 2012-02-16  David S. Miller  <davem@davemloft.net>
55522         [BZ #11494]
55523         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
55525         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
55526         * sysdeps/sparc/crti.S: New file.
55527         * sysdeps/sparc/crtn.S: New file.
55528         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
55529         * sysdeps/sparc/sparc64/Makefile: Likewise.
55531 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
55533         [BZ #3335]
55534         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
55536 2012-02-15  Roland McGrath  <roland@hack.frob.com>
55538         [BZ #4822]
55539         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
55541         * mach/devstream.c (cookie_io_functions_t): Macro removed.
55542         (write, read, close): Likewise.
55543         Patch by Aurelien Jarno <aurelien@aurel32.net>.
55545 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
55547         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
55548         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
55549         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
55550         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
55551         <bits/signalfd.h>.
55552         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
55553         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55554         bits/signalfd.h.
55556 2012-02-14  Marek Polacek  <polacek@redhat.com>
55558         * sysdeps/x86_64/crti.S: New file.
55559         * sysdeps/x86_64/crtn.S: New file.
55560         * sysdeps/x86_64/elf/initfini.c: Remove file.
55562 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55564         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
55565         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
55566         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
55567         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
55568         <bits/inotify.h>.
55569         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
55570         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55571         bits/inotify.h.
55573 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
55575         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
55576         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
55577         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
55578         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
55579         <bits/eventfd.h>.
55580         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
55581         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55582         bits/eventfd.h.
55584 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
55586         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
55587         __feraiseexcept instead of feraiseexcept.
55589         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
55590         nanosleep invocations.
55591         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
55592         strings, and add error checking for a nanosleep invocations.
55594 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
55596         Replace FSF snail mail address with URLs, as per GNU coding standards.
55597         Most of the snail mail addresses were wrong anyway, and omitting
55598         them makes the source code easier to maintain.  Almost all of the
55599         changes are to license notices and to locale LC_IDENTIFICATION
55600         addresses, except for this one:
55601         * manual/libc.texinfo: In "Published by", give the FSF's URL,
55602         not its snail mail address.
55604 2012-02-09  Richard Henderson  <rth@twiddle.net>
55606         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
55607         of kernel-features.h.
55609         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
55611 2012-02-08  Marek Polacek  <polacek@redhat.com>
55613         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
55614         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
55615         * sysdeps/gnu/_G_config.h: Likewise.
55616         * sysdeps/generic/_G_config.h: Likewise.
55618 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
55620         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
55621         tests.
55622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55624         * sysdeps/powerpc/powerpc32/crti.S: New file.
55625         * sysdeps/powerpc/powerpc32/crtn.S: New file.
55626         * sysdeps/powerpc/powerpc64/crti.S: New file.
55627         * sysdeps/powerpc/powerpc64/crtn.S: New file.
55629         * Makeconfig (have-initfini): Don't set.
55630         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
55631         * configure.in (nopic_initfini): Don't substitute.
55632         * config.h.in (HAVE_INITFINI): Don't #undef.
55633         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
55634         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
55636 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
55638         Support crti.S and crtn.S provided directly by architectures.
55639         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
55640         [crti.S in sysdirs] (omit-deps): Likewise.
55641         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
55642         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
55643         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
55644         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
55645         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
55646         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
55647         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55648         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
55649         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
55650         compiler output for sysdeps/generic/initfini.c.
55651         * sysdeps/i386/elf/Makefile: Remove file.
55652         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
55654 2012-02-07  Marek Polacek  <polacek@redhat.com>
55656         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
55657         * sysdeps/gnu/_G_config.h: Likewise.
55658         * sysdeps/mach/hurd/_G_config.h: Likewise.
55660 2012-02-07  Marek Polacek  <polacek@redhat.com>
55662         * math/Makefile (tests): Add tst-CMPLX2.
55663         * math/tst-CMPLX2.c: New file.
55665 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
55667         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55669         * math/libm-test.inc (jn_test): Add missing L suffix.
55671 2012-02-06  Marek Polacek  <polacek@redhat.com>
55673         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
55674         * sysdeps/i386/fpu/e_powf.S: Likewise.
55675         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55676         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
55677         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55678         * sysdeps/i386/fpu/e_pow.S: Likewise.
55679         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55680         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55681         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55682         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55683         * sysdeps/i386/fpu/e_log2.S: Likewise.
55684         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55685         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55686         * sysdeps/i386/fpu/e_powl.S: Likewise.
55687         * sysdeps/i386/fpu/s_log1p.S: Likewise.
55688         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55689         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55690         * sysdeps/i386/fpu/e_logl.S: Likewise.
55691         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55692         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
55693         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55694         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55695         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55696         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55697         * sysdeps/i386/fpu/e_log.S: Likewise.
55698         * sysdeps/i386/fpu/s_cexp.S: Likewise.
55699         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55700         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
55701         * sysdeps/i386/fpu/e_logf.S: Likewise.
55702         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55703         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55704         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
55705         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55706         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
55707         * sysdeps/i386/fpu/e_log10.S: Likewise.
55708         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55709         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55710         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55711         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55712         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55713         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55714         * sysdeps/i386/asm-syntax.h: Likewise.
55715         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55716         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55717         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55718         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
55719         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
55720         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55721         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55722         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55723         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55724         * sysdeps/powerpc/sysdep.h: Likewise.
55725         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
55726         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55728 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55730         [BZ #411]
55731         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
55733 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
55735         * sysdeps/i386/sysdep.h: Include <features.h>.
55736         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
55737         version.
55739 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
55741         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
55742         Define.
55743         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
55744         LOAD_PIC_REG_STR.
55746 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55748         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
55749         (SETUP_PIC_REG): Use GET_PC_THUNK.
55750         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
55751         macro.
55753 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55755         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
55756         for non-PIC compilation.
55757         (SETUP_PIC_REG): Add .p2align directive.
55758         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
55759         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
55760         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55761         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55762         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
55763         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55764         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
55765         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55766         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55767         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55768         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55769         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55770         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55771         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55772         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55773         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
55774         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
55775         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55776         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55777         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55778         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55779         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
55780         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55781         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55782         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
55783         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
55784         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55785         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
55786         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55787         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55788         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55789         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55790         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55791         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55792         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55793         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55794         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55795         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55796         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55797         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55798         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55800 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
55802         * math/tst-CMPLX.c: Include <stdio.h>.
55804 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
55806         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
55807         float.
55808         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55809         * sysdeps/sparc/bits/mathdef.h: Likewise.
55811 2012-01-31  Marek Polacek  <polacek@redhat.com>
55813         * libio/libio.h: Don't define _PARAMS.
55814         * locale/programs/config.h: Don't define PARAMS.
55815         * stdlib/strtol_l.c: Likewise.
55816         (__strtol_l): Remove PARAMS from the prototype.
55818 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
55820         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
55821         names.  Just use the correct names.  Remove unnecessary wrapper
55822         functions.
55823         * malloc/arena.c: Likewise.
55824         * malloc/hooks.c: Likewise.
55826         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55827         ARENA_TEST says not to.  Simplify test for creation of a new arena.
55828         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55830 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
55832         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55833         into tail calls.
55834         (update_get_addr): New function.
55835         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55836         GET_ADDR_MODULE parameter.
55838 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55840         * crypt/cert.c: Remove __STDC__ conditionals.
55841         * crypt/crypt-entry.c: Likewise.
55842         * crypt/crypt_util.c: Likewise.
55843         * libio/filedoalloc.c: Likewise.
55844         * libio/fileops.c: Likewise.
55845         * libio/genops.c: Likewise.
55846         * libio/iofclose.c: Likewise.
55847         * libio/iofdopen.c: Likewise.
55848         * libio/iofopen.c: Likewise.
55849         * libio/iofopen64.c: Likewise.
55850         * libio/iogetdelim.c: Likewise.
55851         * libio/iopopen.c: Likewise.
55852         * libio/obprintf.c: Likewise.
55853         * libio/oldfileops.c: Likewise.
55854         * libio/oldiofclose.c: Likewise.
55855         * libio/oldiofdopen.c: Likewise.
55856         * libio/oldiofopen.c: Likewise.
55857         * libio/oldiopopen.c: Likewise.
55858         * libio/wfiledoalloc.c: Likewise.
55859         * libio/wgenops.c: Likewise.
55860         * locale/programs/xmalloc.c: Likewise.
55861         * misc/syslog.c: Likewise.
55862         * stdio-common/xbug.c: Likewise.
55863         * string/memchr.c: Likewise.
55864         * string/memcmp.c: Likewise.
55865         * string/memrchr.c: Likewise.
55866         * string/rawmemchr.c: Likewise.
55867         * sysdeps/posix/getcwd.c: Likewise.
55868         * time/strftime_l.c: Likewise.
55870 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
55872         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55873         * config.make.in (config-cflags-sse2avx): Define.
55874         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55875         Fix typo.
55877 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
55879         * scripts/config.guess: Update from upstream config git repository.
55880         * scripts/config.sub: Likewise.
55882 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
55884         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55885         (EM_NUM): Update.
55886         (R_TILEPRO_*, R_TILEGX_*): New macros.
55888         * scripts/firstversions.awk: Fix bug in version range handling.
55890         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55892         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55894         * include/sys/epoll.h: New file.
55895         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55896         libc_hidden_def.
55898 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
55900         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55901         Avoid unnecessary __WORDSIZE == 64 test.
55902         (fmaxf): Use VEX format if possible.
55903         (fmax): Likewise.
55904         (fminf): Likewise.
55905         (fmin): Likewise.
55907         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55908         * math/math_private.h: Remove libc_fegetround* and
55909         libc_fesetround*.
55910         * sysdeps/i386/configure.in: Check for -msse2avx.
55911         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55912         also if SSE2AVX is defined.
55913         Remove libc_fegetround* and libc_fesetround*.
55914         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55915         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
55916         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55917         of HAS_YMM_USABLE.
55918         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55919         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55920         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55921         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55922         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55924         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55926 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55928         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55929         size is not set.
55930         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55932 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
55934         [BZ #13618]
55935         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55936         relocation.
55937         * Makeconfig (libm): Define.
55938         * elf/Makefile: Add rules to build and run tst-relsort1.
55939         * elf/tst-relsort1.c: New file.
55940         * elf/tst-relsort1mod1.c: New file.
55941         * elf/tst-relsort1mod2.c: New file.
55943 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
55945         * math/s_ldexp.c: Remove __STDC__ conditionals.
55946         * math/s_ldexpf.c: Likewise.
55947         * math/s_ldexpl.c: Likewise.
55948         * math/s_nextafter.c: Likewise.
55949         * math/s_nexttowardf.c: Likewise.
55950         * math/s_significand.c: Likewise.
55951         * math/s_significandf.c: Likewise.
55952         * math/s_significandl.c: Likewise.
55953         * math/w_jnl.c: Likewise.
55954         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55955         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55956         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55957         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55958         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55959         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55960         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55961         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55962         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55963         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55964         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55965         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55966         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55967         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55968         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55969         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55970         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55971         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55972         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55973         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55974         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55975         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55976         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55977         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55978         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55979         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55980         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55981         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55982         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55983         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55984         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55985         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55986         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55987         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55988         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55989         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55990         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55991         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55992         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55993         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55994         * sysdeps/ieee754/k_standard.c: Likewise.
55995         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55996         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55997         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55998         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55999         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56000         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56001         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56002         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56003         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56004         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56005         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56006         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56007         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56008         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56009         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56010         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56011         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56012         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56013         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56014         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56015         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56016         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56017         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56018         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56019         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56020         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56021         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56022         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56023         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56024         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56025         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56026         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56027         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56028         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56029         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56030         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56031         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56032         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56033         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56034         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56035         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56036         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56037         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56038         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56039         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56040         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56041         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56042         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56043         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56044         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56045         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56046         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56047         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56048         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56049         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56050         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56051         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56052         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56053         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56054         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56055         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56056         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56057         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56058         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56059         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56060         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56061         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56062         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56063         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56064         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56065         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56066         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56067         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56068         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56069         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56070         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56071         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56072         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56073         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56074         * sysdeps/ieee754/s_matherr.c: Likewise.
56075         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56076         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56077         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56078         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56080 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56082         * crypt/md5.h: Remove __STDC__ conditionals.
56083         * libio/libioP.h: Likewise.
56084         * locale/programs/config.h: Likewise.
56085         * sysdeps/generic/sysdep.h: Likewise.
56086         * sysdeps/i386/asm-syntax.h: Likewise.
56087         * sysdeps/s390/asm-syntax.h: Likewise.
56088         * sysdeps/unix/sysdep.h: Likewise.
56089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56092 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56094         * libio/libio.h: Remove __STDC__ conditionals.
56095         * malloc/obstack.h: Likewise.
56096         * math/complex.h: Likewise.
56097         * math/math.h: Likewise.
56098         * sysdeps/generic/_G_config.h: Likewise.
56099         * sysdeps/gnu/_G_config.h: Likewise.
56100         * sysdeps/mach/hurd/_G_config.h: Likewise.
56101         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56102         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56103         * sysdeps/sparc/bits/mathdef.h: Likewise.
56105 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56107         [BZ #13583]
56108         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56109         Clean up HAS_* macros.
56110         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56111         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56112         possible.
56113         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56114         HAS_AVX.
56115         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56116         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56117         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56118         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56119         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56121 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56123         * elf/tst-unique3.cc (gets): Remove declaration.
56124         * elf/tst-unique3lib.cc (gets): Likewise.
56125         * elf/tst-unique3lib2.cc (gets): Likewise.
56126         * elf/tst-unique4.cc (gets): Likewise.
56128 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56130         * include/stdio.h: Add C++ protection.  Add gets declarations and
56131         definitions.
56132         * debug/tst-chk1.c: Don't declare gets here.
56133         * stdio-common/tst-gets.c: Likewise.
56135 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56137         * posix/glob: Remove directory.
56139 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56141         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56143 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56145         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56146         of the non-standard EPFNOSUPPORT.
56148 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56150         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56151         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56152         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56154 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56156         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56158 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56160         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56161         transient errors.
56162         * nscd/grpcache.c (cache_addgr): Likewise.
56163         * nscd/hstcache.c (cache_addhst): Likewise.
56164         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56165         * nscd/pwdcache.c (cache_addpw): Likewise.
56166         * nscd/servicescache.c (cache_addserv): Likewise.
56168 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56170         * malloc/malloc.c: Various cleanups.
56171         * malloc/hooks.c: Likewise.
56173         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56174         * stdlib/bug-fmtmsg1.c: New file.
56176         * stdlib/fmtmsg.c (init): Add missing unlock.
56177         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56179 2012-01-12  Marek Polacek  <polacek@redhat.com>
56181         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56182         and _GNU_SOURCE.
56184 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56186         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56187         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56188         macro to ensure uniqueness of label name.
56189         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56190         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56192 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56194         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56196         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56197         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56198         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56199         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56201 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56203         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56205         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56206         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56207         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56209         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56211         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56212         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56213         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56214         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56216         * math/bits/math-finite.h: Add ldexp support.
56218 2012-01-10  Marek Polacek  <polacek@redhat.com>
56220         * locale/programs/localedef.h (show_archive_content): Add noreturn
56221         attribute.
56223 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56225         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56227 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56229         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56231         * io/Makefile (headers): Add bits/poll2.h.
56233 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56236         typo #include statement.
56238 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56240         * include/sys/cdefs.h: Define __attribute_alloc_size.
56241         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56242         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56243         * elf/pldd.c: Likewise.
56244         * iconv/iconv_charmap.c: Likewise.
56245         * iconv/iconvconfig.c: Likewise.
56246         * iconv/strtab.c: Likewise.
56247         * locale/programs/locale.c: Likewise.
56248         * locale/programs/localedef.h: Likewise.
56249         * locale/programs/simple-hash.c: Likewise.
56250         * nscd/nscd.h: Likewise.
56251         * nss/makedb.c: Likewise.
56252         * sysdeps/generic/ldconfig.h: Likewise.
56253         * locale/programs/localedef.c: Remove xmalloc prototype.
56254         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56256 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56258         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56259         appropriate.
56261 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56263         * math/Makefile (tests): Add tst-CMPLX.
56264         * math/tst-CMPLX.c: New file.
56266         * math/complex.h (CMPLXL): Fix typo.
56268         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56269         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56270         GLIBC_2.16.
56271         * debug/tst-chk1.c: Add poll and ppoll tests.
56272         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56273         * include/sys/poll.h: Add hidden proto for ppoll.
56274         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56275         * sysdeps/mach/hurd/ppoll.c: Likewise.
56276         * io/ppoll.c: Likewise.
56277         * debug/poll_chk.c: New file.
56278         * debug/ppoll_chk.c: New file.
56279         * include/bits/poll2.h: New file.
56280         * io/bits/poll2.h: New file.
56282         [BZ #1350]
56283         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56285         * configure.in: static is always set to yes.  Remove.
56286         * config.make.in: Don't set build-static.
56287         * Makeconfig: Remove use of build-static.
56288         * dlfcn/Makefile: Likewise.
56289         * elf/Makefile: Likewise.
56290         * math/Makefile: Likewise.
56291         * misc/Makefile: Likewise.
56292         * nptl/Makefile: Likewise.
56293         * sysdeps/mach/hurd/Makefile: Likewise.
56295         * configure.in: PWD_P is not used anymore.
56296         * config.make.in: Remove PWD_P entry.
56298         * configure.in: Remove last remnants of RANLIB.
56299         No need to check for signed size_t anymore.
56300         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56301         and IA-64.
56302         Remove __builtin_expect test because we require at least gcc 3.4.
56303         * aclocal.m4: Likewise.
56305         * wcsmbs/mbrtoc16.c: Implement using towc function.
56306         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56307         * wcsmbs/wcsmbsload.c: Likewise.
56308         * iconv/gconv_simple.c: Likewise.
56309         * iconv/gconv_int.h: Likewise.
56310         * iconv/gconv_builtin.h: Likewise.
56311         * iconv/iconv_prog.c: Remove CHAR16 handling.
56313         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56315         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56317         * configure.in: Remove --with-elf and --enable-bounded options.
56318         Dont set base_machine for ia64.  More non-ELF conditions removed.
56319         Remove testing and setting of leading underscore information.
56320         * config.make.in (build-bounded): Set to no.
56321         * config.h.in: Remove NO_UNDERSCORES entry.
56322         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56323         them.
56324         * csu/start.c: Remove !NO_UNDERSCORE code.
56325         * locale/localeinfo.h: Likewise.
56326         * sysdeps/generic/machine-gmon.h: Likewise.
56327         * sysdeps/generic/sysdep.h: Likewise.
56328         * sysdeps/i386/sysdep.h: Likewise.
56329         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56330         * sysdeps/mach/sysdep.h: Likewise.
56331         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56332         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56333         * sysdeps/sh/sysdep.h: Likewise.
56334         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56335         * sysdeps/unix/i386/sysdep.S: Likewise.
56336         * sysdeps/unix/sparc/start.c: Likewise.
56337         * sysdeps/unix/sparc/sysdep.S: Likewise.
56338         * sysdeps/unix/sparc/sysdep.h: Likewise.
56339         * sysdeps/unix/start.c: Likewise.
56340         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56341         * sysdeps/x86_64/sysdep.h: Likewise.
56343 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56345         [BZ #13553]
56346         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56347         for non-gcc.
56348         * argp/argp-fmtstream.h: Use const instead __const.
56349         * argp/argp.h: Likewise.
56350         * assert/assert.h: Likewise.
56351         * bits/fenv.h: Likewise.
56352         * bits/sched.h: Likewise.
56353         * bits/sigset.h: Likewise.
56354         * bits/sigthread.h: Likewise.
56355         * catgets/nl_types.h: Likewise.
56356         * conform/data/pthread.h-data: Likewise.
56357         * crypt/crypt-private.h: Likewise.
56358         * crypt/crypt.h: Likewise.
56359         * crypt/crypt_util.c: Likewise.
56360         * ctype/ctype.h: Likewise.
56361         * debug/execinfo.h: Likewise.
56362         * debug/mbsnrtowcs_chk.c: Likewise.
56363         * debug/mbsrtowcs_chk.c: Likewise.
56364         * debug/wcsnrtombs_chk.c: Likewise.
56365         * debug/wcsrtombs_chk.c: Likewise.
56366         * debug/wcstombs_chk.c: Likewise.
56367         * dirent/dirent.h: Likewise.
56368         * dlfcn/dlfcn.h: Likewise.
56369         * elf/neededtest4.c: Likewise.
56370         * grp/grp.h: Likewise.
56371         * gshadow/gshadow.h: Likewise.
56372         * iconv/gconv.h: Likewise.
56373         * iconv/gconv_int.h: Likewise.
56374         * iconv/gconv_simple.c: Likewise.
56375         * iconv/iconv.h: Likewise.
56376         * iconv/loop.c: Likewise.
56377         * iconv/skeleton.c: Likewise.
56378         * include/aio.h: Likewise.
56379         * include/aliases.h: Likewise.
56380         * include/argz.h: Likewise.
56381         * include/arpa/inet.h: Likewise.
56382         * include/assert.h: Likewise.
56383         * include/dirent.h: Likewise.
56384         * include/dlfcn.h: Likewise.
56385         * include/execinfo.h: Likewise.
56386         * include/fcntl.h: Likewise.
56387         * include/fenv.h: Likewise.
56388         * include/glob.h: Likewise.
56389         * include/grp.h: Likewise.
56390         * include/libintl.h: Likewise.
56391         * include/mntent.h: Likewise.
56392         * include/netdb.h: Likewise.
56393         * include/pwd.h: Likewise.
56394         * include/rpc/netdb.h: Likewise.
56395         * include/sched.h: Likewise.
56396         * include/search.h: Likewise.
56397         * include/shadow.h: Likewise.
56398         * include/signal.h: Likewise.
56399         * include/stdio.h: Likewise.
56400         * include/stdlib.h: Likewise.
56401         * include/string.h: Likewise.
56402         * include/sys/socket.h: Likewise.
56403         * include/sys/stat.h: Likewise.
56404         * include/sys/statfs.h: Likewise.
56405         * include/sys/statvfs.h: Likewise.
56406         * include/sys/syslog.h: Likewise.
56407         * include/sys/time.h: Likewise.
56408         * include/sys/uio.h: Likewise.
56409         * include/time.h: Likewise.
56410         * include/unistd.h: Likewise.
56411         * include/utmp.h: Likewise.
56412         * include/wchar.h: Likewise.
56413         * include/wctype.h: Likewise.
56414         * inet/aliases.h: Likewise.
56415         * inet/arpa/inet.h: Likewise.
56416         * inet/netinet/ether.h: Likewise.
56417         * inet/netinet/in.h: Likewise.
56418         * intl/libintl.h: Likewise.
56419         * io/bits/fcntl2.h: Likewise.
56420         * io/fcntl.h: Likewise.
56421         * io/ftw.h: Likewise.
56422         * io/sys/poll.h: Likewise.
56423         * io/sys/stat.h: Likewise.
56424         * io/sys/statfs.h: Likewise.
56425         * io/sys/statvfs.h: Likewise.
56426         * io/utime.h: Likewise.
56427         * libio/bits/stdio.h: Likewise.
56428         * libio/bits/stdio2.h: Likewise.
56429         * libio/libio.h: Likewise.
56430         * libio/libioP.h: Likewise.
56431         * libio/stdio.h: Likewise.
56432         * locale/lc-ctype.c: Likewise.
56433         * locale/locale.h: Likewise.
56434         * login/utmp.h: Likewise.
56435         * malloc/arena.c: Likewise.
56436         * malloc/malloc.c: Likewise.
56437         * malloc/malloc.h: Likewise.
56438         * malloc/mcheck.c: Likewise.
56439         * malloc/mtrace.c: Likewise.
56440         * math/bits/mathcalls.h: Likewise.
56441         * math/fenv.h: Likewise.
56442         * math/math_private.h: Likewise.
56443         * misc/bits/error.h: Likewise.
56444         * misc/bits/syslog.h: Likewise.
56445         * misc/err.h: Likewise.
56446         * misc/error.h: Likewise.
56447         * misc/fstab.h: Likewise.
56448         * misc/mntent.h: Likewise.
56449         * misc/regexp.h: Likewise.
56450         * misc/search.h: Likewise.
56451         * misc/sgtty.h: Likewise.
56452         * misc/sys/mman.h: Likewise.
56453         * misc/sys/syslog.h: Likewise.
56454         * misc/sys/uio.h: Likewise.
56455         * misc/sys/xattr.h: Likewise.
56456         * misc/ttyent.h: Likewise.
56457         * nis/rpcsvc/ypclnt.h: Likewise.
56458         * nss/nss.h: Likewise.
56459         * posix/bits/unistd.h: Likewise.
56460         * posix/fnmatch.h: Likewise.
56461         * posix/glob.h: Likewise.
56462         * posix/sched.h: Likewise.
56463         * posix/spawn.h: Likewise.
56464         * posix/sys/wait.h: Likewise.
56465         * posix/unistd.h: Likewise.
56466         * posix/wordexp.h: Likewise.
56467         * pwd/pwd.h: Likewise.
56468         * resolv/netdb.h: Likewise.
56469         * resource/sys/resource.h: Likewise.
56470         * rt/aio.h: Likewise.
56471         * rt/bits/mqueue2.h: Likewise.
56472         * rt/mqueue.h: Likewise.
56473         * shadow/shadow.h: Likewise.
56474         * signal/signal.h: Likewise.
56475         * socket/send.c: Likewise.
56476         * socket/sendto.c: Likewise.
56477         * socket/sys/socket.h: Likewise.
56478         * stdio-common/printf.h: Likewise.
56479         * stdlib/bits/stdlib.h: Likewise.
56480         * stdlib/fmtmsg.h: Likewise.
56481         * stdlib/monetary.h: Likewise.
56482         * stdlib/stdlib.h: Likewise.
56483         * stdlib/ucontext.h: Likewise.
56484         * streams/stropts.h: Likewise.
56485         * string/argz.h: Likewise.
56486         * string/bits/string2.h: Likewise.
56487         * string/string.h: Likewise.
56488         * string/strings.h: Likewise.
56489         * sunrpc/rpc/auth.h: Likewise.
56490         * sunrpc/rpc/auth_des.h: Likewise.
56491         * sunrpc/rpc/clnt.h: Likewise.
56492         * sunrpc/rpc/netdb.h: Likewise.
56493         * sunrpc/rpc/pmap_clnt.h: Likewise.
56494         * sunrpc/rpc/xdr.h: Likewise.
56495         * sysdeps/generic/inttypes.h: Likewise.
56496         * sysdeps/generic/net/if.h: Likewise.
56497         * sysdeps/generic/sys/swap.h: Likewise.
56498         * sysdeps/gnu/net/if.h: Likewise.
56499         * sysdeps/gnu/utmpx.h: Likewise.
56500         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
56501         * sysdeps/i386/i486/bits/string.h: Likewise.
56502         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
56503         * sysdeps/s390/bits/string.h: Likewise.
56504         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
56505         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
56506         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
56507         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
56508         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
56509         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
56510         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
56511         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
56512         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
56513         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
56514         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
56515         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56516         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
56517         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56518         * sysdeps/unix/sysv/linux/readv.c: Likewise.
56519         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
56520         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
56521         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56522         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
56523         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
56524         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56525         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
56526         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
56527         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
56528         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
56529         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
56530         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
56531         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56532         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
56533         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
56534         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
56535         * sysvipc/sys/ipc.h: Likewise.
56536         * sysvipc/sys/msg.h: Likewise.
56537         * sysvipc/sys/sem.h: Likewise.
56538         * sysvipc/sys/shm.h: Likewise.
56539         * termios/termios.h: Likewise.
56540         * time/sys/time.h: Likewise.
56541         * time/time.h: Likewise.
56542         * wcsmbs/bits/wchar2.h: Likewise.
56543         * wcsmbs/uchar.h: Likewise.
56544         * wcsmbs/wchar.h: Likewise.
56545         * wctype/wctype.h: Likewise.
56547         [BZ #13551]
56548         * Makeconfig: Remove all but ELF support including AIX support.
56549         * Makerules: Likewise.
56550         * config.h.in: Likewise.
56551         * config.make.in: Likewise.
56552         * configure: Likewise.
56553         * configure.in: Likewise.
56554         * csu/Makefile: Likewise.
56555         * csu/version.c: Likewise.
56556         * debug/Makefile: Likewise.
56557         * dlfcn/Makefile: Likewise.
56558         * elf/Makefile: Likewise.
56559         * extra-lib.mk: Likewise.
56560         * iconv/Makefile: Likewise.
56561         * include/libc-symbols.h: Likewise.
56562         * include/shlib-compat.h: Likewise.
56563         * resolv/Makefile: Likewise.
56564         * resolv/res_libc.c: Likewise.
56565         * rt/Makefile: Likewise.
56566         * sysdeps/i386/asm-syntax.h: Likewise.
56567         * sysdeps/i386/sysdep.h: Likewise.
56568         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56569         * sysdeps/mach/sysdep.h: Likewise.
56570         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
56571         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
56572         * sysdeps/s390/asm-syntax.h: Likewise.
56573         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56574         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56575         * sysdeps/sh/sysdep.h: Likewise.
56576         * sysdeps/unix/sparc/sysdep.h: Likewise.
56577         * sysdeps/wordsize-32/divdi3.c: Likewise.
56578         * sysdeps/x86_64/sysdep.h: Likewise.
56580         * argp/Versions: Remove _argp_unlock_xxx.
56582         [BZ #13559]
56583         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
56584         * abilist/libBrokenLocale.abilist: Likewise.
56585         * abilist/libanl.abilist: Likewise.
56586         * abilist/libc.abilist: Likewise.
56587         * abilist/libcrypt.abilist: Likewise.
56588         * abilist/libdl.abilist: Likewise.
56589         * abilist/libm.abilist: Likewise.
56590         * abilist/libnsl.abilist: Likewise.
56591         * abilist/libpthread.abilist: Likewise.
56592         * abilist/libresolv.abilist: Likewise.
56593         * abilist/librt.abilist: Likewise.
56594         * abilist/libthread_db.abilist: Likewise.
56595         * abilist/libutil.abilist: Likewise.
56596         * abilist/libnss_db.abilist: New file.
56598         * scripts/abilist.awk: Add support for indirect functions.
56600         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
56602         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
56604         * shlib-versions: Remove entries for ports architectures.
56606         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
56607         files in ports.
56608         * elf/stackguard-macros.h: Remove support for IA-64.
56609         * elf/tst-auditmod1.c: Likewise.
56610         * sysdeps/generic/ldsodefs.h: Likewise.
56612         * sysdeps/unix/sysv/linux/configure.in: Ports should define
56613         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
56614         configure files.
56616         [BZ #13552]
56617         * configure.in: Remove --enable-omitfp support.
56618         * FAQ.in: Adjust.
56619         * config.make.in: Likewise.
56620         * Makeconfig: Likewise.
56621         * manual/install.texi: Likewise.
56623         In case anyone cares, the IA-64 architecture could move to ports.
56624         * sysdeps/ia64/*: Removed.
56625         * sysdeps/unix/sysv/linux/ia64/*: Removed.
56626         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
56628         [BZ #13555]
56629         * configure.in: Remove entries for unsupported architectures.
56631         [BZ #13533]
56632         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56633         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
56634         routines.
56635         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
56636         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
56637         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
56638         fall back to using wcrtomb.
56639         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
56640         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
56641         renaming.
56642         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
56643         * wcsmbs/tst-c16c32-1.c: New file.
56645         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
56646         local variable.
56648         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
56650         * elf/tst-unique3.cc: Add explicit declaration of gets.
56651         * elf/tst-unique3lib.cc: Likewise.
56652         * elf/tst-unique3lib2.cc: Likewise.
56653         * elf/tst-unique4.cc: Likewise.
56655         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
56657 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
56659         [BZ #13566]
56660         * assert/assert.h (static_assert): Don't define for C++.
56661         * libio/stdio.h (gets): Do declare for C++ <= C++11.
56662         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
56664 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
56666         * iconv/loop.c (single loop): Fix assertion in storing of
56667         remaining bytes.
56669         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
56671 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
56673         * posix/getconf.c: Update copyright year.
56674         * nss/getent.c: Likewise.
56675         * nss/makedb.c: Likewise.
56676         * iconv/iconvconfig.c: Likewise.
56677         * iconv/iconv_prog.c: Likewise.
56678         * elf/ldconfig.c: Likewise.
56679         * elf/pldd.c: Likewise.
56680         * elf/sotruss.ksh: Likewise.
56681         * catgets/gencat.c: Likewise.
56682         * csu/version.c: Likewise.
56683         * elf/ldd.bash.in: Likewise.
56684         * elf/sprof.c (print_version): Likewise.
56685         * locale/programs/locale.c: Likewise.
56686         * locale/programs/localedef.c: Likewise.
56687         * login/programs/pt_chown.c: Likewise.
56688         * nscd/nscd.c (print_version): Likewise.
56689         * debug/xtrace.sh: Likewise.
56690         * malloc/memusage.sh: Likewise.
56691         * malloc/mtrace.pl: Likewise.
56692         * debug/catchsegv.sh: Likewise.
56694 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
56696         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
56697         pure attribute.
56699 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
56701         [BZ #13533]
56702         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
56703         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
56704         transformations.
56705         * iconv/gconv_int.h: Likewise.
56706         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
56707         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
56708         from libc for GLIBC_2.16.
56709         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
56710         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
56711         * wcsmbs/uchar.h: Really define mbstate_t.
56712         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
56713         * wcsmbs/c16rtomb.c: New file.
56714         * wcsmbs/mbrtoc16.c: New file.
56715         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
56716         for C/POSIX locale.
56717         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
56718         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
56720         * wcsmbs/wchar.h: Add missing __restrict.
56722 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56724         [BZ #13532]
56725         * time/Makefile (routines): Add timespec_get.
56726         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
56727         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
56728         timespec for ISO C11.
56729         * time/timespec_get.c: New file.
56730         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
56731         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
56733         [BZ #13531]
56734         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
56735         * stdlib/stdlib.h: Declare aligned_alloc.
56736         * Versions.def: Add GLIBC_2.16 for libc.
56737         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
56739         [BZ 13527]
56740         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
56741         ISO C11.
56743         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
56744         code.
56746         [BZ #13528]
56747         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
56749         [BZ #13529]
56750         * assert/assert.h (static_assert): Define.
56752         * version.h: Update for 2.16 development version.
56754         [BZ #13526]
56755         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
56756         _ISOC11_SOURCE.
56758         * version.h (RELEASE): Bump for 2.15 release.
56759         * include/features.h (__GLIBC_MINOR__): Bump to 15.
56761         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
56762         Patch by Marek Polacek <mpolacek@redhat.com>.
56764         * bits/byteswap.h: Protect long long constants with __extension__.
56765         * sysdeps/i386/bits/byteswap.h: Likewise.
56766         * sysdeps/ia64/bits/byteswap.h: Likewise.
56767         * sysdeps/s390/bits/byteswap.h: Likewise.
56768         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56770 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56772         [BZ #13540]
56773         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
56774         destination buffer.
56775         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
56777 2011-12-23  Marek Polacek  <polacek@redhat.com>
56779         * elf/dl-addr.c (determine_info): Add inline keyword.
56780         * elf/tst-auditmod4b.c (check_avx): Likewise.
56781         * elf/tst-auditmod6b.c (check_avx): Likewise.
56782         * elf/tst-auditmod6c.c (check_avx): Likewise.
56783         * elf/tst-auditmod7b.c (check_avx): Likewise.
56785 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
56787         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
56788         !__SSE_MATH__.
56790 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56792         [BZ #13540]
56793         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
56794         processing for last bytes.
56796 2011-08-06  Bruno Haible  <bruno@clisp.org>
56798         [BZ #13061]
56799         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
56800         U+0385, not to U+1FEE.
56802         [BZ #13062]
56803         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
56804         entry for U+00A5 U+0301.
56806 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56808         [BZ #13166]
56809         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
56810         buffer for the output is too small.
56812         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
56813         optimization.
56815         [BZ #13185]
56816         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
56817         SSE flags if possible.
56819 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56821         [BZ #13540]
56822         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56823         processing for last bytes.
56825 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
56827         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56828         (syscall-list-default-options, syscall-list-default-condition)
56829         (syscall-list-includes): Define.
56830         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56831         list of ABIs and options and #if conditions for each ABI.  Do not
56832         handle common syscalls between ABIs specially.
56833         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56834         Remove.
56835         (syscall-list-variants, syscall-list-32bit-options)
56836         (syscall-list-32bit-condition, syscall-list-64bit-options)
56837         (syscall-list-64bit-condition): Define.
56838         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56839         (syscall-list-variants, syscall-list-32bit-options)
56840         (syscall-list-32bit-condition, syscall-list-64bit-options)
56841         (syscall-list-64bit-condition): Define.
56842         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56843         Remove.
56844         (syscall-list-variants, syscall-list-32bit-options)
56845         (syscall-list-32bit-condition, syscall-list-64bit-options)
56846         (syscall-list-64bit-condition): Define.
56847         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56848         Remove.
56849         (syscall-list-variants, syscall-list-32bit-options)
56850         (syscall-list-32bit-condition, syscall-list-64bit-options)
56851         (syscall-list-64bit-condition): Define.
56853 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
56855         * locale/iso-639.def: Add brx entry.
56857         [BZ #13328]
56858         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56859         Proposed by Mariusz_Cukr <marcukr@op.pl>.
56861         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56862         __feraiseexcept_renamed.
56864 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56866         [BZ #13538]
56867         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56868         EPOLLET with unsigned values.
56869         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56870         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56872         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56873         to large cancellation.
56874         * math/s_cacoshf.c: Likewise.
56875         * math/s_cacoshl.c: Likewise.
56877 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
56879         [BZ #13305]
56880         [BZ #12786]
56881         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56882         * math/s_cacoshf.c: Likewise.
56883         * math/s_cacoshl.c: Likewise.
56885 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
56887         [BZ #13439]
56888         * iconv/gconv.h: Define __GCONV_SWAP.
56889         * iconvdata/unicode.c: The swap bit must be stored in __flags.
56890         * iconvdata/utf-16.c: Likewise.
56891         * iconvdata/utf-32.c: Likewise.
56893 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
56895         [BZ #13524]
56896         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56897         numerator after shifting it by one limb.
56899 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
56901         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56902         under [__USE_EXTERN_INLINES].
56904 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56906         [BZ #13446]
56907         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56909 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56911         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56912         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56913         optimized code.
56914         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56915         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56916         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56917         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56918         for strncasecmp/strncasecmp_l compilation.
56919         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56920         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56922 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
56924         [BZ #13484]
56925         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56926         of __asm__.
56928 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
56930         [BZ #13506]
56931         * time/tzfile.c (__tzfile_read): Check values from file header.
56933 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56935         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56936         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56937         * powerpc/powerpc32/dl-start.S: Likewise.
56938         * powerpc/powerpc32/elf/start.S: Likewise.
56939         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56940         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56941         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56942         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56943         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56944         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56945         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56946         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56947         * powerpc/powerpc32/fpu/s_round.S: Likewise.
56948         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56949         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56950         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56951         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56952         * powerpc/powerpc32/memset.S: Likewise.
56953         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56954         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56955         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56956         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56957         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56958         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56959         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56960         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56961         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56962         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56963         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56964         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56965         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56967 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56969         * math/libm-test.inc: Added more nearbyint tests.
56970         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56971         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56972         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56973         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56975 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56977         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56978         FD_CLOEXEC.
56980 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56982         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56983         Add wcscpy-ssse3 wcscpy-c.
56984         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56985         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56986         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56987         * sysdeps/x86_64/wcschr.S: New file.
56988         * sysdeps/x86_64/wcsrchr.S: New file.
56989         * string/test-strcmp.c: Remove checking of wcscmp function for
56990         wrong alignments.
56991         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56992         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56993         wcsrchr-sse2 wcsrchr-c.
56994         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56995         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56996         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56997         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56998         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56999         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57000         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57001         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57002         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57003         * wcsmbc/wcschr.c (WCSCHR): New macro.
57005 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57007         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57008         * wcsmbs/test-wcsrchr.c: New file.
57009         * string/test-strrchr.c: Add wcsrchr support.
57010         (WIDE): New macro.
57011         * wcsmbs/test-wcscpy.c: New file.
57012         * string/test-strcpy.c: Add wcscpy support.
57013         (WIDE): New macro.
57015 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57017         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57018         the inner loop.
57020 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57022         [BZ #13472]
57023         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57025 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57027         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57028         Minor optimizations.
57030         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57031         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57032         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57034 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57036         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57037         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57038         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57039         for gcc to avoid warnings.
57040         * inet/Makefile (tests): Add tst-checks.
57041         * inet/tst-checks.c: New file.
57043         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57044         warning.
57046         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57047         __wmemcmp_sse2.
57049         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57050         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57052         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57054 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57056         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57057         problem.
57059         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57061 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57063         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57064         conditional on GCC version.
57065         (__arch_compare_and_exchange_val_8_acq)
57066         (__arch_compare_and_exchange_val_16_acq)
57067         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57068         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57069         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57071 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57073         * sysdeps/sh/backtrace.c: New file.
57075 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57077         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57078         parenthesis.
57080 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57082         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57083         falling back to utime.
57085 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57087         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57088         expectations for float.
57090 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57092         * locale/weight.h (findidx): Add parameter len.
57093         * locale/weightwc.h (findidx): Likewise.
57094         * posix/fnmatch_loop.c (FCT): Adjust caller.
57095         * posix/regcomp.c (build_equiv_class): Likewise.
57096         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57097         * posix/regexec.c (check_node_accept_bytes): Likewise.
57098         * string/strcoll_l.c (STRCOLL): Likewise.
57099         * string/strxfrm_l.c (STRXFRM): Likewise.
57101 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57103         * Makefile.in: Remove CVSOPT handling.
57104         * configure.in: Remove use of AC_REVISION.
57105         * iconvdata/Makefile (distribute): No need to filter out CVS.
57106         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57107         handling.
57109 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57111         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57112         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57113         [USE_AS_STRNCASECMP_L]: Likewise.
57114         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57115         NO_TLS_DIRECT_SEG_REFS.
57116         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57117         Fix argument offsets for non-PIC.
57118         [USE_AS_STRNCASECMP_L]: Likewise.
57119         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57120         NO_TLS_DIRECT_SEG_REFS.
57122 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57124         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57125         O_CLOEXEC.
57126         * locale/loadlocale.c (_nl_load_locale): Likewise.
57128 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57130         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57131         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57132         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57133         (SYSCALL_GETTIME): Set errno on error.
57135         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57136         count references to noai6ai_cached.
57138 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57140         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57142         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57143         FD_CLOEXEC for /proc/self/maps.
57145         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57146         FD_CLOEXEC for /proc/meminfo.
57148         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57149         gai.conf.
57151         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57152         FD_CLOEXEC for given file.
57154         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57156         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57157         FD_CLOEXEC for /etc/hosts.
57158         (_gethtent): Likewise.
57160         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57162         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57163         cancellation and set FD_CLOEXEC for /etc/netgroup.
57165         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57166         reading /etc/publickey.
57168         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57169         allow cancellation when reading /etc/group.
57171         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57172         cancellation.
57173         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57175         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57176         when using data file.
57178         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57180         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57181         (write_nis_obj): Use "c" and "e" in fopen.
57183         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57185         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57187         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57189         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57191         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57192         locale.alias.
57194         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57196         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57198         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57200         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57201         file parsing and set FD_CLOEXEC.
57203 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57205         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57207 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57209         * malloc/arena.c (arena_get2): Don't call reused_arena when
57210         _int_new_arena failed.
57212 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57214         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57215         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57216         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57217         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57218         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57219         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57220         to compile strcasecmp and strncasecmp.
57221         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57222         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57224         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57226 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57228         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57229         locale-defines.sym to gen-as-const-headers.
57230         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57231         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57232         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57233         to compile strcasecmp and strncasecmp.
57234         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57235         strcasecmp_l and strncasecmp_l.
57236         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57237         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57238         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57239         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57240         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57241         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57242         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57243         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57244         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57245         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57246         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57248 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57250         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57251         result of SYSDEP_GETTIME_CPU to retval.
57252         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57253         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57255         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57256         variable.
57258         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57259         mantissa words.
57260         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57262         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57263         from unused variable.
57265         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57266         DWARF definitions.
57267         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57268         for assembling.
57270         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57271         over namespaces.
57273         * sunrpc/rpc_prot.c (rejected): Fix case value.
57275         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57276         unsigned long long int to avoid warnings in shift.
57278         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57279         of use of trans.
57280         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57281         variable tmp.
57283         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57284         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57285         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57287         * nis/nis_table.c (nis_list): Use variable of correct type for
57288         result of __follow_path call.
57290 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57292         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57293         of math functions ceil, trunc, floor, round, and sqrt, when
57294         avaliable on the platform.
57295         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57296         name clash.
57297         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57298         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57299         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57301 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57303         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57304         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57306 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57308         * include/unistd.h: Fix __readlink return type.
57309         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57311 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57313         * stdlib/ucontext.h: Undo last change for makecontext.
57315 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57317         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57319         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57320         * setjmp/setjmp.h: Mark functions as non-leaf.
57321         * setjmp/bits/setjmp2.h: Likewise.
57322         * stdlib/ucontext.h: Likewise.
57324 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57326         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57327         (reused_arena): Don't check arena limit.
57328         (arena_get2): Atomically check arena limit.
57330 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57332         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57333         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57335         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57336         instructions.
57338 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57340         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57341         handler when locking.
57343         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57344         Fix size of allocated buffer.
57346 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57348         [BZ #10103]
57349         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57350         declarations for long double functions.
57351         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57353         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57355 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57357         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57358         installed.
57360         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57361         is disabled.
57363 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57365         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57367 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57369         * include/alloca.h (stackinfo_alloca_round): Define.
57370         (extend_alloca): Use it.
57371         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57372         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57373         here.
57375         * scripts/check-local-headers.sh: Ignore libaudit.h.
57377         * nscd/Makefile (extra-objs): Make recursively expanded.
57379 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57381         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57382         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57384         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57385         * posix/tst-rfc3484-2.c: Likewise.
57386         * posix/tst-rfc3484-3.c: Likewise.
57388         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57389         process_vm_writev.
57390         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57391         process_vm_writev.
57392         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57393         process_vm_writev from libc using GLIBC_2.15 version.
57395         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57397 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57399         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57400         stack usage.
57402 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57404         [BZ #13367]
57405         * nss/getent.c (initgroups_keys): Show error message in case no group
57406         names are given.
57408         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57409         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57410         __bump_nl_timestamp.
57411         * nscd/connections (nscd_init): When host database is served open
57412         netlink socket and request notification about configuration changes.
57413         (main_loop_poll): Track netlink file descriptor and bump timestamp
57414         in case data becomes available.
57415         (main_loop_epoll): Likewise.
57416         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57417         (database_pers_head): Add extra_data fileds.
57418         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57419         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57420         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57421         Adjust caller.
57422         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57423         in6ai data, call __free_in6ai.
57424         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57425         Add -DHAVE_NETLINK.
57426         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57427         interface information.  Reuse previous data if netlink timestamp
57428         is not changed.
57429         (__bump_nl_timestamp): New function.
57430         (__free_in6ai): New function.
57432 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57434         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57435         close_not_cancel_no_status here.
57436         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57438 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57440         [BZ #13276]
57441         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57442         return value.
57444         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57445         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57446         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57448 2011-07-03  Andreas Jaeger  <aj@suse.de>
57450         [BZ #10709]
57451         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57452         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57453         * math/libm-test.inc (sin_test): Add test case.
57455 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57457         [BZ #13337]
57458         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57459         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57461         * elf/chroot_canon.c (chroot_canon): Cleanups.
57463         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57465         [BZ #13335]
57466         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57467         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57469         * string/test-strchr.c: Make usable for strchrnul testing.
57470         * string/test-strchrnul.c: New file.
57471         * string/Makefile (strop-tests): Add strchrnul.
57473         * po/it.po: Update from translation team.
57474         * po/es.po: Likewise.
57476 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57478         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57479         the three constants needed as parameters.  Drop the others.
57480         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57481         __m128i_strloadu_tolower.
57482         Create and initialize variable zero and use it in all the places
57483         where _mm_setzero_si128 was used.
57485         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57486         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57487         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57488         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57489         anymore.
57490         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57491         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
57492         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
57493         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
57494         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
57495         __mpranred, __mptan.
57496         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
57497         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
57498         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
57499         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
57500         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
57501         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
57502         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
57503         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
57504         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
57506 2011-10-28  Andreas Schwab  <schwab@redhat.com>
57508         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
57509         redefine if SHARED.
57510         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
57512         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
57513         wide char related routines to wcsmbs subdir.
57515 2011-10-27  Andreas Schwab  <schwab@redhat.com>
57517         [BZ #13344]
57518         * misc/sys/cdefs.h (__THROWNL): Define.
57519         * posix/unistd.h: Use __THREADNL instead of __THREAD
57520         for memory synchronization functions.
57522 2011-10-26  Roland McGrath  <roland@hack.frob.com>
57524         [BZ #13349]
57525         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
57526         doesn't exist.
57527         * manual/stdio.texi (Obstack Streams): Node removed.
57529 2011-10-26  Andreas Schwab  <schwab@redhat.com>
57531         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
57532         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57533         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57535         * math/math_private.h (math_force_eval): Allow non-addressable
57536         arguments.
57537         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
57539 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57541         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
57542         file is not needed.
57544         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
57545         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
57546         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57547         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57548         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57549         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57550         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57551         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
57552         Add AVX variants.
57553         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
57554         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
57555         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
57556         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
57557         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
57558         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
57559         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
57560         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
57561         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
57562         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
57563         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
57564         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
57565         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
57566         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
57567         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
57568         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
57569         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
57570         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
57571         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
57573         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
57574         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
57576         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
57577         place.  Use VEX encoding when compiling for AVX.
57579 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57581         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
57582         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57584         * string/test-strchr.c (do_test): Don't generate NUL bytes.
57586 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57588         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
57589         useless if() expression.
57590         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57591         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57592         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57593         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57594         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57595         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57596         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57597         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57598         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57599         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57600         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57601         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57602         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57603         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57604         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57605         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57606         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57607         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57608         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57610         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
57612 2011-10-25  Andreas Schwab  <schwab@redhat.com>
57614         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
57615         condition.
57616         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57618 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
57620         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
57621         .text section.  Avoid duplicate constants.
57622         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57623         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57624         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57625         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57626         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57627         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57628         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57629         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57630         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57631         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
57632         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57633         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57634         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57635         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57636         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57637         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57638         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57639         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57640         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57641         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57642         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57643         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57644         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57645         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
57646         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
57647         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
57648         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
57649         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
57650         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
57651         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
57652         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
57653         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
57654         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57655         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
57656         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
57657         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
57658         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
57659         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
57660         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
57661         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
57662         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
57663         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57664         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
57665         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
57666         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
57668 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
57670         * sysdeps/x86_64/dla.h: Move to ...
57671         * sysdeps/x86_64/fpu/dla.h: ...here.
57672         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
57673         situations.  Use __builtin_fma only for gcc 4.6 and up.
57675         * config.make.in: Add have-mfma4 entry.
57676         * configure.in: Substitute libc_cv_cc_fma4.
57677         * math/Makefile (dbl-only-routines): Add sincostab.
57678         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
57679         Use __sincostab not sincos.
57680         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
57681         name is a macro.
57682         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57683         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57684         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57685         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
57686         using __copysign.
57687         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
57688         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
57689         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
57690         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
57691         and __inv.
57692         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
57693         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
57694         __copysign.
57695         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
57696         define aliases when function name is a macro.
57697         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
57698         sysdeps/ieee754/dbl-64/sincos.tbl.
57699         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
57700         fma4-enabled routines.
57701         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
57702         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
57703         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
57704         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
57705         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
57706         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
57707         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
57708         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
57709         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
57710         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
57711         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
57712         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
57713         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
57714         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
57715         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
57716         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
57717         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
57718         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
57719         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
57720         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
57721         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
57722         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
57723         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
57724         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
57725         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
57726         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
57727         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
57728         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
57729         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
57730         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
57732         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
57733         rename.
57734         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57735         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57736         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57737         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57738         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57739         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57740         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57741         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57743 2011-10-24  Andreas Schwab  <schwab@redhat.com>
57745         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
57747 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57749         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
57751         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
57752         prediction.
57753         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
57755         * string/strnlen.c: Don't define STRNLEN, reverse logic.
57756         Remove unused variable magic_bits.
57757         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
57759         * string/strnlen.c: Define and use STRNLEN macro.
57760         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
57761         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
57762         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
57763         * wcsmbs/wcslen.c: Define and use WCSLEN.
57764         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
57765         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
57766         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
57767         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
57768         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
57769         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
57770         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57772 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57775         strnlen-sse2-no-bsf.
57776         Rename strlen-no-bsf to strlen-sse2-no-bsf.
57777         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
57778         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
57779         Add strnlen support.
57780         (USE_AS_STRNLEN): New macro.
57781         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
57782         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
57783         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
57784         * sysdeps/x86_64/wcslen.S: New file.
57786 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
57788         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
57789         XMM-moves are used for copying on small sizes.
57791 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57793         * wcsmbs/Makefile (strop-tests): Add wcschr.
57794         * wcsmbs/test-wcschr.c: New file.
57795         * string/test-strchr.c: Update.
57796         Add wcschr support.
57797         (WIDE): New macro.
57799 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57801         * wcsmbs/Makefile (strop-tests): Add wcslen.
57802         * wcsmbs/test-wcslen.c: New file.
57803         * string/test-strlen.c: Update.
57804         Add wcslen support.
57805         (WIDE): New macro.
57807 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57809         * po/it.po: Update from translation team.
57811 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57813         * sysdeps/x86_64/wcscmp.S: Update.
57814         Fix wrong comparison semantics.
57815         wcscmp shall use signed comparison not unsigned.
57816         Don't use substraction to avoid overflow bug.
57817         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
57818         * wcsmbc/wcscmp.c: Likewise.
57819         * string/test-strcmp.c: Likewise.
57820         Add new tests to check cases with negative values.
57822 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
57824         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57825         * sysdeps/x86_64/dla.h: ...here.  New file.
57826         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57827         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57828         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57829         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57830         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57831         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57832         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57833         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57834         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57836 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
57838         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57839         __ynl_finite aliases.
57841 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57843         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57845         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57846         define DLA_FMA.
57847         [DLA_FMA] (EMULV): Use DLA_FMA.
57848         [DLA_FMA] (MUL12): Use EMULV.
57849         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57850         that are not needed.
57851         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57852         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57853         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57854         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57855         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57856         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57857         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57859 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
57861         * math/s_nan.c: Undef __nan.
57862         * math/s_nanf.c: Undef __nanf.
57863         * math/s_nanl.c: Undef __nanl.
57864         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57865         "math_private.h".
57867 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
57869         * math/s_catan.c: Add branch predictions.
57870         * math/s_catanf.c: Likewise.
57871         * math/s_catanh.c: Likewise.
57872         * math/s_catanhf.c: Likewise.
57873         * math/s_catanhl.c: Likewise.
57874         * math/s_catanl.c: Likewise.
57875         * math/s_cexp.c: Likewise.
57876         * math/s_cexpf.c: Likewise.
57877         * math/s_cexpl.c: Likewise.
57878         * math/s_clog.c: Likewise.
57879         * math/s_clog10.c: Likewise.
57880         * math/s_clog10f.c: Likewise.
57881         * math/s_clog10l.c: Likewise.
57882         * math/s_clogf.c: Likewise.
57883         * math/s_clogl.c: Likewise.
57884         * math/s_csqrt.c: Likewise.
57885         * math/s_csqrtf.c: Likewise.
57886         * math/s_csqrtl.c: Likewise.
57887         * math/s_ctanf.c: Likewise.
57888         * math/s_ctanh.c: Likewise.
57889         * math/s_ctanhf.c: Likewise.
57890         * math/s_ctanhl.c: Likewise.
57891         * math/s_ctanl.c: Likewise.
57893         * math/math_private.h: Define __nan, __nanf, __nanl.
57894         * math/s_cacosh.c: Include <math_private.h>.
57895         * math/s_cacoshl.c: Likewise.
57896         * math/s_casinh.c: Likewise.
57897         * math/s_casinhf.c: Likewise.
57898         * math/s_casinhl.c: Likewise.
57899         * math/s_ccos.c: Rely entire on ccosh.
57900         * math/s_ccosf.c: Rely entire on ccoshf.
57901         * math/s_ccosl.c: Rely entirely on ccoshl.
57902         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
57903         Remove tests for FE_INVALID.
57904         * math/s_ccoshf.c: Likewise.
57905         * math/s_ccoshl.c: Likewise.
57906         * math/s_csin.c: Likewise.
57907         * math/s_csinf.c: Likewise.
57908         * math/s_csinh.c Likewise.
57909         * math/s_csinhf.c: Likewise.
57910         * math/s_csinhl.c: Likewise.
57911         * math/s_csinl.c: Likewise.
57912         * math/s_ctan.c: Likewise.
57913         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57914         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57915         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57917 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
57919         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57920         compilation problems.
57922         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57923         __builtin_expect.
57925 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
57927         * sysdeps/i386/configure.in: Test for -mfma4 option.
57928         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57929         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57930         COMMON_CPUID_INDEX_80000001.
57931         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57932         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57933         use it if FMA3 is not supported.
57934         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57936         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57937         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57939 2011-10-20  Andreas Schwab  <schwab@redhat.com>
57941         [BZ #12892]
57942         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57943         it would create a cycle with a link time dependency.
57945 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
57947         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57948         instruction.
57949         * string/Makefile (strop-tests): Add rawmemchr.
57950         * string/test-rawmemchr.c: New file.
57952         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57953         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
57954         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
57955         when compiling str{,n}casecmp and when AVX is available.  Hook up
57956         new optimized code in initializers.
57958 2011-10-19  Andreas Schwab  <schwab@redhat.com>
57960         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57961         __feraiseexcept instead of feraiseexcept.
57963 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57965         * math/math_private.h: Define defaults for libc_fetestexcept and
57966         libc_feupdateenv.
57967         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57968         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57969         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57970         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57971         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57972         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57973         libc_fetestexcept and libc_feupdateenv.
57975         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57976         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57977         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57978         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57979         libc_feholdexcept_setround.
57981         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57982         Add s_nearbyint-c and s_nearbyintf-c.
57983         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57984         nearbyintf inlines.
57985         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57986         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57987         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57988         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57990         * math/math_private.h: Define defaults for libc_fegetround,
57991         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57992         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57993         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57994         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57995         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57996         standard functions.
57997         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57998         Remove comments and hacks for old compiler versions.
57999         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58000         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58001         libc_feholdexceptl.
58003 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58005         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58006         (__feraiseexcept_renamed): Add __NTH.
58007         (feraiseexcept): Add __NTH.  Rename local variables to fix
58008         namespace violations.
58010 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58012         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58014         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58016         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58017         recently added interfaces.
58018         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58020         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58021         about macro parameter expansion.
58023         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58024         __NO_MATH_INLINES is defined.  Cleanups.
58026         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58027         and __floorf is target has SSE4.1.
58028         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58029         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58030         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58031         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58033         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58034         name.
58035         (floorf): Likewise.
58037         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58039 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58041         * misc/sys/cdefs.h: Fix last change.
58043         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58044         database lookup.
58046 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58048         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58050         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58051         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58052         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58053         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58054         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58055         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58056         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58057         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58058         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58059         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58060         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58061         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58062         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58063         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58064         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58065         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58066         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58067         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58068         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58069         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58070         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58071         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58073         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58074         ceil, ceilf, floor, floorf.
58076         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58077         Perform IRELATIVE relocations last.
58079         * elf/do-rel.h: Add another parameter nrelative, replacing the
58080         local variable with the same name.  Change name of the function
58081         to end in Rel or Rela (uppercase).
58082         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58083         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58084         elf_dynamic_do_##reloc function.
58086 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58088         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58089         is sufficient, at least on modern CPUs.
58091         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58093         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58094         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58096         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58097         __expl_finite.
58098         * math/bits/math-finite.h: Add entries for exp.
58099         * math/e_expl.c: Add __*_finite alias.
58100         * sysdeps/i386/fpu/e_exp.S: Likewise.
58101         * sysdeps/i386/fpu/e_expf.S: Likewise.
58102         * sysdeps/i386/fpu/e_expl.c: Likewise.
58103         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58104         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58105         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58106         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58107         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58108         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58109         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58111         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58112         is sufficient, at least on modern CPUs.
58114         * ctype/ctype-info.c (__ctype_init): Define.
58115         * include/ctype.h (__ctype_init): Declare.
58116         (__ctype_b_loc): The variable is always initialized.
58117         (__ctype_toupper_loc): Likewise.
58118         (__ctype_tolower_loc): Likewise.
58119         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58120         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58122 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58124         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58126         * configure.in: Also look in $cxxmachine/include for C++ system
58127         headers.
58129 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58131         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58132         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58133         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58134         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58135         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58136         (USE_AS_WMEMCMP): New macro.
58137         Fixing indents.
58138         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58139         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58140         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58141         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58142         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58143         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58144         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58145         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58146         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58147         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58148         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58149         (USE_AS_WMEMCMP): New macro.
58150         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58151         * sysdeps/string/test-memcmp.c: Update.
58152         Fix simple_wmemcmp.
58153         Add new tests.
58154         * wcsmbs/wmemcmp.c: Update.
58155         (WMEMCMP): New macro.
58156         Fix overflow bug.
58158 2011-10-12  Andreas Jaeger  <aj@suse.de>
58160         [BZ #13268]
58161         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58163 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58165         * libio/iofwide.c (do_length): Avoid warning.
58167         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58169 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58171         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58173         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58174         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58175         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58176         * sysdeps/i386/i686/fpu/e_log.S: New file.
58177         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58178         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58180         * ctype/ctype.h: Add support for inlined isXXX functions when
58181         compiling C++ code.
58183 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58185         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58187         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58189 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58191         [BZ #13291]
58192         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58194 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58196         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58197         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58198         feraiseexcept.
58200         * sysdeps/x86_64/memrchr.S: Check for zero size.
58202         * string/stratcliff.c: Add memrchr tests.
58204 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58206         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58207         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58208         rawmemchr-sse2 rawmemchr-sse2-bsf.
58209         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58210         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58211         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58212         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58213         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58214         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58215         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58216         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58217         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58218         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58219         * string/memrchr.c (MEMRCHR): New macro.
58221 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58223         Add integration with gcc's -ffinite-math-only and optimize wrapper
58224         functions in libm.
58225         * Versions.def: Define GLIBC_2.15 version for libm.
58226         * math/Makefile (headers): Add bits/math-finite.h.
58227         * math/bits/math-finite.h: New file.
58228         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58229         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58230         * math/e_acoshl.c: Add __*_finite alias.
58231         * math/e_acosl.c: Likewise.
58232         * math/e_asinl.c: Likewise.
58233         * math/e_atan2l.c: Likewise.
58234         * math/e_atanhl.c: Likewise.
58235         * math/e_coshl.c: Likewise.
58236         * math/e_exp10.c: Likewise.
58237         * math/e_exp10f.c: Likewise.
58238         * math/e_exp10l.c: Likewise.
58239         * math/e_exp2l.c: Likewise.
58240         * math/e_fmodl.c: Likewise.
58241         * math/e_gammal_r.c: Likewise.
58242         * math/e_hypotl.c: Likewise.
58243         * math/e_j0l.c: Likewise.
58244         * math/e_j1l.c: Likewise.
58245         * math/e_jnl.c: Likewise.
58246         * math/e_lgammal_r.c: Likewise.
58247         * math/e_log10l.c: Likewise.
58248         * math/e_log2l.c: Likewise.
58249         * math/e_logl.c: Likewise.
58250         * math/e_powl.c: Likewise.
58251         * math/e_sinhl.c: Likewise.
58252         * math/e_sqrtl.c: Likewise.
58253         * math/e_scalb.c: Completely rewritten and optimized.
58254         * math/e_scalbf.c: Likewise.
58255         * math/e_scalbl.c: Likewise.
58256         * math/w_acos.c: Likewise.
58257         * math/w_acosf.c: Likewise.
58258         * math/w_acosl.c: Likewise.
58259         * math/w_acosh.c: Likewise.
58260         * math/w_acoshf.c: Likewise.
58261         * math/w_acoshl.c: Likewise.
58262         * math/w_asin.c: Likewise.
58263         * math/w_asinf.c: Likewise.
58264         * math/w_asinl.c: Likewise.
58265         * math/w_atan2.c: Likewise.
58266         * math/w_atan2f.c: Likewise.
58267         * math/w_atan2l.c: Likewise.
58268         * math/w_atanh.c: Likewise.
58269         * math/w_atanhf.c: Likewise.
58270         * math/w_atanhl.c: Likewise.
58271         * math/w_exp10.c: Likewise.
58272         * math/w_exp10f.c: Likewise.
58273         * math/w_exp10l.c: Likewise.
58274         * math/w_fmod.c: Likewise.
58275         * math/w_fmodf.c: Likewise.
58276         * math/w_fmodl.c: Likewise.
58277         * math/w_j0.c: Likewise.
58278         * math/w_j0f.c: Likewise.
58279         * math/w_j0l.c: Likewise.
58280         * math/w_j1.c: Likewise.
58281         * math/w_j1f.c: Likewise.
58282         * math/w_j1l.c: Likewise.
58283         * math/w_jn.c: Likewise.
58284         * math/w_jnf.c: Likewise.
58285         * math/w_log.c: Likewise.
58286         * math/w_logf.c: Likewise.
58287         * math/w_logl.c: Likewise.
58288         * math/w_log10.c: Likewise.
58289         * math/w_log10f.c: Likewise.
58290         * math/w_log10l.c: Likewise.
58291         * math/w_log2.c: Likewise.
58292         * math/w_log2f.c: Likewise.
58293         * math/w_log2l.c: Likewise.
58294         * math/w_pow.c: Likewise.
58295         * math/w_powf.c: Likewise.
58296         * math/w_powl.c: Likewise.
58297         * math/w_remainder.c: Likewise.
58298         * math/w_remainderf.c: Likewise.
58299         * math/w_remainderl.c: Likewise.
58300         * math/w_scalb.c: Likewise.
58301         * math/w_scalbf.c: Likewise.
58302         * math/w_scalbl.c: Likewise.
58303         * math/w_sqrt.c: Likewise.
58304         * math/w_sqrtf.c: Likewise.
58305         * math/w_sqrtl.c: Likewise.
58306         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58307         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58308         used.
58309         * math/math_private.h: Declare __kernel_standard_f.
58310         * math/w_cosh.c: Remove cruft and optimize a bit.
58311         * math/w_coshf.c: Likewise.
58312         * math/w_coshl.c: Likewise.
58313         * math/w_exp2.c: Likewise.
58314         * math/w_exp2f.c: Likewise.
58315         * math/w_exp2l.c: Likewise.
58316         * math/w_hypot.c: Likewise.
58317         * math/w_hypotf.c: Likewise.
58318         * math/w_hypotl.c: Likewise.
58319         * math/w_lgamma.c: Likewise.
58320         * math/w_lgamma_r.c: Likewise.
58321         * math/w_lgammaf.c: Likewise.
58322         * math/w_lgammaf_r.c: Likewise.
58323         * math/w_lgammal.c: Likewise.
58324         * math/w_lgammal_r.c: Likewise.
58325         * math/w_sinh.c: Likewise.
58326         * math/w_sinhf.c: Likewise.
58327         * math/w_sinhl.c: Likewise.
58328         * math/w_tgamma.c: Likewise.
58329         * math/w_tgammaf.c: Likewise.
58330         * math/w_tgammal.c: Likewise.
58331         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58332         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58333         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58334         Minor optimizations.  Pretty printing.  Remove cruft.
58335         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58336         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58337         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58338         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58339         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58340         * sysdeps/i386/fpu/e_asin.S: Likewise.
58341         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58342         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58343         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58344         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58345         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58346         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58347         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58348         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58349         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58350         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58351         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58352         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58353         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58354         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58355         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58356         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58357         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58358         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58359         * sysdeps/i386/fpu/e_log.S: Likewise.
58360         * sysdeps/i386/fpu/e_log10.S: Likewise.
58361         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58362         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58363         * sysdeps/i386/fpu/e_log2.S: Likewise.
58364         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58365         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58366         * sysdeps/i386/fpu/e_logf.S: Likewise.
58367         * sysdeps/i386/fpu/e_logl.S: Likewise.
58368         * sysdeps/i386/fpu/e_pow.S: Likewise.
58369         * sysdeps/i386/fpu/e_powf.S: Likewise.
58370         * sysdeps/i386/fpu/e_powl.S: Likewise.
58371         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58372         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58373         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58374         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58375         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58376         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58377         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58378         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58379         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58380         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58381         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58382         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58383         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58384         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58385         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58386         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58387         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58388         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58389         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58390         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58391         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58392         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58393         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58394         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58395         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58396         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58397         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58398         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58399         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58400         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58401         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58402         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58403         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58404         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58405         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58406         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58407         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58408         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58409         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58410         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58411         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58412         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58413         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58414         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58415         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58416         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58417         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58418         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58419         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58420         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58421         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58422         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58423         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58424         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58425         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58426         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58427         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58428         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58429         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58430         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58431         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58432         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58433         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58434         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58435         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58436         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58437         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58438         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58439         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58440         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58441         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58442         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58443         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58444         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58445         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58446         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58447         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58448         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58449         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58450         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58451         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58452         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58453         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58454         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58455         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58456         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58457         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58458         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58459         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58460         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58461         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58462         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58463         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58464         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58465         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58466         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58467         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58468         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58469         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58470         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58471         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58472         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58473         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58474         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58475         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58476         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58477         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58478         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58479         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58480         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58481         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58482         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58483         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58484         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58485         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58486         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58487         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58488         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58489         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58490         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58491         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
58492         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
58493         (__isnanf): Likewise.
58494         (__isinf_ns): Likewise.
58495         (__isinf_nsf): Likewise.
58496         (__finite): Likewise.
58497         (__finitef): Likewise.
58498         (__ieee754_sqrt): Define as macro.
58499         (__ieee754_sqrtf): Define as macro.
58500         (__ieee754_sqrtl): Define as macro.
58501         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
58502         inlined copy.
58503         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
58504         __FINITE_MATH_ONLY__ consistent.
58505         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
58507 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
58509         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
58510         of rawmemchr.
58512         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
58514 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
58516         * po/ja.po: Update from translation team.
58518 2011-10-08  Roland McGrath  <roland@hack.frob.com>
58520         * locale/programs/locarchive.c (prepare_address_space): New function.
58521         (create_archive, enlarge_archive, open_archive): Use it.
58523         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
58524         inside [SHARED], where it is used.
58526         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
58528         * nss/getent.c (netgroup_keys): Remove unused variable.
58529         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
58531 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
58533         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
58534         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
58535         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
58536         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
58537         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
58538         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
58539         * math/Makefile (libm-calls): Add s_isinf_ns.
58540         * math/divtc3.c: Use __isinf_nsl instead of isinf.
58541         * math/multc3.c: Likewise.
58542         * math/s_casin.c: Likewise.
58543         * math/s_casinf.c: Likewise.
58544         * math/s_casinl.c: Likewise.
58545         * math/s_ccos.c: Likewise.
58546         * math/s_ccosf.c: Likewise.
58547         * math/s_ccosl.c: Likewise.
58548         * math/s_ctan.c: Likewise.
58549         * math/s_ctanf.c: Likewise.
58550         * math/s_ctanh.c: Likewise.
58551         * math/s_ctanhf.c: Likewise.
58552         * math/s_ctanhl.c: Likewise.
58553         * math/s_ctanl.c: Likewise.
58554         * math/w_fmod.c: Likewise.
58555         * math/w_fmodf.c: Likewise.
58556         * math/w_fmodl.c: Likewise.
58557         * math/w_remainder.c: Likewise.
58558         * math/w_remainderf.c: Likewise.
58559         * math/w_remainderl.c: Likewise.
58560         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
58561         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
58562         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
58563         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
58564         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
58565         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
58566         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
58567         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
58569         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
58570         of the number.
58571         * stdio-common/printf_fphex.c: Likewise.
58572         * stdio-common/printf_size.c: Likewise.
58574         * math/e_exp10.c: Include math_private.h using <...> not "...".
58575         * math/e_exp10f.c: Likewise.
58576         * math/e_exp10l.c: Likewise.
58577         * math/e_exp2l.c: Likewise.
58578         * math/e_j0l.c: Likewise.
58579         * math/e_j1l.c: Likewise.
58580         * math/e_jnl.c: Likewise.
58581         * math/e_lgammal_r.c: Likewise.
58582         * math/e_rem_pio2l.c: Likewise.
58583         * math/e_scalb.c: Likewise.
58584         * math/e_scalbf.c: Likewise.
58585         * math/e_scalbl.c: Likewise.
58586         * math/k_cosl.c: Likewise.
58587         * math/k_sinl.c: Likewise.
58588         * math/k_tanl.c: Likewise.
58589         * math/s_cacoshf.c: Likewise.
58590         * math/s_catan.c: Likewise.
58591         * math/s_catanf.c: Likewise.
58592         * math/s_catanh.c: Likewise.
58593         * math/s_catanhf.c: Likewise.
58594         * math/s_catanhl.c: Likewise.
58595         * math/s_catanl.c: Likewise.
58596         * math/s_ccosh.c: Likewise.
58597         * math/s_ccoshf.c: Likewise.
58598         * math/s_ccoshl.c: Likewise.
58599         * math/s_cexp.c: Likewise.
58600         * math/s_cexpf.c: Likewise.
58601         * math/s_cexpl.c: Likewise.
58602         * math/s_clog.c: Likewise.
58603         * math/s_clog10.c: Likewise.
58604         * math/s_clog10f.c: Likewise.
58605         * math/s_clog10l.c: Likewise.
58606         * math/s_clogf.c: Likewise.
58607         * math/s_clogl.c: Likewise.
58608         * math/s_csin.c: Likewise.
58609         * math/s_csinf.c: Likewise.
58610         * math/s_csinh.c: Likewise.
58611         * math/s_csinhf.c: Likewise.
58612         * math/s_csinhl.c: Likewise.
58613         * math/s_csinl.c: Likewise.
58614         * math/s_csqrt.c: Likewise.
58615         * math/s_csqrtf.c: Likewise.
58616         * math/s_csqrtl.c: Likewise.
58617         * math/s_ctan.c: Likewise.
58618         * math/s_ctanf.c: Likewise.
58619         * math/s_ctanh.c: Likewise.
58620         * math/s_ctanhf.c: Likewise.
58621         * math/s_ctanhl.c: Likewise.
58622         * math/s_ctanl.c: Likewise.
58623         * math/s_ldexp.c: Likewise.
58624         * math/s_ldexpf.c: Likewise.
58625         * math/s_ldexpl.c: Likewise.
58626         * math/s_significand.c: Likewise.
58627         * math/s_significandf.c: Likewise.
58628         * math/s_significandl.c: Likewise.
58629         * math/w_acos.c: Likewise.
58630         * math/w_acosf.c: Likewise.
58631         * math/w_acosh.c: Likewise.
58632         * math/w_acoshf.c: Likewise.
58633         * math/w_acoshl.c: Likewise.
58634         * math/w_acosl.c: Likewise.
58635         * math/w_asin.c: Likewise.
58636         * math/w_asinf.c: Likewise.
58637         * math/w_asinl.c: Likewise.
58638         * math/w_atan2.c: Likewise.
58639         * math/w_atan2f.c: Likewise.
58640         * math/w_atan2l.c: Likewise.
58641         * math/w_atanh.c: Likewise.
58642         * math/w_atanhf.c: Likewise.
58643         * math/w_atanhl.c: Likewise.
58644         * math/w_cosh.c: Likewise.
58645         * math/w_coshf.c: Likewise.
58646         * math/w_coshl.c: Likewise.
58647         * math/w_dremf.c: Likewise.
58648         * math/w_exp10.c: Likewise.
58649         * math/w_exp10f.c: Likewise.
58650         * math/w_exp10l.c: Likewise.
58651         * math/w_exp2.c: Likewise.
58652         * math/w_exp2f.c: Likewise.
58653         * math/w_fmod.c: Likewise.
58654         * math/w_fmodf.c: Likewise.
58655         * math/w_fmodl.c: Likewise.
58656         * math/w_hypot.c: Likewise.
58657         * math/w_hypotf.c: Likewise.
58658         * math/w_hypotl.c: Likewise.
58659         * math/w_j0.c: Likewise.
58660         * math/w_j0f.c: Likewise.
58661         * math/w_j0l.c: Likewise.
58662         * math/w_j1.c: Likewise.
58663         * math/w_j1f.c: Likewise.
58664         * math/w_j1l.c: Likewise.
58665         * math/w_jn.c: Likewise.
58666         * math/w_jnf.c: Likewise.
58667         * math/w_jnl.c: Likewise.
58668         * math/w_lgamma.c: Likewise.
58669         * math/w_lgamma_r.c: Likewise.
58670         * math/w_lgammaf.c: Likewise.
58671         * math/w_lgammaf_r.c: Likewise.
58672         * math/w_lgammal.c: Likewise.
58673         * math/w_lgammal_r.c: Likewise.
58674         * math/w_log.c: Likewise.
58675         * math/w_log10.c: Likewise.
58676         * math/w_log10f.c: Likewise.
58677         * math/w_log10l.c: Likewise.
58678         * math/w_log2.c: Likewise.
58679         * math/w_log2f.c: Likewise.
58680         * math/w_log2l.c: Likewise.
58681         * math/w_logf.c: Likewise.
58682         * math/w_logl.c: Likewise.
58683         * math/w_pow.c: Likewise.
58684         * math/w_powf.c: Likewise.
58685         * math/w_powl.c: Likewise.
58686         * math/w_remainder.c: Likewise.
58687         * math/w_remainderf.c: Likewise.
58688         * math/w_remainderl.c: Likewise.
58689         * math/w_scalb.c: Likewise.
58690         * math/w_scalbf.c: Likewise.
58691         * math/w_scalbl.c: Likewise.
58692         * math/w_sinh.c: Likewise.
58693         * math/w_sinhf.c: Likewise.
58694         * math/w_sinhl.c: Likewise.
58695         * math/w_sqrt.c: Likewise.
58696         * math/w_sqrtf.c: Likewise.
58697         * math/w_sqrtl.c: Likewise.
58698         * math/w_tgamma.c: Likewise.
58699         * math/w_tgammaf.c: Likewise.
58700         * math/w_tgammal.c: Likewise.
58702         * po/ja.po: Update from translation team.
58704 2011-09-29  Andreas Jaeger  <aj@suse.de>
58706         [BZ #13179]
58707         * sunrpc/netname.c (netname2host): Fix logic.
58709         [BZ #6779]
58710         [BZ #6783]
58711         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
58712         correctly.
58713         * math/w_remainder.c (__remainder): Likewise.
58714         * math/w_remainderf.c (__remainderf): Likewise.
58715         * math/libm-test.inc (remainder_test): Add test cases.
58717 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58719         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
58720         sdiv_qrnnd.
58722 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58724         * string/test-memcmp.c: Avoid unncessary #defines.
58725         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58727 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58729         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
58730         Use new sse2 version for core i3 - i7 as it's faster
58731         than sse42 version.
58732         (bit_Prefer_PMINUB_for_stringop): New.
58733         * sysdeps/x86_64/rawmemchr.S: Update.
58734         Replace with faster SSE2 version.
58735         * sysdeps/x86_64/memrchr.S: New file.
58736         * sysdeps/x86_64/memchr.S: Update.
58737         Replace with faster SSE2 version.
58739 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
58741         * elf/dl-load.c (lose): Add cast to avoid warning.
58743 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
58745         * po/ca.po: Update from translation team.
58747         * inet/getnetgrent_r.c: Hook up nscd.
58748         * nscd/Makefile (routines): Add nscd_netgroup.
58749         (nscd-modules): Add netgroupcache.
58750         (CFLAGS-netgroupcache.c): Define.
58751         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
58752         (cache_search): Add const to second parameter.
58753         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
58754         INNETGR.
58755         (dbs): Add netgrdb entry.
58756         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
58757         (verify_persistent_db): Handle netgrdb.
58758         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
58759         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
58760         GETFDNETGR.
58761         (netgroup_response_header): Define.
58762         (innetgroup_response_header): Define.
58763         (datahead): Add netgroup_response_header and innetgroup_response_header
58764         elements.
58765         * nscd/nscd.conf: Add entries for netgroup cache.
58766         * nscd/nscd.h (dbtype): Add netgrdb.
58767         (_PATH_NSCD_NETGROUP_DB): Define.
58768         (netgroup_iov_disabled): Declare.
58769         (xmalloc, xcalloc, xrealloc): Move declarations here.
58770         (cache_search): Adjust prototype.
58771         Add netgroup-related prototypes.
58772         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
58773         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
58774         (__nscd_innetgr): Declare.
58775         * nscd/selinux.c (perms): Use access_vector_t as element type and
58776         add netgroup-related initializers.
58777         * nscd/netgroupcache.c: New file.
58778         * nscd/nscd_netgroup.c: New file.
58779         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
58780         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
58781         For four parameters use innetgr.
58782         * nss/nss_files/files-init.c: Add definition and callback for netgr.
58783         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
58784         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
58785         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
58787         * nscd/connections.c (register_traced_file): Don't register file
58788         for disabled databases.
58790 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
58792         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
58794         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
58795         from tree and freeing node.
58797 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
58799         * nss/nsswitch.c (__nss_database_lookup): Handle
58800         nss_parse_service_list out of memory case.
58802 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
58804         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
58805         out of memory case.
58807 2011-10-04  Andreas Schwab  <schwab@redhat.com>
58809         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
58810         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
58811         pass it down.
58812         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
58813         elf_machine_rela, elf_machine_lazy_rel.
58814         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
58815         (ELF_DYNAMIC_DO_REL): Likewise.
58816         (ELF_DYNAMIC_DO_RELA): Likewise.
58817         (ELF_DYNAMIC_RELOCATE): Likewise.
58818         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
58819         to ELF_DYNAMIC_DO_REL.
58820         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
58821         (dl_main): In trace mode always set __RTLD_NOIFUNC.
58822         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58823         elf_machine_rela.
58824         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58825         skip_ifunc, don't call ifunc function if non-zero.
58826         (elf_machine_rela): Likewise.
58827         (elf_machine_lazy_rel): Likewise.
58828         (elf_machine_lazy_rela): Likewise.
58829         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58830         (elf_machine_lazy_rel): Likewise.
58831         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58832         Likewise.
58833         (elf_machine_lazy_rel): Likewise.
58834         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58835         Likewise.
58836         (elf_machine_lazy_rel): Likewise.
58837         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58838         (elf_machine_lazy_rel): Likewise.
58839         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58840         (elf_machine_lazy_rel): Likewise.
58841         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58842         (elf_machine_lazy_rel): Likewise.
58843         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58844         (elf_machine_lazy_rel): Likewise.
58845         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58846         (elf_machine_lazy_rel): Likewise.
58847         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58848         (elf_machine_lazy_rel): Likewise.
58850 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
58852         * nss/nss_files/files-init.c (_nss_files_init): Use static
58853         initialization for all the *_traced_file variables.
58855 2011-09-28  Andreas Schwab  <schwab@redhat.com>
58857         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58859 2011-09-27  Roland McGrath  <roland@hack.frob.com>
58861         [BZ #13226]
58862         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58864 2011-09-27  Andreas Schwab  <schwab@redhat.com>
58866         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58867         Reread the line before reparsing it.
58869 2011-09-26  Andreas Schwab  <schwab@redhat.com>
58871         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58873 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
58874             Maxim Kuvyrkov  <maxim@codesourcery.com>
58875             Joseph Myers  <joseph@codesourcery.com>
58877         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58878         if needed for __stack_chk_guard.
58880 2011-09-19  Roland McGrath  <roland@hack.frob.com>
58882         * sysdeps/posix/spawni.c (script_execute): Always define it.
58883         It will be optimized away if unused.
58884         (maybe_script_execute): New function.
58885         (__spawni): Call it.
58887         * Makerules: Don't include tls.make.
58888         (config-tls): Always set to thread.
58889         * tls.make.c: File removed.
58891 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
58893         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58894         * config.make.in (CPPFLAGS-config): New substituted variable.
58896 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58898         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58900         [BZ #13192]
58901         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58902         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58904 2011-09-15  Roland McGrath  <roland@hack.frob.com>
58906         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58907         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58908         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58909         (CALL_FAIL): Likewise.
58910         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58911         (CALL_FAIL): Macro removed.
58912         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58914 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
58916         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58917         for __FINITE_MATH_ONLY__ == 1.
58919 2011-09-15  Andreas Schwab  <schwab@redhat.com>
58921         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58922         __ieee754_sqrt instead of sqrt.
58923         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58924         __ieee754_sqrtf instead of sqrtf.
58925         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58926         __floorf instead of floorf.
58927         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58928         __floorf, __truncf instead of floorf, truncf.
58930 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
58932         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58934         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58935         __extern_always_inline.
58936         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58937         32-bit.
58939 2011-09-14  Andreas Schwab  <schwab@redhat.com>
58941         * elf/rtld.c (dl_main): Also relocate in dependency order when
58942         doing symbol dependency testing.
58944 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
58946         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58947         Always define `refsym'.
58949 2011-09-13  Andreas Schwab  <schwab@redhat.com>
58951         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58952         (__FD_ELT): Renamed from __FDELT.
58953         * misc/bits/select2.h (__FD_ELT): Likewise.
58954         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58955         __FD_MASK instead of __FDELT, __FDMASK.
58956         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58957         Likewise.
58958         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58959         Likewise.
58961         * elf/Makefile (gen-ldd): Fix pattern.
58963         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58964         (init_tls): Likewise.
58966 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58968         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58970 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58972         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58973         `struct cmsghdr *' instead of `void *'.
58974         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58975         Likewise.
58977 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58979         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58980         if non-absolute.
58981         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58982         ldd_rewrite_script.
58984 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58986         * configure.in: Remove --with-tls option.
58987         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58988         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58989         out in case it is missing.
58990         * sysdeps/ia64/elf/configure.in: Likewise.
58991         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58992         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58993         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58994         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58995         * sysdeps/sh/elf/configure.in: Likewise.
58996         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58997         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58998         * sysdeps/x86_64/elf/configure.in: Likewise.
58999         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59000         * sysdeps/mach/hurd/tls.h: Likewise.
59002         [BZ #13067]
59003         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59005         [BZ #13090]
59006         * configure.in: Fix use of AC_INIT.
59008         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59010 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59012         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59013         __set_errno.
59014         * malloc/hooks.c: Likewise.
59016         [BZ #11929]
59017         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59018         variables statically.
59019         (narenas): Initialize.
59020         (list_lock): Initialize.
59021         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59022         initializtion of main_arena and list_lock.  Small cleanups.
59023         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59024         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59025         Add initializers to main_arena and mp_.
59026         (malloc_state): Remove pagesize member.  Change all users to use
59027         GLRO(dl_pagesize).
59029         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59030         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59031         is always initialized.
59033         * malloc/malloc.c: Removed unused configurations and dead code.
59034         * malloc/arena.c: Likewise.
59035         * malloc/hooks.c: Likewise.
59036         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59038         * include/tls.h: Removed.  USE___THREAD must always be defined.
59039         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59040         * elf/dl-libc.c: Likewise.
59041         * elf/dl-tsd.c: Likewise.
59042         * include/errno.h: Likewise.
59043         * include/netdb.h: Likewise.
59044         * include/resolv.h: Likewise.
59045         * inet/herrno-loc.c: Likewise.
59046         * inet/herrno.c: Likewise.
59047         * malloc/arena.c: Likewise.
59048         * malloc/hooks.c: Likewise.
59049         * malloc/malloc.c: Likewise.
59050         * resolv/res-state.c: Likewise.
59051         * resolv/res_libc.c: Likewise.
59052         * sysdeps/i386/dl-machine.h: Likewise.
59053         * sysdeps/ia64/dl-machine.h: Likewise.
59054         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59055         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59056         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59057         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59058         * sysdeps/sh/dl-machine.h: Likewise.
59059         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59060         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59061         * sysdeps/unix/i386/sysdep.S: Likewise.
59062         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59063         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59064         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59065         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59066         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59067         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59068         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59069         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59070         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59071         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59072         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59073         * sysdeps/x86_64/dl-machine.h: Likewise.
59074         * tls.make.c: Likewise.
59076         * configure.in: Remove --with-__thread option.  Make tests for
59077         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59078         tls_model attribute fail if no support is available.  Remove
59079         USE_IN_LIBIO.
59080         * Makeconfig: Adjust for dropped configure option.  All features are
59081         now mandatory.
59082         * Makerules: Likewise.
59083         * Versions.def: Likewise.
59084         * argp/argp-fmtstream.c: Likewise.
59085         * argp/argp-fmtstream.h: Likewise.
59086         * argp/argp-help.c: Likewise.
59087         * assert/assert.c: Likewise.
59088         * config.h.in: Likewise.
59089         * config.make.in: Likewise.
59090         * configure: Likewise.
59091         * configure.in: Likewise.
59092         * csu/Versions: Likewise.
59093         * csu/init.c: Likewise.
59094         * elf/tst-audit2.c: Likewise.
59095         * elf/tst-tls10.c: Likewise.
59096         * elf/tst-tls10.h: Likewise.
59097         * elf/tst-tls11.c: Likewise.
59098         * elf/tst-tls12.c: Likewise.
59099         * elf/tst-tls14.c: Likewise.
59100         * elf/tst-tlsmod11.c: Likewise.
59101         * elf/tst-tlsmod12.c: Likewise.
59102         * elf/tst-tlsmod13.c: Likewise.
59103         * elf/tst-tlsmod13a.c: Likewise.
59104         * elf/tst-tlsmod14a.c: Likewise.
59105         * elf/tst-tlsmod15b.c: Likewise.
59106         * elf/tst-tlsmod16a.c: Likewise.
59107         * elf/tst-tlsmod16b.c: Likewise.
59108         * elf/tst-tlsmod7.c: Likewise.
59109         * elf/tst-tlsmod8.c: Likewise.
59110         * elf/tst-tlsmod9.c: Likewise.
59111         * gmon/gmon.c: Likewise.
59112         * grp/fgetgrent_r.c: Likewise.
59113         * grp/putgrent.c: Likewise.
59114         * hurd/fopenport.c: Likewise.
59115         * include/libc-symbols.h: Likewise.
59116         * include/tls.h: Likewise.
59117         * intl/gettextP.h: Likewise.
59118         * intl/loadinfo.h: Likewise.
59119         * locale/global-locale.c: Likewise.
59120         * locale/localeinfo.h: Likewise.
59121         * mach/devstream.c: Likewise.
59122         * malloc/arena.c: Likewise.
59123         * malloc/set-freeres.c: Likewise.
59124         * misc/err.c: Likewise.
59125         * misc/getttyent.c: Likewise.
59126         * misc/mntent_r.c: Likewise.
59127         * posix/getopt.c: Likewise.
59128         * posix/wordexp.c: Likewise.
59129         * pwd/fgetpwent_r.c: Likewise.
59130         * resolv/Versions: Likewise.
59131         * resolv/res_hconf.c: Likewise.
59132         * shadow/fgetspent_r.c: Likewise.
59133         * shadow/putspent.c: Likewise.
59134         * stdio-common/printf_fphex.c: Likewise.
59135         * stdio-common/tmpfile.c: Likewise.
59136         * stdlib/abort.c: Likewise.
59137         * stdlib/fmtmsg.c: Likewise.
59138         * sunrpc/auth_unix.c: Likewise.
59139         * sunrpc/clnt_perr.c: Likewise.
59140         * sunrpc/clnt_tcp.c: Likewise.
59141         * sunrpc/clnt_udp.c: Likewise.
59142         * sunrpc/clnt_unix.c: Likewise.
59143         * sunrpc/openchild.c: Likewise.
59144         * sunrpc/svc_simple.c: Likewise.
59145         * sunrpc/svc_tcp.c: Likewise.
59146         * sunrpc/svc_udp.c: Likewise.
59147         * sunrpc/svc_unix.c: Likewise.
59148         * sunrpc/xdr.c: Likewise.
59149         * sunrpc/xdr_array.c: Likewise.
59150         * sunrpc/xdr_rec.c: Likewise.
59151         * sunrpc/xdr_ref.c: Likewise.
59152         * sunrpc/xdr_stdio.c: Likewise.
59154 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59156         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59158 2011-07-03  Andreas Jaeger  <aj@suse.de>
59160         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59161         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59162         regenerate with gen-libm-tests.pl.
59164 2010-05-12  Petr Baudis  <pasky@suse.cz>
59166         [BZ #11589]
59167         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59168         around j0() zero points by switching to j1().
59169         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59170         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59171         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59172         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59174 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59176         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59177         instead of 0.
59178         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59179         instead of 0.
59180         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59181         Patch in part by Pavel Roskin <proski@gnu.org>.
59183         [BZ #13138]
59184         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59185         realloc.
59186         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59187         Free memory block if necessary.
59189         [BZ #12847]
59190         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59191         be NULL.  Don't lock in this case.
59193 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59195         * elf/elf.h (ELFOSABI_GNU): New macro.
59196         (ELFOSABI_LINUX): Define to that.
59198 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59200         * string/strncat.c (strncat): Undef the symbol in case it has been
59201         defined in bits/string.h.
59203 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59205         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59207         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59208         link map.
59210 2011-08-17  Andreas Jaeger  <aj@suse.de>
59212         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59214 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59215             Ian Lance Taylor  <iant@google.com>
59217         * math/libm-test.inc (lround_test): New testcase.
59218         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59220 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59222         * Makefile: Remove support for automatic cvs check-ins.
59223         * Makerules: Likewise.
59224         * config.make.in: Likewise.
59225         * configure.in: Likewise.
59226         * intl/Makefile: Likewise.
59227         * locale/Makefile: Likewise.
59228         * po/Makefile: Likewise.
59229         * posix/Makefile: Likewise.
59230         * sysdeps/gnu/Makefile: Likewise.
59231         * sysdeps/mach/hurd/Makefile: Likewise.
59232         * sysdeps/sparc/sparc32/Makefile: Likewise.
59234         [BZ #13118]
59235         * posix/Makefile (bug-regex32-ENV): Define.
59236         Patch by John Stanley <jpsinthemix@verizon.net>.
59238         * misc/Makefile (headers): Add bits/select2.h.
59239         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59240         * misc/bits/select2.h: New file.
59241         * include/bits/select2.h: New file.
59242         * debug/Makefile (routines): Add fdelt_chk.
59243         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59244         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59245         FD_ISSET.
59246         * debug/fdelt_chk.c: New file.
59248         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59249         * wcsmbs/test-wmemcmp.c: Likewise.
59250         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59251         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59253 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59255         * string/Makefile (strop-tests): Add memcmp.
59256         * string/test-wmemcmp.c: New file.
59257         * string/test-memcmp.c: Add wmemcmp support.
59259 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59261         [BZ #13153]
59262         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59263         2011-07-19 change.
59265         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59266         garbage value in a __mach_port_mod_refs call in the cases of the
59267         task-self and thread-self ports.
59269 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59271         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59273 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59275         * elf/dl-load.c (lose): Check for non-null L.
59277 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59279         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59281         * elf/dl-libc.c (dlerror_run): Pass back error code from
59282         dl_catch_error.
59284         [BZ #13123]
59285         * elf/dl-load.c (lose): Free l_origin if it is valid.
59287         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59288         names.
59289         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59290         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59291         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59292         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59293         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59294         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59296 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59298         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59299         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59300         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59301         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59302         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59303         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59304         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59305         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59306         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59307         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59309 2011-08-15  Alan Modra  <amodra@gmail.com>
59311         [BZ #13092]
59312         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59313         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59314         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59315         ppc_mcount to static-only-routines.
59316         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59317         __mcount_internal.
59318         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59319         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59321 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59323         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59324         for finite and infinity parameters.
59326 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59328         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59329         and add nop instructions for throughput optimization.
59330         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59332 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59334         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59335         aligned copy for power7 with vector-scalar instructions.
59336         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59338 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59340         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59341         AVX check.
59343 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59345         [BZ #13144]
59346         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59347         last change.
59349 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59351         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59352         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59353         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59354         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59355         clock_gettime.
59357 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59359         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59360         Forgot to demangle the pointer.
59362         * sysdeps/i386/sysdep.h: Define atom_text_section.
59363         * sysdeps/x86_64/sysdep.h: Likewise.
59364         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59365         section with atom_text_section.
59366         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59367         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59368         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59369         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59370         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59372         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59373         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59374         already be defined.  Change to take two parameters and don't assign
59375         result to variable.  Adjust all users.
59376         Define INTERNAL_GETTIME if not already defined.
59377         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59378         call.
59379         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59380         HAVE_CLOCK_GETTIME_VSYSCALL.
59381         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59383         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59384         gettimeofday vsyscall, just use time.
59386 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59388         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59389         <errno.h>.
59391 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59393         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59394         syscall on x86-64.
59395         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59396         syscall.
59397         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59398         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59399         syscall if possible.
59401 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59403         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59404         e_ident.  Don't pass to find_mapsXX.
59405         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59407 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59409         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59410         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59411         * sysdeps/x86_64/multiarch/strchr.S: Update.
59412         Check bit_slow_BSF bit.
59413         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59414         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59415         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59417 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59419         [BZ #13134]
59420         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59421         before glibc 2.15.
59422         (tryshell): Define.
59423         (__spawni): Change last parameter to be flag.  Test
59424         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59425         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59426         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59427         * posix/spawni.c: Likewise.
59428         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59429         * posix/spawnp.c: Likewise.  Change normal version to use
59430         SPAWN_XFLAGS_USE_PATH.
59431         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59432         SPAWN_XFLAGS_TRY_SHELL.
59434         [BZ #13150]
59435         * posix/glob.h: Remove gcc 1.x support.
59437         [BZ #13068]
59438         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59440 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59443         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59444         strrchr-sse2-bsf
59445         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59446         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59447         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59448         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59449         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59450         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59452 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59454         * sysdeps/x86_64/wcscmp.S: New file.
59456         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59457         wcscmp-c wcscmp-sse2
59458         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59459         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59460         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59461         * wcsmbs/wcscmp.c: Allow renaming.
59463 2011-09-05  David S. Miller  <davem@davemloft.net>
59465         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59466         stack slot, rather than the struct return pointer slot.
59467         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59468         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59470         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59472 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59474         * po/ja.po: Update from translation team.
59476         [BZ #13144]
59477         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59478         kernel in 64-bit binaries.
59480 2011-09-01  David S. Miller  <davem@davemloft.net>
59482         * elf/elf.h (HWCAP_SPARC_*): Move to..
59483         * sysdeps/sparc/sysdep.h: this new file and add new values.
59484         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59485         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59486         _DL_HWCAP_COUNT to 24.
59487         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59488         entries.
59489         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59490         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59491         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
59492         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
59493         instead of magic constants.
59494         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59496 2011-08-31  David S. Miller  <davem@davemloft.net>
59498         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
59499         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
59500         Reimplement to do errno handling inline.
59501         (SYSCALL_ERROR_HANDLER): New macro.
59502         (__SYSCALL_STRING): Do not do errno handling in asm.
59503         (__CLONE_SYSCALL_STRING): Delete.
59504         (__INTERNAL_SYSCALL_STRING): Delete.
59505         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
59506         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
59507         (PSEUDO): Reimplement to do errno handling inline.
59508         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
59509         (SYSCALL_ERROR_HANDLER): New macro.
59510         (__SYSCALL_STRING): Do not do errno handling in asm.
59511         (__CLONE_SYSCALL_STRING): Delete.
59512         (__INTERNAL_SYSCALL_STRING): Delete.
59513         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
59514         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
59515         i386.
59516         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
59517         (inline_syscall*): Add 'err' argument.
59518         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
59519         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
59520         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
59521         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
59523         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
59524         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
59526 2011-08-30  Andreas Schwab  <schwab@redhat.com>
59528         * elf/rtld.c (dl_main): Relocate objects in dependency order.
59530 2011-08-29  Jiri Olsa <jolsa@redhat.com>
59532         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
59533         directive.
59535 2011-08-24  David S. Miller  <davem@davemloft.net>
59537         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
59539 2011-08-24  Andreas Schwab  <schwab@redhat.com>
59541         * elf/Makefile: Add rules to build and run unload8 test.
59542         * elf/unload8.c: New file.
59543         * elf/unload8mod1.c: New file.
59544         * elf/unload8mod1x.c: New file.
59545         * elf/unload8mod2.c: New file.
59546         * elf/unload8mod3.c: New file.
59548         * elf/dl-close.c (_dl_close_worker): Reset private search list if
59549         it wasn't used.
59551 2011-08-23  David S. Miller  <davem@davemloft.net>
59553         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
59554         subtract stack bias.
59555         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
59556         %sp not %fp in calculations.
59557         (_JMPBUF_UNWINDS_ADJ): Likewise.
59559         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
59560         (aio_suspend): Call it to force an exception region around the
59561         AIO_MISC_WAIT() invocation.
59563 2011-08-23  Andreas Schwab  <schwab@redhat.com>
59565         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
59566         backslash.
59568 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
59570         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
59571         protection macro.
59572         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
59573         and <dl-machine.h>.
59574         (Elf64_FuncDesc): Remove.
59576 2011-08-22  David S. Miller  <davem@davemloft.net>
59578         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
59579         sigaltstack check, add missing cfi directives.
59580         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
59581         missing cfi directives, and sigaltstack handling.
59583 2011-08-16  Andreas Schwab  <schwab@redhat.com>
59585         [BZ #11724]
59586         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
59587         object is seen twice.
59588         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59590         * elf/Makefile (distribute): Add tst-initorder2.c.
59591         (tests): Add tst-initorder2.
59592         (modules-names): Add tst-initorder2a tst-initorder2b
59593         tst-initorder2c tst-initorder2d.  Add rules to build them.
59594         ($(objpfx)tst-initorder2.out): New rule.
59595         * elf/tst-initorder2.c: New file.
59596         * elf/tst-initorder2.exp: New file.
59598 2011-08-22  Andreas Schwab  <schwab@redhat.com>
59600         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
59602         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
59603         dependencies back to end of function.
59605         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59606         $(elfobjdir)/ld.so.
59608 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
59610         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
59611         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
59612         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
59613         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
59614         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
59615         of __vdso_gettimeofday.
59616         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
59617         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
59618         attribute_hidden.
59619         (_libc_vdso_platform_setup): Remove initialization of
59620         __vdso_gettimeofday and __vdso_time.
59622 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59624         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
59625         and fgetc_unlocked.
59626         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
59627         getc_unlocked.
59629         * elf/dl-open.c (add_to_global): Report additions to the global scope
59630         for LD_DEBUG=scopes.
59631         (dl_open_worker): Also print scope of newly loaded dependencies.
59632         (_dl_show_scope): Indicate if there is no scope.
59634         [BZ #13114]
59635         * stdio-common/Makefile (tests): Add bug24.
59636         * stdio-common/bug24.c: New file.
59638 2011-08-19  Andreas Jaeger  <aj@suse.de>
59640         [BZ #13114]
59641         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
59642         non-existant file when using close-on-exec mode.
59644 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
59646         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
59647         the very first instruction.
59649         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
59650         the CFI state in the end.
59651         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
59652         inclusion of dl-trampoline.h.
59653         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
59655 2011-08-19  Andreas Schwab  <schwab@redhat.com>
59657         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
59658         expectations for long double.
59660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
59661         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
59663 2011-08-14  David S. Miller  <davem@davemloft.net>
59665         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
59666         artificual limit depends upon the system page size.
59668 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59670         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
59671         * resolv/Makefile: Define CFLAGS-libresolv.
59673 2011-08-17  Andreas Schwab  <schwab@redhat.com>
59675         * nss/makedb.c (compute_tables): Make variables used in nested
59676         function static.
59678 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
59680         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
59681         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
59682         if buffer was too small.
59684         * elf/pldd.c (main): Attach to all threads in the process.
59685         Rewrite /proc handling to use *at functions.
59687 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
59689         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
59690         specifies first scope to show.
59691         (dl_open_worker): Update callers.  Move printing scope of new
59692         object to before the relocation.
59693         * elf/rtld.c (dl_main): Update _dl_show_scope call.
59694         * sysdeps/generic/ldsodefs.h: Update declaration.
59696         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
59697         string for the scope number.
59699 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
59701         * nscd/servicescache.c (cache_addserv): Make sure written is always
59702         initialized.
59704 2011-08-14  Roland McGrath  <roland@hack.frob.com>
59706         * sysdeps/i386/i486/bits/atomic.h
59707         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
59708         statement expression, so as to suppress "set but not used" warning.
59709         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
59711         * string/strncat.c (STRNCAT): Use prototype definition.
59713         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
59714         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
59715         -Iprograms here.
59716         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
59717         (localedef-modules): Add localedef.
59718         (locale-modules): Add locale.
59720         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
59721         * elf/rtld.c (dl_main): Invert order of assignment in last change,
59722         to avoid a warning.
59724 2011-08-14  David S. Miller  <davem@davemloft.net>
59726         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
59727         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
59729 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
59731         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
59732         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
59733         * elf/rtld.c (dl_main): Set l_name of vDSO.
59734         Call _dl_show_scope when DL_DEBUG_SCOPES.
59735         (process_dl_debug): Recognize scopes flag and also set it for all.
59736         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
59737         Declare _dl_show_scope.
59739         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
59740         (do_dlopen): Pass caller_dlopen to dl_open.
59741         (__libc_dlopen_mode): Initialize caller_dlopen.
59743         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
59744         of libc.  Make tolower call locale-independent.  Optimize a bit by
59745         using isdigit instead of isalnum.
59746         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
59748 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
59750         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
59751         was a dependency or dynamically loaded.
59753 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
59755         * intl/l10nflist.c: Allow architecture-specific pop function.
59756         * sysdeps/x86_64/l10nflist.c: New file.
59758         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
59759         classification.
59761 2011-08-10  Andreas Schwab  <schwab@redhat.com>
59763         * include/dirent.h: Add libc_hidden_proto for scandirat and
59764         scandirat64.  Don't declare __scandirat64.
59765         * dirent/scandirat.c: Add libc_hidden_def.
59766         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
59767         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
59769 2011-08-10  David S. Miller  <davem@davemloft.net>
59771         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
59772         enum.
59773         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59774         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59775         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59777 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
59779         * Versions.def [libc]: Add GLIBC_2.15.
59780         * dirent/Makefile (routines): Add scandirat and scandirat64.
59781         * dirent/Versions [libc]: Export scandirat and scandirat64 for
59782         GLIBC_2.15.
59783         * dirent/dirent.h: Declare scandirat and scandirat64.
59784         * dirent/scandirat.c: New file.
59785         * dirent/scandirat64.c: New file.
59786         * sysdeps/wordsize-64/scandirat.c: New file.
59787         * sysdeps/wordsize-64/scandirat64.c: New file.
59788         * dirent/opendir.c: Define opendirat.
59789         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
59790         using scandirat.
59791         * dirent/scandir64.c: Adjust for scandir.c change.
59792         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
59793         __scandirat64, and __scandir_cancel_handler.
59794         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
59795         additional parameter and use openat instead of open (outside of ld.so).
59796         Add new __opendir as wrapper around __opendirat.
59797         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
59798         here without requiring old scandirat implementation.
59800 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
59802         * dirent/scandir.c (cancel_handler): Renamed to
59803         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
59804         defined.  Adjust users.
59805         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
59806         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
59808 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
59810         * string/test-string.h (IMPL): Use __STRING to expand name and then
59811         stringify it.
59813         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
59814         of cleanups.
59816 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59818         * string/Makefile: Update.
59819         (strop-tests): Append strncat.
59820         * string/test-wcscmp.c: New file.
59821         New comprehensive test for wcscmp.
59822         * string/test-strcmp.c: Update.
59823         (WIDE): New define.
59825 2011-07-22  Andreas Schwab  <schwab@redhat.com>
59827         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59828         line.
59830 2011-07-26  Andreas Schwab  <schwab@redhat.com>
59832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59833         encoding to ACE if AI_IDN.
59835 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
59837         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59838         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59840 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59842         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59843         Fix overflow bug in strncat.
59844         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59846         * string/test-strncat.c: Update.
59847         Add new tests for checking overflow bugs.
59849 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59851         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59852         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59853         * sysdeps/i386/i686/multiarch/strcat.S: New file.
59854         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59855         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59856         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59857         * sysdeps/i386/i686/multiarch/strncat.S: New file.
59858         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59859         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59861         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59862         (USE_AS_STRCAT): Define.
59863         Add strcat and strncat support.
59864         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59866 2011-07-25  Andreas Schwab  <schwab@redhat.com>
59868         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59869         __n bigger than INT_MAX+1.
59870         (__strncmp_g): Likewise.
59872 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
59874         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59875         * libio/stido.h: Likewise.
59877         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59878         (AF_NFC): Define.
59879         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59880         (AF_NFC): Define.
59882         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59883         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59884         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59885         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59886         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59888         [BZ #13021]
59889         * scripts/test-installation.pl: Don't expect libnss_test1 to be
59890         installed.
59892         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59893         typo.
59894         (_dl_x86_64_save_sse): Likewise.
59896 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
59898         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59899         OSXSAVE.
59900         (_dl_x86_64_save_sse): Likewise.
59902         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59904         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59906 2011-07-21  Andreas Schwab  <schwab@redhat.com>
59908         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59909         change.
59910         (_dl_x86_64_save_sse): Use correct AVX check.
59912 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59914         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59915         bug in strncpy/strncat.
59916         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59918 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
59920         * string/tester.c (test_strcat): Add tests for different alignments
59921         of source and destination.
59922         (test_strncat): Likewise.
59924 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59926         [BZ #12852]
59927         * posix/glob.c (glob): Check passed in values before using them in
59928         expressions to avoid some overflows.
59929         (glob_in_dir): Likewise.
59931         [BZ #13007]
59932         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59933         check for AVX enablement so that we don't crash with old kernels and
59934         new hardware.
59935         * elf/tst-audit4.c: Add same checks here.
59936         * elf/tst-audit6.c: Likewise.
59938         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59940 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
59942         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59944 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
59946         * po/cs.po: Update from translation team.
59947         * po/bg.po: Likewise.
59949 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
59951         * misc/sys/cdefs.h: Add support for const attribute.
59952         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59953         to gnu_dev_{major,minor,makedev} functions.
59955 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
59957         * intl/dcigettext.c (get_output_charset): Add missing bracket.
59959 2011-07-20  Andreas Schwab  <schwab@redhat.com>
59961         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59962         strlen results.
59964 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59966         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59967         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59968         register in order to avoid conflicts with the soft frame pointer
59969         being held in r11 when necessary.
59970         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59971         (INTERNAL_VSYSCALL_NCS): Likewise.
59973 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59975         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59976         * elf/dl-fini.c (_dl_fini): Adjust caller.
59977         * elf/dl-close.c (_dl_close_worker): Likewise.
59978         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59980 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59982         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59983         "aux_cache->nlibs < 0".
59985         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59986         in the reload-count case.
59988 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59991         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59992         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59993         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59994         * sysdeps/x86_64/multiarch/strcat.S: New file.
59995         * sysdeps/x86_64/multiarch/strncat.S: New file.
59996         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59997         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59998         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59999         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60000         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60001         (USE_AS_STRCAT): Define.
60002         Add strcat and strncat support.
60003         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60004         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60005         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60006         * string/strncat.c: Update.
60007         (USE_AS_STRNCAT): Define.
60008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60009         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60010         and i7.
60011         * sysdeps/x86_64/multiarch/init-arch.h
60012         (bit_Prefer_PMINUB_for_stringop): New.
60013         (index_Prefer_PMINUB_for_stringop): Likewise.
60014         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60015         bit_Prefer_PMINUB_for_stringop.
60017 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60019         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60020         buffer64.
60021         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60022         of casting of buffer.
60023         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60024         buffer32 and buffer64.
60025         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60026         writes instead of casting of buffer.
60027         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60028         buffer32.
60029         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60030         casting of buffer.
60032 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60034         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60036 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60038         * nscd/nscd.c (termination_handler): Don't do anything for a database
60039         if it has not yet been initialized.
60041 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60043         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60045 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60047         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60049 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60051         * po/nl.po: Update from translation team.
60052         * po/sv.po: Likewise.
60054 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60056         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60057         now disallowed by GCC.
60059         * configure.in (use-default-link): Default to yes if a test -shared
60060         link meets our qualifications.
60061         * configure: Regenerated.
60063         * config.make.in (output-format): New variable.
60064         * configure.in: Check for ld --print-output-format support.
60065         * configure: Regenerated.
60066         * Makerules ($(common-objpfx)format.lds)
60067         [$(output-format) != unknown]: Just use $(output-format),
60068         instead of the linker-script munging.
60070 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60072         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60073         of $(common-objpfx)shlib.lds.
60074         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60076         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60077         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60079         * configure.in (-z relro check): Adjust test code to add a large
60080         writable data section after it.
60081         * configure: Regenerated.
60083 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60085         * configure.in (-z relro check): Fix test code to make the variable
60086         truly const.
60087         * configure: Regenerated.
60089 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60091         * nscd/nscd.h (struct traced_file): Define.
60092         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60093         elements.  Add traced_files.
60094         (inotify_fd): Declare.
60095         (register_traced_file): Declare.
60096         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60097         (inotify_fd): Export.
60098         (resolv_conf_descr): Remove.
60099         (nscd_init): Move inotify descriptor creation to main.
60100         Don't register files for notification here.
60101         (register_traced_file): New function.
60102         (invalidate_cache): Don't use reset_res to determine whether to call
60103         res_init, go through the list of registered files.
60104         (main_loop_poll): The inotify descriptors are now stored in the
60105         structures for the traced files.
60106         (main_loop_epoll): Likewise
60107         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60108         to __nss_disable_nscd.
60109         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60110         for a database anymore.  Check the records for all the registered
60111         files instead.
60112         * nss/Makefile (libnss_files-routines): Add files-init.
60113         (libnss_db-routines): Add db-init.
60114         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60115         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60116         * nss/nss_db/db-init.c: New file.
60117         * nss/nss_files/files-init.c: New file.
60118         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60119         __nss_lookup_function.
60120         (__nss_lookup_function): Call nss_load_library.
60121         (nss_load_all_libraries): New function.
60122         (__nss_disable_nscd): Take parameter with callback function for files
60123         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60124         used for the cached services.
60125         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60126         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60127         options for features to all the files in nscd.
60129         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60131 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60133         * csu/elf-init.c (__libc_csu_init): Comment typo.
60135 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60137         * po/pl.po: Update from translation team.
60138         * po/ja.po: Likewise.
60139         * po/ru.po: Likewise.
60140         * po/ko.po: Likewise.
60141         * po/fr.po: Likewise.
60143 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60145         * configure.in (.ctors/.dtors header and trailer check):
60146         Use an empirical test on a built program.
60147         * configure: Regenerated.
60149         * configure.in (-z relro check): Use an empirical test on a built DSO.
60150         Detect, but do not require, on ia64.
60151         * configure: Regenerated.
60153         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60154         Update tests that use readelf to use $READELF instead.
60155         * configure: Regenerated.
60157 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60159         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60160         if the result is not used.
60162 2011-07-05  Andreas Jaeger  <aj@suse.de>
60164         [BZ#9696]
60165         * stdlib/tst-strtod.c: Add testcase.
60167 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60169         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60170         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60171         The latter has a higher limit.  Take additional parameter to pass to
60172         the new function.
60173         (__pathconf): Pass file to __statfs_link_max.
60174         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60175         __statfs_link_max.
60176         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60177         __statfs_link_max.
60179         [BZ #12868]
60180         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60181         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60182         Handle Lustre.
60183         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60184         (__statfs_filesize_max): Likewise.
60185         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60187 2011-07-05  Andreas Jaeger  <aj@suse.de>
60189         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60191 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60193         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60194         `status' variable.
60195         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60196         Likewise.
60198 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60200         * Makefile (strop-tests): Add strncat.
60201         * string/test-strncat.c: New file.
60203 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60205         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60207 2011-06-21  Andreas Jaeger  <aj@suse.de>
60209         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60210         Copy rule from iconvdata/Makefile.
60212 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60214         [BZ #12922]
60215         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60216         but no long options are defined, just return 'W'.
60218 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60220         [BZ #9696]
60221         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60223 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60225         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60226         netgroups to read.
60227         (innetgr): Likewise.
60229 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60231         * config.make.in (install_root): Default to $(DESTDIR).
60233 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60235         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60237 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60239         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60241         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60242         containing directory rather than embedding absolute directory names.
60244         * scripts/check-local-headers.sh: Rewritten using awk.
60245         Match by word, not by line.  Print error messages for matches.
60246         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60248         * Makerules [shlib-lds-flags empty]:
60249         ($(common-objpfx)libc_pic.opts): New target.
60250         ($(common-objpfx)libc_pic.os.clean): New target.
60251         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60253         * config.make.in (OBJCOPY): New variable.
60254         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60255         * configure: Regenerated.
60257         * config.make.in (use-default-link): New variable.
60258         * configure.in (use_default_link): Grok --with-default-link to set it.
60259         * configure: Regenerated.
60260         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60261         (shlib-lds, shlib-lds-flags): Define to empty.
60263         * Makerules (shlib-lds): New variable.
60264         (shlib-lds-flags): New variable.
60265         (build-shlib, build-moduile, build-module-asneeded): Use it.
60266         ($(common-objpfx)libc.so): Use $(shlib-lds).
60267         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60268         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60270         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60271         DT_FLAGS/DT_FLAGS_1 with zero flags.
60273         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60274         linker script munging.
60276 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60278         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60279         as 128-bit value.
60280         * crypt/sha512.c (sha512_process_block): Perform total addition using
60281         128-bit if possible.
60282         (__sha512_finish_ctx): Likewise.
60283         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60284         as 64-bit value.
60285         * crypt/sha256.c (SWAP64): Define.
60286         (sha256_process_block): Perform total addition using 64-bit if
60287         possible.
60288         (__sha256_finish_ctx): Likewise.
60290 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60292         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60293         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60294         * nscd/hstcache.c (cache_addhst): Likewise.
60295         * nscd/grpcache.c (cache_addgr): Likewise.
60296         * nscd/aicache.c (addhstaiX): Likewise
60297         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60299 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60301         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60302         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60303         * nscd/hstcache.c (cache_addhst): Likewise.
60304         * nscd/grpcache.c (cache_addgr): Likewise.
60305         * nscd/aicache.c (addhstaiX): Likewise
60307 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60309         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60310         domain only when needed.
60312 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60314         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60315         is always restored.
60317 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60319         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60320         are re-adding the entry.
60321         * nscd/servicescache.c (cache_addserv): Likewise.
60323 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60325         * sysdeps/generic/dl-irel.h: fix protection against multiple
60326         inclusions.
60327         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60329 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60331         [BZ #12935]
60332         * malloc/memusage.sh: Fix quoting in message.
60333         * debug/xtrace.sh: Likewise.
60335         * configure.in: Remove support for --experimental-malloc option, make
60336         it the default.
60337         * config.make.in: Likewise.
60338         * malloc/Makefile: Likewise.
60340 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60342         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60343         two-byte characters.
60345 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60347         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60348         AC_CACHE_CHECK invocation.
60349         * configure: Regenerated.
60351         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60353 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60355         [BZ #12350]
60356         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60357         bit from old_res_options.
60359         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60361         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60362         value type for setfct.
60364 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60366         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60367         __gettimeofday instead of gettimeofday.
60369 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60371         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60373 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60375         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60377         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60378         info.
60380 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60383         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60384         strcpy-sse2-unaligned strncpy-sse2-unaligned
60385         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60386         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60387         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60388         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60389         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60390         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60391         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60392         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60393         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60394         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60395         (STRCPY): Support SSE2 and SSSE3 versions.
60397 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60399         [BZ #12874]
60400         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60401         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60402         kernels which artificially limit size of requests.
60404 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60406         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60407         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60408         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60409         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60410         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60411         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60412         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60413         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60414         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60415         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60416         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60417         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60418         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60419         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60420         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60421         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60422         Enable unaligned load optimization for Intel Core i3, i5 and i7
60423         processors.
60424         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60425         Define.
60426         (index_Fast_Unaligned_Load): Define.
60427         (HAS_FAST_UNALIGNED_LOAD): Define.
60429 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60431         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60433 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60435         [BZ #12907]
60436         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60437         until it is clear that the information is realy needed.
60438         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60440 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60444 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60446         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60447         /sys/devices/system/cpu/online if it is usable.
60449         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60450         reading the information from the /proc filesystem to once a second.
60452 2011-06-21  Andreas Jaeger  <aj@suse.de>
60454         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60455         NULL after inclusion of kernel headers.
60457 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60459         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60460         calls to internal_setent.
60462         [BZ #12885]
60463         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60464         addresses using gethostbyname4_r ignore IPv4 addresses.
60466         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60467         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60469         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60471 2011-06-20  David S. Miller  <davem@davemloft.net>
60473         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60474         inclusions.
60475         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60477         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60478         (elf_irel): Use it.
60479         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60480         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60481         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60482         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60483         * sysdeps/x86_64/dl-irel.h: Likewise.
60485         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60486         * elf/dl-sym.c: Likewise.
60488 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60490         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60491         need to dereference resplen2.
60493 2011-06-14  Andreas Schwab  <schwab@redhat.com>
60495         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
60497 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60499         * Makeconfig: Define vardbdir and inst_vardbdir.
60500         * nss/Makefile: Add rules to install db-Makefile.
60502         * nss/nss_db/db-XXX.c: Cleanup.
60504         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
60505         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
60506         GLIBC_PRIVATE.
60507         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
60508         * nss/makedb.c: Implement -g option to specify that value strings
60509         are generated and should not be added to table iterated over for
60510         get*ent calls.
60511         * nss/nss_db/db-initgroups.c: New file.
60513         * nss/getent.c: Add support for initgroups lookups through getgrouplist
60514         interface.
60516         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
60517         (internal_getgrouplist): Adjust to name change.
60518         Update use_initgroups_entry if this is not the first call.
60519         * nss/databases.def: Add initgroups entry.
60521         * nss/makedb.c (compute_tables): Check result of multiple hash table
60522         sizes to minimize maximum chain length.
60524 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
60526         * Versions.def: Add entry for libnss_db.
60527         * shlib-versions: Likewise.
60528         * nss/Makefile: Add rules to build libnss_db.
60529         * nss/Versions: Add libnss_db information.  Organize libnss_files
60530         entries better.
60531         * nss/db-Makefile: Add gshadow support.  Change rules for the new
60532         makedb progra.  Some minor improvements to generate smaller files.
60533         * nss/nss_db/nss_db.h: Move NSS database header data structures to
60534         here from...
60535         * nss/makedb.c: ...here.
60536         Improve database format to be smaller and require less memory at
60537         runtime.
60538         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
60539         db anymore.
60540         * nss/nss_db/db-netgrp.c: Likewise.
60541         * nss/nss_db/db-open.c: Likewise.
60542         * nss/nss_files/flies-XXX.x: Adjust comments.
60543         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
60544         * nss/nss_files/files-grp.c: Likewise.
60545         * nss/nss_files/files-hosts.c: Likewise.
60546         * nss/nss_files/files-network.c: Likewise.
60547         * nss/nss_files/files-proto.c: Likewise.
60548         * nss/nss_files/files-pwd.c: Likewise.
60549         * nss/nss_files/files-rpc.c: Likewise.
60550         * nss/nss_files/files-service.c: Likewise.
60551         * nss/nss_files/files-sgrp.c: Likewise.
60552         * nss/nss_files/files-spwd.c: Likewise.
60553         * nss/nss_db/db-alias.c: Removed.
60554         * nss/nss_db/dummy-db.h: Removed.
60556 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
60558         * nss/makedb.c: Rewritten to not use database library.
60559         * nss/Makefile: Update to build new makedb program.
60561 2011-06-14  Andreas Jaeger  <aj@suse.de>
60563         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
60564         memset declaration.
60566 2011-06-10  Andreas Schwab  <schwab@redhat.com>
60568         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
60569         tmpbuf.
60571 2011-06-10  Roland McGrath  <roland@hack.frob.com>
60573         * Makerules (shlib.lds): Fail if the linker script comes out empty.
60574         * elf/Makefile ($(objpfx)ld.so): Likewise.
60576         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
60577         Don't list ld.so twice in dependencies.
60579         * posix/bug-regex31.c: Include <stdlib.h>.
60581         * nscd/hstcache.c (cache_addhst): Remove unused variable.
60583         * nis/nss_compat/compat-spwd.c
60584         (getspent_next_nss_netgr): Remove unused variable.
60585         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
60587         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
60588         nonmembers" output to use the right array.
60590         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
60592         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
60594         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
60595         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
60596         * catgets/gencat.c (read_input_file): Likewise.
60597         * locale/programs/locarchive.c (enlarge_archive): Likewise.
60599         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
60600         variable definition inside #if's controlling its use.
60602         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
60604         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
60606         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
60608         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
60609         unreachable code.
60611         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
60613         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
60614         * configure: Regenerated.
60616         * Makerules: Revert last change.
60617         * elf/Makefile: Likewise.
60619 2011-06-09  Roland McGrath  <roland@hack.frob.com>
60621         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
60622         * elf/Makefile ($(objpfx)librtld.os): Likewise.
60623         (reloc-link): Likewise.
60625 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
60627         * elf/Makefile: Add rules to build pldd.
60628         * elf/pldd.c: New file.
60629         * elf/pldd-xx.c: New file.
60631 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
60633         * version.h: Update for 2.15 development version.
60635 2011-06-07  David S. Miller  <davem@davemloft.net>
60637         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
60638         ifuncs.
60639         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
60640         elf_machine_lazy_rel): Likewise.
60641         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
60642         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
60643         elf_machine_lazy_rel): Likewise.
60644         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
60645         dl_hwcap via passed in argument.
60646         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
60647         Likewise.
60649 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60651         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
60653 2011-06-06  Roland McGrath  <roland@hack.frob.com>
60655         [BZ #12849]
60656         * manual/fdl-1.1.texi: New file, verbatim from:
60657         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
60658         * manual/lgpl-2.1.texi: New file, verbatim from:
60659         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
60660         * manual/Makefile (licenses): New variable, list those new file names.
60661         (texis): Use it.
60662         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
60664         * manual/fdl.texi: File removed.
60665         * manual/lesser.texi: File removed.
60666         * manual/libc.texinfo (Copying, Documentation License):
60667         Use new @include file names, put @appendix directive before @include.
60669 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
60671         [BZ #12841]
60672         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
60673         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
60674         (mq_open): Add __NTH.
60676 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
60678         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60679         Assume Intel Core i3/i5/i7 processor if AVX is available.
60681 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60683         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60684         typo.
60686 2011-05-31  Andreas Schwab  <schwab@redhat.com>
60688         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
60689         memory.  Use alloca_account.  Fix memory leak when retrying.
60691 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
60693         * version.h (RELEASE): Bump for 2.14 release.
60694         * include/features.h (__GLIBC_MINOR__): Bump to 14.
60696         * config.make.in (RANLIB): Remove entry.
60698 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
60700         * po/Makefile (po-sed-cmd): Add ksh to extensions.
60701         (libc.pot): Work around missing support for .ksh extension in xgettext.
60703         [BZ #12684]
60704         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
60705         if both request failed.
60706         (send_dg): In case of server errors clear resplen or *resplen2.
60708         [BZ #12454]
60709         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
60710         when there are multiple maps.
60711         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
60712         (_dl_fini): Remove test here.
60714         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
60716 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
60718         [BZ #12350]
60719         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
60720         bit from old_res_options.
60721         (gaih_inet): Likewise.
60723         [BZ #11099]
60724         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
60725         as signed.
60727         * resolv/res_init.c (res_setoptions): Make the code more compact.
60729         [BZ #11558]
60730         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
60731         set RES_USEVC.
60733         [BZ #11634]
60734         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
60736         * malloc/malloc.h: Mark malloc hook variables as deprecated.
60738         [BZ #11781]
60739         * malloc/malloc.h: Declare malloc hook variables as volatile.
60741         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
60742         in last patch.
60744         [BZ #11799]
60745         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
60746         raise in the comment.
60747         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60748         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60749         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
60751 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
60753         [BZ #12811]
60754         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
60755         grow the buffers more if it already has to be sufficient.
60756         (build_wcs_upper_buffer): Likewise.
60757         * posix/regexec.c (check_matching): Likewise.
60758         (clean_state_log_if_needed): Likewise.
60759         (extend_buffers): Don't enlarge buffers beyond size of the input
60760         buffer.
60761         Patches mostly by Emil Wojak <emil@wojak.eu>.
60762         * posix/bug-regex32.c: New file.
60763         * posix/Makefile (tests): Add bug-regex32.
60765         * locale/findlocale.c (_nl_find_locale): Return right away if
60766         _nl_explode_name failed.
60767         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
60769         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
60771         * debug/xtrace.sh: Unify messages.
60772         * malloc/memusage.sh: Likewise.
60774         [BZ #12813]
60775         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
60776         time symbol from vDSO.  Substitute with vsyscall if not available.
60777         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
60778         __vdso_time.
60780         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
60781         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
60782         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
60783         Add sendmmsg and internal_sendmmsg.
60784         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
60785         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
60786         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
60788         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
60789         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
60790         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
60792 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
60794         [BZ #12813]
60795         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
60796         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
60797         available.
60798         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
60799         __vdso_getcpu.
60801         [BZ #12814]
60802         * iconvdata/Makefile (tests): Add bug-iconv9.
60803         * iconvdata/bug-iconv9.c: New file.
60805 2011-05-27  Andreas Schwab  <schwab@redhat.com>
60807         [BZ #12814]
60808         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
60810 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
60812         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60813         (struct user_regs_struct): Change intcs field back to cs.
60815 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
60817         * po/ja.po: Update from translation team.
60819 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
60821         [BZ #12795]
60822         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60823         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60825 2011-05-20  Andreas Schwab  <schwab@redhat.com>
60827         * stdlib/longlong.h: Update from GCC.
60829 2011-05-23  Andreas Schwab  <schwab@redhat.com>
60831         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60832         parameter name.
60833         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60834         Add parameter name.
60835         (__sysconf): Pass it down.
60837 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
60839         [BZ #12671]
60840         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60841         some situations.
60842         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60843         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60844         add in in __libc_use_alloca calls.  Adjust callers.
60845         (glob): Use malloc in some situations.
60847         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60848         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60849         pltexit.
60851 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
60853         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60854         and CLOCK_BOOTTIME_ALARM.
60856         [BZ #12782]
60857         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60858         is returned.
60860         * string/_strerror.c (__strerror_r): Print negative errors as signed
60861         numbers.
60863         [BZ #12777]
60864         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60865         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60866         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60868         * configure.in: Fix typo in redirection and correct removal of test
60869         files in two cases.
60871         [BZ #12788]
60872         * locale/setlocale.c (new_composite_name): Fix test to check for
60873         identical name of all categories.
60875         [BZ #12792]
60876         * libio/filedoalloc.c (local_isatty): New function.
60877         (_IO_file_doallocate): Use local_isatty.
60878         * stdio-common/perror.c (perror): In case a new stream is used
60879         forward the stream error.
60880         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60881         error flag.
60883 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
60885         [BZ #11869]
60886         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60887         alloca.
60888         * include/alloca.h (extend_alloca_account): Define.
60890         [BZ #11857]
60891         * posix/regex.h: Fix comments with documentation of user-accessible
60892         fields after compilation and describe correct free'ing of pattern
60893         after re_compile_pattern.
60894         Patch by Reuben Thomas <rrt@sc3d.org>.
60896 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
60898         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60899         and -mno-altivec to prevent the compiler from using Altivec and/or
60900         VSX instructions when the corresponding registers are not available.
60902 2011-05-19  Andreas Schwab  <schwab@redhat.com>
60904         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60906 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
60908         * libio/freopen.c (freopen): Use __dup2, not dup2.
60909         * libio/freopen64.c (freopen64): Likewise.
60911 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60913         [BZ #12775]
60914         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60915         * math/Makefile (tests): Add test-powl.
60916         (CFLAGS-test-powl.c): Define.
60917         * math/test-powl.c: New file.
60919 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60921         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60923 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
60925         [BZ #11837]
60926         * iconvdata/gb18030.c: Update to GB18020-2005.
60928 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
60930         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60931         RE_SYNTAX_POSIX_AWK): Update to match recent development.
60932         Patch by Aharon Robbins <arnold@skeeve.com>.
60934         [BZ #11892]
60935         * stdlib/putenv.c (putenv): Don't always create copy of the variable
60936         on the stack.
60938         [BZ #11895]
60939         * misc/pselect.c (__pselect): Handle timeout value errors hidden
60940         through underflows.
60942         [BZ #12766]
60943         * misc/error.c (error_at_line): Ensure file_name and old_file_name
60944         point to strings before performing equality test for error_one_per_line
60945         mode.
60947         [BZ #11697]
60948         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60950         [BZ #11820]
60951         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60952         (struct user_fpregs_struct): Avoid __uint*_t types.
60954         [BZ #6420]
60955         * malloc/mtrace.c (tr_where): Add additional parameter to point to
60956         symbol info.  Use it instead of calling _dl_addr locally.
60957         (lock_and_info): New function.
60958         (tr_freehook): Call lock_and_info and pass symbol info as additional
60959         parameter to tr_where.
60960         (tr_mallochook): Likewise.
60961         (tr_reallochook): Likewise.
60962         (tr_memalignhook): Likewise.
60964         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60965         used and couldn't be at all thread-safe.
60967 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60969         * libio/freopen.c (freopen): Don't close old file descriptor
60970         before the new one is opened.  Instead dup the new file descriptor
60971         to the old one after the new stream is created.
60972         * libio/freopen64.c (freopen64): Likewise.
60973         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60974         * libio/fileops.c (_IO_new_file_close_it): Handle new
60975         _IO_FLAGS2_NOCLOSE flag.
60976         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60977         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60978         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60979         _IO_FLAGS2_NOCLOSE flag.
60980         * include/unistd.h: Add hidden_proto for dup3.
60981         Define __have_dup3.
60982         * io/dup3.c: Define hidden symbol.
60983         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60985         [BZ #7101]
60986         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60987         when an incomplete long option is used.
60988         * posix/tst-getopt_long1.c: New file.
60989         * posix/Makefile (tests): Add tst-getopt_long1.
60991         [BZ #10138]
60992         * scripts/config.guess: Update from autoconf-2.68.
60993         * scripts/config.sub: Likewise.
60995         [BZ #10157]
60996         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60997         tests into ...
60998         (has_cpuclock): ...this.  New function.
60999         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61000         macro here based on has_cpuclock code.
61002         [BZ #10149]
61003         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61004         First byte (not low byte) is now always NUL.
61005         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61007         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61008         Use non-cancelable interfaces.
61010         [BZ #9809]
61011         * locale/iso-639.def: Add entry for Sorani.
61013         [BZ #11901]
61014         * include/stdlib.h: Move include protection to the right place.
61015         Define abort_msg_s.  Declare __abort_msg with it.
61016         * stdlib/abort.c (__abort_msg): Adjust type.
61017         * assert/assert.c (__assert_fail_base): New function.  Majority
61018         of code from __assert_fail.  Allocate memory for __abort_msg with
61019         mmap.
61020         (__assert_fail): Now call __assert_fail_base.
61021         * assert/assert-perr.c: Remove bulk of implementation.  Use
61022         __assert_fail_base.
61023         * include/assert.hL Declare __assert_fail_base.
61024         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61025         mmap.
61026         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61028 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61030         [BZ #11952]
61031         [BZ #12453]
61032         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61033         until all modules are registered in the DTV.
61034         * elf/Makefile: Add rules to build and run tst-tls19.
61035         * elf/tst-tls19.c: New file.
61036         * elf/tst-tls19mod1.c: New file.
61037         * elf/tst-tls19mod2.c: New file.
61038         * elf/tst-tls19mod3.c: New file.
61039         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61041         [BZ #12083]
61042         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61043         correctly.
61045         [BZ #12601]
61046         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61047         two-byte sequence errors.
61048         * iconvdata/Makefile (tests): Add bug-iconv8.
61049         * iconvdata/bug-iconv8.c: New file.
61051         [BZ #12626]
61052         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61053         buf2 definition.
61055         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61057         [BZ #12432]
61058         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61059         (dummy_getcfa): New function.
61060         (init): Get _Unwind_GetCFA address, use dummy if not found.
61061         (backtrace_helper): In recursion check, also check whether CFA changes.
61062         (__backtrace): Completely initialize arg.
61064         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61065         storing incomplete byte sequence in state object.  Avoid testing for
61066         guaranteed too small input if we know there is enough data available.
61068 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61070         * Makeconfig (+link-pie): Indent.
61071         * Rules (binaries-pie): Define if $(have-fpie) and
61072         $(build-shared).
61073         (binaries-shared): Also filter out $(binaries-pie).
61074         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61075         * nscd/Makefile (others-pie): Add nscd.
61076         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61077         ($(objpfx)nscd): Remove command override.
61078         * login/Makefile (others-pie): Add pt_chown.
61079         ($(objpfx)pt_chown): Remove command override.
61080         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61081         remove command overrides.
61083 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61085         * libio/tst_putwc.c: Fix error messages.
61087         [BZ #12724]
61088         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61089         currently writing and seek to current position when not.
61090         * libio/Makefile (tests): Add bug-fclose1.
61091         * libio/bug-fclose1.c: New file.
61093 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61095         [BZ #12511]
61096         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61097         don't set DF_1_NODELETE here.
61098         (do_lookup_x): When entering new entry test for copy relocation
61099         and if necessary set DF_1_NODELETE flag.
61100         * elf/tst-unique4.cc: New file.
61101         * elf/tst-unique4.h: New file.
61102         * elf/tst-unique4lib.cc: New file.
61103         * elf/Makefile: Add rules to build and run tst-unique4.
61104         Patch by Piotr Bury <pbury@goahead.com>.
61106 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61108         [BZ #12052]
61109         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61111         [BZ #12625]
61112         * misc/mntent_r.c (addmntent): Flush the stream after the output
61114         [BZ #12393]
61115         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61116         (is_trusted_path_normalize): Skip initial colon.  Append slash
61117         to empty buffer.  Duplicate is_trusted_path code but allow
61118         constructed patch to be prefix.
61119         (is_dst): Allow $ORIGIN followed by /.
61120         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61121         Correct testing of result of is_trusted_path_normalize
61122         (decompose_rpath): Fix warning.
61124 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61126         [BZ #11257]
61127         * grp/initgroups.c (internal_getgrouplist): When we found the service
61128         list through the initgroups entry in nsswitch.conf do not always
61129         continue on a successful lookup.  Don't always use the
61130         __nss_group_database value if it is set.
61131         * nss/nsswitch.conf (initgroups): Change action for successful db
61132         lookup to continue for compatibility.
61134 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61136         [BZ #11532]
61137         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61138         and CP774 modules.
61139         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61140         and CP774 modules.
61141         * iconvdata/tst-tables.sh: Likewise.
61142         * iconvdata/cp770.c: New file.
61143         * iconvdata/cp771.c: New file.
61144         * iconvdata/cp772.c: New file.
61145         * iconvdata/cp773.c: New file.
61146         * iconvdata/cp774.c: New file.
61147         * iconvdata/testdata/CP770: New file.
61148         * iconvdata/testdata/CP770..UTF8: New file.
61149         * iconvdata/testdata/CP771: New file.
61150         * iconvdata/testdata/CP771..UTF8: New file.
61151         * iconvdata/testdata/CP772: New file.
61152         * iconvdata/testdata/CP772..UTF8: New file.
61153         * iconvdata/testdata/CP773: New file.
61154         * iconvdata/testdata/CP773..UTF8: New file.
61155         * iconvdata/testdata/CP774: New file.
61156         * iconvdata/testdata/CP774..UTF8: New file.
61158         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61159         END CHARMAP line.
61160         * iconvdata/gen-8bit-gap.sh: Likewise.
61161         * iconvdata/gen-8bit.sh: Likewise.
61163         * locale/iso-639.def: Add ary entry.
61165         [BZ #11258]
61166         * locale/C-translit.h.in: Add U20A1 transliteration.
61168         [BZ #12178]
61169         * locale/iso-639.def: Add wae entry.
61170         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61172         [BZ #12545]
61173         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61174         for n.
61176         [BZ #12711]
61177         * locale/C-translit.h.in: Add entry for U20B9.
61178         Patch by pravin.d.s@gmail.com.
61180 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61182         [BZ #12713]
61183         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61184         ENAMETOOLONG use generic getcwd.
61185         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61186         in rtld.  Use *stat64.
61187         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61188         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61189         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61190         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61191         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61192         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61193         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61194         __fstatat64 macros.
61195         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61196         * dirent/rewinddir.c: Add libc_hidden_def.
61197         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61198         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61200         * include/dirent.h (__alloc_dir): Add flags parameter.
61201         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61202         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61203         __alloc_dir.
61204         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61205         from fdopendir if O_CLOEXEC is already set.
61207 2011-03-15  Alan Modra  <amodra@gmail.com>
61209         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61210         l_tls_firstbyte_offset non-zero.  Save padding offset in
61211         l_tls_firstbyte_offset for later use.
61212         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61213         freeing static tls block.
61215 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61217         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61218         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61219         being defined by the kernel headers.
61221 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61223         [BZ #12734]
61224         * resolv/resolv.h: Define RES_NOTLDQUERY.
61225         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61226         no-tld-query and set RES_NOTLDQUERY.
61227         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61228         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61229         modern BIND to search name as TLD unless forbidden.
61231 2011-05-07  Petr Baudis  <pasky@suse.cz>
61232             Ulrich Drepper  <drepper@gmail.com>
61234         [BZ #12393]
61235         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61236         (is_trusted_path): ...to here.
61237         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61238         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61239         using is_trusted_path_normalize() in setuid scripts.
61241 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61243         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61244         __BEGIN/__END_DECLS.
61246 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61248         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61249         NSS_STATUS_NOTFOUND if no record was found.
61251 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61253         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61254         (headers-not-in-tirpc): Remove rpc/netdb.h
61255         * resolv/netdb.h: Revert last change.
61257 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61259         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61260         circular dependency between libgcc.a and libc.a.
61262 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61264         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61265         * nis/Makefile: Don't install rpcsvc/*.
61266         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61267         instead of <rpc/types.h>.
61268         (MAXHOSTNAMELEN): Define.
61270 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61272         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61274 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61276         [BZ #12714]
61277         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61278         gethostbyname4_r when IPv6 results are possible.
61280 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61282         [BZ #12723]
61283         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61284         _PC_PIPE_BUF handling.
61286 2011-04-30  Bruno Haible  <bruno@clisp.org>
61288         [BZ #12717]
61289         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61290         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61291         to 'int'.
61292         * inet/getnameinfo.c (getnameinfo): Likewise.
61294 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61296         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61297         to groups setting in database lookup.
61298         * nss/nsswitch.conf: Add initgroups entry.
61300 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61302         [BZ #12685]
61303         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61304         mode string.
61305         Patch by Eric Blake <eblake@redhat.com>.
61307 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61309         * sunrpc/Makefile (need-export-routines): Add svc_run.
61310         (routines): Remove svc_run.
61311         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61312         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61313         * sunrpc/svc_run.c (svc_run): Likewise.
61314         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61316 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61318         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61319         problem in reallocation in last patch.
61321 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61323         * sunrpc/Makefile: Move inclusion of Rules.
61325 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61327         * nss/nss_files/files-initgroups.c: New file.
61328         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61329         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61330         _nss_files_initgroups_dyn.
61332 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61334         * elf/elf.h (R_ARM_IRELATIVE): Define.
61336 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61338         * po/ru.po: Update from translation team.
61340 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61342         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61343         dependencies.
61345 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61347         [BZ #12653]
61348         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61349         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61350         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61351         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61352         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61354 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61356         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61357         differing bytes.
61358         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61359         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61360         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61362 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61364         [BZ #12420]
61365         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61366         storing it.
61367         * stdlib/bug-getcontext.c: New file.
61368         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61370 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61372         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61373         instructions into .machine "z9-109".
61374         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61375         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61377 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61379         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61380         between environment variables and auxiliary vector.
61382 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61384         * Makefile: Add rules to build linkobj/libc.so.
61385         * include/libc-symbols.h: Define libc_hidden_nolink.
61386         * include/rpc/auth.h: Mark functions which are to be hidden.
61387         * include/rpc/auth_des.h: Likewise.
61388         * include/rpc/auth_unix.h: Likewise.
61389         * include/rpc/clnt.h: Likewise.
61390         * include/rpc/des_crypt.h: Likewise.
61391         * include/rpc/key_prot.h: Likewise.
61392         * include/rpc/pmap_clnt.h: Likewise.
61393         * include/rpc/pmap_prot.h: Likewise.
61394         * include/rpc/pmap_rmt.h: Likewise.
61395         * include/rpc/rpc_msg.h: Likewise.
61396         * include/rpc/svc.h: Likewise.
61397         * include/rpc/svc_auth.h: Likewise.
61398         * include/rpc/xdr.h: Likewise.
61399         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61400         * nss/Makefile: Likewise.
61401         * sunrpc/Makefile: Don't install headers.  Build library with normal
61402         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61403         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61404         for the compat linking library.  Remove use of INTDEF/INTUSE.
61405         * sunrpc/auth_none.c: Likewise.
61406         * sunrpc/auth_unix.c: Likewise.
61407         * sunrpc/authdes_prot.c: Likewise.
61408         * sunrpc/authuxprot.c: Likewise.
61409         * sunrpc/clnt_gen.c: Likewise.
61410         * sunrpc/clnt_perr.c: Likewise.
61411         * sunrpc/clnt_raw.c: Likewise.
61412         * sunrpc/clnt_simp.c: Likewise.
61413         * sunrpc/clnt_tcp.c: Likewise.
61414         * sunrpc/clnt_udp.c: Likewise.
61415         * sunrpc/clnt_unix.c: Likewise.
61416         * sunrpc/des_crypt.c: Likewise.
61417         * sunrpc/des_soft.c: Likewise.
61418         * sunrpc/get_myaddr.c: Likewise.
61419         * sunrpc/key_call.c: Likewise.
61420         * sunrpc/key_prot.c: Likewise.
61421         * sunrpc/netname.c: Likewise.
61422         * sunrpc/pm_getmaps.c: Likewise.
61423         * sunrpc/pm_getport.c: Likewise.
61424         * sunrpc/pmap_clnt.c: Likewise.
61425         * sunrpc/pmap_prot.c: Likewise.
61426         * sunrpc/pmap_prot2.c: Likewise.
61427         * sunrpc/pmap_rmt.c: Likewise.
61428         * sunrpc/publickey.c: Likewise.
61429         * sunrpc/rpc_cmsg.c: Likewise.
61430         * sunrpc/rpc_common.c: Likewise.
61431         * sunrpc/rpc_dtable.c: Likewise.
61432         * sunrpc/rpc_prot.c: Likewise.
61433         * sunrpc/rpc_thread.c: Likewise.
61434         * sunrpc/rtime.c: Likewise.
61435         * sunrpc/svc.c: Likewise.
61436         * sunrpc/svc_auth.c: Likewise.
61437         * sunrpc/svc_authux.c: Likewise.
61438         * sunrpc/svc_raw.c: Likewise.
61439         * sunrpc/svc_run.c: Likewise.
61440         * sunrpc/svc_simple.c: Likewise.
61441         * sunrpc/svc_tcp.c: Likewise.
61442         * sunrpc/svc_udp.c: Likewise.
61443         * sunrpc/svc_unix.c: Likewise.
61444         * sunrpc/svcauth_des.c: Likewise.
61445         * sunrpc/xcrypt.c: Likewise.
61446         * sunrpc/xdr.c: Likewise.
61447         * sunrpc/xdr_array.c: Likewise.
61448         * sunrpc/xdr_float.c: Likewise.
61449         * sunrpc/xdr_intXX_t.c: Likewise.
61450         * sunrpc/xdr_mem.c: Likewise.
61451         * sunrpc/xdr_rec.c: Likewise.
61452         * sunrpc/xdr_ref.c: Likewise.
61453         * sunrpc/xdr_sizeof.c: Likewise.
61454         * sunrpc/xdr_stdio.c: Likewise.
61456 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61458         [BZ #12650]
61459         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61460         * sysdeps/ia64/dl-tls.h: Likewise.
61461         * sysdeps/powerpc/dl-tls.h: Likewise.
61462         * sysdeps/s390/dl-tls.h: Likewise.
61463         * sysdeps/sh/dl-tls.h: Likewise.
61464         * sysdeps/sparc/dl-tls.h: Likewise.
61465         * sysdeps/x86_64/dl-tls.h: Likewise.
61466         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61468 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61470         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61471         rpath element also skip the following colon.
61472         (expand_dynamic_string_token): Add is_path parameter and pass
61473         down to DL_DST_REQUIRED and _dl_dst_substitute.
61474         (decompose_rpath): Call expand_dynamic_string_token with
61475         non-zero is_path.  Ignore empty rpaths.
61476         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61477         with zero is_path.
61479 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61482         Make cancelable.
61484 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61486         [BZ #12655]
61487         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61488         Patch by Filipe David Manana <fdmanana@apache.org>.
61490 2011-04-07  Andreas Schwab  <schwab@redhat.com>
61492         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
61493         Maintain aligned stack.
61494         (CHECK_RSP): Remove unused macro.
61496 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
61498         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
61499         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
61501 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
61503         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
61505         * include/features.h: Mention __USE_XOPEN2K8 in comment.
61507 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
61509         [BZ #12518]
61510         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
61511         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
61512         * sysdeps/x86_64/memmove.c: New file.
61513         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
61514         (memcpy): Renamed to ...
61515         (__new_memcpy): This.
61516         (memcpy): Provide GLIBC_2_14 memcpy.
61517         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
61518         (memcpy): Provide GLIBC_2_2_5 memcpy.
61520 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61522         [BZ #12631]
61523         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
61525 2011-03-30  Andreas Schwab  <schwab@redhat.com>
61527         * misc/syncfs.c: New file.
61528         * misc/Makefile (routines): Add syncfs.
61529         * posix/unistd.h: Declare syncfs.
61530         * sysdeps/unix/syscalls.list: Add syncfs.
61532 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61534         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
61535         open_by_handle_at.
61536         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61537         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61538         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61539         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61540         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61541         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
61542         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61544 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61546         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
61547         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61548         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
61549         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61550         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61552         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61554         * io/Makefile: Compile fallocate.c, fallocate64.c, and
61555         sync_file_range.c with -fexceptions.
61556         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
61557         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
61558         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
61559         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
61560         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
61561         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61562         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
61563         sync_file_range as cancellation point
61564         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
61565         now a wrapper around __call_sync_file_range with cancellation handling.
61566         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
61567         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
61568         function name to __call_sync_file_range.
61569         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
61570         Add call_sync_file_range.
61572 2011-04-01  Andreas Schwab  <schwab@redhat.com>
61574         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61575         bits/timex.h.
61577 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
61579         * iconv/iconv.h: Fix typo in comment.
61580         * io/fcntl.h: Likewise.
61581         * libio/stdio.h: Likewise.
61582         * posix/spawn.h: Likewise.
61583         * posix/unistd.h: Likewise.
61584         * stdlib/stdlib.h: Likewise.
61585         * time/time.h: Likewise.
61586         * wcsmbs/wchar.h: Likewise.
61588         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
61589         open_by_handle): Add.
61590         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
61591         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
61592         Augment a few comments.
61593         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
61594         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61595         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61596         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61597         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61598         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
61599         open_by_handle.
61601         * io/fcntl.h (AT_EMPTY_PATH): Define.
61603 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
61605         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
61606         * sysdeps/unix/sysv/linux/bits/time.h: New file.
61607         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
61608         to...
61609         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
61610         * Versions.def: Add GLIBC_2.14.
61611         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
61612         Export.
61614 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
61616         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
61617         round counter.
61618         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61620 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61622         [BZ #12597]
61623         * string/test-strncmp.c (do_page_test): New function.
61624         (check2): Likewise.
61625         (test_main): Call check2.
61626         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
61628 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
61630         [BZ #12587]
61631         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
61632         Handle cache information in CPU leaf 4.
61633         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
61635 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
61637         [BZ #12583]
61638         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
61639         character representation.
61640         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
61642 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
61644         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
61645         END(__isnan) to END(__isnanf) to match function entry point/label
61646         EALIGN(__isnanf,...).
61648 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
61650         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
61652 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
61654         [BZ #12510]
61655         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
61656         copy from the symbol referenced in the relocation to initialize the
61657         used variable.
61658         Patch by Piotr Bury <pbury@goahead.com>.
61659         * elf/Makefile: Add rules to build and tst-unique3.
61660         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
61661         * elf/tst-unique3.cc: New file.
61662         * elf/tst-unique3.h: New file.
61663         * elf/tst-unique3lib.cc: New file.
61664         * elf/tst-unique3lib2.cc: New file.
61666         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
61668 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
61670         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
61671         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
61672         to _start.
61674 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
61676         * elf/dl-load.c (_dl_map_object): If we are looking for the first
61677         to-be-loaded object along a path to loader is ld.so.
61679 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61680             Ulrich Drepper  <drepper@gmail.com>
61682         * sysdeps/x86_64/memset.S: After aligning destination, code
61683         branches to different locations depending on the value of
61684         misalignment, when multiarch is enabled. Fix this.
61686 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
61688         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
61689         Set _x86_64_preferred_memory_instruction for AMD processsors.
61690         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61691         Set bit_Prefer_SSE_for_memop for AMD processors.
61693 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
61695         * libio/fmemopen.c (fmemopen): Optimize a bit.
61697 2011-03-03  Andreas Schwab  <schwab@redhat.com>
61699         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
61701 2011-03-03  Roland McGrath  <roland@redhat.com>
61703         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
61705 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
61707         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
61708         __bzero_ultra1 instead of __memset_ultra1.
61710 2011-02-23  Andreas Schwab  <schwab@redhat.com>
61711             Ulrich Drepper  <drepper@gmail.com>
61713         [BZ #12509]
61714         * include/link.h (struct link_map): Add l_orig_initfini.
61715         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
61716         returning unsuccessfully.
61717         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
61718         close of a file loaded at startup, restore the original l_initfini
61719         list.
61720         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
61721         list, store the pointer.
61722         * elf/Makefile ($(objpfx)noload-mem): New rule.
61723         (noload-ENV): Define.
61724         (tests): Add $(objpfx)noload-mem.
61725         * elf/noload.c: Include <memcheck.h>.
61726         (main): Call mtrace.  Close all opened handles.
61728 2011-02-17  Andreas Schwab  <schwab@redhat.com>
61730         [BZ #12454]
61731         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
61732         dependencies are missing.
61734 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61736         Fix __if_freereq crash: Unlike the generic version which uses free,
61737         Hurd needs munmap.
61738         * sysdeps/mach/hurd/ifreq.h: New file.
61740 2011-01-27  Petr Baudis  <pasky@suse.cz>
61741             Ulrich Drepper  <drepper@gmail.com>
61743         [BZ 12445]#
61744         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
61745         to extend_alloca().
61746         * stdio-common/bug23.c: New file.
61747         * stdio-common/Makefile (tests): Add bug23.
61749 2010-09-28  Andreas Schwab  <schwab@redhat.com>
61750             Ulrich Drepper  <drepper@gmail.com>
61752         [BZ #12489]
61753         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
61754         before performing relro protection.  At old place add assertion
61755         to make sure nothing changed.
61757 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
61758             Glauber de Oliveira Costa  <glommer@gmail.com>
61760         * elf/elf.h: Add new ARM TLS relocs.
61762 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
61764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61765         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
61766         cast from r3.
61767         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
61768         'tests' variable.
61769         * sysdeps/wordsize-64/tst-writev.c: New file.
61771 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
61773         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
61774         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
61775         insns in _dl_start to prevent a TOC reference before relocs are
61776         resolved.
61778 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
61780         [BZ #12469]
61781         * Makeconfig: Remove RANLIB definition.
61782         * Makerules: Don't use RANLIB.
61783         * aclocal.m4: Remove ranlib test.
61784         * configure.in: No need to check for ranlib.
61785         * elf/rtld-Rules: Don't use RANLIB.
61787 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61789         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
61790         protection macro.
61791         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
61792         inclusion protection macro.
61794         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
61795         SIGRTMIN and SIGRTMAX and print information in that case only when
61796         SIGRTMIN is defined.
61798 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
61800         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
61801         arginfo fn returning -1.
61803         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
61804         and thousands string is zero terminated.
61806 2011-02-03  Andreas Schwab  <schwab@redhat.com>
61808         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
61809         sysdeps/unix/sysv/linux/bits/socket.h.
61811 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61813         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
61814         (__CPU_COUNT): Remove old macros.
61815         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
61816         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
61817         (__CPU_ALLOC, __CPU_FREE): Add macros.
61818         (__sched_cpualloc, __sched_cpufree): Add declarations.
61820 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
61822         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61823         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61824         * nscd/aicache.c (addhstaiX): Return timeout of added value.
61825         (readdhstai): Return value of addhstaiX call.
61826         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61827         (addgrbyX): Return value returned by cache_addgr.
61828         (readdgrbyname): Return value returned by addgrbyX.
61829         (readdgrbygid): Likewise.
61830         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61831         (addpwbyX): Return value returned by cache_addpw.
61832         (readdpwbyname): Return value returned by addhstbyX.
61833         (readdpwbyuid): Likewise.
61834         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61835         (addservbyX): Return value returned by cache_addserv.
61836         (readdservbyname): Return value returned by addservbyX:
61837         (readdservbyport): Likewise.
61838         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61839         (addhstbyX): Return value returned by cache_addhst.
61840         (readdhstbyname): Return value returned by addhstbyX.
61841         (readdhstbyaddr): Likewise.
61842         (readdhstbynamev6): Likewise.
61843         (readdhstbyaddrv6): Likewise.
61844         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61845         (readdinitgroups): Return value returned by addinitgroupsX.
61846         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61847         (prune_cache): Keep track of timeout value of re-added entries.
61848         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61849         * nscd/nscd.h: Adjust prototypes of readd* functions.
61851 2011-02-04  Roland McGrath  <roland@redhat.com>
61853         * nis/nis_server.c (nis_servstate): Use the right name for 0.
61854         (nis_stats): Likewise.
61855         * nis/nis_modify.c (nis_modify): Likewise.
61856         * nis/nis_remove.c (nis_remove): Likewise.
61857         * nis/nis_add.c (nis_add): Likewise.
61859         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61861         * posix/fnmatch_loop.c: Add some consts.
61863         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61865 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
61867         [BZ #12460]
61868         * config.make.in (config-cflags-novzeroupper): Define.
61869         * configure.in: Substitute libc_cv_cc_novzeroupper.
61870         * elf/Makefile (AVX-CFLAGS): Define.
61871         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61872         (CFLAGS-tst-auditmod4a.c): Likewise.
61873         (CFLAGS-tst-auditmod4b.c): Likewise.
61874         (CFLAGS-tst-auditmod6b.c): Likewise.
61875         (CFLAGS-tst-auditmod6c.c): Likewise.
61876         (CFLAGS-tst-auditmod7b.c): Likewise.
61877         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61879 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
61881         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61882         function to the callback.
61883         Patch partly by Jiri Olsa <jolsa@redhat.com>.
61885 2011-02-02  Andreas Schwab  <schwab@redhat.com>
61887         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61888         of errno.
61890 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
61892         [BZ #11724]
61893         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61894         of constructors.
61895         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61896         of destructors.
61897         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61899         [BZ #11724]
61900         * elf/Makefile: Add rules to build and run new test.
61901         * elf/tst-initorder.c: New file.
61902         * elf/tst-initorder.exp: New file.
61903         * elf/tst-initordera1.c: New file.
61904         * elf/tst-initordera2.c: New file.
61905         * elf/tst-initordera3.c: New file.
61906         * elf/tst-initordera4.c: New file.
61907         * elf/tst-initorderb1.c: New file.
61908         * elf/tst-initorderb2.c: New file.
61909         * elf/tst-order-a1.c: New file.
61910         * elf/tst-order-a2.c: New file.
61911         * elf/tst-order-a3.c: New file.
61912         * elf/tst-order-a4.c: New file.
61913         * elf/tst-order-b1.c: New file.
61914         * elf/tst-order-b2.c: New file.
61915         * elf/tst-order-main.c: New file.
61916         New test case by George Gensure <werkt0@gmail.com>.
61918 2010-10-01  Andreas Schwab  <schwab@redhat.com>
61920         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61921         decoding ACE if AI_CANONIDN.
61923 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
61925         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61927 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
61929         * version.h (RELEASE): Bump for 2.13 release.
61930         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61932         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61934         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61935         MADV_NOHUGEPAGE.
61936         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61937         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61938         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61939         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61940         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61941         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61943         * posix/getconf.c: Update copyright year.
61944         * catgets/gencat.c: Likewise.
61945         * csu/version.c: Likewise.
61946         * debug/catchsegv.sh: Likewise.
61947         * debug/xtrace.sh: Likewise.
61948         * elf/ldconfig.c: Likewise.
61949         * elf/ldd.bash.in: Likewise.
61950         * elf/sprof.c (print_version): Likewise.
61951         * iconv/iconv_prog.c: Likewise.
61952         * iconv/iconvconfig.c: Likewise.
61953         * locale/programs/locale.c: Likewise.
61954         * locale/programs/localedef.c: Likewise.
61955         * malloc/memusage.sh: Likewise.
61956         * malloc/mtrace.pl: Likewise.
61957         * nscd/nscd.c (print_version): Likewise.
61958         * nss/getent.c: Likewise.
61960         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61961         PF_CAIF, and PF_ALG.
61962         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61964 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61966         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61967         (modules-names): Use them.
61968         (ifunc-test-modules, ifunc-pie-tests): Define.
61969         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61970         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61971         (test-extras): Likewise.
61972         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61973         $(compile-command.c).
61974         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61975         (all-built-dso): Define.
61976         (check-textrel.out, check-execstack.out): Depend on it.
61978         * configure.in: Don't override --enable-multi-arch.
61980 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61982         [BZ #6812]
61983         * nscd/hstcache.c (tryagain): Define.
61984         (cache_addhst): Return tryagain not notfound for temporary errors.
61985         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61986         failed.
61988 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61990         [BZ #10563]
61991         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61992         to make the syscall.
61993         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61995         [BZ #12378]
61996         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61997         and fall back to matching as normal character if the string ends before
61998         the matching ']' is found.  This is what POSIX requires.
61999         * posix/testfnm.c: Adjust test result.
62000         * posix/globtest.sh: Adjust test result.  Add new test.
62001         * posix/tst-fnmatch.input: Likewise.
62002         * posix/tst-fnmatch2.c: Add new test.
62004 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62006         * elf/Makefile (check-execstack): Revert last change.  Depend on
62007         check-execstack.h.
62008         (check-execstack.h): New target.
62009         (generated): Add check-execstack.h.
62010         * elf/check-execstack.c: Include "check-execstack.h".
62011         (main): Revert last change.
62012         (handle_file): Return zero if GNU_STACK is absent and
62013         DEFAULT_STACK_PERMS doesn't include PF_X.
62015 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62017         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62018         in child fails because the descriptor is already closed.
62019         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62020         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62021         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62023         [BZ #12397]
62024         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62025         syscall.
62027         [BZ #10484]
62028         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62029         temporary buffer used to handle multi lookups locally.
62030         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62032 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62034         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62035         loader is ld.so.
62037 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62039         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62040         alignment for SSE2.
62042 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62044         [BZ #12394]
62045         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62046         characters.  When rounding increased number of integer digits recompute
62047         number of groups.
62048         * stdio-common/tst-grouping.c: New file.
62049         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62051 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62053         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62054         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62056         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62057         void.
62058         * bits/select.h: Likewise.
62060 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62062         * po/ja.po: Update from translation team.
62064 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62066         [BZ #11155]
62067         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62068         implementation just like for lxstat, fxstatat, et al.
62070 2010-12-27  Jim Meyering  <meyering@redhat.com>
62072         [BZ #12348]
62073         * posix/regexec.c (build_trtable): Return failure indication upon
62074         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62076 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62078         [BZ #12201]
62079         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62080         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62081         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62082         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62084         [BZ #12207]
62085         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62087         [BZ #12204]
62088         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62089         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62091 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62093         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62094         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62095         script has SORT_BY_INIT_PRIORITY.
62096         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62097         NO_CTORS_DTORS_SECTIONS is defined.
62098         * elf/soinit.c: Likewise.
62099         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62100         NO_CTORS_DTORS_SECTIONS is defined.
62101         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62102         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62103         * sysdeps/sh/init-first.c: Likewise.
62104         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62106 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62108         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62109         always use the slow path.
62111 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62113         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62114         similar rule which adds the sysdep directories to the header search in
62115         order to pick up the correct platform stackinfo.h.
62116         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62117         perform test if it is, otherwise return successfully without testing.
62118         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62119         DEFAULT_STACK_PERMS define in stackinfo.h.
62120         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62121         defined in stackinfo.h.
62122         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62123         DEFAULT_STACK_PERMS defined in stackinfo.h.
62124         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62125         * sysdeps/ia64/stackinfo.h: Likewise.
62126         * sysdeps/s390/stackinfo.h: Likewise.
62127         * sysdeps/sh/stackinfo.h: Likewise.
62128         * sysdeps/sparc/stackinfo.h: Likewise.
62129         * sysdeps/x86_64/stackinfo.h: Likewise.
62130         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62131         PF_X for powerpc64.  Retain PF_X for powerpc32.
62133 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62135         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62136         accurately.
62137         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62138         GETDENTS_64BIT_ALIGNED.
62140 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62142         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62144 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62146         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62147         _GNU_SOURCE.
62149         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62150         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62151         Remove __restrict.
62152         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62153         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62155 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62157         [BZ #11655]
62158         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62159         are initialized.
62161 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62163         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62165 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62167         * po/it.po: Update from translation team.
62169 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62171         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62172         unused codes.
62174 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62176         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62178 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62180         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62181         specially.
62182         (gaih_getanswer_slice): Likewise.
62184 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62186         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62188 2010-05-31  Petr Baudis  <pasky@suse.cz>
62190         [BZ #11149]
62191         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62192         silently even in the chroot mode.
62194 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62196         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62197         last patch a bit.  Pretty printing
62199 2010-05-31  Petr Baudis <pasky@suse.cz>
62201         [BZ #10085]
62202         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62203         initialization of skip_initgroups_dyn.
62205 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62207         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62208         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62210 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62212         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62214 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62216         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62217         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62218         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62219         ($(objpfx)tst-fnmatch-mem): New rule.
62220         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62221         * posix/tst-fnmatch.c (main): Call mtrace.
62223 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62225         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62226         Support Intel processor model 6 and model 0x2c.
62228 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62230         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62231           signed comparison.
62233 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62235         [BZ #12205]
62236         * string/test-strncasecmp.c (check_result): New function.
62237         (do_one_test): Use it.
62238         (check1): New function.
62239         (test_main): Use it.
62240         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62241         Support strcasecmp and strncasecmp.
62243 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62245         [BZ #12194]
62246         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62247         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62249 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62251         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62252         IFUNC support.
62253         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62254         memset-x86-64.
62255         * sysdeps/x86_64/multiarch/bzero.S: New file.
62256         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62257         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62258         * sysdeps/x86_64/multiarch/memset.S: New file.
62259         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62260         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62261         Set bit_Prefer_SSE_for_memop for Intel processors.
62262         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62263         Define.
62264         (index_Prefer_SSE_for_memop): Define.
62265         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62267 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62269         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62270         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62272 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62274         [BZ #12191]
62275         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62276         (__x86_64_raw_data_cache_size_half): Likewise.
62277         (__x86_64_raw_shared_cache_size): Likewise.
62278         (__x86_64_raw_shared_cache_size_half): Likewise.
62280         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62281         (__x86_64_raw_data_cache_size_half): Likewise.
62282         (__x86_64_raw_shared_cache_size): Likewise.
62283         (__x86_64_raw_shared_cache_size_half): Likewise.
62284         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62285         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62286         and __x86_64_raw_shared_cache_size_half.  Round
62287         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62288         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62289         to multiple of 256 bytes.
62291 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62293         [BZ #12167]
62294         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62295         of inacessible symlinks.  Verify result of symlink before returning it.
62296         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62297         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62299 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62301         * math/math.h (isinf): Fix typo in comment.
62303 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62305         * po/da.po: Update from translation team.
62307 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62309         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62310         is added to the list.
62312 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62313             Ulrich Drepper  <drepper@gmail.com>
62315         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62316         the global list here.  Move code to...
62317         (_dl_add_to_namespace_list): ...here.  New function.
62318         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62319         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62320         * elf/dl-load.c (lose): Don't remove the element from the list.
62321         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62322         (_dl_map_object): Likewise.
62324 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62326         [BZ #12159]
62327         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62328         into all bytes of SSE register.
62329         Patch by Richard Li <richardpku@gmail.com>.
62331 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62333         [BZ #12140]
62334         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62335         perturbing.
62337 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62339         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62340         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62341         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62342         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62344         submachine.
62345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62347 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62349         * include/dlfcn.h (__RTLD_SECURE): Define.
62350         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62351         mode & __RTLD_SECURE instead.
62352         (open_path): Rename preloaded parameter to secure.
62353         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62354         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62355         * elf/dl-deps.c (openaux): Likewise.
62356         * elf/rtld.c (struct map_args): Remove is_preloaded.
62357         (map_doit): Don't use it.
62358         (dl_main): Likewise.
62359         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62360         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62362 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62364         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62365         (sysd-rules-targets): Remove duplicates.
62366         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62367         rtld-%.$o dependency.
62369 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62371         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62372         _dl_map_object do it.
62374 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62376         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62377         fast fma builtins, define the macros in the C99 standard.
62378         (FP_FAST_FMAF): Likewise.
62379         (FP_FAST_FMAL): Likewise.
62380         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62382         * bits/mathdef.h: Update copyright year.
62383         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62385 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62387         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62388         builtins, define the macros in the C99 standard.
62389         (FP_FAST_FMAF): Likewise.
62390         (FP_FAST_FMAL): Likewise.
62391         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62392         multiply/add.
62393         (FP_FAST_FMAF): Likewise.
62395 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62397         [BZ #3268]
62398         * math/libm-test.inc (fma_test): Some new testcases.
62399         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62400         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62401         y and infinite z.  Do multiplication by C already in long double.
62402         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62403         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62404         y and infinite z.  Do bitwise or of inexact bit into u.d.
62405         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62406         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62407         * sysdeps/i386/fpu/s_fma.S: Removed.
62408         * sysdeps/i386/fpu/s_fmal.S: Removed.
62410 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62412         [BZ #3268]
62413         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62414         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62415         computation is not scheduled after fetestexcept.  Fix value
62416         of minimum denormal long double.
62418 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62420         [BZ #3268]
62421         * math/libm-test.inc (fma_test): Add some more tests.
62422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62423         correctly.
62425 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62427         * scripts/data/localplt-s390-linux-gnu.data: New file.
62428         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62430 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62432         [BZ #3268]
62433         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62434         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62435         instead of dbl-64.
62436         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62437         inlines.
62438         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62439         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62440         if one of x and y is very large and the other is subnormal.
62441         * sysdeps/s390/fpu/s_fmaf.c: New file.
62442         * sysdeps/s390/fpu/s_fma.c: New file.
62443         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62444         * sysdeps/powerpc/fpu/s_fma.S: New file.
62445         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62446         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62447         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62449 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62451         [BZ #3268]
62452         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62453         fma tests.
62454         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62455         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62456         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62457         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62458         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62459         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62460         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62462 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62464         [BZ #12078]
62465         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62466         * posix/bug-regex31.input: Add test case.
62468 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62470         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62471         * posix/bug-regex31.input: New file.
62473         [BZ #12078]
62474         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62475         (parse_sub_exp): Fix last change, use postorder.
62477         * posix/bug-regex31.c: New file.
62478         * posix/Makefile: Add rules to build and run bug-regex31.
62480         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62482         [BZ #12078]
62483         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62485         [BZ #12108]
62486         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62487         to have entries in sys_siglist.
62489         [BZ #12093]
62490         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62491         be NULL.
62493 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
62495         [BZ #3268]
62496         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
62497         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
62498         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
62499         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
62500         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
62501         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
62502         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
62503         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
62504         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
62505         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
62506         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
62507         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
62508         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
62509         * math/ftestexcept.c (fetestexcept): Likewise.
62510         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
62511         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
62512         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
62513         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
62514         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
62515         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
62516         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62518 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62520         [BZ #12107]
62521         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
62522         newline.
62524 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
62526         * string/bug-strstr1.c: New file.
62527         * string/Makefile: Add rules to build and run bug-strstr1.
62529 2010-10-05  Eric Blake  <eblake@redhat.com>
62531         [BZ #12092]
62532         * string/str-two-way.h (two_way_long_needle): Always clear memory
62533         when skipping input due to the shift table.
62535 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
62537         [BZ #12005]
62538         * malloc/mcheck.c: Handle large requests.
62540         [BZ #12077]
62541         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
62542         for strncmp and strncasecmp.
62543         * string/stratcliff.c: Add tests for strcmp and strncmp.
62544         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
62546 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62548         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
62549         __set_fpscr.
62551 2010-09-30  Andreas Jaeger  <aj@suse.de>
62553         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62554         (CGROUP_SUPER_MAGIC): Define.
62555         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62556         Handle btrfs and cgroup file systems.
62557         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62558         Likewise.
62560 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
62562         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
62563         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
62565 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62567         [BZ #12067]
62568         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
62569         trying to locate the ELF header.
62571 2010-09-27  Andreas Schwab  <schwab@redhat.com>
62573         [BZ #11611]
62574         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
62575         Mask out sign-bit copies when constructing f_fsid.
62577 2010-09-24  Petr Baudis <pasky@suse.cz>
62579         * debug/stack_chk_fail_local.c: Add missing licence exception.
62580         * debug/warning-nop.c: Likewise.
62582 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
62584         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
62585         implementing getdents64 using getdents syscall, set d_type if
62586         __ASSUME_GETDENTS32_D_TYPE.
62588 2010-09-16  Andreas Schwab  <schwab@redhat.com>
62590         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
62591         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
62593 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
62595         [BZ #12037]
62596         * posix/unistd.h: Undo change of feature selection for ftruncate from
62597         2010-01-11.
62599 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
62601         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
62602         detection.
62604 2010-09-20  Andreas Schwab  <schwab@redhat.com>
62606         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
62607         fanotify_mark.
62608         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62610 2010-09-14  Andreas Schwab  <schwab@redhat.com>
62612         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
62613         variables after CHECK_SP call.
62614         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
62616 2010-09-13  Andreas Schwab  <schwab@redhat.com>
62617             Ulrich Drepper  <drepper@redhat.com>
62619         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
62620         re-relocationg ld.so.
62621         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
62622         _dl_init_paths call.
62623         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
62624         here anymore.
62626 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
62628         * resolv/res_init.c (__res_vinit): Count the default server we added.
62630 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
62631             Ulrich Drepper  <drepper@redhat.com>
62633         [BZ #11968]
62634         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62635         (____longjmp_chk): Use %ebx for saving value across system call.
62636         Add unwind info.
62638 2010-09-06  Andreas Schwab  <schwab@redhat.com>
62640         * manual/Makefile: Don't mix pattern rules with normal rules.
62642 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62644         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
62645         operation.
62646         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
62647         * libio/iofopncook.c (_IO_cookie_init): Likewise.
62648         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
62649         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
62650         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62651         Likewise.
62653 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
62655         [BZ #11979]
62656         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
62657         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
62659 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
62661         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
62662         * sysdeps/x86_64/addmul_1.S: Likewise.
62663         * sysdeps/x86_64/lshift.S: Likewise.
62664         * sysdeps/x86_64/mul_1.S: Likewise.
62665         * sysdeps/x86_64/rshift.S: Likewise.
62666         * sysdeps/x86_64/sub_n.S: Likewise.
62667         * sysdeps/x86_64/submul_1.S: Likewise.
62669 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62671         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
62672         Define __sched_param instead of SCHED_* and sched_param when
62673         <bits/sched.h> is included with __need_schedparam defined.
62674         * bits/sched.h [__need_schedparam]
62675         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
62676         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
62677         (__defined_schedparam): Define to 1.
62678         (__sched_param): New structure, identical to sched_param.
62679         (__need_schedparam): Undefine.
62681 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
62683         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
62684         (epoll_create1): Declare.
62686         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
62688 2010-08-31  Andreas Schwab  <schwab@redhat.com>
62690         [BZ #7066]
62691         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
62692         shifting retval into place.
62694 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
62696         * nis/rpcsvc/nis.h: Update copyright notice.
62697         * nis/rpcsvc/nis.x: Likewise.
62698         * nis/rpcsvc/nis_callback.h: Likewise.
62699         * nis/rpcsvc/nis_callback.x: Likewise.
62700         * nis/rpcsvc/nis_object.x: Likewise.
62701         * nis/rpcsvc/nis_tags.h: Likewise.
62702         * nis/rpcsvc/yp.h: Likewise.
62703         * nis/rpcsvc/yp.x: Likewise.
62704         * nis/rpcsvc/ypupd.h: Likewise.
62705         * nis/yp_xdr.c: Likewise.
62706         * nis/ypupdate_xdr.c: Likewise.
62708         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
62709         mainly the body of pmap_getport.  Add parameters to specify timeouts.
62710         (pmap_getport): Use __libc_rpc_getport.
62711         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
62712         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
62713         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
62715 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
62717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
62718         fanotify_mark.
62720 2010-08-27  Roland McGrath  <roland@redhat.com>
62722         * sysdeps/i386/i686/multiarch/Makefile
62723         (CFLAGS-varshift.c): New variable.
62725 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
62727         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
62728         * sysdeps/i386/i686/multiarch/varshift.c: New file.
62730         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
62732         * sysdeps/x86_64/strlen.S: Minimal code improvement.
62734 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
62736         * sysdeps/x86_64/strlen.S: Unroll the loop.
62737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62738         strlen-sse2 strlen-sse2-bsf.
62739         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
62740         __strlen_no_bsf if bit_Slow_BSF is set.
62741         (__strlen_sse42): Removed.
62742         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
62743         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
62745 2010-08-25  Roland McGrath  <roland@redhat.com>
62747         * sysdeps/x86_64/multiarch/varshift.S: File removed.
62748         * sysdeps/x86_64/multiarch/varshift.c: New file.
62749         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
62750         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
62751         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
62752         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62754 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
62756         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62757         strlen-sse2 strlen-sse2-bsf.
62758         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
62759         __strlen_sse2_bsf if bit_Slow_BSF is unset.
62760         (__strlen_sse2): Removed.
62761         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
62762         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
62763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
62764         bit_Slow_BSF for Atom.
62765         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
62766         (index_Slow_BSF): Define.
62767         (HAS_SLOW_BSF): Define.
62769 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
62771         [BZ #10851]
62772         * resolv/res_init.c (__res_vinit): When no server address at all
62773         is given default to loopback.
62775 2010-08-24  Roland McGrath  <roland@redhat.com>
62777         * configure.in: Remove config-name.h generation.
62778         * configure: Regenerated.
62779         * config-name.in: File removed.
62780         * scripts/config-uname.sh: New file.
62781         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
62782         ($(objdir)config-name.h): New target.
62784         * sunrpc/rpc_parse.h: Avoid nested comment.
62786 2010-08-24  Richard Henderson  <rth@redhat.com>
62787             Ulrich Drepper  <drepper@redhat.com>
62788             H.J. Lu  <hongjiu.lu@intel.com>
62790         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
62791         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
62792         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
62793         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
62794         _mm_alignr_epi8 with _mm_loadu_si128.
62795         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
62796         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
62797         (__m128i_shift_right): Removed.
62798         * sysdeps/i386/i686/multiarch/varshift.h: New file.
62799         * sysdeps/i386/i686/multiarch/varshift.S: New file.
62800         * sysdeps/x86_64/multiarch/varshift.h: New file.
62801         * sysdeps/x86_64/multiarch/varshift.S: New file.
62803 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
62805         * configure.in: Move assembler checks to before sysdep dir checking.
62807 2010-08-20  Petr Baudis  <pasky@suse.cz>
62809         * LICENSES: Sync the sunrpc license.
62811 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
62813         * sunrpc/auth_des.c: Update copyright notice once again.
62814         * sunrpc/auth_none.c: Likewise.
62815         * sunrpc/auth_unix.c: Likewise.
62816         * sunrpc/authdes_prot.c: Likewise.
62817         * sunrpc/authuxprot.c: Likewise.
62818         * sunrpc/bindrsvprt.c: Likewise.
62819         * sunrpc/clnt_gen.c: Likewise.
62820         * sunrpc/clnt_perr.c: Likewise.
62821         * sunrpc/clnt_raw.c: Likewise.
62822         * sunrpc/clnt_simp.c: Likewise.
62823         * sunrpc/clnt_tcp.c: Likewise.
62824         * sunrpc/clnt_udp.c: Likewise.
62825         * sunrpc/clnt_unix.c: Likewise.
62826         * sunrpc/des_crypt.c: Likewise.
62827         * sunrpc/des_soft.c: Likewise.
62828         * sunrpc/get_myaddr.c: Likewise.
62829         * sunrpc/getrpcport.c: Likewise.
62830         * sunrpc/key_call.c: Likewise.
62831         * sunrpc/key_prot.c: Likewise.
62832         * sunrpc/openchild.c: Likewise.
62833         * sunrpc/pm_getmaps.c: Likewise.
62834         * sunrpc/pm_getport.c: Likewise.
62835         * sunrpc/pmap_clnt.c: Likewise.
62836         * sunrpc/pmap_prot.c: Likewise.
62837         * sunrpc/pmap_prot2.c: Likewise.
62838         * sunrpc/pmap_rmt.c: Likewise.
62839         * sunrpc/rpc/auth.h: Likewise.
62840         * sunrpc/rpc/auth_unix.h: Likewise.
62841         * sunrpc/rpc/clnt.h: Likewise.
62842         * sunrpc/rpc/des_crypt.h: Likewise.
62843         * sunrpc/rpc/key_prot.h: Likewise.
62844         * sunrpc/rpc/netdb.h: Likewise.
62845         * sunrpc/rpc/pmap_clnt.h: Likewise.
62846         * sunrpc/rpc/pmap_prot.h: Likewise.
62847         * sunrpc/rpc/pmap_rmt.h: Likewise.
62848         * sunrpc/rpc/rpc.h: Likewise.
62849         * sunrpc/rpc/rpc_des.h: Likewise.
62850         * sunrpc/rpc/rpc_msg.h: Likewise.
62851         * sunrpc/rpc/svc.h: Likewise.
62852         * sunrpc/rpc/svc_auth.h: Likewise.
62853         * sunrpc/rpc/types.h: Likewise.
62854         * sunrpc/rpc/xdr.h: Likewise.
62855         * sunrpc/rpc_clntout.c: Likewise.
62856         * sunrpc/rpc_cmsg.c: Likewise.
62857         * sunrpc/rpc_common.c: Likewise.
62858         * sunrpc/rpc_cout.c: Likewise.
62859         * sunrpc/rpc_dtable.c: Likewise.
62860         * sunrpc/rpc_hout.c: Likewise.
62861         * sunrpc/rpc_main.c: Likewise.
62862         * sunrpc/rpc_parse.c: Likewise.
62863         * sunrpc/rpc_parse.h: Likewise.
62864         * sunrpc/rpc_prot.c: Likewise.
62865         * sunrpc/rpc_sample.c: Likewise.
62866         * sunrpc/rpc_scan.c: Likewise.
62867         * sunrpc/rpc_scan.h: Likewise.
62868         * sunrpc/rpc_svcout.c: Likewise.
62869         * sunrpc/rpc_tblout.c: Likewise.
62870         * sunrpc/rpc_util.c: Likewise.
62871         * sunrpc/rpc_util.h: Likewise.
62872         * sunrpc/rpcinfo.c: Likewise.
62873         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62874         * sunrpc/rpcsvc/key_prot.x: Likewise.
62875         * sunrpc/rpcsvc/klm_prot.x: Likewise.
62876         * sunrpc/rpcsvc/mount.x: Likewise.
62877         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62878         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62879         * sunrpc/rpcsvc/rex.x: Likewise.
62880         * sunrpc/rpcsvc/rstat.x: Likewise.
62881         * sunrpc/rpcsvc/rusers.x: Likewise.
62882         * sunrpc/rpcsvc/sm_inter.x: Likewise.
62883         * sunrpc/rpcsvc/spray.x: Likewise.
62884         * sunrpc/rpcsvc/yppasswd.x: Likewise.
62885         * sunrpc/rtime.c: Likewise.
62886         * sunrpc/svc.c: Likewise.
62887         * sunrpc/svc_auth.c: Likewise.
62888         * sunrpc/svc_authux.c: Likewise.
62889         * sunrpc/svc_raw.c: Likewise.
62890         * sunrpc/svc_run.c: Likewise.
62891         * sunrpc/svc_simple.c: Likewise.
62892         * sunrpc/svc_tcp.c: Likewise.
62893         * sunrpc/svc_udp.c: Likewise.
62894         * sunrpc/svc_unix.c: Likewise.
62895         * sunrpc/svcauth_des.c: Likewise.
62896         * sunrpc/xcrypt.c: Likewise.
62897         * sunrpc/xdr.c: Likewise.
62898         * sunrpc/xdr_array.c: Likewise.
62899         * sunrpc/xdr_float.c: Likewise.
62900         * sunrpc/xdr_mem.c: Likewise.
62901         * sunrpc/xdr_rec.c: Likewise.
62902         * sunrpc/xdr_ref.c: Likewise.
62903         * sunrpc/xdr_sizeof.c: Likewise.
62904         * sunrpc/xdr_stdio.c: Likewise.
62906         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62907         handling.
62909 2010-08-19  Andreas Schwab  <schwab@redhat.com>
62911         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62913 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
62915         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62916         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62917         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62918         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62919         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62920         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62921         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62922         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62923         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62924         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62925         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62926         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62927         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62928         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62930 2010-07-26  Anton Blanchard  <anton@samba.org>
62932         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62933         * malloc/arena.c (heap_trim): Likewise.
62935 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
62937         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62938         here.  Not...
62939         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62940         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62942 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
62944         * sysdeps/i386/elf/Makefile: New file.
62946 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62948         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62949         from fanotify_init.
62950         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62951         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62953 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
62955         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62956         of strncasecmp_l.
62957         * sysdeps/multiarch/strcmp.S: Likewise.
62959 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
62961         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62962         strncase_l-nonascii.
62963         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62964         Add strncase_l-ssse3.
62965         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62966         * sysdeps/x86_64/strcmp.S: Likewise.
62967         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62968         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62969         * sysdeps/x86_64/strncase.S: New file.
62970         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62971         * sysdeps/x86_64/strncase_l.S: New file.
62972         * string/Makefile (strop-tests): Add strncasecmp.
62973         * string/test-strncasecmp.c: New file.
62975         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62976         warning.
62978         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62979         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62981 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62983         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62985 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62987         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62988         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62989         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62991 2010-05-01  Alan Modra  <amodra@gmail.com>
62993         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62994         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62995         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62996         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62997         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62998         tidying.  Don't tail-call __sigjmp_save for static lib.
62999         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63000         save location.
63001         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63002         (CALL_MCOUNT): Add eh info, and nop after bl.
63003         (TAIL_CALL_SYSCALL_ERROR): New macro.
63004         (PSEUDO_RET): Use it.
63005         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63006         Correct save location of integer regs and cr.
63007         (_dl_profile_resolve): Correct cr save location.  Delete nops
63008         after bl when SHARED.  Reduce cfi size a little by better
63009         placement of cfi directives.
63010         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63011         make a stack frame.  Instead use parm save area as a temp.
63012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63013         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63015         Don't make a stack frame for parent, use parm save area.
63016         Increase child stack frame to 112 bytes.  Don't save unused reg,
63017         and adjust reg usage.  Set up cfi on error recovery and
63018         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63020         (__makecontext): Add dummy nop after jump to exit.
63021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63022         Use correct parm save area and cr save, reduce stack frame.
63023         Correct cfi for possible PSEUDO_RET frame setup.
63024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63025         Branch to local label emitted by PSEUDO_RET rather than
63026         __syscall_error.
63028 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63030         [BZ #11904]
63031         * locale/programs/locale.c (print_assignment): New function.
63032         (show_locale_vars): Use it.
63034 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63036         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63037         field.
63038         (struct statfs64): Likewise.
63039         (_STATFS_F_FLAGS): Define.
63040         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63041         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63042         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63043         (ST_VALID): Define locally.
63044         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63045         __statvfs_getflags, use the provided value.
63046         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63047         __ASSUME_STATFS_F_FLAGS.
63049         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63051         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63052         Add sys/fanotify.h.
63053         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63054         fanotify_mask for GLIBC_2.13.
63055         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63056         fanotify_init and fanotify_mark.
63057         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63058         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63060         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63061         Add prlimit.
63062         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63063         prlimit64 for GLIBC_2.13.
63064         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63065         prlimit64.
63066         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63067         syscall.
63068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63069         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63070         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63071         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63072         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63073         add prlimit alias.
63074         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63076         [BZ #11903]
63077         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63078         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63080         * nss/Makefile: Add rules to build and run tst-nss-test1.
63081         * shlib-versions: Add entry for libnss_test1.
63082         * nss/nss_test1.c: New file.
63083         * nss/tst-nss-test1.c: New file.
63085         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63086         (__nss_configure_lookup): Set appropriate entry in
63087         __nss_configure_lookup to true.
63088         * nss/nsswitch.h: Define enum with indeces of databases in
63089         databases and __nss_database_custom arrays.  Declare
63090         __nss_database_custom.
63091         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63092         to avoid using nscd when custom rules are installed.
63093         * nss/getXXbyYY_r.c: Likewise.
63094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63096         * nss/nss_files/files-parse.c: Whitespace fixes.
63098 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63100         [BZ #11883]
63101         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63102         * posix/fnmatch_loop.c: Likewise.
63104 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63106         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63107         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63108         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63109         * Versions.def [GLIBC_2.13]: Add.
63111 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63113         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63114         Also fail if tpwd after pwuid call is NULL.
63116 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63118         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63119         when converting to ms.
63121 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63123         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63124         EOPNOTSUPP errors with ENOTTY.
63125         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63126         EOPNOTSUPP errors with ENOTTY.
63128 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63130         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63131         Add strcasecmp_l-ssse3.
63132         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63133         strcasecmp.
63134         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63135         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63136         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63138 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63140         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63142         * string/Makefile (strop-tests): Add strcasecmp.
63143         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63144         strcasecmp_l-nonascii.
63145         (gen-as-const-headers): Add locale-defines.sym.
63146         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63147         * sysdeps/x86_64/strcasecmp.S: New file.
63148         * sysdeps/x86_64/strcasecmp_l.S: New file.
63149         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63150         * sysdeps/x86_64/locale-defines.sym: New file.
63151         * string/test-strcasecmp.c: New file.
63153         * string/test-strcasestr.c: Test both ends of the range of characters.
63154         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63156 2010-07-29  Roland McGrath  <roland@redhat.com>
63158         [BZ #11856]
63159         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63161 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63163         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63164         for ld.so.
63166 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63168         * manual/memory.texi (Malloc Tunable Parameters): Document
63169         M_PERTURB.
63171 2010-07-26  Roland McGrath  <roland@redhat.com>
63173         [BZ #11840]
63174         * configure.in (-fgnu89-inline check): Set and substitute
63175         gnu89_inline, not libc_cv_gnu89_inline.
63176         * configure: Regenerated.
63177         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63179 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63181         * string/test-strnlen.c: New file.
63182         * string/Makefile (strop-tests): Add strnlen.
63183         * string/tester.c (test_strnlen): Add a few more test cases.
63184         * string/tst-strlen.c: Better error reporting.
63186         * sysdeps/x86_64/strnlen.S: New file.
63188 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63190         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63191         lower-latency instructions.
63193 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63195         * string/test-strcasestr.c: New file.
63196         * string/test-strstr.c: New file.
63197         * string/Makefile (strop-tests): Add strstr and strcasestr.
63198         * string/str-two-way.h: Don't undefine MAX.
63199         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63201 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63203         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63204         strcasestr-nonascii.
63205         (CFLAGS-strcasestr-nonascii.c): Define.
63206         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63207         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63208         Remove unused attribute.
63210 2010-07-20  Roland McGrath  <roland@redhat.com>
63212         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63213         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63214         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63215         like LD_HWCAP_MASK can disable hwcaps.
63217 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63219         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63221 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63223         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63224         call in strcasestr.
63225         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63226         __strcasestr_sse42_nonascii.
63227         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63228         strcasestr-nonascii.c.
63229         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63231 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63233         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63234         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63235         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63236         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63238 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63240         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63241         fcntl.
63243 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63245         [BZ #11577]
63246         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63247         dl_signal_cerror.
63249 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63251         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63252         _PC_PIPE_BUF using F_GETPIPE_SZ.
63254 2010-07-05  Roland McGrath  <roland@redhat.com>
63256         * manual/arith.texi (Rounding Functions): Fix rint description
63257         implicit in round description.
63259 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63261         * elf/Makefile: Fix linking for a few tests to make recent linker
63262         happy.
63264 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63266         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63267         $(common-objpfx)libc_nonshared.a.
63269 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63271         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63272         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63273         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63274         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63275         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63276         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63277         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63278         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63293         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63294         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63295         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63296         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63297         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63298         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63299         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63300         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63301         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63302         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63303         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63304         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63320 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63322         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63323         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63324         * string/memmove.c (memmove): Renamed to ...
63325         (MEMMOVE): ...this.  Default to memmove.
63326         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63327         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63328         (END_CHK): Define.
63329         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63330         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63331         mempcpy-ssse3-back memmove-ssse3-back.
63332         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63333         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63334         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63335         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63336         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63337         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63338         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63339         * sysdeps/x86_64/multiarch/memmove.c: New file.
63340         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63341         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63342         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63343         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63344         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63345         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63346         Define.
63347         (index_Fast_Copy_Backward): Define.
63348         (HAS_ARCH_FEATURE): Define.
63349         (HAS_FAST_REP_STRING): Define.
63350         (HAS_FAST_COPY_BACKWARD): Define.
63352 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63354         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63355         Restore proper fallback handling.
63357 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63359         [BZ #11701]
63360         * posix/group_member.c (__group_member): Correct checking loop.
63362         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63363         OOM in getpwuid_r correctly.  Return error number when the caller
63364         should return, otherwise -1.
63365         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63366         call returning > 0 value.
63367         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63369 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63371         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63372         libc_nonshared.a from targets in modules-names.
63374 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63376         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63377         requires it.
63379 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63381         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63382         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63383         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63384         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63386 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63388         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63390 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63392         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63393         and F_GETPIPE_SZ.
63394         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63395         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63396         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63397         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63398         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63399         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63401 2010-06-14  Roland McGrath  <roland@redhat.com>
63403         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63405 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63407         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63408         __REDIRECT followed by __THROW.
63409         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63410         * posix/getopt.h (getopt): Likewise.
63412 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63414         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63415         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63416         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63417         in AT_FLAGS.
63418         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63419         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63421 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63423         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63425 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63427         [BZ #11640]
63428         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63429         Properly check family and model.
63431 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63433         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63435 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63437         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63439 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63441         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63442         symbol reference.
63444 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63446         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63447         symbol reference.
63449 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63451         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63452         and internal_recvmmsg.
63453         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63454         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63455         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63456         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63458         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63459         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63460         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63462 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63464         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63466 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63468         POWER7 optimizations.
63469         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63470         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63472 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63474         * version.h: Update for 2.13 development version.
63476 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63478         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63479         exceptions.  Return 0.
63481 2010-05-07  Roland McGrath  <roland@redhat.com>
63483         * elf/ldconfig.c (main): Add a const.
63485 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63487         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63488         (args_options): Add no-idn option.
63489         (ahosts_keys_int): Add idn_flags to ai_flags.
63490         (parse_option): Handle 'i' option to clear idn_flags.
63492         * malloc/malloc.c (_int_free): Possible race in the most recently
63493         added check.  Only act on the data if no current modification
63494         happened.
63496 See ChangeLog.17 for earlier changes.